[wplug] Moving User directories?
Rafael Herrera
raffo at neuronet.pitt.edu
Sun May 20 01:00:14 EDT 2001
William Powell wrote:
>
> My hard drive is almost full. I want to leave that drive intact but
> move the users home directories over to a separate drive, say /dev/hdb.
>
> as I conceive it, these are the required steps:
> as root, I have to
>
> a. power down, install the drive, boot system, then format the new
> drive,
> b. with all users logged off, copy the users directories to the new
> drive,
To preserve ownerships try this
cd /home
tar cpf - jane | (cd /mnt; tar xvpf -)
This assumes you mounted the new disk in /mnt temporarily.
> c. delete the old users directories
check that you copied everything correctly first.
> d. change the fstab file to mount /dev/hdb at /home.
> e. have the system re-read the fstab file.
--
Rafael
More information about the wplug
mailing list