Bug 856997 - NFS enabling/disabling option is not intuitive
Summary: NFS enabling/disabling option is not intuitive
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: glusterd
Version: 2.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: ---
Assignee: Rajesh
QA Contact: Saurabh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-13 10:36 UTC by Vidya Sakar
Modified: 2016-01-19 06:10 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-03-27 11:19:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Vidya Sakar 2012-09-13 10:36:52 UTC
The volume set options to export a gluster volume through NFS is not intuitive as one needs to do 'disable off' to enable NFS.

gluster vol set <volname> nfs.disable on
gluster vol set <volname> nfs.disable off

To be consistent with how the other options are turned on/off and to make it more intuitive, this could be changed to

gluster vol set <volname> nfs on
gluster vol set <volname> nfs off

Comment 4 Rajesh 2013-03-27 11:19:58 UTC
gluster volume set <VOLNAME> nfs.disable [yes|no] is the intended option. using on/off works because of our internal interpretation of [yes|no], [on|off], [enable|disable] (an even more confusing pair for nfs.disable), [1|0] as boolean [true|false] all respectively.


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