This is a feature request to add the ability to query volumes for the values of all available options. I'm thinking about something very similar to 'zfs get', where it would show the option you are asking for (a list of them or all of them) as well as if it was the default value or not. It's a bit non-intuitive to have to run 'volume set help' to understand what the default values are and then run 'volume info' to see any overrides. It would be great to be able to do something like: # gluster volume get [all|<vol>] [all | <option> ...] | grep timeout to be able to quickly and easily see what all timeouts are set to. This would also give a clean and concise way of seeing all possible options you can set what their defaults are without having to parse the multi-line output of 'set help'. Todd
*** Bug 1119209 has been marked as a duplicate of this bug. ***
Patch is under review at https://review.gluster.org/8305
REVIEW: http://review.gluster.org/8305 (cli/glusterd: Support of volume get for a specific volume option) posted (#6) for review on master by Atin Mukherjee (amukherj)
REVIEW: http://review.gluster.org/8305 (cli/glusterd: Support of volume get for a specific volume option) posted (#7) for review on master by Atin Mukherjee (amukherj)
COMMIT: http://review.gluster.org/8305 committed in master by Kaushal M (kaushal) ------ commit c080403393987f807b9ca81be140618fa5e994f1 Author: Atin Mukherjee <amukherj> Date: Mon Jun 30 10:33:25 2014 +0530 cli/glusterd: Support of volume get for a specific volume option This patch introduces a cli command to display a specific volume option/all volume options of a specific volume with the following usage: Usage: volume get <VOLNAME> <key|all> Change-Id: Ic88edb33c5509d7a37cd5ade6341e45e3cdbf59d BUG: 983317 Signed-off-by: Atin Mukherjee <amukherj> Reviewed-on: http://review.gluster.org/8305 Reviewed-by: Kaushal M <kaushal> Tested-by: Gluster Build System <jenkins.com>
REVIEW: http://review.gluster.org/8546 (glusterd: Add xml specific functions in HAVE_LIB_XML block) posted (#2) for review on master by Harshavardhana (harsha)
COMMIT: http://review.gluster.org/8546 committed in master by Kaushal M (kaushal) ------ commit 861f65463708aedb20f1634c8b3214facc68348c Author: Harshavardhana <harsha> Date: Tue Aug 26 14:40:01 2014 -0700 glusterd: Add xml specific functions in HAVE_LIB_XML block Build failure on OSX and also on Linux with '--disable-xml-output' introduced in following commit "c080403393987f807b9ca81be140618fa5e994f1" Change-Id: I0db92c9f5e319dc1932bed9ecc1acc98adb57de3 BUG: 983317 Signed-off-by: Harshavardhana <harsha> Reviewed-on: http://review.gluster.org/8546 Tested-by: Gluster Build System <jenkins.com> Reviewed-by: Kaushal M <kaushal>
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.0, please open a new bug report. glusterfs-3.7.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939 [2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user