4

I have KVM vps with strange disk usage:

# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb              493G  1.2G  466G   1% /
tmpfs                 4.0G     0  4.0G   0% /dev/shm
/dev/sda1              96M   41M   51M  45% /boot
# du -sh /
du: cannot access `/proc/1633/task/1633/fd/4': No such file or directory
du: cannot access `/proc/1633/task/1633/fdinfo/4': No such file or directory
du: cannot access `/proc/1633/fd/4': No such file or directory
du: cannot access `/proc/1633/fdinfo/4': No such file or directory
1021M   /

How could it be? Where are ~20G of free space?

2
  • Could you please modify your output for the same units of measure? Oct 4, 2012 at 12:38
  • Run du with -x switch, this way it won't go into other file systems Oct 6, 2012 at 14:29

1 Answer 1

8

I guess you talk about the discrepancy between 493GB total space, 1.2G used and 466GB free. This is likely the result of the usual 5% of disk space that is reserved for root and not generally available.

To check for this, please add the output of at least the Reserved block count from

tune2fs -l /dev/sdb 

to your question (provided you use ext3 or ext4 as a filesystem)

1
  • Thanks, I think you are right, Reserved block count: 6553600.
    – cpt.Buggy
    Oct 4, 2012 at 13:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .