On 14. 9. 2010 23:06, Martin Fick wrote:
> What about df from the host?
imho it does not make sense. I have many guests on /vserver
filesystem, which contribute to the overall system usage.
> but you still haven't provided any proof that df
> is wrong (or that du is right).
"du" from guest:
# du -s -k -x /
12035668 /
"du" from host:
# du -s -k -x /vservers/vs1-web/
12035688 /vservers/vs1-web/
That is the same, which I consider as a solid indication
of correct function (although I agree it is not proof).
On the other side, there are big differences between "du"
and "df" on guest:
# df /
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 20971520 2581584 17324976 13% /
# du -s -k -x /
12035668 /
Again, it is not 100% proof that df is wrong, but when
I check /root in guest and count files manually (about
10 of them, each ~300MB, they make together more than 3GB.
So the whole root filesystem can not take less than that...
Jarry
-- _______________________________________________________________ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.Received on Wed Sep 15 01:19:43 2010