Adding a new drive

justahost

Verified User
Joined
Mar 19, 2006
Messages
122
Evening guys.

If I add a new drive to a DA server and want to move all accounts onto the new drive - what steps are needed to mount the drive as /home and get the data set up again?

I am guessing that on account creation after the initial set up the account would be on the new drive?

Cheers
Ry
 
Step 1:
mount the new drive under /mnt/newdrive

Step 2:
Stop ALL services

Step 3:
copy all the data (with cp -a) from /home to /mnt/newdrive

Step 4:
umount /home

Step 5:
unmount /mnt/newdrive and remount it under /home

Step 6:
Start all services

That should work :)
 
Back
Top