Subject: Re: [vserver] quota /home
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Thu, 25 Sep 2008 17:10:07 +0200

On Thu, Sep 25, 2008 at 08:29:31AM +0200, randall wrote:
> ADNET Ghislain wrote:
> >
> >>
> >to make quota work under webmin and vserver i use a wrapper script, 
> >you can find it there, it is very small and hackish but works for me :
> >
> >https://support.aqueos.net/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=192

> >
> >
> this seems to work to get the quota module working under webmin, 
> nevertheless virtualmin is still complaining about not being able to set 
> quota's for /home.
> have tried to set /home on hdv1 in mtab and fstab, but no luck so far.

the device entry needs to corespond to the
vroot device 

> how do you mount a home partition inside a guest?

simply put it in the guest configs fstab,
but you should be aware that you need to
setup a quota vroot device for each filesystem
inside the guest, if you want the guest to
be able to control the quota

HTC,
Herbert