Bug 1027710 - [RFE] Quota: Make "quota-deem-statfs" option ON, by default, when quota is enabled.
Summary: [RFE] Quota: Make "quota-deem-statfs" option ON, by default, when quota is en...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: 2.1
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: RHGS 3.1.0
Assignee: Nagaprasad Sathyanarayana
QA Contact: Anil Shah
URL:
Whiteboard:
Depends On:
Blocks: qe_tracker_everglades 1202842
TreeView+ depends on / blocked
 
Reported: 2013-11-07 10:24 UTC by Gowrishankar Rajaiyan
Modified: 2016-09-17 12:36 UTC (History)
11 users (show)

Fixed In Version: glusterfs-3.7.1-1
Doc Type: Enhancement
Doc Text:
Previously, the features.quota-deem-statfs volume option was "off" by default when quota is enabled. With this fix, features.quota-deem-statfs is turned on by default when quota is enabled. To disable quota-deem-statfs execute the following command: gluster volume set <volname> quota-deem-statfs off
Clone Of:
: 1213364 (view as bug list)
Environment:
Last Closed: 2015-07-29 04:29:42 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Description Gowrishankar Rajaiyan 2013-11-07 10:24:31 UTC
Credit: Thanks to Krishnan Parthasarathi for identifying this as futurefeature.

Description of problem: As of now it is expected from admin to set deem-statfs to on. This should be "on" by default when quota is enabled. Setting deem-statfs to off when quota is disabled is tracked in bug 1027693.

Version-Release number of selected component (if applicable):
glusterfs-server-3.4.0.39rhs-1.el6rhs.x86_64

Comment 2 Sachin Pandit 2015-06-04 09:01:23 UTC
https://code.engineering.redhat.com/gerrit/#/c/49894/ fixes the bug.
Upstream patch -> http://review.gluster.org/#/c/11000/

Comment 3 Anil Shah 2015-07-01 11:49:11 UTC
[root@darkknightrises ~]# gluster v quota vol0 enable
volume quota : success
[root@darkknightrises ~]# gluster v info
 
Volume Name: vol0
Type: Distributed-Replicate
Volume ID: f53124d5-19ca-405f-8161-18f0b4d706c8
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.33.214:/rhs/brick1/b001
Brick2: 10.70.33.219:/rhs/brick1/b002
Brick3: 10.70.33.225:/rhs/brick1/b003
Brick4: 10.70.44.13:/rhs/brick1/b004
Options Reconfigured:
features.quota-deem-statfs: on
features.inode-quota: on
features.quota: on
features.show-snapshot-directory: enable
performance.readdir-ahead: on
features.uss: enable
server.allow-insecure: on

================================================

[root@darkknightrises ~]# gluster v quota vol0 disable
Disabling quota will delete all the quota configuration. Do you want to continue? (y/n) y
volume quota : success
[root@darkknightrises ~]# gluster v info
 
Volume Name: vol0
Type: Distributed-Replicate
Volume ID: f53124d5-19ca-405f-8161-18f0b4d706c8
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.33.214:/rhs/brick1/b001
Brick2: 10.70.33.219:/rhs/brick1/b002
Brick3: 10.70.33.225:/rhs/brick1/b003
Brick4: 10.70.44.13:/rhs/brick1/b004
Options Reconfigured:
features.inode-quota: off
features.quota: off
features.show-snapshot-directory: enable
performance.readdir-ahead: on
features.uss: enable
server.allow-insecure: on


Bug verified on build glusterfs-3.7.1-6.el6rhs

Comment 4 Bhavana 2015-07-25 08:01:55 UTC
Hi Vijai,

The doc text is updated. Please review the same and share your technical review comments. If it looks ok, then sign-off on the same.

Regards,
Bhavana

Also, is this the same as 1027693. If thats the case I can include this bug for the errata instead of 1027693.

Comment 6 Vijaikumar Mallikarjuna 2015-07-27 04:35:26 UTC
Doc-text updated

Comment 8 errata-xmlrpc 2015-07-29 04:29:42 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/RHSA-2015-1495.html


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