I think striping is not supported with kernel rbd. Try to create image without specifying –stripe-unit / --stripe-count. Thanks & Regards Somnath From: ceph-users [mailto:ceph-users-bounces@xxxxxxxxxxxxxx]
On Behalf Of maoqi1982 Hi list
[root@node0 ~]# rbd map myimage2 rbd: add failed: (22) Invalid argument [root@node0 ~]# dmesg | grep rbd rbd: loaded (major 252) rbd0: unknown partition table rbd: rbd0: added with size 0x1e848000000 rbd: image myimage: unsupported stripe unit (got 65536 want 4194304) rbd: image myimage: unsupported stripe unit (got 65536 want 4194304) rbd: image myimage: unsupported stripe unit (got 65536 want 4194304) rbd: image myimage: unsupported stripe unit (got 65536 want 4194304) rbd0: unknown partition table rbd: rbd0: added with size 0x1f400000 rbd: image myimage: unsupported stripe unit (got 65536 want 4194304) rbd: image myimage1: unsupported stripe unit (got 65536 want 4194304) rbd: image myimage2: unsupported stripe unit (got 4096 want 4194304) rbd: image myimage4: unsupported stripe unit (got 65536 want 1048576) rbd0: unknown partition table rbd: rbd0: added with size 0x1e848000000 rbd1: unknown partition table rbd: rbd1: added with size 0x1e848000000 rbd: image myimage2: unsupported stripe unit (got 65536 want 4194304) [root@node0 ~]# uname -r 3.18.0 [root@node0 ~]# lsmod | grep rbd rbd 64295 2 libceph 232455 1 rbd 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@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com