{"id":724,"date":"2016-12-14T02:33:37","date_gmt":"2016-12-14T02:33:37","guid":{"rendered":"http:\/\/www.selinuxplus.com\/?p=724"},"modified":"2016-12-14T02:33:37","modified_gmt":"2016-12-14T02:33:37","slug":"%e4%b8%80%e6%ac%a1%e5%9b%a0%e7%a3%81%e7%9b%98%e6%89%87%e5%8c%ba%e6%8d%9f%e5%9d%8f%e5%bc%95%e8%b5%b7osd-%e5%87%ba%e7%8e%b0down%e7%9a%84%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/www.selinuxplus.com\/?p=724","title":{"rendered":"\u4e00\u6b21\u56e0\u78c1\u76d8\u6247\u533a\u635f\u574f\u5f15\u8d77osd \u51fa\u73b0down\u7684\u95ee\u9898"},"content":{"rendered":"<p>\u5f53osd\u51fa\u73b0down\u7684\u72b6\u6001\uff0c\u65e5\u5fd7\u4fe1\u606f\u663e\u793a\u4e3a\uff1a<\/p>\n<pre class=\"lang:default decode:true \" >f049a9f5700 -1 os\/FileStore.cc: In function 'virtual int FileStore::read(coll_t, const ghobject_t&amp;, uint64_t, size_t, ceph::bufferlist&amp;, uint32_t, bool)' thread 7f049a9f5700 time \r\nos\/FileStore.cc: 2850: FAILED assert(allow_eio || !m_filestore_fail_eio || got != -5)<\/pre>\n<p>\u901a\u8fc7assert\uff08allow_eio || !m_filestore_fail_eio || got != -5),\u975eallow_eio\u4e14\u914d\u7f6e\u4e2dfail_eio\u4e3atrue\u65f6\uff0c\u82e5\u6709IO error\u5219assert fail\u3002<\/p>\n<p>\u5206\u6790osd \u6240\u5bf9\u5e94\u7684\u78c1\u76d8\u4fe1\u606f\uff1a<\/p>\n<pre class=\"lang:default decode:true \" ># dmesg -T | grep sdh\r\nsd 0:2:7:0: [sdh] 3904294912 512-byte logical blocks: (1.99 TB\/1.81 TiB)\r\nsd 0:2:7:0: [sdh] Write Protect is off\r\nsd 0:2:7:0: [sdh] Mode Sense: 1f 00 00 08\r\nsd 0:2:7:0: [sdh] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA\r\n sdh: unknown partition table\r\nsd 0:2:7:0: [sdh] Attached SCSI disk\r\n XFS (sdh): Mounting V4 Filesystem\r\n XFS (sdh): Ending clean mount\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh] CDB:\r\n end_request: I\/O error, dev sdh, sector 1100294168\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh] CDB:\r\n end_request: I\/O error, dev sdh, sector 1100294400\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh] CDB:\r\n end_request: I\/O error, dev sdh, sector 1100294400\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh] CDB:\r\n end_request: I\/O error, dev sdh, sector 1100294168\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh] CDB:\r\n end_request: I\/O error, dev sdh, sector 1100294400\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh] CDB:\r\n end_request: I\/O error, dev sdh, sector 1100294400\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh] CDB:\r\n end_request: I\/O error, dev sdh, sector 1100294352\r\n Buffer I\/O error on device sdh, logical block 1100294352\r\n Buffer I\/O error on device sdh, logical block 1100294353\r\n Buffer I\/O error on device sdh, logical block 1100294354\r\n Buffer I\/O error on device sdh, logical block 1100294355\r\n Buffer I\/O error on device sdh, logical block 1100294356\r\n Buffer I\/O error on device sdh, logical block 1100294357\r\n Buffer I\/O error on device sdh, logical block 1100294358\r\n Buffer I\/O error on device sdh, logical block 1100294359\r\n Buffer I\/O error on device sdh, logical block 1100294360\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh] CDB:\r\n end_request: I\/O error, dev sdh, sector 1100294405\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh] CDB:\r\n end_request: I\/O error, dev sdh, sector 1100294405\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh]\r\n sd 0:2:7:0: [sdh] CDB:\r\n end_request: I\/O error, dev sdh, sector 1100294405<\/pre>\n<p>\u53ef\u4ee5\u770b\u5230I\/O Error\u4fe1\u606f\uff0c\u622a\u53d6\u4e00\u6bb5\u4fe1\u606f\u8fdb\u884c\u5206\u6790<\/p>\n<pre class=\"lang:default decode:true \" >badblocks -v -s -b 512 -o \/root\/badblocks.txt \/dev\/sdh 1100300000 1100290000\r\nChecking blocks 1100290000 to 1100300000\r\nChecking for bad blocks (read-only test): done\r\nPass completed, 8 bad blocks found. (8\/0\/0 errors)\r\n[root@host20 ~]# cat badblocks.txt\r\n1100294400\r\n1100294401\r\n1100294402\r\n1100294403\r\n1100294404\r\n1100294405\r\n1100294406\r\n1100294407<\/pre>\n<p>\u53d1\u73b01100294400 -4407\u88ab\u68c0\u6d4b\u51fa\u6765\u3002\u4f461100294352 &#8211; 1100294360 \u5374\u6ca1\u6709\uff08\u6267\u884cbadblcoks\u547d\u4ee4\u4ec5\u4f7f\u7528\u4e86\u8bfb\u6a21\u5f0f\u68c0\u6d4b\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f53osd\u51fa\u73b0down\u7684\u72b6\u6001\uff0c\u65e5\u5fd7\u4fe1\u606f\u663e\u793a\u4e3a\uff1a f0&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[84],"tags":[180],"_links":{"self":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts\/724"}],"collection":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=724"}],"version-history":[{"count":1,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts\/724\/revisions"}],"predecessor-version":[{"id":725,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=\/wp\/v2\/posts\/724\/revisions\/725"}],"wp:attachment":[{"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=724"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.selinuxplus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}