All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guido Winkelmann <guido-ceph@thisisnotatest.de>
To: ceph-devel@vger.kernel.org
Subject: Re: Cannot create an rbd image
Date: Mon, 05 Dec 2011 19:04:49 +0100	[thread overview]
Message-ID: <2508383.FSKSEkVnGt@pc10> (raw)
In-Reply-To: <4EDD0602.1070905@dreamhost.com>

Am Montag, 5. Dezember 2011, 09:57:22 schrieb Josh Durgin:
> 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.

That did the trick, thanks!

(It was /usr/local/lib/rados-classes actually)

	Guido

      reply	other threads:[~2011-12-05 18:04 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
2011-12-05 18:04   ` Guido Winkelmann [this message]

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=2508383.FSKSEkVnGt@pc10 \
    --to=guido-ceph@thisisnotatest.de \
    --cc=ceph-devel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.