On Mon, May 9, 2011 at 7:30 PM, Simon Tian <aixt2006@xxxxxxxxx> wrote: > [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; > Can you verify that the osd has a /var/lib/ceph/tmp directory, which is writable by the cosd daemon, and that it doesn't have a noexec mount option? Thanks, Yehuda -- 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