Bug 1080296
Summary: | The child directory created within parent directory ( on which the quota is set ) shows the entire volume size, when checked with "df" command. | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | vpshastry <vshastry> |
Component: | quota | Assignee: | Nagaprasad Sathyanarayana <nsathyan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | mainline | CC: | bugs, fharshav, gluster-bugs, nsathyan, pyaduvan, rcyriac, shaines, smohan |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.6.0beta1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1080245 | Environment: | |
Last Closed: | 2014-11-11 08:29:10 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: | |||
Bug Depends On: | 1080245, 1171896 | ||
Bug Blocks: | 1115197 |
Description
vpshastry
2014-03-25 06:09:05 UTC
REVIEW: http://review.gluster.org/7330 (features/quota: Send the immediate parent with limit in quota statfs adjustment) posted (#1) for review on master by Varun Shastry (vshastry) REVIEW: http://review.gluster.org/7330 (features/quota: Send the immediate parent with limit in quota statfs adjustment) posted (#2) for review on master by Varun Shastry (vshastry) REVIEW: http://review.gluster.org/7330 (features/quota: Send the immediate parent with limit in quota statfs adjustment) posted (#3) for review on master by Varun Shastry (vshastry) COMMIT: http://review.gluster.org/7330 committed in master by Raghavendra G (rgowdapp) ------ commit e9a1a7135b9927fbdefd2921b38e10bdbb694b97 Author: Varun Shastry <vshastry> Date: Sun Mar 23 13:28:36 2014 +0530 features/quota: Send the immediate parent with limit in quota statfs adjustment Problem: Assume the directory structure /quota_limit_dir/subdir and quota_limit_dir is set with some limit. When quota-deem-statfs is enabled the output of 'df /quota_limit_dir' would display quota modified values wrt to quota_limit_dir where as 'df /quota_limit_subdir/subdir' would display the quota modified values wrt volume root (/). This behaviour is not expected since, when mounted with subdirectory admin doesn't want users to know information above the subdirectory mounted. Solution: Any subdirectory within a quota_limit_dir would show the modified values as in the /quota_limit_dir. It searches for the nearest parent that has quota limit set and modifies the statvfs wrt that. Change-Id: Ie10fae8999bddbb766b1dbeb881723ed80dce688 BUG: 1080296 Signed-off-by: Varun Shastry <vshastry> Reviewed-on: http://review.gluster.org/7330 Reviewed-by: Raghavendra G <rgowdapp> Tested-by: Raghavendra G <rgowdapp> A beta release for GlusterFS 3.6.0 has been released. Please verify if the release solves this bug report for you. In case the glusterfs-3.6.0beta1 release does not have a resolution for this issue, leave a comment in this bug and move the status to ASSIGNED. If this release fixes the problem for you, leave a note and change the status to VERIFIED. Packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update (possibly an "updates-testing" repository) infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-September/018836.html [2] http://supercolony.gluster.org/pipermail/gluster-users/ This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.6.1, please reopen this bug report. glusterfs-3.6.1 has been announced [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://supercolony.gluster.org/pipermail/gluster-users/2014-November/019410.html [2] http://supercolony.gluster.org/mailman/listinfo/gluster-users |