[Users] Quota 2nd level problem
lst_hoe02 at kwsoft.de
lst_hoe02 at kwsoft.de
Thu Nov 4 04:37:10 EDT 2010
Zitat von Barbara Nowak <basiamnowak at yahoo.co.uk>:
> Hi,
>
>
>
> On Tuesday 03 November 2010 22:04:07 Maxim Dolgikh wrote:
>
>> As i understand you use different partitions for root and private
>> on the HN. I
>> think you need enable quotas on the VE_ROOT partition too.
>
> No, It is not good solutions.
> Does not help....
>
>
> On Tuesday 03 November 2010 22:04:07 Kir Kolyshkin wrote:
>
>> Looks like you mix 1st and 2nd level quotas.
>> First-level quota is set by --diskspace and --diskinodes and this
>> is quota for
>> a CT.
>>
>> Second-level quota is quota for users/groups inside a container, and it is
>> enabled
>> by doing vzctl set $CTID --quotaugidlimit NNN. See the description of the
>> parameter in vzctl man page.
>>
>> Let us know if it helps.
>
> I've already set --quotaugidlimit but it does not help.
>
> Hoever I've checked again my config files...
> Someting works strange:
>
> marvin:~# cat /etc/vz/conf/101.conf
> [...]
> DISK_QUOTA="yes"
> DISKSPACE="139456348:139456348"
> DISKINODES="139456348:139456348"
> QUOTATIME="0"
> QUOTAUGIDLIMIT="190"
>
> but in /etc/vz/vz.conf i had:
> DISK_QUOTA=no
>
> these settings turn off 2-nd level quota.. Is any priority of reading config
> files ?
> After changing DISK_QUOTA in vz.conf:
>
> marvin:~# vzctl enter 101
> entered into CT 101
> s1:/# ls -la |grep quota
> lrwxrwxrwx 1 root root 39 Nov 3 22:01 aquota.group ->
> /proc/vz/vzaquota/00000029/aquota.group
> lrwxrwxrwx 1 root root 38 Nov 3 22:01 aquota.user ->
> /proc/vz/vzaquota/00000029/aquota.user
> s1:/# mount
> /dev/simfs on / type reiserfs (rw,usrquota,grpquota)
As far as i know Quotas are only supported on ext3.
http://wiki.openvz.org/Disk_quota
Regards
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6046 bytes
Desc: S/MIME Cryptographic Signature
Url : http://openvz.org/pipermail/users/attachments/20101104/80ba3d91/smime.bin
More information about the Users
mailing list