increasing mount size

Roland Smith rsmith at
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.

R.F.Smith ( Please send e-mail as plain text.
public key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list