On Wed, Mar 12, 2014 at 2:02 PM, Kasper, Dieter
<dieter.kas...@ts.fujitsu.com> wrote:
> No difference:
>
>
>
> [root@rx37-0 ~]# rbd map --pool SSD-r2 t2-1
>
> rbd: add failed: (22) Invalid argument
>
>
>
> [root@rx37-0 ~]# dmesg | tail
>
> (...)
>
> rbd: image t2-1: unsupported stripe unit (got 1048576 want 4194304)
>
>
>
> The strace of 'rbd map' says:
>
> open("/sys/bus/rbd/add", O_WRONLY) = 3
>
> write(3, "192.168.113.13:6789,192.168.113.14:6789,192.168.113.15:6789
> name=admin,key=client.admin SSD-r2 t2-1", 99) = -1 EINVAL (Invalid argument)

krbd doesn't support STRIPINGV2 yet, so that EINVAL is correct.  The
reason you can 'rbd map' a --image-format 2 image in general is that v2
with default striping parameters behaves exactly the same as v1.

Thanks,

                Ilya
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to