On Thu, Nov 20, 2003 at 10:20:58PM +0100, Brian Ipsen wrote: > 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... ?
quota is separate per partition .. so one vserver on one lvm partition means no issues with quota ... more than one on one (shared as we call it) partition, requires the per context quota patches ... HTH, Herbert > Regards, > > /Brian > _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver