On Mon, 14 Nov 2011, Mario van der Linde wrote:
> Hello,
> 
> On 14.11.2011 20:48, Sage Weil wrote:
> > On Sun, 13 Nov 2011, Mario van der Linde wrote:
> [...]
> >>> ceph1:~ # modprobe rbd
> >>> ceph1:~ # rbd create testimg --size 10240
> >>> create error: error 5: Input/output error
> > 
> > Can you try with 
> > 
> >  rbd create testmsg --size 10240 --log-to-stderr --debug-ms 1
> > 
> > so we can see a bit more about what is going on?
> 
> This one gave me some output:
> rbd create testimg --size=10240 --log-to-stderr 2 --debug-ms 2
> 
> See attached file.

It sounds like the OSD can't find the libcls_rbd.so file.  Can you verify 
that it is in /usr/lib/rados-classes, and that that location isn't be 
overridden by something in ceph.conf?

sage


> 
> Additional Info:
> > ceph5:~ # modinfo rbd
> > filename:       /lib/modules/3.1.0-rc9-1-desktop/kernel/drivers/block/rbd.ko
> > license:        GPL
> > author:         Jeff Garzik <[email protected]>
> > description:    rados block device
> > author:         Yehuda Sadeh <[email protected]>
> > author:         Sage Weil <[email protected]>
> > srcversion:     C8F4E38D4A716AB32B9F75C
> > depends:        
> > vermagic:       3.1.0-rc9-1-desktop SMP preempt mod_unload modversions
> 
> 
> Regards
> Mario
> 
> 
> -- 
> Mario van der Linde
> Linux Consultant & Trainer
> Tel.: +49-151-16879485
> Mail: [email protected]
> 
> B1 Systems GmbH
> Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
> GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
> 

Reply via email to