Rod Butcher wrote:
I need to move my /usr partition from one hd to another... any suggestions as to best practice here ?

I've found rsync to be pretty good for this.

Shut down to single user mode (telinit 1).
Unmount all partitions you aren't using (e.g. /home)
Make sure your filesystems are created OK, e.g:

mke2fs -j -L /usr /dev/newfs

Mount the new /usr filesystem

mkdir /mnt/newfs
mount /dev/newfs /mnt/newfs

rsync the files

cd /usr
rsync -a . /mnt/newfs

edit your /etc/fstab or relabel your old /usr
file system (or else you will have two filesystems
both labelled /usr), reboot, and you should be away.

--
Del
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to