Re: [Vserver] Re: quota probs on centos4 guest with gentoo host

From: Chuck <chuck_at_sbbsnet.net>
Date: Sun 01 Oct 2006 - 22:45:22 BST
Message-Id: <200610011745.22467.chuck@sbbsnet.net>

On Sunday 01 October 2006 17:25, Nicolas Costes wrote:
> Le Dimanche 1 Octobre 2006 18:09, Chuck a écrit :
> > having a problem getting user quotas to work within a
> > 32 bit centos4 guest template on a gentoo 2006.1 amd64 host. this is the
> > only guest i am trying this on for now.
> > i followed the guide with some mods due to apparent distro differences
> > between gentoo and debian at
> > [...]
> > any clues what i did wrong or missed?
> > maybe some config option somewhere in centos i dont know to set?
>
> Seems that you forgot to write the following
> in /etc/vservers/XX/apps/init/mtab :
>
> /dev/vg0/<guestdevicename> /vservers/xx/mountpoint reiserfs quota,defaults 0
0
>
> (not sure of the exact line, never used reiserfs, but you get the point :
the
> important thing is "quota"). Now, when starting your guest, it'll get
> a /etc/mtab...
>

wow didnt even know mtab could go in there... all ive ever had in any of them
was style, mark and depends
> If this does not work, try this command inside the guest :
> # repquota /dev/hdv1
>
> Should work with 2.0.2, but only by giving the device : 2.0.2 cannot resolve
a
> mountpoint for now. "repquota -a" should work too, but for example not
> "repquota /home".
>
> Which VS patch do you use ? It work for me with 2.0.2 (and a couple of rc
> before it) an XFS, but not with devel !
>

took the gentoo ebuild this time 2.6.15-vs2.0.1-gentoo-r5

> HTH
>
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sun Oct 1 22:46:43 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sun 01 Oct 2006 - 22:46:47 BST by hypermail 2.1.8