I'm trying to check the free disk space on a virtual CentOS server (6 GB RAM, 400 GB disk space, 3x CPU)
This is the output of df -hT
:
Filesystem Type Size Used Avail Use% Mounted on
/dev/vzfs reiserfs 242G 578M 36G 2% /
none devtmpfs 4,0G 4,0K 4,0G 1% /dev
As you can see the available disk space is only 36 GB, but with only 0.5 GB of actual data. (Also the total space of 242 GB doesn't match the promised 400 GB, but that is not what worries me)
The percentage again looks plausible, also checking du
returns roughly the same usage amount.
I was able to use dd
to create a 50 GB file, so I guess it is only the "Avail" value, which is wrong.
What is going on here?
EDIT: Over night the problems seems to have fixed itself. The server was not rebooted. I'm 99% sure this has something to do with the virtualization the hoster is doing, but if someone can shed some light on this, I'd be grateful.
df
shows implausible values.