All of lore.kernel.org
 help / color / mirror / Atom feed
* rbd create error with 0.26
@ 2011-05-10  2:30 Simon Tian
  2011-05-10  9:35 ` Yehuda Sadeh Weinraub
                   ` (2 more replies)
  0 siblings, 3 replies; 25+ messages in thread
From: Simon Tian @ 2011-05-10  2:30 UTC (permalink / raw)
  To: ceph-devel

Hi folks,

I met an error when creating a rbd image:

====================================================
[root@mon-00 ~]# ceph class list
2011-05-10 17:36:29.530759 mon <- [class,list]
2011-05-10 17:36:29.531491 mon0 -> 'no installed classes!' (0)
[root@mon-00 ~]# cclass -a
Loading class: /usr/local/lib/rados-classes/libcls_rbd.so.1.0.0: rbd 1.3 x86-64
2011-05-10 17:36:37.657254 7eff9cfc36f0 read 184650 bytes from
/usr/local/lib/rados-classes/libcls_rbd.so.1.0.0
2011-05-10 17:36:37.658820 mon <- [class,add,rbd,1.3,x86-64,changed]
2011-05-10 17:36:37.749791 mon0 -> 'updated' (0)
[root@mon-00 ~]# ceph class list
2011-05-10 17:36:45.176860 mon <- [class,list]
2011-05-10 17:36:45.177511 mon1 -> 'installed classes:
rbd (v1.3 [x86-64]) [active]
' (0)
[root@mon-00 ~]# rbd list
pool rbd doesn't contain rbd images
[root@mon-00 ~]# rbd list
pool rbd doesn't contain rbd images
[root@mon-00 ~]# rbd create foo --size 1024
2011-05-10 17:42:14.854907 7fcff83cb6f0 librbd: failed to assign a
block name for image
create error: Input/output error
[root@mon-00 ~]# ceph class activate rbd 1.3
2011-05-10 17:42:34.824676 mon <- [class,activate,rbd,1.3]
2011-05-10 17:42:34.944398 mon2 -> 'updated' (0)
[root@mon-00 ~]# rbd create foo --size 1024
2011-05-10 17:42:44.227398 7fa9411866f0 librbd: failed to assign a
block name for image
create error: Input/output error
====================================================
I just done as this tracker said:  http://tracker.newdream.net/issues/263

I found that the return value of io_ctx.exec function is bellow zero:

  r = io_ctx.exec(info_oid, "rbd", "assign_bid", bl, out);
  if (r < 0)
    return r;

Thx!

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2011-08-15  3:15 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-10  2:30 rbd create error with 0.26 Simon Tian
2011-05-10  9:35 ` Yehuda Sadeh Weinraub
2011-05-10 13:39   ` Simon Tian
2011-05-10 13:59     ` Yehuda Sadeh Weinraub
2011-05-10 14:15       ` Simon Tian
2011-05-10 14:42         ` Yehuda Sadeh Weinraub
2011-05-11  1:54           ` Simon Tian
2011-05-12  0:56             ` Josh Durgin
2011-05-13  7:45           ` Simon Tian
2011-05-13 15:58             ` Sage Weil
2011-05-14  3:26               ` Simon Tian
2011-05-15  9:39               ` Simon Tian
2011-05-15  9:40                 ` Simon Tian
2011-05-15 12:57                 ` Simon Tian
2011-05-16  4:33                 ` Sage Weil
2011-05-16  6:44                   ` Simon Tian
2011-05-16 15:40                     ` Gregory Farnum
2011-05-10 14:29       ` Simon Tian
2011-05-10 11:47 ` Fyodor Ustinov
2011-05-10 13:50   ` Simon Tian
2011-08-11 14:49 ` Simon Tian
2011-08-11 15:47   ` Josh Durgin
     [not found]     ` <CAFGK4N+wDdK13o_Sy+fxRxwZ+mZT+TEUJt3+GhKW8CQRRSE7UQ@mail.gmail.com>
     [not found]       ` <CAFGK4NKoNewHP2E76EJxWBSOTPgSKf=5SemjockSGTEj+1u4hA@mail.gmail.com>
2011-08-12 17:56         ` Josh Durgin
2011-08-12 18:18           ` Josh Durgin
2011-08-15  3:15             ` Simon Tian

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.