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 <[email protected]>
发送日期:2015-10-29 15:13
收件人:[email protected]
抄送:
主题:[ceph-users] 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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com