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


[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