[Gluster-users] How to set backup volume server in mount options
Toby Corkindale
toby.corkindale at strategicdata.com.au
Mon May 7 00:50:53 UTC 2012
On 04/05/12 17:53, Amar Tumballi wrote:
>> 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version
>> 3.3.0qa39
>> [2012-05-04 17:21:47.918568] E [fuse-bridge.c:4444:init] 0-fuse:
>> Mountpoint gluster seems to have a stale mount, run 'umount gluster' and
>> try again.
>
> Hi Toby,
>
> Thanks for the log, can you try with below patch and see if it works?
Hi Amar,
Sorry for the delay in responding.
I've tried with the patch, below. It seems to be successful!
>
> ------------
> diff --git a/xlators/mount/fuse/utils/mount.glusterfs.in
> b/xlators/mount/fuse/utils/mount.glusterfs.in
> index aef0939..cb6d36c 100755
> --- a/xlators/mount/fuse/utils/mount.glusterfs.in
> +++ b/xlators/mount/fuse/utils/mount.glusterfs.in
> @@ -166,6 +166,7 @@ start_glusterfs ()
>
> # retry the failover
> if [ $inode -ne 1 ]; then
> + umount $mount_point;
> if [ -n "$cmd_line1" ]; then
> cmd_line1=$(echo "$cmd_line1 $mount_point");
> $cmd_line1
>
> -----------
>
> You can manually modify the /sbin/mount.glusterfs file, and see if it
> works.
>
> Thanks for your patience, and testing :-)
>
> Regards,
> Amar
--
.signature
More information about the Gluster-users
mailing list