[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] compiling XEN with librbd how to

well! is it even possible to use  rbd qdisk backend with xen and xl, without libvirt ?
anyone please

On Fri, Feb 23, 2018 at 10:38 PM, Jamshaid Faisal <j.faisal@xxxxxxxxx> wrote:

So far i have been using kernel rbd for VMs by using the command
"rbd map pool/image --id ID"

But now i am trying to switch to librbd. soI compiled xen 4.10 with --enable-rbd option.
And trying to install a vm from minimul centos iso

i  created the disk with qemu-img and i can retrive image infor with
/usr/lib/xen/bin/qemu-img info rbd:rbd/foo:id=client

disk = [ 'vdev=hda, backendtype=qdisk, access=rw, format=raw,  target=rbd:rbd/foo:id=client:mon_host=', 'file:/root/CentOS-7-x86_64-Minimal-1708.iso,hdb:cdrom,r' ]

I dont get any error when i create the vm with xl. But during boot from iso, i see this error

"failed to write error node for device /dev/vbd/832......."

And when centos installer runs, it dont detect any drive.

What am i doing wrong ?

Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.