Saltycrane logo

SaltyCrane Blog

Notes on Python, Django, and web development on Ubuntu Linux

    

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

Post a comment

Required
Required, but not displayed
Optional

Format using Markdown. (No HTML.)
  • Code blocks: prefix each line by at least 4 spaces or 1 tab (and a blank line before and after)
  • Code span: surround with backticks
  • Blockquotes: prefix lines to be quoted with >
  • Links: <URL>
  • Links w/ description: [description](URL)
Created with Django | Hosted by Slicehost