On Fri, 2001-12-14 at 17:10, Vincent Bernat wrote:
> I am trying to enable quotas on an XFS kernel. This is a 2.4.16.
> # grep QUOTA .config
> # mount /home -o remount
> # mount | grep home
> /dev/sda9 on /home type xfs (rw,usrquota)
> # quotacheck -V
> Quota utilities version 3.02.
> Compiled with RPC and EXT2_DIRECT
> Bugs to mvw@xxxxxxxxxxxxxxx, jack@xxxxxxx
> # quotacheck -avug
> quotacheck: Skipping /dev/sda9 [/home]
> quotacheck: Can't find filesystem to check or filesystem not mounted with
> quota option.
> What may be the problem ? Is there a particular step for using quotas
> with XFS ?
Quotas are maintained within xfs - and journalled, only if xfs detects a
problem at mount time is a quotacheck needed, and xfs does this itself
in the kernel. So basically the quotacheck command is not needed for
To prove this, mount xfs with quotas - the first time it should print
some messages about building quota state. If you unmount and remount
with quotas it will do nothing, if you unmount and then remount without
quotas, then remount again with quotas it will perform the same check
> BOFH excuse #335:
> the AA battery in the wallclock sends magnetic interference
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx