Bug 761917 (GLUSTER-185) - Request to support secondary volfile-server option in mount.glusterfs
Summary: Request to support secondary volfile-server option in mount.glusterfs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-185
Product: GlusterFS
Classification: Community
Component: fuse
Version: 2.0.4
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Anand Avati
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-08-03 15:22 UTC by cory.meyer
Modified: 2015-09-01 23:04 UTC (History)
4 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 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.)


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