Re: rbd format 2 && stripe-count != 1 cannot be mapped with rbd.ko kernel 3.13.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 12, 2014 at 2:02 PM, Kasper, Dieter
<dieter.kasper@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux