Re: [Vserver] iSCSI and Quota's

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Fri 27 Oct 2006 - 17:30:51 BST
Message-ID: <20061027163051.GD6673@MAIL.13thfloor.at>

On Fri, Oct 27, 2006 at 12:45:18PM +0200, Wido den Hollander wrote:
> Hi,
>
> I am running VServer guests on iSCSI targets, wich gives me a bit of a
> problem when using quota's.
>
> I all the howto's you need to make a blockdevice and copy it into the
> /dev directory of the guest.
>
> Since my targets come from iSCSI i can't do that. The only exists in
> the /dev directory of the host.

hmm? that would be new ... devices are devices, and
devices can be copied ....

> I made a failover solution where /etc/vservers is mounted over NFS so
> all hosts kan access this data.
>
> All these hosts have access to all the iSCSI targets, so i can start
> any guest on any host. This is great when you want failover.
>
> The control panel i am using (DirectAdmin) requires that you have
> quotas in order to calculate the diskusage.

there are quite some funny tools out there, maybe modify
the DirectAdmin a little?

> In the fstab file of my guests i have i line like:
>
> /dev/emc_61 / ext3 rw,noatime,usrquota 0 0
>
> In this case /dev/emc_61 is the iSCSI target.

> Any suggestions?

well, IMHO normal procedure, i.e:

 - create vroot devices for each iSCSI target
 - make sure to enable quota on the mount
 - configure vroot devices and copy them into
   the guests

HTH,
Herbert

> Met vriendelijke groet,
>
> Wido den Hollander
> PCextreme technische dienst
>
> Telefoon: 020-5060100
> Fax: 020-4470944
> E-mail: tech@pcextreme.nl
> Internet: http://www.pcextreme.nl
>
> Antwoorden op veel vragen vindt u in onze handleiding op:
> http://handleiding.pcextreme.nl/

> _______________________________________________
> 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
Received on Fri Oct 27 17:32:27 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 27 Oct 2006 - 17:32:34 BST by hypermail 2.1.8