[vserver] Setting up Disk Limits but getting errors on stopping vservers

From: Marcus Mülbüsch <m.muelbuesch_at_googlemail.com>
Date: Tue 17 May 2011 - 14:25:29 BST
Message-ID: <4DD27749.9000906@googlemail.com>

Hello all,

    I've set up Disk Limits following the guide in
http://linux-vserver.org/Disk_Limits_and_Quota. Everything works as
expected, except that when I stop a vserver I get a

>vdlimit: vc_get_dlimit(): No such file or directory
>vdlimit: vc_rem_dlimit(): No such file or directory

This does not happen with the /vserver/<vs_name> dir, but with an
external dir that is mounted into the vserver, i.e. /srv/vsdata/<vs_name>

However, the disk limits work when the vserver is running: I cannot
overfill the vsdata directory.

After the vserver is stopped, the /etc/vservers/<vs_name>/cache/dlimits
has two entries; the working one the "61125_vservers_<vs_name>_"
containing entries for "space_used" and "inodes_used".

There is another 0-byte entry of "61125_srv__vsdata_<vs_name>_" This is
the one producing the error.

Both directories have identical entries under
/etc/vserver/<vs_name>/dlimits (except of course that directory once
points to "/vservers/<vs_name>/" and the other to"/srv/vsdata/<vs_name>/".

Using Kernel: 2.6.35-vs2. and util-vserver:
0.30.216-pre2935; May 16 2011, 14:35:01

What am I missing?

Received on Tue May 17 14:26:05 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 17 May 2011 - 14:26:05 BST by hypermail 2.1.8