Help! Disk space being taken up but by what?
I was messing around in my shell today, on a Debian server.
I RAR'd several smaller files up into a large 3.5 GB file. Before I started, there was about 4.5GB free. But when I finished and deleted the source files, there was only ~800MB free on the 11GB HDD. How did this happen? I don't know. Ho do I go about tracking what is taking up my space ? Code:
$ df -H Code:
$ cd / ; du -sh * Any help appreciated! |
Here's a script I found one day while surfing the 'net, it's called diskhogs.sh. It searches for the four largest directories, and the four largest files in them.
You can edit the file to refine the search for the directory you were working in. Code:
#/bin/bash |
No success. The biggest file that this found is my access.log for lighttpd, which was 300kb or so.
And output of df -H: Code:
$ df -H |
Not weird at all- files were still open, so can't be discarded. Check for threads on lsof.
|
Quote:
|
All times are GMT -5. The time now is 01:02 PM. |