Wrong space usage!
Hello there.
I have a debian linux on my server. My disk space is only 10GB. When I check the space usage with discus program, it says: Mount Total Used Avail Prcnt Graph / 9.39 GB 8.30 GB 1.10 GB 88.3% [*********-] +ib/init/rw 124.3 MB 0 KB 124.3 MB 0.0% [----------] /sys 0 KB 0 KB 0 KB 0.0% [----------] /dev 120.1 MB 92 KB 120.0 MB 0.1% [----------] /dev/shm 124.3 MB 0 KB 124.3 MB 0.0% [----------] But when I use this command: du / --max-depth=0 It says: 1860864 / Why the stats of discus is not like du command? Thanks |
Hello,
The du command displays in units of blocks which might have different sizes, depending on what filesystem you use and how it's defined at install. Use the -k parameter to display in kilobytes or -h to have 'human readable' output. You'll get another output. Kind regards, Eric |
Thanks Eric,
But I tried -h option with du and the output was: 1.8G / And -k option: 1861000 / But discus is still like above. What's wrong here? Thanks |
Hi,
Can you check if you have any open files that have a status deleted? Code:
lsof | grep deleted Kind regards, Eric |
Problem solved, Thanks Eric!
MySQL had some huge deleted files and because it was not restarted, the space did not freed after deletion of files. When I restarted this, the problem solved! I think you are very expert in linux Eric! Thaks for your help! |
Hello,
Glad you got it solved! You're welcome. If you consider your problem solved then please mark it as such using the Thread Tools. Kind regards, Eric |
All times are GMT -5. The time now is 12:33 AM. |