[Gluster-users] RHEL 5.8 mount fails "cannot open /dev/fuse"

Niels de Vos ndevos at redhat.com
Sun Jun 1 07:47:27 UTC 2014


On Sun, Jun 01, 2014 at 03:51:58AM +0000, Franco Broi wrote:
> Doesn't work for me either on Centos 5, have to modprobe fuse.
> 
> On 1 Jun 2014 10:46, Gene Liverman <gliverma at westga.edu> wrote:
> Just setup my first Gluster share (replicated on 3 nodes) and it works 
> fine on RHEL 6 but when trying to mount it on RHEL 5.8 I get the 
> following in my logs:
> 
> [2014-06-01 02:01:29.580163] I [glusterfsd.c:1959:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 3.5.0 (/usr/sbin/glusterfs --volfile-server=eapps-gluster01 --volfile-id=/gv0 /eapps/shared)
> [2014-06-01 02:01:29.581147] E [mount.c:267:gf_fuse_mount] 0-glusterfs-fuse: cannot open /dev/fuse (No such file or directory)
> [2014-06-01 02:01:29.581207] E [xlator.c:403:xlator_init] 0-fuse: Initialization of volume 'fuse' failed, review your volfile again
> 
> I installed glusterfs and glusterfs-fuse from http://download.gluster.org/pub/gluster/glusterfs/LATEST/RHEL/glusterfs-epel.repo.el5 and got have the following currently:
> # rpm -qa |grep -i gluster
> glusterfs-libs-3.5.0-2.el5
> glusterfs-3.5.0-2.el5
> glusterfs-fuse-3.5.0-2.el5
> 
> Everything I have read online says that I should not have to manually 
> install fuse or manually run modprobe or manually make /dev/fuse so 
> I am lost as to why this is not working.  Any tips on what to do next?

Indeed, that should not be needed. I guess you installed the 
gluster-fuse package after a basic installation and the system did not 
reboot yet with glusterfs-fuse installed. On EL5, udev (I think) does 
not automatically load the fuse module if /dev/fuse is accessed. The 
glusterfs-fuse package contains a script that loads the module when the 
system boots (/etc/sysconfig/modules/glusterfs-fuse.modules).

I am not sure if it would be better to load the module immediately when 
glusterfs-fuse gets installed.

Niels



More information about the Gluster-users mailing list