Help me find where my drive space went
I have an apache server hosting a small website (db on another system). Disk free shows:
Code:
me@server:/$ df du -k | sort -nr | moreAnd get the following as the top results 857900 .If I am reading this right, the whole file system is 857900 KB, or well under the 12GB allocated to the drive. Is there another place I should be looking that might cause this? |
@ Reply
Hi DrinkinHomeBrew,
Run the following command and I think you will get what you are looking for: 1. Code:
cd / Code:
du -ah | sort -nr > /output.log Code:
head output.log Code:
less output.log |
If you want to step through the folders a little more then you can use du for that also.
Code:
cd / |
Hi,
first of all login through root user in graphical mode and check directory which comes under / it might possible that any directory or files has large size and second thing check your root,s home directory it also comes under / and you can check through CLI. # cd / # du -sh directoryname(example) # du -sh abc and also check hidden files # ls -a hope it will work and help you out. Thanks $ Regards Singhjc |
Ok, thanks for the suggestions.
On a hunch I decided to take the server out of the pool and reboot it. That did the trick. Code:
me@server:~$ df |
All times are GMT -5. The time now is 02:33 AM. |