From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Thu 11 Sep 2003 - 18:11:44 BST
On Thu, Sep 11, 2003 at 06:57:13PM +0200, Stephan Sachse wrote:
> Hi Herbert,
>
> On Thu, 11 Sep 2003 17:47:33 +0200
> Herbert Poetzl <herbert_at_13thfloor.at> wrote:
>
> > yes, this _is_ intentional, that _is_ one of the
> > security features ;)
> >
> > sorry, forgot to mention that ...
> > new (old) syntax is:
> >
> > cqhadd -v -x 100 /dev/vroot/0 or
> > cqhadd -v -x 100 /dev/hda3
>
> ok that works without errors, but "quotaon -vgu /dev/hdv1" or "quotaon
> -avgu" in vServer ends now with following error
>
> - - - - - - - - - - - - - - - >8 - - - - - - - - - - - - - - -
> [root_at_v01 /]# quotaon -vgu /dev/hdv1
> quotaon: using //aquota.group on /dev/hdv1 [/]: Die Operation ist nicht
> erlaubt
> quotaon: using //aquota.user on /dev/hdv1 [/]: Die Operation ist nicht
> erlaubt
> - - - - - - - - - - - - - - - 8< - - - - - - - - - - - - - - -
>
> "quotacheck -avgu" works fine
hmm, usually quotacheck -avgu doesn't work, because it
complains that the filesystem is mounted, bla bla ...
so normally quotacheck -vaugm is used to override
this leaves me with two causes for your failure:
- you did not specify CAP_SYS_ADMIN in the vserver
config file (most likely)
- your quotatools are somewhat different from the
'normal' quota-tools-3.09 (at least 3.04 is required)
HTH,
Herbert
> cya later
> /stephan
>
> --
> "There is no such thing as a perfect plan."
> -Murphy's Law of Combat Operations