Bug 762176 (GLUSTER-444)

Summary: glusterfs-volgen documentation is wrong
Product: [Community] GlusterFS Reporter: Kris Buytaert <kris.buytaert>
Component: scriptsAssignee: Harshavardhana <fharshav>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 2.0.7CC: cww, gluster-bugs, lakshmipathi
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTNR Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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