[CentOS] Re: Wherefore is FUSE?

Sat Apr 12 08:16:18 UTC 2008
Kay Diederichs <kay.diederichs at uni-konstanz.de>

Benjamin Smith wrote:
> Tonight, I tried to roll out fuse on my CentOS 4 production system. (in order 
> to use GlusterFS) 
> 
> I have two identical servers, and one took, the other didn't. 
> 
> How simple could this be? 
> 
> # yum install yum-plugin-priorities 
> # yum install rpmforge-release
> # yum install fuse dkms-fuse 
> 
> both of these seem to work. Yet I run 
> 
> [root at kepler drivers]# modprobe fuse
> FATAL: Module fuse not found.
> 
> I don't get it. both sides have the same: 
> WORKS: 
> [root at koehl etc]# rpm -qa | grep -i rpmforge
> rpmforge-release-0.3.6-1.el4.rf
> [root at koehl etc]# rpm -qa | grep -i fuse
> fuse-2.7.3-1.el4.rf
> dkms-fuse-2.7.2-1.nodist.rf
> [root at koehl etc]# modprobe fuse
> [root at koehl etc]# rpm -qa | grep -i pri
> yum-plugin-priorities-0.0.7-1.el4.centos
> [root at koehl etc]# 
> ls /lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/fs/fuse/fuse.ko
> /lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/fs/fuse/fuse.ko
> [root at koehl etc]# 
> lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/fs/fuse/fuse.ko
> [root at koehl drivers]# 
> rpm -qf /lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/fs/fuse/fuse.ko
> file /lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/fs/fuse/fuse.ko is not 
> owned by any package
> 
> 
> NOT WORKS: 
> [root at kepler drivers]# rpm -qa | grep -i rpmforge
> rpmforge-release-0.3.6-1.el4.rf
> [root at kepler drivers]# rpm -qa | grep -i fuse
> dkms-fuse-2.7.2-1.nodist.rf
> fuse-2.7.3-1.el4.rf
> [root at kepler drivers]# modprobe fuse
> FATAL: Module fuse not found.
> [root at kepler /]# 
> ls /lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/fs/fuse/fuse.ko
> ls: /lib/modules/2.6.9-67.0.7.ELsmp/kernel/drivers/fs/fuse/fuse.ko: No such 
> file or directory
> 
> Why one and not the other? And why isn't the fuse kernel "owned" by the rpm I 
> used to install it? It's driving me NUTS. I've already tried copying over 
> the "fs" directory and all child leaves. No effect.  
> 
> -Ben 

Fuse is great, and works well for me.
I *think* that  /etc/init.d/dkms_autoinstaller is what creates the fuse 
module. This script will run e.g. when booting, or if you manually

service dkms_autoinstaller start

as root.

HTH,

Kay