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

From: Herbert Poetzl (herbert_at_emcc.at)
Date: Wed 10 Jul 2002 - 19:45:57 BST


>> 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


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 Wed 06 Nov 2002 - 07:03:41 GMT by hypermail 2.1.3