Please check the kernel version . Only kernel version 3.10 and above are supported to create format type 2 images.
On Tue, Mar 11, 2014 at 7:16 PM, Kasper Dieter <dieter.kasper@xxxxxxxxxxxxxx> wrote:
When using "rbd create ... --image-format 2" in some cases this CMD is rejected by
EINVAL with the message "librbd: STRIPINGV2 and format 2 or later required for non-default striping"
But, in v0.61.9 "STRIPINGV2 and format 2" should be supported
[root@rx37-3 ~]# rbd create --pool SSD-r2 --size 20480 --order 16 --image-format 2 --stripe-unit 65536 --stripe-count 4 t2
rbd: create error: (22) Invalid argument
2014-03-11 14:39:03.885185 7f15bc170760 -1 librbd: STRIPINGV2 and format 2 or later required for non-default striping
[root@rx37-3 ~]# ceph -v
ceph version 0.61.9 (7440dcd135750839fa0f00263f80722ff6f51e90)
Any hints ?
Regards,
-Dieter
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com