Red Hat Bugzilla – Bug 856997
NFS enabling/disabling option is not intuitive
Last modified: 2016-01-19 01:10:46 EST
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
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.