Missing hard drive free space
I have a couple servers that are running low on disk space, but I can't figure out what is consuming the space. These are using LVM, but I don't know a lot about LVM yet so I can't determine if it may be part of the issue or not (though it doesn't look like it based on the output that I will post below). If I do a df -h, it tells me that / has 57G used:
Code:
[root@zeus01 ~]# df -h Code:
[root@zeus01 ~]# du -hs / Code:
[root@zeus01 ~]# mount Code:
[root@zeus01 ~]# pvdisplay Thanks. |
I didn't think you could accurately du on /? Regardless, what do you get if you du the folders in / rather than / itself, i.e.
cd / du -h --max-depth=1 and then, do you know where most of your files are? Do you have tons of little files by chance? |
although its a shot in the dark run
Code:
find / | wc -l files with a zero size still take up space, I have had applications write 700,000+ log files with 0 size that then took up space of the drive without taking up 'space'. this was many years ago and you would have to have a heck of alot of 0b/small files to lose 25g+ find can be run with options to look for small files. |
Thanks for the replies.
Code:
[root@zeus01 ~]# du -h / --max-depth=1 Code:
[root@zeus01 ~]# find / | wc -l |
All times are GMT -5. The time now is 07:44 PM. |