W dniu 2015-01-22 o 17:37, A Ghoshal pisze:> Maybe start the mount daemon from shell, like this? > > /usr/sbin/glusterfs --debug --volfile-server=glnode1 > --volfile-id=/testvol /mnt/gluster > > You could get some useful debug data on your terminal. > > However, it's more likely you have a configuration related problem > here. So the output of the following might also help: > > ls -la /var/lib/glusterd/vols/glnode1/ >When I start mount daemon from shell it's works fine. After mount with -o log-level=DEBUG, I can see this: --- [...] [2015-01-26 08:19:48.191675] D [fuse-bridge.c:4817:fuse_thread_proc] 0-glusterfs-fuse: *terminating upon getting ENODEV when reading /dev/fuse* [2015-01-26 08:19:48.191702] I [fuse-bridge.c:4921:fuse_thread_proc] 0-fuse: unmounting /mnt/gluster [2015-01-26 08:19:48.191759] D [MSGID: 0] [dht-diskusage.c:96:dht_du_info_cbk] 0-testvol-dht: subvolume 'testvol-replicate-0': avail_percent is: 83.00 and avail_space is: 19188232192 and avail_inodes is: 99.00 [2015-01-26 08:19:48.191801] D [logging.c:1740:gf_log_flush_extra_msgs] 0-logging-infra: Log buffer size reduced. About to flush 5 extra log messages [2015-01-26 08:19:48.191822] D [logging.c:1743:gf_log_flush_extra_msgs] 0-logging-infra: Just flushed 5 extra log messages [2015-01-26 08:19:48.192118] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down [2015-01-26 08:19:48.192137] D [glusterfsd-mgmt.c:2244:glusterfs_mgmt_pmap_signout] 0-fsd-mgmt: portmapper signout arguments not given [2015-01-26 08:19:48.192145] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gluster'. --- And it won't work Output of few commands: --- [root at apache2 ~]# lsmod|grep fuse fuse 75687 3 [root at apache2 ~]# ls -l /dev/fuse crw-rw-rw- 1 root root 10, 229 Jan 26 09:19 /dev/fuse [root at apache2 ~]# ls -la /var/lib/glusterd/vols/testvol/ total 48 drwxr-xr-x 4 root root 4096 Jan 26 09:09 . drwxr-xr-x. 3 root root 20 Jan 26 07:11 .. drwxr-xr-x 2 root root 48 Jan 26 08:02 bricks -rw------- 1 root root 16 Jan 26 09:09 cksum -rw------- 1 root root 545 Jan 26 08:02 info -rw------- 1 root root 93 Jan 26 08:02 node_state.info -rw------- 1 root root 18 Jan 26 09:09 quota.cksum -rw------- 1 root root 0 Jan 26 07:37 quota.conf -rw------- 1 root root 12 Jan 26 08:02 rbstate drwxr-xr-x 2 root root 30 Jan 26 09:09 run -rw------- 1 root root 13 Jan 26 08:02 snapd.info -rw------- 1 root root 1995 Jan 26 08:02 testvol.apache1.brick.vol -rw------- 1 root root 1995 Jan 26 08:02 testvol.apache2.brick.vol -rw------- 1 root root 1392 Jan 26 08:02 testvol-rebalance.vol -rw------- 1 root root 1392 Jan 26 08:02 testvol.tcp-fuse.vol -rw------- 1 root root 1620 Jan 26 08:02 trusted-testvol.tcp-fuse.vol --- -- Z powa?aniem, *Bart?omiej Syryjczyk*
The logs you show me are reminiscent of an issue I once faced and all it turned out to be was that service glusterd was not running. Did you check that out? Sorry if I'm stating the obvious, though. ;) Thanks, Anirban -----Bartłomiej Syryjczyk <bsyryjczyk at kamsoft.pl> wrote: ----- ====================== To: From: Bartłomiej Syryjczyk <bsyryjczyk at kamsoft.pl> Date: 01/26/2015 02:28PM Cc: gluster-users at gluster.org Subject: Re: [Gluster-users] Mount failed ====================== W dniu 2015-01-22 o 17:37, A Ghoshal pisze:> Maybe start the mount daemon from shell, like this? > > /usr/sbin/glusterfs --debug --volfile-server=glnode1 > --volfile-id=/testvol /mnt/gluster > > You could get some useful debug data on your terminal. > > However, it's more likely you have a configuration related problem > here. So the output of the following might also help: > > ls -la /var/lib/glusterd/vols/glnode1/ >When I start mount daemon from shell it's works fine. After mount with -o log-level=DEBUG, I can see this: --- [...] [2015-01-26 08:19:48.191675] D [fuse-bridge.c:4817:fuse_thread_proc] 0-glusterfs-fuse: *terminating upon getting ENODEV when reading /dev/fuse* [2015-01-26 08:19:48.191702] I [fuse-bridge.c:4921:fuse_thread_proc] 0-fuse: unmounting /mnt/gluster [2015-01-26 08:19:48.191759] D [MSGID: 0] [dht-diskusage.c:96:dht_du_info_cbk] 0-testvol-dht: subvolume 'testvol-replicate-0': avail_percent is: 83.00 and avail_space is: 19188232192 and avail_inodes is: 99.00 [2015-01-26 08:19:48.191801] D [logging.c:1740:gf_log_flush_extra_msgs] 0-logging-infra: Log buffer size reduced. About to flush 5 extra log messages [2015-01-26 08:19:48.191822] D [logging.c:1743:gf_log_flush_extra_msgs] 0-logging-infra: Just flushed 5 extra log messages [2015-01-26 08:19:48.192118] W [glusterfsd.c:1194:cleanup_and_exit] (--> 0-: received signum (15), shutting down [2015-01-26 08:19:48.192137] D [glusterfsd-mgmt.c:2244:glusterfs_mgmt_pmap_signout] 0-fsd-mgmt: portmapper signout arguments not given [2015-01-26 08:19:48.192145] I [fuse-bridge.c:5599:fini] 0-fuse: Unmounting '/mnt/gluster'. --- And it won't work Output of few commands: --- [root at apache2 ~]# lsmod|grep fuse fuse 75687 3 [root at apache2 ~]# ls -l /dev/fuse crw-rw-rw- 1 root root 10, 229 Jan 26 09:19 /dev/fuse [root at apache2 ~]# ls -la /var/lib/glusterd/vols/testvol/ total 48 drwxr-xr-x 4 root root 4096 Jan 26 09:09 . drwxr-xr-x. 3 root root 20 Jan 26 07:11 .. drwxr-xr-x 2 root root 48 Jan 26 08:02 bricks -rw------- 1 root root 16 Jan 26 09:09 cksum -rw------- 1 root root 545 Jan 26 08:02 info -rw------- 1 root root 93 Jan 26 08:02 node_state.info -rw------- 1 root root 18 Jan 26 09:09 quota.cksum -rw------- 1 root root 0 Jan 26 07:37 quota.conf -rw------- 1 root root 12 Jan 26 08:02 rbstate drwxr-xr-x 2 root root 30 Jan 26 09:09 run -rw------- 1 root root 13 Jan 26 08:02 snapd.info -rw------- 1 root root 1995 Jan 26 08:02 testvol.apache1.brick.vol -rw------- 1 root root 1995 Jan 26 08:02 testvol.apache2.brick.vol -rw------- 1 root root 1392 Jan 26 08:02 testvol-rebalance.vol -rw------- 1 root root 1392 Jan 26 08:02 testvol.tcp-fuse.vol -rw------- 1 root root 1620 Jan 26 08:02 trusted-testvol.tcp-fuse.vol --- -- Z poważaniem, *Bartłomiej Syryjczyk* _______________________________________________ Gluster-users mailing list Gluster-users at gluster.org http://www.gluster.org/mailman/listinfo/gluster-users =====-----=====-----====Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you
On 01/26/2015 02:27 PM, Bart?omiej Syryjczyk wrote:> W dniu 2015-01-22 o 17:37, A Ghoshal pisze: >> Maybe start the mount daemon from shell, like this? >> >> /usr/sbin/glusterfs --debug --volfile-server=glnode1 >> --volfile-id=/testvol /mnt/gluster >> >> You could get some useful debug data on your terminal. >> >> However, it's more likely you have a configuration related problem >> here. So the output of the following might also help: >> >> ls -la /var/lib/glusterd/vols/glnode1/ >> > When I start mount daemon from shell it's works fine. > After mount with -o log-level=DEBUG, I can see this: > --- > [...] > [2015-01-26 08:19:48.191675] D [fuse-bridge.c:4817:fuse_thread_proc] > 0-glusterfs-fuse: *terminating upon getting ENODEV when reading /dev/fuse*Could you check if the device is present or not, using the following command? 07:16:10 :) ? ls /dev/fuse -l crw-rw-rw-. 1 root root 10, 229 Jan 25 07:31 /dev/fuse Pranith> [2015-01-26 08:19:48.191702] I [fuse-bridge.c:4921:fuse_thread_proc] > 0-fuse: unmounting /mnt/gluster > [2015-01-26 08:19:48.191759] D [MSGID: 0] > [dht-diskusage.c:96:dht_du_info_cbk] 0-testvol-dht: subvolume > 'testvol-replicate-0': avail_percent is: 83.00 and avail_space is: > 19188232192 and avail_inodes is: 99.00 > [2015-01-26 08:19:48.191801] D [logging.c:1740:gf_log_flush_extra_msgs] > 0-logging-infra: Log buffer size reduced. About to flush 5 extra log > messages > [2015-01-26 08:19:48.191822] D [logging.c:1743:gf_log_flush_extra_msgs] > 0-logging-infra: Just flushed 5 extra log messages > [2015-01-26 08:19:48.192118] W [glusterfsd.c:1194:cleanup_and_exit] (--> > 0-: received signum (15), shutting down > [2015-01-26 08:19:48.192137] D > [glusterfsd-mgmt.c:2244:glusterfs_mgmt_pmap_signout] 0-fsd-mgmt: > portmapper signout arguments not given > [2015-01-26 08:19:48.192145] I [fuse-bridge.c:5599:fini] 0-fuse: > Unmounting '/mnt/gluster'. > --- > And it won't work > > Output of few commands: > --- > [root at apache2 ~]# lsmod|grep fuse > fuse 75687 3 > > [root at apache2 ~]# ls -l /dev/fuse > crw-rw-rw- 1 root root 10, 229 Jan 26 09:19 /dev/fuse > > [root at apache2 ~]# ls -la /var/lib/glusterd/vols/testvol/ > total 48 > drwxr-xr-x 4 root root 4096 Jan 26 09:09 . > drwxr-xr-x. 3 root root 20 Jan 26 07:11 .. > drwxr-xr-x 2 root root 48 Jan 26 08:02 bricks > -rw------- 1 root root 16 Jan 26 09:09 cksum > -rw------- 1 root root 545 Jan 26 08:02 info > -rw------- 1 root root 93 Jan 26 08:02 node_state.info > -rw------- 1 root root 18 Jan 26 09:09 quota.cksum > -rw------- 1 root root 0 Jan 26 07:37 quota.conf > -rw------- 1 root root 12 Jan 26 08:02 rbstate > drwxr-xr-x 2 root root 30 Jan 26 09:09 run > -rw------- 1 root root 13 Jan 26 08:02 snapd.info > -rw------- 1 root root 1995 Jan 26 08:02 testvol.apache1.brick.vol > -rw------- 1 root root 1995 Jan 26 08:02 testvol.apache2.brick.vol > -rw------- 1 root root 1392 Jan 26 08:02 testvol-rebalance.vol > -rw------- 1 root root 1392 Jan 26 08:02 testvol.tcp-fuse.vol > -rw------- 1 root root 1620 Jan 26 08:02 trusted-testvol.tcp-fuse.vol > --- >