Nathan Kinkade said...
> 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
> 
> Also, you may want to reallocate the partition formerly mounted at /var
for something else?

Your advice was right on thank you very much.  Actually step #4 was
automatically handled by step #3.

Regarding reallocation of space formerly occupied by /var on /dev/ad0s2d, is
there a way to reallocate it back to one of the other existing partitions or
do you mean only to use it as is for something else?

Gerald



_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to