Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: As we move forward with JBOD support, customers need to be able to specify a replica count for new volumes. Currently the replica count used by create_vol.sh is hard-coded to 2 which is not optimal in a JBOD setup. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
added --replica to create_vol.sh. Default is 2.
Tested and VERIFIED on Red Hat Storage Server 3.0 Update 4 with rhs-hadoop-install-2_44-1.el6rhs.noarch. Parameter --replica works as expected (tested on 2 and 3 way replicated volumes with various number of bricks). Help message, and error/warning messages related to this parameter are also ok. >> VERIFIED
Jeff, Please provide the doc text in the Doc Text field for this bug?
Syntax: create_vol --version | --help create_vol [-y] [--quiet | --verbose | --debug] [--replica <cnt>] \ <volname> <vol-mnt-prefix> <nodes-spec-list> where: <nodes-spec-list>: a list of two or more <node-spec's>. <node-spec> : a storage node followed by a ':', followed by a brick mount path. Eg: <node1><:brickmnt1> <node2>[:<brickmnt2>] ... A volume does not need to span all nodes in the cluster. Only the brick mount path associated with the first node is required. If omitted from the other <nodes-spec-list>'s then each node assumes the value of the first node for the brick mount path. <volname> : name of the new volume. <vol-mnt-prefix>: path of the glusterfs-fuse mount point, eg. /mnt/glusterfs. Note: the volume name will be appended to this mount point. cnt : the volume replica count. Expected values are 2 or 3. The number of bricks must be a multiple of <cnt>. Default is 2. -y : (optional) auto answer "yes" to all prompts. Default is the script waits for the user to answer each prompt. --quiet : (optional) output only basic progress/step messages. Default. --verbose : (optional) output --quiet plus more details of each step. --debug : (optional) output --verbose plus greater details useful for debugging. --version : output only the version string. --help : this text.
Jeff, I have added the doc text in the Doc Text field. Please review and sign-off.
Your doc text is good!
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/RHEA-2015-0761.html