Re: [vserver] Quota problem kernel 2.6.20 vs 2.2.0.4

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Thu 10 Jan 2008 - 00:13:55 GMT
Message-ID: <20080110001355.GE30068@MAIL.13thfloor.at>

On Wed, Jan 09, 2008 at 09:13:22AM +0100, Olav Schwering wrote:
> Hello all,
>
> try get the quota working on my brand new gentoo build but had no
> success sofar :-(
>
> Build a default host with gentoo vserver-sources 2.2.0-r1 and enabled
> quota settings in kernel. After reboot I made some test on the host on
> my ext3 partition I wanna use for my vserver guest. Sofar so good...
>
> Now I build a guest and entered the following commands:
>
> > >e2fsck -p /dev/partition
> > >mount /dev/partition /vserver/vs1
> > >rm -f /vservers/vs1/dev/hdv1
> > >vrsetup /dev/vroot1 /dev/partition
> > >cp -fa /dev/vroot1 /vservers/vs1/dev/hdv1
> > >echo "quota_ctl" >>/etc/vservers/vs1/ccapabilities
> > >echo "dev/hdv1 / ufs rw,usrquota,grpquota 0 0"
        ~~~~~~~~~~~
should be /dev/hdv1

> >> >>/etc/vservers/vs1/apps/init/mtab
> > >vserver vs1 start
> > >vserver vs1 enter
> vs1>quotacheck -maugv -> build the usual quota files
> vs1>quotaon -va returned -> "Invalid argument"
>
> Tried it multiple ways and time, using a LVM or harddrive partition etc.
> It doesn't matter what I'm doing it fails :-(
>
> Anyone out there who has it working and can give me some input what I'm
> doing wrong?

try mounting the filesystem with quota support i.e.
mount -o grpquota,usrquota /dev/partition /vserver/vs1
mount -o quota /dev/partition /vserver/vs1

if that doesn't help, enable Linux-VServer debugging
and pay a visit to the IRC channel

HTH,
Herbert

> Thanks in advanced
>
>
> OSCH
Received on Thu Jan 10 00:14:06 2008

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 10 Jan 2008 - 00:14:20 GMT by hypermail 2.1.8