Bug 17074 - confusing quota information
confusing quota information
Status: CLOSED WONTFIX
Product: Red Hat Linux
Classification: Retired
Component: nfs-utils (Show other bugs)
6.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Steve Dickson
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-08-29 10:11 EDT by braun
Modified: 2007-04-18 12:28 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-07-15 16:02:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description braun 2000-08-29 10:11:28 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
nfs-utils-0.1.9.1/utils/rquotad/rquota_server.c).
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).

Cheers

Martin Braun

Note You need to log in before you can comment on or make changes to this bug.