PBM: df in container reports 0% used [message #37991] |
Sat, 07 November 2009 11:31  |
VinzC
Messages: 14 Registered: December 2008
|
Junior Member |
|
|
Hi.
I've installed OpenVZ on gentoo. I'm now using kernel 2.6.27-openvz-briullov.1-r3. All my VE's are mounted from an XFS partition, i.e. /vz directory is mounted with a LVM2 logical volume that is formated with XFS.
All my VE's are Debian 5.0, which template I downloaded from OpenVZ wiki. When I run df in each of my VE's, it reports zero space used.
# df -h
Filesystem Size Used Avail Use% Mounted on
simfs 2.0G 0 2.0G 0% /
tmpfs 2.0G 0 2.0G 0% /lib/init/rw
tmpfs 2.0G 0 2.0G 0% /dev/shm
I had enabled XFS quota previously and I thought that was the reason but I now have disabled that option in the kernel and rebooted. No change.
VZ modules seem to be loaded, BTW -- unless I missed something:
# lsmod | grep vz
vznetdev 20168 6
vzrst 117736 0
vzcpt 100408 0
vzdquota 38580 3 [permanent]
vzmon 26512 6 vznetdev,vzrst,vzcpt
vzdev 3344 3 vznetdev,vzdquota,vzmon
I'm using Gentoo stable branch and really safe CFLAGS:
CFLAGS="-march=opteron -O2 -pipe"
CXXFLAGS="${CFLAGS}"
I have "upgraded" from 2.6.18-openvz-028.053-r2, which didn't exhibit that problem. It's the first time I'm using Briullov patchset.
Does anybody have an idea on what I should check next?
Thanks in advance.
Vince C.
[Updated on: Sat, 07 November 2009 11:33] Report message to a moderator
|
|
|
|
Re: PBM: df in container reports 0% used [message #37996 is a reply to message #37991] |
Sat, 07 November 2009 15:27  |
VinzC
Messages: 14 Registered: December 2008
|
Junior Member |
|
|
Well, thanks. I've just made a tour towards the Wiki and saw the notes about quotas and non-EXT filesystems. Is there undergoing or planned work to support other filesystems? That's what I'd like to know. I wouldn't say ext2/3 are going to die but one day they won't be any longer on top of the prefered list of filesystems...
Vince C.
|
|
|