From: Brian Ipsen (bipsen-dated-1069968058.ca88c6_at_andebakken.dk)
Date: Thu 20 Nov 2003 - 21:20:58 GMT
Hi,
> > If I want to be able to limit disk-usage for a specific
> > account inside a vserver/context - is it the patches/procedure
> > described at <...> I need to follow ??
>
> no, what you probably want, is called Per Context Quota ...
>
> I know it is confusing (although I don't know why ;) but
> Per Context Disk Limits allow you to limit the available
> disk space for each context ... and Per Context Quota
> allows you to use 'conventional' quota in each context,
> both are usually used on shared partitions, as you can
> use quota without them on separate partitions, and you
> could only use a 200MB partition if limitation would be
> your goal ...
Hmm... okay...
> > Eg. the uid 544 (login: user1) is only allowed to use 200 MB
> > of diskspace inside the vserver, where the account is created
> > (and the vserver is running on a LVM partition) ...
>
> this could be solved without any additional patch, just
> enable quota support for this partition, and set a user
> quota for this uid, either in or outside of that context
Only issue is if you run several vservers/contexts on the same root-server -
then overlapping uid's are not allowed, otherwise things would become messy
with the quotas - or... ?
Regards,
/Brian
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver