Re: Input/output error

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

 



Hi, 

Please search the google, there exist the answer.

As i rembered:
1. low kernel version rbd not support some feature of CRUSH, Check the /var/log/message
2. sudo rbd map foo --name client.admin -p {pol_name}
3. also specify the -p {pol_name} when you create the image

Thanks!

------------------				 
hzwulibin
2015-10-29

-------------------------------------------------------------
发件人:Wah Peng <wah_peng@xxxxxxxxxxxx>
发送日期:2015-10-29 15:13
收件人:ceph-users@xxxxxxxxxxxxxx
抄送:
主题: Input/output error

hello,

do you know why this happens when I did it following the official 
ducumentation.

$ sudo rbd map foo --name client.admin

rbd: add failed: (5) Input/output error


the OS kernel,

$ uname -a
Linux ceph.yygamedev.com 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 
20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux


I tried  this way,

ceph osd getcrushmap -o /tmp/crush
crushtool -i /tmp/crush --set-chooseleaf_vary_r 0 -o /tmp/crush.new
ceph osd setcrushmap -i /tmp/crush.new

but got no luck.

my cluster status seems OK,

$ ceph health
HEALTH_OK

$ ceph osd tree
# id    weight  type name       up/down reweight
-1      0.24    root default
-2      0.24            host ceph2
0       0.07999                 osd.0   up      1
1       0.07999                 osd.1   up      1
2       0.07999                 osd.2   up      1

Thanks in advance.
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
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