Missing 200megs of space in /var - where is it??
Okay, I am loosing my mind.
This is the result of a df -k: /var # df -k Filesystem 1k-blocks Used Available Use% Mounted on /dev/cciss/c0d0p7 379303 336749 22971 94% / /dev/cciss/c0d0p1 51358 7703 41003 16% /boot /dev/cciss/c0d0p6 16610024 12481180 3285104 80% /home none 1158676 0 1158676 0% /dev/shm /dev/cciss/c0d0p2 33135496 29040252 2412040 93% /usr /dev/cciss/c0d0p8 252863 234618 5190 98% /var Then, if I cd to /var and do a du -sk: /var # du -sk 41773 . How is that possible? The system says I've got almost 250M allocated to /var, but if you actually check disk usage of var it says I've got 40megs. Where is the 200megs? What am I missing here? This server is gonna die in a fiery crash pretty soon if I can't figure this out. This is, obviously, an old system, with no other storage available to it. Even if there was, I cannot expand the filesystem while it's online, since it's running Redhat 7.2. Any help would be greatly appreciated. |
Maybe you have sparse files. A common one is /var/log/lastlog which can be very large sometimes: I have seen a lastlog of about 1 Gb in the past. Try
Code:
du -bs /var/log/lastlog |
Sadly that's not it. lastlog is only 32k. We cleaned that up yesterday.
Well, maybe I spoke too soon. ls -hal shows it's 18megs. That's not the 200 I'm looking for, but it's something, lol. |
Quote:
|
Quote:
Code:
#!/bin/bash |
Tried the script but i'm getting errors that -c isn't a valid flag. i'll have to look into it some more.
Quote:
|
All times are GMT -5. The time now is 05:29 AM. |