Bug 1003759
Summary: | quota: setting limit on a single brick volume is not happening | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Saurabh <saujain> |
Component: | glusterd | Assignee: | Krutika Dhananjay <kdhananj> |
Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 2.1 | CC: | amarts, asriram, grajaiya, kdhananj, mzywusko, rhs-bugs, sasundar, vbellur |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0.33rhs-1 | Doc Type: | Bug Fix |
Doc Text: |
Previously, setting limits on a single brick volume or on a volume where all bricks reside on the same node, in a cluster with more than one node, failed due to the incorrect aggregation logic for quota sub command. Now, with this update setting limits is successful.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-11-27 15:36:37 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: |
Description
Saurabh
2013-09-03 07:09:07 UTC
Verified with RHS 2.1 ( glusterfs-3.4.0.33rhs-1 ) Steps ===== 1. Created the volume with single brick [root@rhs5 ~]# gluster volume status Status of volume: simple Gluster process Port Online Pid ------------------------------------------------------------------------------ Brick 10.70.37.95:/rhs/brick1/dir2 49153 Y 24823 NFS Server on localhost 2049 Y 25317 Quota Daemon on localhost N/A Y 25911 NFS Server on 10.70.37.155 2049 Y 2187 Quota Daemon on 10.70.37.155 N/A Y 3714 2. NFS mount the volume (i.e) mount -t nfs 10.70.37.95:simple /mnt [root@rhs-gp-srv10 master]# df -Th /mnt Filesystem Type Size Used Avail Use% Mounted on 10.70.37.95:simple nfs 100G 288M 100G 1% /mnt 3. Set the quota on the root of glusterfs volume [root@rhs5 ~]# gluster volume quota simple limit-usage /master 1GB volume quota : success 4. Did some IO on NFS mount as well as fuse mount [root@rhs5 ~]# gluster volume quota simple list Path Hard-limit Soft-limit Used Available -------------------------------------------------------------------------------- /master 1.0GB 80% 348.2MB 675.8MB Moving it to VERIFIED 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/RHBA-2013-1769.html |