On Thu, Aug 5, 2010 at 11:50 PM, Xiaoguang Liu <syslxg@xxxxxxxxx> wrote: > unstable branch, build on Fedora 13. > > > [root@ceph-1 mnt]# rbd create foo --size 1024 > failed to assign a block name for image > create error: Operation not supported This happens because the osd doesn't have the rbd class loaded in, or have an older version loaded in. The rbd class is a loadable library that handles some of the rbd header manipulation, as well as assigning a unique block names for the specific rbd image. The list of classes in the system can be obtained by running: $ ./ceph class list 10.08.06_00:35:17.213413 mon <- [class,list] 10.08.06_00:35:17.214044 mon1 -> 'installed classes: rbd (v1.2 [x86-64]) [active] ' (0) Currently we'd expect rbd class version 1.2 to be loaded in and activated. Loading a class can be done by the cclass utility, e.g.: $ cclass -a This will try to load all the classes that were installed with they system, usually at /usr/lib/rados-classes. This is only needed to be run once (per architecture) as long as there's no need to update the class. 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