compiling XEN with librbd how to

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

compiling XEN with librbd how to

Jamshaid Faisal
Hello

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=10.255.0.9', '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
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users
Reply | Threaded
Open this post in threaded view
|

Re: compiling XEN with librbd how to

Jamshaid Faisal
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 <[hidden email]> wrote:
Hello

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=10.255.0.9', '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
[hidden email]
https://lists.xenproject.org/mailman/listinfo/xen-users