Bug 1027693 - Quota: features.quota-deem-statfs is "on" even after disabling quota.
Summary: Quota: features.quota-deem-statfs is "on" even after disabling quota.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: quota
Version: 2.1
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: RHGS 3.1.0
Assignee: Nagaprasad Sathyanarayana
QA Contact: Anil Shah
URL:
Whiteboard:
Depends On:
Blocks: 1151933 1200258 1202842 1223636
TreeView+ depends on / blocked
 
Reported: 2013-11-07 09:58 UTC by Gowrishankar Rajaiyan
Modified: 2016-09-17 12:38 UTC (History)
10 users (show)

Fixed In Version: gluster-3.7.0-2.el6rhs
Doc Type: Bug Fix
Doc Text:
Previously, the features.quota-deem-statfs volume option was "on" even when quota was disabled. With this fix, features.quota-deem-statfs is turned off when quota is turned off.
Clone Of:
: 1151933 (view as bug list)
Environment:
Last Closed: 2015-07-29 04:29:35 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 09:58:22 UTC
Description of problem: features.quota-deem-statfs is "on" even after disabling quota. timeout options like features.soft-timeout and features.hard-timeout are removed once quota is disabled, however, deem-statfs is not.


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

How reproducible: Always


Steps to Reproduce:
1. Enable quota on volume.
2. Set deem-statfs to on
3. Disable quota

Actual results: deem-statfs is on even after quota is disabled.


Expected results: deem-statfs should be turned off when quota is disabled.


Additional info:
[root@server1 ~]# gluster vol info
 
Volume Name: shanks-quota
Type: Distributed-Replicate
Volume ID: 2e661bf1-828d-412e-92cb-8eceacf29f5f
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.43.3:/rhs/shanks-quota/quota1
Brick2: 10.70.43.199:/rhs/shanks-quota/quota1
Brick3: 10.70.43.156:/rhs/shanks-quota/quota1
Brick4: 10.70.43.1:/rhs/shanks-quota/quota1
Options Reconfigured:
features.quota-deem-statfs: on
features.quota: on


[root@server1 ~]# gluster vol quota shanks-quota disable 
Disabling quota will delete all the quota configuration. Do you want to continue? (y/n) y
volume quota : success
[root@server1 ~]#

Volume Name: shanks-quota
Type: Distributed-Replicate
Volume ID: 2e661bf1-828d-412e-92cb-8eceacf29f5f
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.43.3:/rhs/shanks-quota/quota1
Brick2: 10.70.43.199:/rhs/shanks-quota/quota1
Brick3: 10.70.43.156:/rhs/shanks-quota/quota1
Brick4: 10.70.43.1:/rhs/shanks-quota/quota1
Options Reconfigured:
features.quota-deem-statfs: on
features.quota: off

Comment 3 Anil Shah 2015-05-29 07:04:21 UTC
[root@darkknight ~]# 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@darkknight ~]# gluster v info vol0
 
Volume Name: vol0
Type: Distributed-Replicate
Volume ID: 4c1a4242-08e0-4cf3-830b-91dd5f78e4b8
Status: Started
Number of Bricks: 2 x 2 = 4
Transport-type: tcp
Bricks:
Brick1: 10.70.33.214:/rhs/brick1/b1
Brick2: 10.70.33.219:/rhs/brick1/b2
Brick3: 10.70.33.225:/rhs/brick1/b3
Brick4: 10.70.44.13:/rhs/brick1/b4
Options Reconfigured:
performance.readdir-ahead: on
features.uss: enable
features.quota: off
features.inode-quota: off

Bugs verified successfully on build glusterfs 3.7.0

Comment 4 Bhavana 2015-07-25 07:57:16 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

Comment 6 Vijaikumar Mallikarjuna 2015-07-27 04:33:21 UTC
Doc-text looks good to me

Comment 8 errata-xmlrpc 2015-07-29 04:29:35 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.