首页 > 代码库 > Ceph安装QEMU报错:User requested feature rados block device configure was not able to find it

Ceph安装QEMU报错:User requested feature rados block device configure was not able to find it

CentOS6.3中,要想使用Ceph的block device,需要安装更高版本的QEMU。

安装好ceph后,安装qemu-1.5.2

# tar -xjvf qemu-1.5.2.tar.bz2

# cd qemu-1.5.2

# ./configure --enable-rbd

一定要加上--enable-rbd选项,这样qemu才能支持rbd协议。

这一步可能会报错:

ERROR: User requested feature rados block device

       configure was not able to find it

这是因为没有安装ceph-devel包。同时要确librados2和librbd1已经安装。

安装后,configure就不会报错。然后执行

# make

# make install

即可。