Subject: Re: [vserver] Scrapped quota after kernel update (was: Number of open files inside VServer doesn't work)
From: "Daniel Hokka Zakrisson" <daniel@hozac.com>
Date: Thu, 29 May 2008 06:45:18 +0200 (CEST)

Thorsten Büker wrote:
> Performing just minor changes in the kernel (enabling userland nfs
> server) I upgraded to 2.6.22.19. Now quota support, which formerly
> worked fine, is scrapped ;-)
>
> The setup equals to http://linux-vserver.org/Standard_non-shared_quota
>
> Calling quotaon inside the vserver leads to "quotaon: using
> /home/aquota.user on /dev/hdv4 [/home]: No such device or address".

Sounds like you didn't run vrsetup after you rebooted. Do you have a
pre-start script which does that?

> vserver:/# ls -al /dev/hdv4
> brw-r--r-- 1 root root 4, 5 Dec 23  2006 /dev/hdv4
>
> The ccapability "quota_ctl" remained unchanged.
>
> Is the age/version of the vroots of relevance? Detaching them with the
> current vserver-utils fails ("ioctl(): No such device or address"), thus
> I didn't try to setup fresh ones with the new kernel.
>
> Unfortunately the host system's distribution (offering no external
> services at all) needs to be run with Debian Sarge for at least some
> weeks. Did anybody backport a version beyond 0.30.210-8bpo2? I didn't
> fetch anything via google.
>
> kind regards,
>    Thorsten

-- 
Daniel Hokka Zakrisson