On Monday 05 February 2007 13:28, James D. Parra wrote:
> Hello,
>
> How can I move /var, currently on the system drive, to the RAID drive
> without hosing my system?

While the system is running???  Wouldn't really do that.

Best option would be to build your new filesystem, boot a rescue CD, 
then mount your /var and /newvar partition.  Now, if your /var is on 
your root (/) partition, then just mount your root partiton as /mnt and 
then do the following.

tar cf - /mnt/var | (cd /mnt/newvar; tar xf - )

make sure you edit the /etc/fstab on YOUR root partition (assuming you 
mounted it like the other partitions above) to point to the /newvar 
partition.  DON'T EDIT the rescue /etc/fstab, that won't get things 
done.

There are lots of ways to go about doing this, but this is the way I've 
been doing it for the past 12 years.  cpio and dd come to mind as 
alternatives.

brian
-- 
Brian Jackson Photo
Sports ~ People ~ Events
http://www.BrianJacksonPhoto.com
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to