Bug 667360
| Summary: | rpc.rquotad can't handle quotas >4TB | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Sachin Prabhu <sprabhu> | ||||||
| Component: | quota | Assignee: | Petr Pisar <ppisar> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Branislav Blaškovič <bblaskov> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 5.5 | CC: | azelinka, bblaskov, bfields, dhowells, jlayton, pasteur, plambri, rwheeler, steved, tom.willems | ||||||
| Target Milestone: | rc | Keywords: | Patch | ||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| URL: | https://sourceforge.net/tracker/?func=detail&aid=3152423&group_id=18136&atid=118136 | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | quota-3.13-6.el5 | Doc Type: | Bug Fix | ||||||
| Doc Text: |
Cause
Querying quota usage or limits for network-mounted file
system if quota values are 2^32 or bigger.
Consequence
Values are not properly transported over RPC and
interpreted by client. Mangled values (wrapped to 32
bits) are reported by client then.
Fix
Proper interpretation of RPC values by client has been
back-ported from upstream and proper reporting big
values by rpc.rquotad has been implemented.
Result
Block quota usage and limits values bigger than 2^32-1
are properly reported by client for network file
systems.
|
Story Points: | --- | ||||||
| Clone Of: | |||||||||
| : | 667755 (view as bug list) | Environment: | |||||||
| Last Closed: | 2013-01-08 04:55:31 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | 831520 | ||||||||
| Bug Blocks: | 743405, 798457, 807971 | ||||||||
| Attachments: |
|
||||||||
|
Description
Sachin Prabhu
2011-01-05 12:38:32 UTC
The patch does not fix it. It just divides limits by 2^20 on transmission from rpc.rquotad making mangled values on client site. It would break compatibility between patched and unpatched servers and clients. In addition, server needs to use VFSV1 quota file format to allow 64b limits on the ext file system. This will be supported by quota and kernel since RHEL-6.1 probably. Supported VFSV0 quota format can handle 32b values only. (See bug #609795 for more details.) I agree there is a bug in RPC (as reported problem presents even in upstream development version), however I cannot see how user could set >2^32 limits on server. (I assume XFS is not supported by RHEL-5.) If I understand correctly, administrator set 200000000 KB soft limit, user exceeded it and quota on client shows bad count of used blocks now. However the limit is forced by server correctly. So the only problem is used blocks are not reported correctly on the client. Bug filed to upstream: https://sourceforge.net/tracker/?func=detail&aid=3152423&group_id=18136&atid=118136 This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Created attachment 583519 [details]
Use factor signalled in RPC to compute real values
RHEL-6 patch applies cleanly.
Created attachment 583520 [details]
Make RPC block factor dynamic
RHEL-6 patch applies cleanly.
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
Cause
Querying quota usage or limits for network-mounted file
system if quota values are 2^32 or bigger.
Consequence
Values are not properly transported over RPC and
interpreted by client. Mangled values (wrapped to 32
bits) are reported by client then.
Fix
Proper interpretation of RPC values by client has been
back-ported from upstream and proper reporting big
values by rpc.rquotad has been implemented.
Result
Block quota usage and limits values bigger than 2^32-1
are properly reported by client for network file
systems.
*** Bug 864500 has been marked as a duplicate of this bug. *** Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0120.html |