/ dir filled up by quota

rhoekman

Verified User
Joined
Jan 3, 2004
Messages
250
Location
The Netherlands
/ dir filled up

My kernel is spawning errors that the / dir is is full.

/etc # cd /var/log
/var/log # tail -f messages
May 23 03:00:09 siteserver kernel: pid 22176 (gzip), uid 0 inumber 191 on /: filesystem full
May 23 11:09:53 siteserver kernel: pid 20582 (directadmin), uid 1001 inumber 17457 on /: filesystem full
May 23 11:09:59 siteserver kernel: pid 24843 (directadmin), uid 1001 inumber 17483 on /: filesystem full
May 23 11:10:43 siteserver kernel: pid 20564 (directadmin), uid 1001 inumber 17484 on /: filesystem full
May 23 13:18:24 siteserver kernel: pid 24929 (directadmin), uid 1001 inumber 17457 on /: filesystem full
May 23 13:24:25 siteserver kernel: pid 24941 (directadmin), uid 1001 inumber 17483 on /: filesystem full
May 23 15:16:39 siteserver kernel: pid 25596 (directadmin), uid 1001 inumber 17457 on /: filesystem full
May 23 15:16:54 siteserver kernel: pid 25595 (directadmin), uid 1001 inumber 17483 on /: filesystem full
May 23 19:09:13 siteserver kernel: pid 26208 (directadmin), uid 1001 inumber 17457 on /: filesystem full
May 23 19:09:17 siteserver kernel: pid 27747 (directadmin), uid 1001 inumber 17483 on /: filesystem full


As far as I can see my quota's are set in /etc/fstab at the root dir like this.

# Device Mountpoint FStype Options Dump Pass#
/dev/ar0s1b none swap sw 0 0
/dev/ar0s1a / ufs rw,userquota,groupquota 1 1
/dev/ar0s1e /tmp ufs rw 2 2
/dev/ar0s1f /usr ufs rw 2 2
/dev/ar0s1d /var ufs rw 2 2
/dev/acd0 /cdrom cd9660 ro,noauto 0 0
proc /proc procfs rw 0 0

I have no idea why it is full and the quota files are both 2mb each. How do I reroute this safely to say /home/tmp ?

Here's an output of the diskusage:

/ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ar0s1a 248M 244M -16.1M 107% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ar0s1e 248M 1.6M 226M 1% /tmp
/dev/ar0s1f 95G 1.9G 85G 2% /usr
/dev/ar0s1d 9.5G 63M 8.6G 1% /var
procfs 4.0K 4.0K 0B 100% /proc
linprocfs 4.0K 4.0K 0B 100% /usr/compat/linux/proc

A side effect is that users and even admin cannot login into the DA control panel anymore!
 
Last edited:
Ok, I found out that the home dir on freebsd is allocated on / and not on /usr/home so that is why it is filling up so quickly because there's 250 mb allocated for it. I had 85 gigs reserved for users on /usr/home ..

I found a post earlier addressing this http://www.directadmin.com/forum/showthread.php?s=&threadid=1846

Can I create a symlink like :

ln -s /usr/home /home

and not screw up everything?
 
Last edited:
Hmm, odd..

My FreeBSD 5.2.1 created a symlink from /home to /usr/home by default?
 
I have no idea why this link has not been created. Anyway for people running into this I resolved it by issueing in the root directory:

ln -s /usr/home home

Rick
 
Back
Top