Red Hat Bugzilla – Bug 17074
confusing quota information
Last modified: 2007-04-18 12:28:26 EDT
Systems: NFS - server and NFS - client running RedHat 6.2 on i686.
(lkernel 2.2.16-3, nfs-utils-0.1.9.1-1, quota-2.00pre3-2)
NFS server exports its /home - partition (formatted using
mke2fs -b 4096) to client.
Output of ``quota'' on the server shows block quotas in 1kB units.
Running ``quota'' on the client shows block quotas in 4kB units.
Rpc.rquotad uses the kernel syscall quotactl to get block quotas. This
returns the block counts in 1kB units (should use 4kB here?).
However the block size information in the result structure is set to
4kB (result of statfs, see file
This confuses quota on the client which does a division to get 1kB blocks
back (see quota-2.00-pre3/rquota_client.c).
I have not checked other utils (setquota).