quota 101

Christian evilninja at gmx.net
Thu May 4 22:48:57 UTC 2006

oh, I am using:

$ quota -V
Quota utilities version 3.13.
Compiled with RPC and EXT2_DIRECT
Bugs to mvw at planets.elm.net, jack at suse.cz

are there any special versions out there for v2 quotas?


Hi list,

having used ext2/3 for years now I have to admit that I've never dealt
with filesystem quotas yet. But now I want to use them and I'm rather
puzzled that I just can't get it working. I even consulted howtos...

What I have done so far on this box (debian/i386, 2.6.17-rc3)

- compiled in quota support:

% zgrep -i quota /proc/config.gz
# CONFIG_XFS_QUOTA is not set

- touch /home/aquota.user; chmod 0600 /home/aquota.user
- umount /home; edited fstab; mount /home

% grep quota /proc/mounts
/dev/sda6 /home ext3 rw,nosuid,nodev,noatime,data=ordered,usrquota 0 0

% quotacheck -av
quotacheck: Scanning /dev/sda6 [/home] done
quotacheck: Checked 4906 directories and 21239 files
quotacheck: Checked 4906 directories and 21239 files

% edquota -F vfsv0 theo  [...]

% quotaon -auv -F vfsv0
quotaon: using /home/aquota.user on /dev/sda6 [/home]: No such process
quotaon: Quota format not supported in kernel.

...running strace(1) on it:

% strace quotaon -auv -F vfsv0
open("/home/aquota.user", O_RDONLY|O_LARGEFILE) = 3
_llseek(3, 0, [0], SEEK_SET)            = 0
read(3, "\21\37\300\331\0\0\0\0", 8)    = 8
close(3)                                = 0
quotactl(Q_QUOTAON|USRQUOTA, "/dev/sda6", 2, {8169863311701010479,
7310315462216413045, 73014444146, 13253627510421192704, 1309965025280,
13253628303781025976, 0, 18446744069549162704}) = -1 ESRCH (No such
write(2, "quotaon: ", 9quotaon: )                = 9
write(2, "using /home/aquota.user on /dev/"..., 62using /home/aquota.user
on /dev/sda6 [/home]: No such process
) = 62

Can someone please explain to me what I am missing here? Also, why do I
have to specify "-F vfsv0" all the time, isn't quotaV2 the default yet?

What's even more irritating: my mount(8) manpage says for ext2:

> grpquota / noquota / quota / usrquota
>           These options are accepted but ignored.

(from: mount-2.12r)

Thanks for your ideas,
BOFH excuse #1:

clock speed

More information about the Ext3-users mailing list