On Fri, May 9, 2014 at 7:47 AM, 思傑Clover <[email protected]> wrote:
> Hi All : > Thanks your help . I use this command to do mount volume . > > ----------------------------------------------------------------------------------------- > #mount -t glusterfs vm2:/tt/brick /mnt/vol > > ------------------------------------------------------------------------------------------ > You have to use the volume name, not the brick path, to mount. You mount command should be, # mount -t glusterfs vm2:VG01 /mnt/vol > /etc/hosts contant with vm2's ip :192.168.100.106. > And I had try do : # mount -t glusterfs 192.168.100.106:/tt/brick > /mnt/vol > there no useful. > > In vm2 machine I mount /dev/sdb1 in /tt and mkdir /tt/brick for gluster > volume mount. > > thanks. > By Clover > > > 2014-05-08 17:41 GMT+08:00 思傑Clover <[email protected]>: > > 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) >> >> [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 > [email protected] > http://supercolony.gluster.org/mailman/listinfo/gluster-users >
_______________________________________________ Gluster-users mailing list [email protected] http://supercolony.gluster.org/mailman/listinfo/gluster-users
