Reputation: 666
everyone!
df -h
shows that a disk is full (used 100%).
But when I use ll -h
total size of files almost 2%.
Can someone explain what happens?
Upvotes: 0
Views: 165
Reputation: 2096
There are two main reasons for that:
ls
cannot see files that are deleted but still in use.Difference between ls
and df
comes from the fact, that one displays the size of the file contents while the other shows the actual disk space used.
Upvotes: 1