Bug 763734 (GLUSTER-2002)

Summary: Mount fails, but gives no error
Product: [Community] GlusterFS Reporter: Jacob Shucart <jacob>
Component: coreAssignee: Junaid <junaid>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 3.1.0CC: amarts, gluster-bugs, lakshmipathi, vagarwal, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Windows   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: DNR CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jacob Shucart 2010-10-21 16:56:40 UTC
On a default CentOS 5.5 installation, I download the Gluster RPMs and install them.  I then try to mount my volume.  The mount command does not product an error:

mount -t glusterfs jacobgfs31:/distribute /mnt

But the volume is not mounted.  My gluster logs are full of:

[root@jacob-centos-client glusterfs]# cat mnt.log
[2010-10-21 09:49:41.846836] E [mount.c:526:fuse_mount_sys] glusterfs-fuse: cann                                           ot open /dev/fuse (No such file or directory)

If I then install the fuse.x86_64 package then my mount works.  We should either be displaying an error when the mount fails to happen, or we should be checking to make sure the fuse package is installed as a dependency check to the Gluster fuse package.

Comment 1 Anand Avati 2010-11-03 08:25:52 UTC
PATCH: http://patches.gluster.com/patch/5622 in master (Throwing an error while mounting glusterfs when fuse is not installed.)

Comment 2 Lakshmipathi G 2010-11-18 08:30:36 UTC
verified with - 3.1.1qa8
# mount -t glusterfs 192.168.1.58:/test /mnt/
fusermount: fuse device not found, try 'modprobe fuse' first
fusermount: fuse device not found, try 'modprobe fuse' first
Mount failed. Please check the log file for more details.

#cat /usr/local/var/log/glusterfs/mnt-.log 
[2010-11-18 17:03:54.436098] E [mount.c:526:fuse_mount_sys] glusterfs-fuse: cannot open /dev/fuse (No such file or directory)
[2010-11-18 17:03:54.436179] I [mount.c:633:gf_fuse_mount] glusterfs-fuse: direct mount failed (No such file or directory), retry to mount via fusermount
[2010-11-18 17:03:54.438283] E [mount.c:663:gf_fuse_mount] glusterfs-fuse: mount failed
[2010-11-18 17:03:54.438331] E [xlator.c:909:xlator_init] fuse: Initialization of volume 'fuse' failed, review your volfile again

Comment 3 Amar Tumballi 2011-02-15 06:38:33 UTC
We need to say if this message is displayed, please make sure 'modprobe fuse' is done.