On Tue, May 11, 2004 at 08:03:58PM +0900, Dan Keimatsu wrote: > > To activate quota function within security context, > we refered to "http://www.13thfloor.at/old/VServer/HowTo_LVMQ.shtml", > and built our own system. As a result, testing command "quotacheck" > and "repquota" on the system works fine.
I assume 'on the system' referrs to the host? > However, when we used "edquota" command to set quota for a user as a > root, the user could create a file which exceeds over quota. > > At this time, the result of "repquota" was like this. > > "user +- 2052 1024 1024 6days 7 0 0" > > Also, the results of "quotaon" or " quotaoff" were below, and error > messages were returned. > > #quotaoff / > quotaoff: quotactl on /dev/hdv1 [/]: No such device or address > quotaoff: quotactl on /dev/hdv1 [/]: No such device or address > > #quotaon / > quotaoff: quotactl on /dev/hdv1 [/]: No such device or address > quotaoff: quotactl on /dev/hdv1 [/]: No such device or address which was almost expected ... the docu is just outdated, a community member started to update the quota documentation, but was lost in action ... > Could someone tell me how quota works right, please. the best docu atm can be found at the documentation section on linux-vserver.org, here is a link to the quota part: http://vserver.13thfloor.at/Linux2.6/index.php?page=Per+Context+Quota basically you have to add a quota hash for each (part,xid) tuple and use the vroot device to proxy quotaioctls in a secure way to the kernel ... HTH, Herbert PS: is this linux-vserver in Japan? > Thanks in advance. > > --- > Dan Keimatsu > _______________________________________________ > Vserver mailing list > [EMAIL PROTECTED] > http://list.linux-vserver.org/mailman/listinfo/vserver _______________________________________________ Vserver mailing list [EMAIL PROTECTED] http://list.linux-vserver.org/mailman/listinfo/vserver
