Bug 1024355
Summary: | quota: addition of all the quota consumption in directories does not aggregate the correct value upto the root of the volume | ||||||
---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Saurabh <saujain> | ||||
Component: | glusterd | Assignee: | Bug Updates Notification Mailing List <rhs-bugs> | ||||
Status: | CLOSED NOTABUG | QA Contact: | Sudhir D <sdharane> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 2.1 | CC: | mzywusko, vbellur | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-11-06 11:50:17 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Saurabh
2013-10-29 13:52:49 UTC
Created attachment 817102 [details]
xattrsOfDir
Present result is this [root@quota7 ~]# gluster volume quota dist-rep list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 2.9TB 80% 2.4TB 558.8GB /qa1 512.0GB 80% 512.0GB 23.1MB /qa2 512.0GB 80% 512.0GB 0Bytes /qa3 100.0GB 80% 100.0GB 0Bytes /qa4 100.0GB 80% 100.0GB 0Bytes /qa1/dir1 500.0GB 80% 412.0GB 88.0GB /qa2/dir1 500.0GB 80% 412.0GB 88.0GB /qa5 500.0GB 80% 500.0GB 0Bytes /qa6 500.0GB 80% 500.0GB 0Bytes /qa7 500.0GB 80% 109.5GB 390.5GB /qa8 800.0GB 80% 77.4GB 722.6GB And the addition of Used field values of directories can be seen here, (512*2) + (412*2) + (100*2) + (500*2) + 109.5 + 77.4 = 3234.9 whereas, the root of the volume still shows, 2.4TB This, clearly shows we are crossing the limit, but not displaying it. Also, to add the I/O is still successfully going on. closing this BZ, as I added subdirs and their separately. [root@quota5 ~]# gluster volume quota dist-rep list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- / 2.9TB 80% 2.7TB 215.6GB /qa1 512.0GB 80% 512.0GB 26.5MB /qa2 512.0GB 80% 512.0GB 0Bytes /qa3 100.0GB 80% 100.0GB 0Bytes /qa4 100.0GB 80% 100.0GB 0Bytes /qa1/dir1 500.0GB 80% 412.0GB 88.0GB /qa2/dir1 500.0GB 80% 412.0GB 88.0GB /qa5 500.0GB 80% 500.0GB 0Bytes /qa6 500.0GB 80% 500.0GB 0Bytes /qa7 500.0GB 80% 295.8GB 204.2GB /qa8 800.0GB 80% 234.1GB 565.9GB as presently also the status of addition goes like this, (512*2)+(100*2)+(500*2)+(295.8+234.1)=2753.9 and same is been displayed by the quota list command for root of the volume as value for "Used" field |