Discussion - Moving mnt drive | PlexGuide.com

Discussion Moving mnt drive

  • Stop using Chrome! Download the Brave Browser via >>> [Brave.com]
    It's a forked version of Chrome with native ad-blockers and Google's spyware stripped out! Download for Mac, Windows, Android, and Linux!
Welcome to the PlexGuide.com
Serving the Community since 2016!
Register Now

Poore

Active
Original poster
Donor
Dec 29, 2018
48
18
I currently have my mnt drive on its own hard drive. I need to move mnt to a new drive. What's the best way to do this without me messing something up?
 
M

MrDoob

Guest
what do you want to do ??

you want /mnt/ on the new drive ??

thats raelly tricky ...

you must stop all services

then mounte the second drive as /mnt2
move all folder to /mnt2

if /mnt/ on the OS drive you must rename it to /mnt-old
Bash:
mv /mnt/ /mnt-old
next step

rename /mnt2 to /mnt

Bash:
mv /mnt2 /mnt
next ist the permissions

Bash:
chown -cR 1000:1000 /mnt/
now server reboot and hope all works :p
 

Poore

Active
Original poster
Donor
Dec 29, 2018
48
18
Thanks, Doob. I'm getting a warning of hard drive issues and want to swap the drive out. The OS is on its own SSD . I have MNT on a platter drive all by itself so hopefully, things will go smoothly.
 
  • Like
Reactions: 1 user
M

MrDoob

Guest
But /opt is also used for so much space ;)

so you can move the /var and /opt yo an different drive ;)

Each folder on /* can use his own drive

But for this action you muster reinstall and mount each drive over the installer of the OS .

That's the best option
 

Poore

Active
Original poster
Donor
Dec 29, 2018
48
18
You are correct. OPT by far is my largest folder then at 42 GB followed by VAR at 7 GB. Digging in I found a 25 GB nzbget.log file. That doesn't seem good.

I was planning on upgrading my server this winter to dual XEON E5-2670v2. I'll probably just hold out till then and just rebuild everything over a weekend.
 

Porkie

Experienced+
Staff
Aug 9, 2018
142
68
You need to go into nzbget logging setting and set it to rotate :)

 
  • Like
Reactions: 1 user

Oohdang

Citizen+
Feb 20, 2019
22
4
what do you want to do ??

you want /mnt/ on the new drive ??

thats raelly tricky ...

you must stop all services

then mounte the second drive as /mnt2
move all folder to /mnt2

if /mnt/ on the OS drive you must rename it to /mnt-old
Bash:
mv /mnt/ /mnt-old
next step

rename /mnt2 to /mnt

Bash:
mv /mnt2 /mnt
next ist the permissions

Bash:
chown -cR 1000:1000 /mnt/
now server reboot and hope all works :p

I just added a second SSD to my local server and this post helped me tremendously! Thank you!
 
  • Like
Reactions: 1 users

Recommend NewsGroups

      Up To a 58% Discount!

Trending