[Vserver] disk quota and vhashify

2007-06-13 Thread ADNET Ghislain

Hi,

 To have disk quotas it seems the best to have a partition for each 
Vserver guests. But vhashify use hardlink and i think it does not cross 
partition.  What would be the best way to have vhashify AND quota on the 
vserver ?



 *Is there a way to implement user/group quota per VServer?*

A: Yes, but not on a shared partition for now. You need to put the guest 
on a separate partition, setup a vroot device (to make the quota access 
secure), copy that into the guest, and adjust the mtab line inside the 
guest.



  is disk limits the solution ? how disk limit work with the quota 
support ?


http://oldwiki.linux-vserver.org/Disk+Limits

  this tells that it set limits but i don't know how this interact with 
the quota utilities or the likes. Anyone ghas experiences on how it works ?



--
Cordialement,
Ghislain


smime.p7s
Description: S/MIME Cryptographic Signature
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Debian guest on a Gentoo Host?

2007-06-13 Thread Ben Green
On Wed, 13 Jun 2007 09:26:27 +0100, jepa kazol [EMAIL PROTECTED] wrote:

 Hi guys,
 I am trying to move all of my gentoo servers to debian and for now I am 
 trying to install a Debian guest vserver on a gentoo host. But I couldn't 
 find out how to do that. Is there anyone on this list did the job? Please 
 share your experiences with me...

You can just pop a Debian vserver image in the relevant directory. Create a 
normal vserver, then replaces it's files with a vserver of your choice. There 
are some stock images here: http://debian.marlow.dk/vserver/guest/ and probably 
elsewhere, you'll probably want an 'etch' image though, as it is the current 
stable. It may be best to use an 'etch' machine to create one then copy it 
across.

-- 
 From Ben Green

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Debian guest on a Gentoo Host?

2007-06-13 Thread Peter Mann
On Wed, Jun 13, 2007 at 11:26:27AM +0300, jepa kazol wrote:
I am trying to move all of my gentoo servers to debian and for now I am
trying to install a debian guest vserver on a gentoo host. But I couldn't
find out how to do that. Is there anyone on this list did the job? Please
share your experiences with me...

debootstrap

http://gentoo-portage.com/dev-util/debootstrap

-- 

5o   Peter.Mann at tuke.sk


___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Debian guest on a Gentoo Host?

2007-06-13 Thread Stéphane GAUTIER
On Wednesday 13 June 2007 14:31:47 Peter Mann wrote:
 On Wed, Jun 13, 2007 at 11:26:27AM +0300, jepa kazol wrote:
 I am trying to move all of my gentoo servers to debian and for now I
  am trying to install a debian guest vserver on a gentoo host. But I
  couldn't find out how to do that. Is there anyone on this list did the
  job? Please share your experiences with me...

 debootstrap

 http://gentoo-portage.com/dev-util/debootstrap

http://pub.infra.recia.fr/solaere/src/soldier/soldier-1.0_pre7.tar.bz2
http://pub.infra.recia.fr/vservers/reference/
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] Debian guest on a Gentoo Host?

2007-06-13 Thread Benedikt Boehm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

jepa kazol wrote:
 Hi guys,
 I am trying to move all of my gentoo servers to debian and for now I am
 trying to install a debian guest vserver on a gentoo host. But I
 couldn't find out how to do that. Is there anyone on this list did the
 job? Please share your experiences with me...

emerge debootstrap '=sys-cluster/util-vserver-0.30.213'
vserver name build -m debootstrap other stuff you want -- -d etch -m
mirror url
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGcB7zmPFBzbX68WERApUrAJkBt2BM13bE7m8i3inasJM5I79YXwCfcYKj
2EDDVhaZzSuF5Kz+SNiMjxY=
=OjkG
-END PGP SIGNATURE-
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] disk quota and vhashify

2007-06-13 Thread Daniel Hokka Zakrisson
ADNET Ghislain wrote:
 Hi,

   To have disk quotas it seems the best to have a partition for each
 Vserver guests. But vhashify use hardlink and i think it does not cross
 partition.  What would be the best way to have vhashify AND quota on the
 vserver ?


   *Is there a way to implement user/group quota per VServer?*

 A: Yes, but not on a shared partition for now. You need to put the guest
 on a separate partition, setup a vroot device (to make the quota access
 secure), copy that into the guest, and adjust the mtab line inside the
 guest.


is disk limits the solution ? how disk limit work with the quota
 support ?

 http://oldwiki.linux-vserver.org/Disk+Limits

this tells that it set limits but i don't know how this interact with
 the quota utilities or the likes. Anyone ghas experiences on how it works
 ?

Disk limits limit the entire guest on that filesystem, not users or groups
within that guest.

Nobody has wanted user/group quotas on a shared filesystem yet to do the
required testing.

-- 
Daniel Hokka Zakrisson
___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] I/O CFQ scheduler

2007-06-13 Thread Chuck


i am getting ready to upgrade the kernel from 2.6.19-vs2.2.0-rc2 (vanilla 
kernel)  to the current gentoo vserver-sources (2.6.20-vs2.2.0-gentoo) in our 
production machine and was thinking of using the CFQ scheduler.

in an earlier msg about cfq someone mentioned this:


Compile CFQ I/O scheduler support into the kernel and append the
following parameter to your kernel boot parameters:
elevator=cfq

what is elevator and how does it relate? is it something i should do?

or maybe use deadline instead?

is it worth it on a moderately loaded machine? 

it is currently running 41 guests: 9 reasonably busy web servers, a *very* 
busy email server and also a busy radius server. the rest are lower usage. 

primary host os and most guests are gentoo-amd64 however all of the web 
servers are centos4/x86_64 which chews up *considerably* more resources 
(because a registered package we use requires this os for now). my primary 
concern is if a cfq scheduler change from anticipatory would break any disk 
configs using software raid, lvm2 and user quotas which work perfectly in our 
guests.

during development and implementation of this production server i opted for 
safety with the anticipatory scheduler but now that it has proven itself, i 
feel the need to 'optimize' it a bit.

suggestions?

 On Tue, Jan 24, 2006 at 08:06:38PM +0300, Vasily Tarasov wrote:
  Hello.
  
  Can you tell me, please, can util-vserver-0.30.209 
  http://www.13thfloor.at/vserver/d_rel26/v2.1.0/util-vserver-0.30.209.tar
  work with I/O CFQ Scheduler already?
 
 yes, it's a 'hard-coded' kernel feature of the devel branch
 (for now) 
 
  How?
 
 just enable the cfq i/o scheduler for your system/tasks
 and the accounting will be done per context (guest)
 
 in the future I guess there will be util support to fine
 tune the priorities and set the I/O groups ...
 
 HTH,
 Herbert
 
  
  Thank you.
  ___
  Vserver mailing list
  Vserver@list.linux-vserver.org
  http://list.linux-vserver.org/mailman/listinfo/vserver
 ___
 Vserver mailing list
 Vserver@list.linux-vserver.org
 http://list.linux-vserver.org/mailman/listinfo/vserver
 

-- 

Chuck




___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver