Bug 762135 (GLUSTER-403) - glusterfs-volgen script with raid-0 gives error message
Summary: glusterfs-volgen script with raid-0 gives error message
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-403
Product: GlusterFS
Classification: Community
Component: scripts
Version: mainline
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Harshavardhana
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-24 12:48 UTC by Lakshmipathi G
Modified: 2015-03-23 01:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTP
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Lakshmipathi G 2009-11-24 12:48:08 UTC
[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.

Comment 1 Harshavardhana 2009-11-25 21:38:26 UTC
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.


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