From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Durgin Subject: Re: rbd create error with 0.26 Date: Fri, 12 Aug 2011 11:18:08 -0700 Message-ID: <4E456E60.6090808@dreamhost.com> References: <5fd6193b826df34670addab14a78b6c7@hq.newdream.net> <4E456936.3020800@dreamhost.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mail.hq.newdream.net ([66.33.206.127]:40003 "EHLO mail.hq.newdream.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751379Ab1HLSSJ (ORCPT ); Fri, 12 Aug 2011 14:18:09 -0400 In-Reply-To: <4E456936.3020800@dreamhost.com> Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Simon Tian Cc: ceph-devel 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: >>> # 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: >>>> On Thu, 11 Aug 2011 22:49:11 +0800, Simon Tian >>>> 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@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html