[Gluster-users] Can't mount gluster volume.

Atin Mukherjee amukherj at redhat.com
Thu May 8 12:45:40 UTC 2014



On 05/08/2014 03:11 PM, 思傑Clover wrote:
> Hi All
> I'm a newbies in glusterfs. I  have 2 machines all ubuntu 13.10 server
> AMD64. and step by step build gluster 3.5.0 from
> http://gluster.org/community/documentation/index.php/Building_GlusterFS
> 
> When I probe client, create volume are successed. But in  mount gluster,
> It's always say "*Mount failed. Please check the log file for more
> details.*"
> 
> Ask Google 3 days but no sloutions for my situation and always show
> "*failed to get the 'volume file' from server*" log.
> 
> So my last wish is in there. Thank everyone's favor.  :)
> 
> This is my log when mounted failed and volume info , hope it is usefull.
> 
> *log:*
> -----------------------------------------------------------------------------------------------------------
> [2014-05-08 09:29:17.706295] I [glusterfsd.c:1959:main]
> 0-/usr/local/sbin/glusterfs: Started running /usr/local/sbin/glusterfs
> version 3.5.0 (/usr/local/sbin/glusterfs --volfile-server=vm2
> --volfile-id=/tt/brick /mnt)
> 
> [2014-05-08 09:29:17.708031] I [socket.c:3561:socket_init] 0-glusterfs:
> SSL support is NOT enabled
> 
> [2014-05-08 09:29:17.708061] I [socket.c:3576:socket_init] 0-glusterfs:
> using system polling thread
> 
> [2014-05-08 09:29:17.710580] E [glusterfsd-mgmt.c:1297:mgmt_getspec_cbk]
> 0-glusterfs: *failed to get the 'volume file' from server*
> 
> [2014-05-08 09:29:17.710618] E [glusterfsd-mgmt.c:1398:mgmt_getspec_cbk]
> 0-mgmt: failed to fetch volume file (key:/tt/brick)
This log gives the pointer, you need to supply the volume name as the
volfile-id, not the brick/mount path.

Cheers,
Atin
> 
> [2014-05-08 09:29:17.710949] W [glusterfsd.c:1095:cleanup_and_exit]
> (-->/usr/local/lib/libgfrpc.so.0(rpc_clnt_notify+0x33a) [0x7fee09b6fd28]
> (-->/usr/local/lib/libgfrpc.so.0(rpc_clnt_handle_reply+0x1ae)
> [0x7fee09b6f931] (-->/usr/local/sbin/glusterfs(mgmt_getspec_cbk+0x4bb)
> [0x40cd24]))) 0-: received signum (0), shutting down
> 
> [2014-05-08 09:29:17.710970] I [fuse-bridge.c:5444:fini] 0-fuse:
> Unmounting '/mnt'.
> ---------------------------------------------------------------------------------------------------------------------
> 
> *volume info:*
> ---------------------------------------------------------------------------------------------------------------------
> Volume Name: VG01
> Type: Distribute
> Volume ID: 1f76477d-bd87-46b3-a99c-902bc783956d
> Status: Started
> Number of Bricks: 1
> Transport-type: tcp
> Bricks:
> Brick1: vm2:/tt/brick
> Options Reconfigured:
> server.allow-insecure: on
> diagnostics.client-log-level: DEBUG
> diagnostics.brick-log-level: DEBUG
> auth.allow: 192.168.100.*
> -----------------------------------------------------------------------------------------------------------------------
> 
> *peer status:*
> ------------------------------------------------------------------------------------------------------------------------
> Number of Peers: 1
> 
> Hostname: vm2
> Uuid: 88b5cee9-3eca-461d-b6e9-43844e840abc
> State: Peer in Cluster (Connected)
> -------------------------------------------------------------------------------------------------------------------------
> 
> Best Regard
>        By Clover.
> 
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users



More information about the Gluster-users mailing list