From: Eric Estabrooks (eric_at_urbanrage.com)
Date: Thu 20 Nov 2003 - 20:55:35 GMT
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
>http://vserver.13thfloor.at/Linux2.6/index.php?page=Per+Context+Disk+Limits
>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 running
>on a LVM partition) ...
>
>Regards,
>
>/Brian
>_______________________________________________
>Vserver mailing list
>Vserver_at_list.linux-vserver.org
>http://list.linux-vserver.org/mailman/listinfo/vserver
>
>
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.
Eric
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver