Re: [Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-19 Thread Herbert Poetzl
On Tue, Oct 18, 2005 at 06:28:13PM -0700, Steven Truong wrote: Oops. I found out that I could set S_CONTEXT in /etc/vservers/lanweb.conf to set the context id. Here is my lanweb.conf a few comments here ... - the config you use (one config file) is called legacy config and was replaced

Re: [Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-19 Thread Herbert Poetzl
On Tue, Oct 18, 2005 at 07:13:20PM -0700, Steven Truong wrote: Ooops. Interesting development on trying quota based on * http://linux-vserver.org/Disk+Limits Currently I have /dev/sys/vservers /vservers ext3 defaults,tagxid 0 2 Howerver, because I just reboot the host server, so I started

Re: [Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-19 Thread Matt Gorecki
I specified the context in /etc/vservers/vservername/context Then chgxid the /vservers/vservername directory to match and you should be good to go. Matt Chuck wrote: On Tuesday 18 October 2005 08:06 pm, Steven Truong wrote: Thanks Mr. *Gorecki and Chuck for the answers. I have a

Re: [Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-19 Thread Steven Truong
Dear, Mr. Poetzl. Here is the output of running testme.sh. Linux-VServer Test [V0.13] Copyright (C) 2003-2005 H.Poetzl chcontext is working. chbind is working. Linux 2.6.12 i686/0.30.208/0.30.208 [Ea] (0) VCI: 0002:0001 273 0216 --- [000]# succeeded. [001]# succeeded. [011]# succeeded. [031]#

[Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-18 Thread Steven Truong
Thanks Mr. Gorecki and Chuck for the answers. I have a question regarding http://linux-vserver.org/Disk+Limits . I created my vserver without specifying the context number, so do I need to fix it or have to rebuild the guest server with a context number, or could I just append to the guest server

Re: [Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-18 Thread Chuck
On Tuesday 18 October 2005 08:06 pm, Steven Truong wrote: Thanks Mr. *Gorecki and Chuck for the answers. I have a question regarding http://linux-vserver.org/Disk+Limits . I created my vserver without specifying the context number, so do I need to fix it or have to rebuild the guest server

Re: [Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-18 Thread Chuck
On Tuesday 18 October 2005 08:06 pm, Steven Truong wrote: Thanks Mr. *Gorecki and Chuck for the answers. I have a question regarding http://linux-vserver.org/Disk+Limits . I created my vserver without specifying the context number, so do I need to fix it or have to rebuild the guest server

Re: [Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-18 Thread Chuck
On Tuesday 18 October 2005 08:11 pm, Chuck wrote: On Tuesday 18 October 2005 08:06 pm, Steven Truong wrote: Thanks Mr. *Gorecki and Chuck for the answers. I have a question regarding http://linux-vserver.org/Disk+Limits . I created my vserver without specifying the context number, so do I

[Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-18 Thread Steven Truong
Oops. I found out that I could set S_CONTEXT in /etc/vservers/lanweb.conf to set the context id. Here is my lanweb.conf IPROOT=192.168.0.78 IPROOTMASK=255.255.255.0 IPROOTDEV=eth1 S_HOSTNAME=lanweb S_DOMAINNAME=none > S_CAPS=CAP_NET_RAW S_CONTEXT=10 Once I got lanweb started and then entered it

[Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-18 Thread Steven Truong
Ooops. Interesting development on trying quota based on http://linux-vserver.org/Disk+Limits Currently I have /dev/sys/vservers /vservers ext3 defaults,tagxid 0 2 Howerver, because I just reboot the host server, so I started the guest, enterred it by root. Then I went to /usr/local/src/httpd-

Re: [Vserver] Re: Quota for guest servers on /vservers, /vservers is on LVM ext3

2005-10-18 Thread Chuck
On Tuesday 18 October 2005 09:28 pm, Steven Truong wrote: what version of vserver are you running? 2.0.x? for mine, im running 2.1.0-rc4 and i have a context file inside guestname here is the directory layout for the first level that i have for a guest named colossus.. below that is the