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

From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Mon 05 Apr 2004 - 18:08:32 BST


On Mon, Apr 05, 2004 at 06:52:18PM +0200, Franck wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> > > > > Hello,
> > > > >
> > > > > I've succesfully installed vserver on debian woody on PII 450 with
> > > > > 190Mo RAM with vserser1.27 + q0.14 + bme0 patches :)
> > > > > I've put 2 Debian woody and 1 Sarge vservers on this computer.
> > > > >
> > > > > Now, i've 2 problems. I want limiting size of each vserver (1Go for
> > > > > exemple) and memory (128 Mo for exemple) too.
> > > > > I've read more docs, wiki, mailing-list but, it's not very simple :(
> > > > > The exemples i've found are for LVM or /vservers on dedicated
> > > > > partition :(
> > > > >
> > > > > Could you help me please ?
> > > >
> > > > repartition your system with a separate /vservers partition
> > > > it is a) too dangerous, and b) too complicated to use context
> > > > tagging on the root partition ...
> > >
> > > OK, i've made one other partition for /vsersers
> > > But how can i find some docs to limiting size of each vserverand memory
> > > too.
> >
> > memory limits are only partially enforced on stable,
> > but you can limit the VM with the rlimit interface ...
> >
> > this is a little outdated, but addresses the context
> > disk limits ...
> >
> > http://vserver.13thfloor.at/Linux2.6/index.php?page=Per+Context+Disk+Limits
>
> OK, thanks but what's /dev/shared/device and /dev/real/block/device ?
> My new hard disk is on /dev/hdb1 (2.1Go) pointing to /vsersers (/var/lib/
> vservers/)

in your case, both are /dev/hdb1, you probably want to add
the tagxid (or tagctx) option to /etc/fstab for that partition
and later on, you might want to use the vroot device for
quota inside a vserver (not required for disk limits)

> > there is also an upcoming howto by talon?
> I'm obliged to apply all this patch ?
> bzcat ../patch-2.4.22-c17e.diff.bz2 | patch -p1
> bzcat ../patch-2.4.22-c17e-mq0.11.diff.bz2 | patch -p1
> bzcat ../patch-2.4.22-c17e-mq0.10-cx0.06.diff.bz2 | patch -p1
> bzcat ../patch-2.4.22-c17e-mq0.11-cx0.06-cq0.11.diff.bz2 | patch -p1
> bzcat ../patch-2.4.22-c17e-mq0.11-cx0.06-cq0.11-dl0.05.diff.bz2 | patch -p
>
> 2.4.25 + vserser1.27 + q0.14 + bme0 isn't the good way ? I'm very lost with
> all this patch :(

no, as I said, this is outdated, but feel free to update it
(q0.14 contains successors of the patches mentioned above)

HTH,
Herbert

PS: if you prefer direct communication, join us at the irc
    channel (#vserver irc.oftc.net)

> ++
> - --
> Franck
>
> http://www.linuxpourtous.com
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
> iD8DBQFAcY7C1zwfep5k9qERAqCYAJ0f/lBjbD4vfGLm99DykR6oxRA5KgCgr/v3
> L5+gorRkkT17080+W6sG71k=
> =F+da
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Vserver mailing list
> Vserver_at_list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
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 Mon 05 Apr 2004 - 18:09:53 BST by hypermail 2.1.3