/tmp partition problem.

Romka_

New member
Joined
Feb 15, 2008
Messages
1
Dear All,

Please anyone explaine me this:

Code:
deimos# cd /tmp/

deimos# ls -all
total 4
drwxrwxrwt   2 root   wheel  512 Feb 15 13:22 .
drwxr-xr-x  20 root   wheel  512 Feb 13 22:49 ..
srwxrwxrwx   1 mysql  wheel    0 Feb 15 13:21 mysql.sock

deimos# du -sh /tmp/
2.0K    /tmp/

deimos# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a    496M     45M    411M    10%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad0s1e    496M    496M    -40M   109%    /tmp
/dev/ad0s1f     67G    9.7G     52G    16%    /usr
/dev/ad0s1d    1.9G     97M    1.7G     5%    /var
procfs         4.0K    4.0K      0B   100%    /proc
/dev/ad2s1d     48G     22G     23G    49%    /mnt/old
deimos#

Why /tmp use 109% ???

Regards,
 
Code:
deimos# df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad0s1e    496M    496M    -40M   109%    /tmp
procfs         4.0K    4.0K      0B   100%    /proc

Why /tmp use 109%?
It seems that the virtual partition of your /tmp is corrupt and you need to delete and recreate it. The other possible explanation is that deleted files are still open in /tmp and they count against the disk space. You can check for those with
lsof | grep /tmp

I don't have the time to go into details about HowTo fix this problem now.
 
Last edited:
Back
Top