CEPH filesystem development
 help / color / mirror / Atom feed
From: Josh Durgin <josh.durgin@dreamhost.com>
To: Guido Winkelmann <guido-ceph@thisisnotatest.de>
Cc: ceph-devel@vger.kernel.org
Subject: Re: Cannot create an rbd image
Date: Mon, 05 Dec 2011 09:57:22 -0800	[thread overview]
Message-ID: <4EDD0602.1070905@dreamhost.com> (raw)
In-Reply-To: <3559228.m2Jnrzo7Vd@pc10>

On 12/05/2011 08:57 AM, Guido Winkelmann wrote:
> Hi,
>
> I cannot create a new rbd image in a newly created ceph cluster. When I try
> it, I get these messages:
>
> # rbd create testimage1 --size 10000

<other output trimmed>

> 2011-12-05 17:41:00.994075 7ffe8b5c3760 librbd: failed to assign a block name
> for image
> create error: error 5: Input/output error

This usually happens because your osds can't find cls_rbd.so. They 
search for it in osd_class_dir, which may not be set correctly by 
default (bug #1722). Most likely it's looking in /usr/lib/rados-classes 
instead of /usr/lib64/rados-classes - change osd_class_dir in your 
ceph.conf and restart the osds to fix it.

  reply	other threads:[~2011-12-05 17:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-05 16:57 Cannot create an rbd image Guido Winkelmann
2011-12-05 17:57 ` Josh Durgin [this message]
2011-12-05 18:04   ` Guido Winkelmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4EDD0602.1070905@dreamhost.com \
    --to=josh.durgin@dreamhost.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=guido-ceph@thisisnotatest.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox