File system full
Giorgos Keramidas
keramida at ceid.upatras.gr
Wed Oct 18 01:48:03 UTC 2006
On 2006-10-18 07:53, "Office of CEO- rithy4u.NET" <root at rithy4u.net> wrote:
> Dear All,
> My firewall server was running out of space on / partition I
> have try to reboot/fsck and delete all unneccessary files
> inside / but I still get 12 MB of free space with total 495 MB
> worth of that partition. Any ideas?
First of all, try to track down where all the space has gone, by
using `df' and `du' with the -x option. For example, you can get
a good idea of which places in your root filesystem are the top-10
users of space with:
# cd /
# du -xm . | sort -nr | head -10
If this doesn't show up a lot of stuff, then there's probably a
rogue process which has opened a file and then removed it, so
it's not directly visible by traversing the tree with `du', but
you can still look for it with:
# fstat -f / | sort -k +8
After you get this sort of information, we can make more informed
suggestions about the best way to move forward :)
More information about the freebsd-questions
mailing list