Thx very much for your guidance, It's OK now! 2011/8/13 Josh Durgin <josh.durgin@xxxxxxxxxxxxx>: > On 08/12/2011 10:56 AM, Josh Durgin wrote: >> >> (bringing back to the list) >> >> On 08/12/2011 12:33 AM, Simon Tian wrote: >>> >>> I have done all these: >>> 1 cosd has permission to write /var/lib/ceph/tmp >>> 2 The temp partition (/var/lib/ceph/tmp) has the execution permission >>> ( no noexec mount option ) >>> 3 libcls_rbd.so is found in LD_LIBRARY_PATH or in the path specified >>> in ceph.conf (osd class dir = /usr/lib64/rados-classes for distros >>> like RHEL6) >>> >>> I am testing on RHEL5.4. >>> >>> The error didn't disappear.... >> >> Could you add 'debug osd = 20' to your ceph.conf, restart your osds, >> then try again? The osd log should tell us the cause of the error. >> > > On further inspection, the wiki was wrong - LD_LIBRARY_PATH does not affect > class loading. You probably just need to set 'osd class dir = > /usr/lib64/rados-classes'. > >>> 2011/8/12 Simon Tian<aixt2006@xxxxxxxxx>: >>>> >>>> # rbd create foo --size 1024 >>>> 2011-08-12 10:13:13.180774 7f4c9a6656f0 librbd: failed to assign a >>>> block name for image >>>> create error: Input/output error >>>> >>>> >>>> 2011/8/11 Josh Durgin<josh.durgin@xxxxxxxxxxxxx>: >>>>> >>>>> On Thu, 11 Aug 2011 22:49:11 +0800, Simon Tian<aixt2006@xxxxxxxxx> >>>>> wrote: >>>>>> >>>>>> Hi folks, >>>>>> >>>>>> This assert failure appeared in ceph-0.31 when creating a pool, >>>>>> could anyone help me? >>>>>> >>>>>> Thx >>>>>> Simon >>>>> >>>>> What's the error? >>>>> >>>> >> >> -- >> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in >> the body of a message to majordomo@xxxxxxxxxxxxxxx >> More majordomo info at http://vger.kernel.org/majordomo-info.html > > -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html