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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to