PDA

View Full Version : Adding a new drive


justahost
08-09-2006, 04:05 PM
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

Wido
08-11-2006, 05:25 AM
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 :)

justahost
08-11-2006, 05:33 AM
Cheers :)