Bug 762176 (GLUSTER-444) - glusterfs-volgen documentation is wrong
Summary: glusterfs-volgen documentation is wrong
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-444
Product: GlusterFS
Classification: Community
Component: scripts
Version: 2.0.7
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Harshavardhana
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-05 21:03 UTC by Kris Buytaert
Modified: 2015-03-23 01:03 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Harshavardhana 2009-12-05 18:08:34 UTC
Volgen command is rewritten and fixed at origin/release-2.0 branch. 

Also 2.0.9rc releases have it. Thanks for reporting documentation needs
to be fixed.

Comment 1 Kris Buytaert 2009-12-05 21:03:53 UTC
http://gluster.com/community/documentation/index.php/Glusterfs-volgen_Reference_Page 

mentions 


"The generated volume specification files are written in the current
working directory with the names mount.vol and export.vol."

However 


glusterfs-volgen  --export-directory /opt/ --raid 1 --name repstore1  172.16.32.159
172.16.32.119       
fails with : 
open failed

Apparently it expects /usr/local/etc/glusterfs to exist .. 



[centos5-blade_1-root@GLU newtec]# mkdir -p /usr/local/etc/glusterfs
[centos5-blade_1-root@GLU newtec]# glusterfs-volgen
--export-directory /opt/ --raid 1 --name repstore1  172.16.32.159
172.16.32.119       
printing volume files
[centos5-blade_1-root@GLU newtec]# ls /usr/local/etc/glusterfs/
repstore1-export.vol  repstore1-mount.vol




I`m using a build from  the source  glusterfs-2.0.8-1.src.rpm on Centos i386

Comment 2 Harshavardhana 2009-12-06 20:07:28 UTC
Documentation updated. Closing the ticket


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