From: Herbert Poetzl (herbert_at_emcc.at)
Date: Wed Jul 10 2002 - 14:45:57 EDT
>> Also, is quota support in the development agenda?
>
> Quota works fine if each vserver is mounted on a different LVM share, or
> loopback filesystem.
I think this is not good enough ...
because hardlinks are VERY useful to reduce
required diskspace and user/group quotas
are not sufficient to handle this ...
> I'm don't know (like with the binding-to-every-IP option) whether it is
> really practical in the tradeoff for time spent implementing it.
>
> Somebody will probably say something if this is /not/ the case.
I read the documentation, suggesting to
combine context and 16bit user id to 32bit uid
to make quota possible ...
After some DEEP look into the kernel sources,
I think (please correct me if I am wrong) that
it should be possible to add a third kind of
quota (context quota) which limits the space
available to an entire context ...
my suggestion is to make the following uid
mapping in/near the virtual filesystem layer:
Process [context/16,uid/16] <--> Filesystem [uid/32]
32bit uid support is in linux 2.4.x for almost
all file systems since 2.4.12 or so.
I am willing to try the required modifications
next week (or the week after) and would be happy
to get some suggestions/ideas from you ...
best,
Herbert
This archive was generated by hypermail 2.1.4 : Mon Aug 19 2002 - 12:01:01 EDT