RE: What am I doing wrong with MOUNT?
"Gerald Lightsey" <[email protected]> Wed, 2 Mar 2005 02:04:05 -0800
| Newsgroups | gmane.os.freebsd.newbies |
|---|---|
| Message-ID | <20050302100417.SYAR1282.fed1rmmtao03.cox.net@geraldligh> |
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 success. > 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 1 2 to: /dev/ad1s1a /var ufs defaults 1 2 > 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. Gerald _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-newbies To unsubscribe, send any mail to "[email protected]"