RE: What am I doing wrong with MOUNT?
From: Gerald Lightsey (glightsey1_at_cox.net)
To: <email@example.com> Date: Wed, 2 Mar 2005 02:04:05 -0800
John Murphy said...
> I was pleased to read your question as I'll soon be building a PC for
experimenting with a MySQL database, and it highlighted the need for a
larger /var than I would have created. Thanks :)
Thanks for pointing me to the questions area. Nathan Kinkade over there
provided the direction I needed which might be of value to you. The use of
tar to move the data followed by the edit of fstab seems to be the secret to
> Here is quick rundown on how you could achieve your goal:
> 1) Mount the new disk at at /mnt with something like:
# mount /dev/ad1s1a /mnt
> 2) Copy everything from your original /var partition to the new one:
# cd /var && tar cf - ./ | (cd /mnt && tar xvpf -)
> 3) Edit /etc/fstab from something like:
/dev/ad0s1e /var ufs defaults
/dev/ad1s1a /var ufs defaults
> 4) Unmount old partition from /var and mount new one at /var:
# umount /var && mount /var
Actually step #3 automatically took care of step #4 for me.
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"