Hi, > We can test this, but just a couple of lines of input might be needed to get us going with this without digging through all the code. Ok, so I added proper argument parsing (using the same format as the qemu rbd driver) now, so it's easier to test. First off, you need a working blktap setup for your distribution. So for example, you should be able to use "tap2:tapdisk:aio:/path/to/image.raw" as a vbd. Starting for there you need to : - Download and compile the rbd branch of git://github.com/smunaut/blktap.git You will need the ceph development files/packages for this ( for debian librados-dev librbd-dev ) $ git clone git://github.com/smunaut/blktap.git $ cd blktap $ git checkout -b rbd origin/rbd $ ./autogen.sh $ ./configure $ make - Replace the installed tapdisk binary with the new one $ sudo cp ./drivers/.libs/tapdisk /usr/bin/tapdisk - Add 'rbd' as supported format in 'xm' For some reason 'xm' checks the image format itself before handing off to the tap-ctl ... Edit /usr/lib/xen-4.1/lib/python/xen/xend/server/BlktapController.py and add 'rbd' in the blktap2_disk_types list at the top. (location of file will vary depending on xen version and distribution) - Setup a proper /etc/ceph/ceph.conf containing at least the mon addresses Also make sure you have a /etc/ceph/keyring with the user key if you use cephx Once that's done, you should be able to attach disk to a running VM using : $ xm block-attach test_vm tap2:tapdisk:rbd:rbd/test xvda2 w "rbd/test" above is the pool_name/image_name You can add the same options as with the qemu driver. Cheers, Sylvain -- 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