Subject: Re: [vserver] Disk limits problem?
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Wed, 9 Sep 2009 23:18:55 +0200

On Wed, Sep 09, 2009 at 03:30:31PM -0400, Gregory (Grisha) Trubetskoy wrote:
> 
> Is there a problem in Experimental patches with disk accounting? This is a 
> setup that workes everywhere else, the only difference is newer VServer 
> patch and util-vserver... Should I try a later patch, or should I be 
> looking elsewhere for the problem? Any advice very much appreciated!

no problem, it's just not implemented yet

best,
Herbert

> tagging is on:
> 
> # mount | grep /vserver
> /dev/sda7 on /vservers type ext3 (rw,tag)
> 
> 
> but it doesn't work:
> 
> 
> # vserver zzzz enter
> [root@zzzz /]# df -k
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hdv1             10000000         0   9492184   0% /
> [root@zzzz /]# dd if=/dev/zero of=xxx bs=10M count=1
> 1+0 records in
> 1+0 records out
> 10485760 bytes (10 MB) copied, 0.0272249 seconds, 385 MB/s
> [root@zzzz /]# df -k
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/hdv1             10000000         0   9492184   0% /
> [root@zzzz /]#
> 
> here is the info:
> 
> # vserver-info
> Versions:
>                    Kernel: 2.6.30.1-vs2.3.0.36.14-pre4
>                    VS-API: 0x00020304
>              util-vserver: 0.30.216-pre2841; Jul 28 2009, 02:44:38
> 
> Features:
>                        CC: gcc, gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
>                       CXX: g++, g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
>                  CPPFLAGS: ''
>                    CFLAGS: '-O2 -g -m64 -mtune=generic -std=c99 -Wall 
>                    -pedantic -W -funit-at-a-time'
>                  CXXFLAGS: '-O2 -g -m64 -mtune=generic -ansi -Wall 
>                  -pedantic -W -fmessage-length=0 -funit-at-a-time'
>                build/host: x86_64-redhat-linux-gnu/x86_64-redhat-linux-gnu
>              Use dietlibc: yes
>        Build C++ programs: yes
>        Build C99 programs: yes
>            Available APIs: v13,net,v21,v22,v23,netv2
>             ext2fs Source: e2fsprogs
>     syscall(2) invocation: alternative
>       vserver(2) syscall#: 236/glibc
>                crypto api: beecrypt
>           python bindings: yes
>    use library versioning: yes
> 
> Paths:
>                    prefix: /usr
>         sysconf-Directory: /etc
>             cfg-Directory: /etc/vservers
>          initrd-Directory: /etc/rc.d/init.d
>        pkgstate-Directory: /var/run/vservers
>           vserver-Rootdir: /vservers