From: Herbert Poetzl (herbert_at_13thfloor.at)
Date: Sat 14 Jun 2003 - 16:26:54 BST
On Fri, Jun 13, 2003 at 05:08:04PM +0200, Florian Wilkemeyer wrote:
> Hello, i have a problem qiith quota, i īve satupīd vroot etc.. when i
> run quotacheck then:
I guess I try to answer the second posting, and ignore
the first one ;)
> vserver0052:~/quota-tools# quotacheck -mavug
> Cannot get exact used space... Results might be inaccurate.
> quotacheck: Scanning /dev/hdv1 [/] quotacheck: Cannot open file auto:
> Permission denied
assuming that you use the 3.0.8 quota-tools (we compiled
yesterday *hint*) this message aoriginates from line 255
if ((fd = open(fname, O_RDONLY)) == -1)
die(2, _("Cannot open file %s: %s\n"), fname, strerror(errno));
which in turn is within getqsize() called from scan_dir()
searching some directories ...
therefore I conclude that you hit a file named 'auto'
which could not be read (due to lack of permissions and
capabilities) within the vserver ...
your options are:
- do it from outside the vserver (good)
best done in the vserver start script, right
before the vserver is started
- ensure that vserver-root has read permission
on 'all' files ...
- raise the capabilities (not good)
> Quota support is ON vroot Module is loadet.. shellscript is running
> but what can i do?
PS: please give a short overview/survey how
to use vroot/quota on loop devices ...
> M.F.G Sirius