SaltyCrane Blog — Notes on JavaScript and web development

Fuse error on Scalr

I got the following error while trying to use s3fs on one of Scalr's Ubuntu EC2 instances:

fuse: device not found, try 'modprobe fuse' first

Trying modprobe fuse, I got:

FATAL: Module fuse not found.
FATAL: Error running install command for fuse

The solution to this problem is here: http://groups.google.com/group/scalr-discuss/web/mount-an-s3-bucket-to-your-instance. The Scalr AMI does not include fuse.ko kernel module, so I needed to install it:

mkdir -p /lib/modules/2.6.16-xenU/kernel/fs/fuse
cd /lib/modules/2.6.16-xenU/kernel/fs/fuse
rm -f fuse.ko
curl -O http://www.persistentfs.com/extras/ec2-linux-2.6.16-xenU/fuse.ko
/sbin/depmod
modprobe fuse
echo fuse >>/etc/modules

Comments