Striping is not supported with kernel rbd yet..

Thanks & Regards
Somnath

From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of Hadi 
Montakhabi
Sent: Wednesday, July 08, 2015 12:56 PM
To: ceph-users@lists.ceph.com
Subject: [ceph-users] Cannot map rbd image with striping!

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

________________________________

PLEASE NOTE: The information contained in this electronic mail message is 
intended only for the use of the designated recipient(s) named above. If the 
reader of this message is not the intended recipient, you are hereby notified 
that you have received this message in error and that any review, 
dissemination, distribution, or copying of this message is strictly prohibited. 
If you have received this communication in error, please notify the sender by 
telephone or e-mail (as shown above) immediately and destroy any and all copies 
of this message in your possession (whether hard copies or electronically 
stored copies).

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

Reply via email to