OpenVZ Forum


Home » General » Support » Openvz and disk usage 0 (df -h shows 0)
Openvz and disk usage 0 [message #39716] Wed, 26 May 2010 09:57 Go to next message
skrivy is currently offline  skrivy
Messages: 2
Registered: May 2010
Junior Member
Hi everyone,

i have problem after reinstall my server with vzquotas with space counting. It show me there is 0 used space in container.

System: debian (2.6.18-20-ovz-amd64 downloaded from downloads.openvz.com)
Disks: XFS on RAID1
Versions: vzctl version 3.0.23-1dso1, Vzquota version 2.5.0

host01:~# cat /proc/vz/vzquota
qid: path            usage      softlimit      hardlimit       time     expire
201: /mnt/md1/var/lib/vz/private/201
  1k-blocks              0       20971520       26214400          0     259200
     inodes              1        4000000        4000000          0     259200
101: /mnt/md1/var/lib/vz/private/101
  1k-blocks              0      104857600      104857600          0     259200
     inodes              1        4000000        4400000          0     259200
100: /mnt/md1/var/lib/vz/private/100
  1k-blocks              0       52428800       52428800          0     259200
     inodes              1        4000000        4400000          0     259200
102: /mnt/md1/var/lib/vz/private/102
  1k-blocks              0       20971520       26214400          0     259200
     inodes              1        4000000        4400000          0     259200
host01:~#

You can see, there is zero at usage and that's my problem :\.

Interesting is than there is 1 at inodes.

root@vps100:/# df -h
Filesystem            Size  Used Avail Use% Mounted on
[COLOR=red]/dev/simfs             50G     0   50G   0% /[/COLOR]
tmpfs                 2.0G     0  2.0G   0% /lib/init/rw
tmpfs                 2.0G     0  2.0G   0% /dev/shm
root@vps100:/#



Configuration file:
VERSION="2"
ONBOOT="yes"

NUMPROC=32000

NUMTCPSOCK=65535
NUMOTHERSOCK=65535

VMGUARPAGES="102400:102400"
KMEMSIZE="122880000:135160000"

TCPSNDBUF="10731520:20971520"
TCPRCVBUF="10731520:20971520"
OTHERSOCKBUF="3006464:8126464"
DGRAMRCVBUF="524288"
OOMGUARPAGES="102400"

LOCKEDPAGES="4096:4096"
PHYSPAGES="104857:104857"
PRIVVMPAGES="252144:262144"

SHMPAGES="131072"
NUMIPTENT="200"

NUMFILE="8192:8192"
NUMFLOCK="200:220"
NUMPTY="32"
NUMSIGINFO="256:256"
DCACHESIZE="4194304:4317184"

DISKSPACE="52428800:52428800"
DISKINODES="4000000:4000000"
IOPRIO="4"

CPUS="1"

HOSTNAME="vps100"
IP_ADDRESS="............"
NAMESERVER="8.8.8.8"

VE_ROOT="/var/lib/vz/root/$VEID"
VE_PRIVATE="/var/lib/vz/private/$VEID"
OSTEMPLATE="debian-5.0-amd64-minimal"

ORIGIN_SAMPLE="101"
CAPABILITY="CHOWN:on DAC_READ_SEARCH:on SETGID:on SETUID:on NET_BIND_SERVICE:on NET_ADMIN:on SYS_CHROOT:on SYS_NICE:on "


Thank you for your help
Re: Openvz and disk usage 0 [message #39720 is a reply to message #39716] Wed, 26 May 2010 12:43 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Sorry but vzquota does not work with XFS, you have to stick to ext2/3/4 or reiserfs.

Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
Re: Openvz and disk usage 0 [message #39734 is a reply to message #39716] Wed, 26 May 2010 14:29 Go to previous message
skrivy is currently offline  skrivy
Messages: 2
Registered: May 2010
Junior Member
Ahhhh, thank you for your fast reply. Yes, you are right. I have changed ext3 to xfs. Smile
Previous Topic: 2.6.18 - > 2.6.24 devnodes trouble
Next Topic: Unable to stop VPS after vzdump ?
Goto Forum:
  


Current Time: Tue May 07 16:44:19 GMT 2024

Total time taken to generate the page: 0.01473 seconds