Re: stripe map failed-- rbd: add failed: (22) Invalid argument

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

 



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
Sent: Tuesday, June 23, 2015 11:02 PM
To: ceph-users@xxxxxxxxxxxxxx
Subject: stripe map failed-- rbd: add failed: (22) Invalid argument

 

Hi list
my cluster is ceph0.8, kernel update to 3.18.    3 servers(4 osd /server), 12 osds, 1 mon . the cluster status is ok. 
[root@node0 ~]# rbd -p rbd  create myimage2 --order 22 --size 10000 --stripe-unit 65536  --stripe-count 16 --image-format 2

[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

[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