About this list Date view Thread view Subject view Author view Attachment view

From: Gregory (Grisha) Trubetskoy (grisha_at_ispol.com)
Date: Tue 05 Oct 2004 - 19:37:27 BST


Hello -

this is vdlimit 0.01, linux 2.6.8.1, vs 1.9.2.

I'm not sure vdlimit is supposed to behave this way, or am I missing
something (as is not unusual):

# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda5 26193716 18202564 6660572 74% /
/dev/hda3 101105 11053 84831 12% /boot
none 257996 0 257996 0% /dev/shm
/var/tmp/vserver 1007896 820568 136128 86% /vservers

(/vservers is mounted on a loop-mounted file, not that it should matter)

# vserver zzz exec df -k | grep hdv
WARNING: can not find configuration, assuming legacy method
/dev/hdv1 1007896 820568 136128 86% /

(zzz is xid 10101, the WARNING skipped below)

now just some random numbers:

# ./vdlimit -a -x 10101 -S 200,200000,300,4000,5 /vservers
/vservers: 200,200000,300,4000,5

# vserver zzz exec df -k | grep hdv
/dev/hdv1 200000 12672 136128 9% /

Why 12672?

# ./vdlimit -x 10101 -d /vservers
vc_get_dlimit: No such process <--- also is this a problem?
/vservers: 0,0,0,0,0

# ./vdlimit -a -x 10101 -S 1000,200000,300,4000,5 /vservers
/vservers: 1000,200000,300,4000,5

# vserver zzz exec df -k | grep hdv
WARNING: can not find configuration, assuming legacy method
/dev/hdv1 200000 12672 136128 9% /

again 12672?

# ./vdlimit -x 10101 -d /vservers
vc_get_dlimit: No such process
/vservers: 0,0,0,0,0

# ./vdlimit -a -x 10101 -S 1000,300000,300,4000,5 /vservers
/vservers: 1000,300000,300,4000,5

# vserver zzz exec df -k | grep hdv
/dev/hdv1 300000 112672 136128 46% /

now 112672?

Anyone seen this? Also, should I be using vdlimit at all or is there a
util-vserver equivalent?

P.S.
this looks right, however:

# vserver zzz exec df -i | grep hdv
/dev/hdv1 4000 300 3700 8% /

Thanks!

Grisha

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 05 Oct 2004 - 19:37:44 BST by hypermail 2.1.3