Bug 667757

Summary: rpc.rquotad can't handle quotas >4TB
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: quotaAssignee: Petr Pisar <ppisar>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: ovasik
Target Milestone: ---   
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-4.00-0.4.pre1.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 667755 Environment:
Last Closed: 2011-01-11 10:55:14 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:

Description Petr Pisar 2011-01-06 17:28:27 UTC
+++ This bug was initially created as a clone of Bug #667755 +++
+++ This bug was initially created as a clone of Bug #667360 +++

A user reports a problem with the quotas reported over NFS for a user who has been allocated 5Tb of quota. The quota for that user is reported as being only 650G instead of the actual 5Tb.

On the client client:

Filesystem blocks quota limit grace files quota limit grace
nfs:/export/work 696848372* 200000000 0 179days 73350427 0 0

On the server:

Disk quotas for user user1 (uid 123):
Filesystem blocks quota limit grace files quota limit grace
/dev/sdc 4991815668* 200000000 0 179days 73350427 0 0 

This problem is similar to the problem reported on the centos bug tracker
http://bugs.centos.org/bug_view_advanced_page.php?bug_id=4071
which also contains a patch for this issue.

--- Additional comment from ppisar on 2011-01-06 13:26:18 GMT ---

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.

[...]
--- Additional comment from ppisar on 2011-01-06 13:55:51 GMT ---

Bug filed to upstream: https://sourceforge.net/tracker/?func=detail&aid=3152423&group_id=18136&atid=118136
----

64b quotas are supported since quota-4.00_pre1 in Fedora.