Re: [Vserver] df -h output incorrect when using quotas

From: Joerg Maier <joerg.maier_at_shove-it.de>
Date: Sat 07 Jul 2007 - 10:14:15 BST
Message-ID: <20070707091415.GA2446@shove-it.de>

Hi vserver list,

> > #du -sh
> > 3,9G /home/vservers/services/
> >
> > inside the guest:
> > # df -h
> > Filesystem Size Used Avail Use% Mounted on
> > /dev/hdv1 6.0G 407M 5.3G 8% /
> > none 1.0G 4.0K 1.0G 1% /tmp

I am not really sure but that is how i find differences between su and
df:

Try
# lsof -n | grep deleted
inside the vhost. Alle files that are still open but deleted are not
given to other processes and thus Used in df. But du states the space
as not used.

Hope it helps. Does the df an du commands on the other side report the
same? I see you ran du from the host and df from the guest. What does
du say from the guest and df from the host?

Joerg

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Jul 7 10:36:42 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 07 Jul 2007 - 10:36:45 BST by hypermail 2.1.8