On Fri, Jun 5, 2015 at 6:47 AM, David Z <david.z1003@xxxxxxxxx> wrote: > 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@xxxx ~]$ sudo rbd map zhi_rbd_test_1 > rbd: sysfs write failed > rbd: map failed: (22) Invalid argument > [ceph@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? What you are referring to is called "fancy striping" and it is unsupported (work is underway but it's been slow going). However because v2 images with *default* striping parameters disk format wise are the same as v1 images, you can map a v2 image provided you didn't specify custom --stripe-unit or --stripe-count on rbd create. Thanks, Ilya _______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com