From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 20 Nov 2003 - 21:31:29 GMT
On Thu, Nov 20, 2003 at 02:55:35PM -0600, Eric Estabrooks wrote:
> Brian Ipsen wrote:
> >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 ??
> >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
> >on a LVM partition) ...
> >Vserver mailing list
> one easy option is to create a file of the size you want to restrict the
> vserver to and mount that in loop back and install the vserver on it.
> an advantage of doing this is it makes it very easy to move that vserver
> to another box, just shut it down and copy one file.
the disadvantage of this approach is, that you
eat up I/O and memory, because every file is
cached twice (the file itself, and the loopback
move from one host to the other is simple in any
way, just use dump/restore, tar or rsync ...
Vserver mailing list