Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160319 - quotacheck is documented to be necessary on all filesystems, but it is not
Summary: quotacheck is documented to be necessary on all filesystems, but it is not
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/security...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-05 13:18 UTC by Alexander Huemer
Modified: 2007-01-06 18:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Huemer 2007-01-05 13:18:20 UTC
in the documentation of "user/group limitations" is documented that the admin of the system should in any case add the quota script to a runlevel.
this leeds to errors, because on some filesystems, e.g. xfs quotachecks are done internally.
somebody who has good knowledge of quotas on most filesystems should change the documenation.
Comment 1 nm (RETIRED) gentoo-dev 2007-01-05 17:46:02 UTC
(In reply to comment #0)
> in the documentation of "user/group limitations" is documented that the admin
> of the system should in any case add the quota script to a runlevel.
> this leeds to errors, because on some filesystems, e.g. xfs quotachecks are
> done internally.
> somebody who has good knowledge of quotas on most filesystems should change the
> documenation.

I did some thorough reading around at SGI's XFS pages, and its documentation specifically says to install the quota package (yes, the same one that is emerged and added to the default runlevel) in addition to adding kernel-level support for quotas.

Without specific information on the nature of the errors you've run into, I'm afraid we can't do much about this except to leave the existing warning (the big red box) as-is.
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2007-01-06 18:38:31 UTC
Please see xfs_quota(8):

QUOTA ADMINISTRATION
       The  XFS  quota  system differs to that of other filesystems in a number of ways.  Most importantly, XFS considers quota information as filesystem
       metadata and uses journaling to provide a higher level guarantee of consistency.  As such, it is administered differently, in particular:

       1.     The quotacheck command has no effect on XFS filesystems.  The first time quota accounting is turned on (at mount time), XFS does  an  auto-
              matic quotacheck internally; afterwards, the quota system will always be completely consistent until quotas are manually turned off.

       2.     There is no need for quota file(s) in the root of the XFS filesystem.
(...)
Comment 3 nm (RETIRED) gentoo-dev 2007-01-06 18:48:56 UTC
(In reply to comment #2)
> Please see xfs_quota(8):
> 
> QUOTA ADMINISTRATION
>        The  XFS  quota  system differs to that of other filesystems in a number
> of ways.  Most importantly, XFS considers quota information as filesystem
>        metadata and uses journaling to provide a higher level guarantee of
> consistency.  As such, it is administered differently, in particular:
> 
>        1.     The quotacheck command has no effect on XFS filesystems.  The
> first time quota accounting is turned on (at mount time), XFS does  an  auto-
>               matic quotacheck internally; afterwards, the quota system will
> always be completely consistent until quotas are manually turned off.
> 
>        2.     There is no need for quota file(s) in the root of the XFS
> filesystem.
> (...)

Interesting, thanks for providing the snippet.

For reference, one of the SGI FAQs I found did say to use the quota package, though it also referenced the man page (which is not installed on my system). http://oss.sgi.com/projects/xfs/faq.html

I'll see about adding a note on this.
Comment 4 nm (RETIRED) gentoo-dev 2007-01-06 18:59:00 UTC
Fixed in CVS. Thanks jan for the manpage quote(a). :p