Hide Forgot
[root@brick4 laks]# /opt/glusterfs/2.0.8/bin/glusterfs-volgen --export-directory /jbod/laks/ --port 6448 --raid 0 --name raid0-store-brick3 brick4 brick7 printing volume files raid type (0) and number of of hosts (2) not appropriate and glusterfs-volgen --usage shows : /usr/local/bin/glusterfs-volgen --name <volume-name> [--raid 0|1|10] [--transport tcp|ib-verbs] [--cache-size <cache-size>] [--port <port>] [--export-directory <export-dir>] [--num-stripe n] [--num-replica m] [--usage] [--upgrade] host1 host2 ... hostN where --export-directory <export-dir> is shown as optional parameter.But it is a mandatory option for script.
raid '0' works with minimum of "4" subvolumes i.e four servers. You are using an older version of the script. new script is available at, which is heavily modified. git clone git://git.gluster.com/users/harsha/volgen.git volgen.git A patch of the same is sent to glusterfs main repo, so it should be available with the coming releases.