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

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

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
file) ...

move from one host to the other is simple in any
way, just use dump/restore, tar or rsync ...

best,
Herbert

> Eric
>

_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


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 Thu 20 Nov 2003 - 21:33:12 GMT by hypermail 2.1.3