Skip to contentSkip to conversation

mount.ceph: modprobe failed

DISCUSSION Dyweni - Ceph-Devel 2 participants 2 messages Apr 29, 2013

lore
Share & tools
lore
#0 lore raw

Hello List!

I'd like to report the following bug.

# ceph -v
ceph version 0.60 (f26f7a39021dbf440c28d6375222e21c94fe8e5c)

Mount.ceph command still attempts to load the ceph (ceph fs) kernel module even though it has been compiled into the kernel. I would recommend that the command check /proc/filesystems for the presence of the 'ceph' file system, and then only attempt to load the module if it isn't present.

The confusing part of the whole bug is that despite the nasty 'modprobe failed, exit status 1' message, the command still succeeds to mount the ceph fs. This caught me by surprise.

Signature · 2 lines
Thanks,
Dyweni
#1 lore raw
Quoted 14 lines · Dyweni - Ceph-Devel

Hello List!

I'd like to report the following bug.

# ceph -v
ceph version 0.60 (f26f7a39021dbf440c28d6375222e21c94fe8e5c)

Mount.ceph command still attempts to load the ceph (ceph fs) kernel module even though it has been compiled into the kernel. I would recommend that the command check /proc/filesystems for the presence of the 'ceph' file system, and then only attempt to load the module if it isn't present.

Quoted 3 lines

The confusing part of the whole bug is that despite the nasty 'modprobe failed, exit status 1' message, the command still succeeds to mount the ceph fs. This caught me by surprise.

Hmm, you're right. Looks like the source is catching the errors, too, so it should be pretty easy to whitelist if it's already loaded. Can you put a bug in the tracker? (tracker.ceph.com)
Thanks for the report!
-Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com