increasing mount size

Roland Smith rsmith at xs4all.nl
Thu Oct 27 14:15:31 PDT 2005


On Thu, Oct 27, 2005 at 08:28:12PM +0100, eoghan wrote:
> Hello
> My /var mount has no more space left. I was wondering if there is  
> some way to increase the size of it without loosing anything?

That depends.

If you have enough free space left on your harddrive, you could make a
new slice, copy /var there, unmount the old /var,
and remount the new /var.

Another option is to copy everything in /var to another directory on
another slice that has enough space, unmount /var and make it a symlink
to the new location.

All these tricks are best done in single user mode.

Roland
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20051027/c65b0ded/attachment.bin


More information about the freebsd-questions mailing list