Bug 761917 (GLUSTER-185)

Summary: Request to support secondary volfile-server option in mount.glusterfs
Product: [Community] GlusterFS Reporter: cory.meyer
Component: fuseAssignee: Anand Avati <aavati>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: 2.0.4CC: amarts, chrisw, gluster-bugs, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: RTP Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description cory.meyer 2009-08-03 15:22:41 UTC
Since it looks like the GlusterFS client supports supports adding backup --volfile-server options please support this in mount.glusterfs if not already done so.  The result will remove this as a point of failure in high availability setups when multiple servers can be used to hand out the identical volfile. 

Diff below is against GlusterFS 2.0.6rc2.
106a107,110
>     if [ -n "$backupvolfile_server" ]; then
>         cmd_line=$(echo "$cmd_line --volfile-server=$backupvolfile_server");
>     fi
>     
134a139,140
>     backupvolfile_server=$(echo "$options" | sed -n 's/.*backupvolfile-server=\([^,]*\).*/\1/p');
> 
162a169
>         -e 's/[,]*backupvolfile-server=[^,]*//' \

Comment 1 Amar Tumballi 2009-08-04 19:34:00 UTC
submitted the patch : http://patches.gluster.com/patch/857/

Comment 2 Anand Avati 2009-08-04 20:47:58 UTC
PATCH: http://patches.gluster.com/patch/857 in release-2.0 (adding an option to mount.glusterfs for server failover while fetching volume files.)

Comment 3 Anand Avati 2009-08-04 21:07:03 UTC
PATCH: http://patches.gluster.com/patch/858 in master (adding an option to mount.glusterfs for server failover to fetch volume files.)