[Wlug] Can't find files filling up disk
Chuck Anderson
cra at WPI.EDU
Tue Dec 26 13:12:59 EST 2006
On Tue, Dec 26, 2006 at 12:27:33PM -0500, Michael Zarozinski wrote:
> /dev/hda3 4.9G 4.2G 512M 90% /var <<<<<<<
> root at games [/]# du -sh *
> 322M var
I would go to single user mode, unmount /var, and run a filesystem
check on it.
/sbin/telinit 1
umount /var
/sbin/fsck -f /dev/hda3
You can also check for what is using the space on /var. I use du -sk
so that I can sort the result in kilobytes:
df -h /var
df -hi /var
du -sk /var/* | sort -n
The last one won't catch files that begin with a ., so check for large
dot files:
ls -la /var
du -sk /var/.[!.]* | sort -n
More information about the Wlug
mailing list