Cannot map rbd image with striping!

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

 



Hi Cephers,

Here is the problem I am facing.
I would like to use striping feature with rbd.
When I create an image with striping arguments defined, I cannot map it:

[cephuser@node01 ~]$ rbd create ceph-client0-rbd0 --image-format 2 --size 10240 --stripe-unit 65536 --stripe-count 4
[cephuser@node01 ~]$ sudo rbd map --image ceph-client0-rbd0                     
rbd: sysfs write failed
rbd: map failed: (22) Invalid argument


However, when I create an image without striping arguments, it gets mapped with no problem:

[cephuser@node01 ~]$ rbd create ceph-client0-rbd0 --size 10240
[cephuser@node01 ~]$ sudo rbd map --image ceph-client0-rbd0
/dev/rbd0

Any thoughts what could go wrong?

Thanks,
Hadi
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux