[Ceph-community] rbd format v2 support

David Z david.z1003 at yahoo.com
Thu Jun 4 20:47:06 PDT 2015


Hi Ceph folks,

We want to use rbd format v2, but find it is not supported on kernel 3.10.0 of centos 7:

[ceph at xxxx ~]$ sudo rbd map zhi_rbd_test_1 
rbd: sysfs write failed 
rbd: map failed: (22) Invalid argument 
[ceph at xxxx ~]$ dmesg | tail 
[662453.664746] rbd: image zhi_rbd_test_1: unsupported stripe unit (got 8192 want 4194304)

As it described in ceph doc, it should be available from kernel 3.11. But I checked the code of kernel 3.12, 3.14 and even 4.1. This piece of code is still there, see below links. Do I miss some codes or info?  

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/block/rbd.c?id=refs/tags/v4.1-rc6#n4352
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/block/rbd.c?id=refs/tags/v4.1-rc6#n4359

And I also found one email that Sage mentioned there was a commit "764684ef34af685cd8d46830a73826443f9129df" should resolve such problem, but I didn't find this commit's details. Could some one know about it?

http://lists.ceph.com/pipermail/ceph-users-ceph.com/2013-June/031897.html

Thanks a lot!

Regards,
Zhi (David)  


More information about the Ceph-community mailing list