Bug 1177592 - quota: rename of "dir" fails in case of quota space availability is around 1GB
Summary: quota: rename of "dir" fails in case of quota space availability is around 1GB
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: 2.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: RHGS 3.1.2
Assignee: Vijaikumar Mallikarjuna
QA Contact: Anil Shah
URL:
Whiteboard:
Depends On: 1139104
Blocks: 1029866 1153964 1183944 1260783
TreeView+ depends on / blocked
 
Reported: 2014-12-29 09:41 UTC by Vijaikumar Mallikarjuna
Modified: 2019-09-12 08:09 UTC (History)
10 users (show)

Fixed In Version: glusterfs-3.7.5-0.3
Doc Type: Bug Fix
Doc Text:
Previously, the rename operation failed because the delta was taken into account on both src and dst. With this fix, we check the limit on the common ancestor of both the src and dst and the issue is resolved.
Clone Of: 1139104
Environment:
Last Closed: 2016-03-01 05:22:57 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:0193 0 normal SHIPPED_LIVE Red Hat Gluster Storage 3.1 update 2 2016-03-01 10:20:36 UTC

Comment 1 Vijaikumar Mallikarjuna 2014-12-29 09:43:14 UTC
Patch submitted: https://code.engineering.redhat.com/gerrit/39200

Comment 4 Saurabh 2015-03-03 07:00:07 UTC
 gluster  volume quota vol0 list
                  Path                   Hard-limit Soft-limit   Used  Available  Soft-limit exceeded? Hard-limit exceeded?
---------------------------------------------------------------------------------------------------------------------------
/                                        100.0GB       80%      47.9GB  52.1GB              No                   No
/dir1                                     18.0GB       80%      17.0GB   1.0GB             Yes                   No
/dir2                                     22.9GB       80%      22.9GB  0Bytes             Yes                  Yes


# mv dirn1/ dirn1-rename
# ls -ld dirn1-rename/
drwxr-xr-x. 2 root root 57 Mar  3 05:44 dirn1-rename/
# ls -l dirn1-rename/5GBfile-rename 
-rw-r--r--. 1 root root 5368709120 Mar  3 05:22 dirn1-rename/5GBfile-rename


Hence moving to Verified

Comment 8 Vijaikumar Mallikarjuna 2015-10-15 10:02:46 UTC
This issue has been fixed in 3.0. Please check bug#1139104

Comment 9 Anil Shah 2015-11-12 10:43:11 UTC
Bug verified on build glusterfs-3.7.5-6.el7rhgs

Comment 10 Bhavana 2016-02-23 10:20:54 UTC
Hi Mani,

The doc text is edited. Do signoff on the same if it looks OK.

Comment 12 errata-xmlrpc 2016-03-01 05:22:57 UTC
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.

https://rhn.redhat.com/errata/RHBA-2016-0193.html


Note You need to log in before you can comment on or make changes to this bug.