Description of problem: snippet on irc #gluster (on freenode) 04:57:19 PM) Prasad: bulde: I got this error message first: (04:57:21 PM) Prasad: # mount -t glusterfs llm65.in.ibm.com:/my_vol tmp/ (04:57:21 PM) Prasad: cat: /etc/glusterd/vols/*/bricks/*: No such file or directory (04:57:21 PM) Prasad: Mount failed. Please check the log file for more details. (04:58:05 PM) Prasad: bulde: I found that /etc/glusterd/vols/ directory was empty.....so created a my_vol/bricks directory inside it Version-Release number of selected component (if applicable): master (upstream)
CHANGE: http://review.gluster.com/2708 (mount/fuse: check for existence of volfiles) merged in master by Vijay Bellur (vijay)
Verified by the following steps: 1. Deleted the files from /var/lib/glusterd on machine A. 2. Tried to fuse mount from machine A to A. 3. Didn't see the error "cat: /etc/glusterd/vols/*/bricks/*: No such file or directory" Comparison result between qa20 and qa45 qa20 ==== [root@QA-56 glusterd]# pwd /etc/glusterd [root@QA-56 glusterd]# ls [root@QA-56 glusterd]# /etc/init.d/glusterd status glusterd (pid 30329) is running... [root@QA-56 glusterd]# /etc/init.d/glusterd stop Stopping glusterd: [ OK ] [root@QA-56 glusterd]# /etc/init.d/glusterd status glusterd is stopped [root@QA-56 glusterd]# mkdir /mnt/temp [root@QA-56 glusterd]# mount -t glusterfs 172.17.251.96:/vol0 /mnt/temp/ cat: /etc/glusterd/vols/*/bricks/*: No such file or directory Mount failed. Please check the log file for more details. [root@QA-56 glusterd]# qa45 ==== [root@QA-54 ~]# cd /etc/glusterd/ [root@QA-54 glusterd]# ls [root@QA-54 glusterd]# cd /var/lib/glusterd/ [root@QA-54 glusterd]# ls [root@QA-54 ~]# /etc/init.d/glusterd status glusterd (pid 22102) is running... [root@QA-54 ~]# [root@QA-54 ~]# mount -t glusterfs 172.17.251.94:/vol0 /mnt/temp/ Mount failed. Please check the log file for more details. [root@QA-54 ~]# [root@QA-54 ~]# /etc/init.d/glusterd stop Stopping glusterd: [ OK ] [root@QA-54 ~]# /etc/init.d/glusterd status glusterd is stopped [root@QA-54 ~]# mount -t glusterfs 172.17.251.94:/vol0 /mnt/temp/ Mount failed. Please check the log file for more details. [root@QA-54 ~]# Verified with: [root@QA-54 ~]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 6.2 (Santiago) [root@QA-54 ~]# gluster --version glusterfs 3.3.0qa45 built on Jun 1 2012 00:10:06 Repository revision: git://git.gluster.com/glusterfs.git Copyright (c) 2006-2011 Gluster Inc. <http://www.gluster.com> GlusterFS comes with ABSOLUTELY NO WARRANTY. You may redistribute copies of GlusterFS under the terms of the GNU General Public License. [root@QA-54 ~]# With the above verification, marking the bug to verified.