var out of space

Bradley Giesbrecht brad at pixilla.com
Sat Dec 16 23:34:06 PST 2006


Hello,


I inherited a freebsd installation with a var slice/mount that is to  
small and filling up all the time.

What type of info should I provide to allow someone to help me with a  
solution?

I would very much prefer to not install another drive just for /var.

/usr has plenty of space. Can I mount var off of /usr?

Here is the output of df for starters:

/dev/ad0s1a    128990  119970    -1298   101%    /
/dev/ad0s1f    257998  185246    52114    78%    /tmp
/dev/ad0s1g 112755734 4533434 99201842     4%    /usr
/dev/ad0s1e    257998  206956    30404    87%    /var
procfs              4       4        0   100%    /proc


and ls -la at / looks like this:

-rw-r--r--   2 root  wheel      802 May 25  2004 .cshrc
-rw-r--r--   2 root  wheel      251 May 25  2004 .profile
-r--r--r--   1 root  wheel     6355 May 25  2004 COPYRIGHT
drwxr-xr-x   2 root  wheel     1024 Nov 29 17:39 bin
drwxr-xr-x   3 root  wheel      512 Nov  5 15:27 boot
drwxr-xr-x   2 root  wheel      512 Jan 16  2005 cdrom
lrwxr-xr-x   1 root  wheel       10 Jan 16  2005 compat -> usr/compat
drwxr-xr-x   3 root  wheel    20480 Jan 16  2005 dev
drwxr-xr-x  16 root  wheel     2560 Dec  1 16:11 etc
lrwxrwxrwx   1 root  wheel        9 Jan 16  2005 home -> /usr/home
-r-xr-xr-x   1 root  wheel  4344469 Nov  5 13:22 kernel
-r-xr-xr-x   1 root  wheel  4344469 Nov  5 13:22 kernel.GENERIC
drwxr-xr-x   2 root  wheel      512 May 25  2004 mnt
drwxr-xr-x   2 root  wheel     4608 Nov  5 13:22 modules
dr-xr-xr-x   1 root  wheel      512 Dec 17 01:10 proc
drwxr-xr-x   3 root  wheel      512 Nov  5 13:36 root
drwxr-xr-x   2 root  wheel     2048 Nov  5 15:27 sbin
drwxr-xr-x   4 root  wheel     1024 Jan 16  2005 stand
lrwxr-xr-x   1 root  wheel       11 Nov  5 15:27 sys -> usr/src/sys
drw-------   7 root  wheel     2048 Dec 17 01:09 tmp
drwxr-xr-x  18 root  wheel      512 Jan 16  2005 usr
drwxr-xr-x  21 root  wheel      512 Nov  6 11:54 var


Thanks for any help,
Brad



More information about the freebsd-questions mailing list