[vserver] df inside guest show incorrect disk quota

From: Steve Kieu <msh.computing_at_gmail.com>
Date: Sun 19 Feb 2012 - 22:24:05 GMT
Message-ID: <CAAQ-o+_U3zCKxn-jnH7yBA9PaRxQpA+JDtZ=je0uVn0v8R6x2Q@mail.gmail.com>

Hello,

I am having strange problems. At the host (kernel and vserver version
2.6.37.6-vs2.3.0.37-rc5-h1cpu16 - util vserver: 0.30.216_pre3004)

vdu --xid test-splunk1 --space test-splunk1
test-splunk1 1493848

vdu --xid test-splunk1 --inodes test-splunk1
test-splunk1 28626

But inside the guest run df show

 df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdv1 20G 9.9G 1.7G 86% /
none 7.9G 0 7.9G 0% /dev/shm

Inode reported correctly though
df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hdv1 341333 28626 312707 9% /
none 2054249 1 2054248 1% /dev/shm

Why was that happened and what to do to fix it. The apps inside think there
is only 1.7G available and stop working. Please help .... I am running out
of ideas at the moment

-- 
Steve Kieu
Received on Sun Feb 19 22:24:17 2012
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 19 Feb 2012 - 22:24:19 GMT by hypermail 2.1.8