var out of space

Anders Gulden Olstad andersgo at alge.anart.no
Sun Dec 17 01:49:23 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Anders Gulden Olstad wrote:

> Given that I don't know what version of FreeBSD you're running, I would
> first try to move and symlink /var into /usr
> 
> Got to single user mode first. Then copy /var with cpio
> 
> # find /var -print | cpio -pvdmu /usr
> 
> Remove the old /var and make a symlink to /usr/var
> 
> # rm -rf /var
> # ln -s /usr/var var

I forgot: Edit your /etc/fstab and comment out the /var line

> Reboot to normal operations.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
Comment: Grunbacher Altweizen Dunkel
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFhRJkMVyOPWVstbURAoOlAKC86TOaYYl6fpbMW41/3bvM7Yc/LACglfih
fF3dS+0oNwW2DtdWp7Oe/Wc=
=usf8
-----END PGP SIGNATURE-----


More information about the freebsd-questions mailing list