{"id":167308,"date":"2017-12-11T22:05:58","date_gmt":"2017-12-11T15:05:58","guid":{"rendered":"https:\/\/www.icez.net\/blog\/?p=167308"},"modified":"2017-12-11T22:08:35","modified_gmt":"2017-12-11T15:08:35","slug":"fix-mdadm-remove-no-such-file-or-directory","status":"publish","type":"post","link":"https:\/\/www.icez.net\/blog\/167308\/fix-mdadm-remove-no-such-file-or-directory","title":{"rendered":"0228 | \u0e41\u0e01\u0e49\u0e1b\u0e31\u0e0d\u0e2b\u0e32 mdadm &#8211;remove &#8220;No such file or directory&#8221;"},"content":{"rendered":"<p>\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e19\u0e35\u0e49\u0e40\u0e08\u0e2d\u0e1b\u0e31\u0e0d\u0e2b\u0e32 disk \u0e1e\u0e31\u0e07\u0e04\u0e23\u0e31\u0e1a \u0e17\u0e33\u0e43\u0e2b\u0e49 mdadm mark fail \u0e44\u0e27\u0e49\u0e43\u0e19 raid device<\/p>\n<p>\u0e41\u0e25\u0e49\u0e27\u0e15\u0e2d\u0e19\u0e44\u0e1b\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19 disk \u0e25\u0e37\u0e21\u0e2a\u0e31\u0e48\u0e07 mdadm &#8211;remove \u0e01\u0e48\u0e2d\u0e19 \u0e2a\u0e34\u0e48\u0e07\u0e17\u0e35\u0e48\u0e40\u0e01\u0e34\u0e14\u0e02\u0e36\u0e49\u0e19\u0e04\u0e37\u0e2d&#8230;<\/p>\n<pre><code>node04:~# mdadm --remove \/dev\/md3 \/dev\/sdh1\nmdadm: Cannot find \/dev\/sdh1: No such file or directory\n<\/code><\/pre>\n<p>\u0e27\u0e34\u0e18\u0e35\u0e41\u0e01\u0e49\u0e44\u0e02\u0e44\u0e21\u0e48\u0e22\u0e32\u0e01\u0e04\u0e23\u0e31\u0e1a \u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e23\u0e30\u0e1a\u0e38 device \u0e17\u0e35\u0e48\u0e2b\u0e32\u0e22\u0e44\u0e1b \u0e40\u0e1b\u0e47\u0e19\u0e04\u0e33\u0e27\u0e48\u0e32 detached \u0e41\u0e1a\u0e1a\u0e19\u0e35\u0e49<\/p>\n<pre><code>node04:~# mdadm --remove \/dev\/md3 detached\nmdadm: hot removed 8:113 from \/dev\/md3\n<\/code><\/pre>\n<p>\u0e40\u0e17\u0e48\u0e32\u0e19\u0e35\u0e49\u0e42\u0e25\u0e01\u0e01\u0e47\u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e2a\u0e07\u0e1a\u0e2a\u0e38\u0e02&#8230;<\/p>\n<p>\u0e1b\u0e25. \u0e21\u0e35 trick \u0e2d\u0e35\u0e01\u0e2a\u0e2d\u0e07\u0e2a\u0e32\u0e21\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e16\u0e49\u0e32\u0e27\u0e34\u0e18\u0e35\u0e14\u0e49\u0e32\u0e19\u0e1a\u0e19\u0e43\u0e0a\u0e49\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49 (\u0e41\u0e15\u0e48\u0e01\u0e47\u0e44\u0e21\u0e48\u0e19\u0e48\u0e32\u0e08\u0e30\u0e43\u0e0a\u0e49\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e19\u0e30) > <a href=\"https:\/\/unix.stackexchange.com\/questions\/197139\/mdadm-cant-remove-components-in-raid-1\">https:\/\/unix.stackexchange.com\/questions\/197139\/mdadm-cant-remove-components-in-raid-1<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e01\u0e48\u0e2d\u0e19\u0e2b\u0e19\u0e49\u0e32\u0e19\u0e35\u0e49\u0e40\u0e08\u0e2d\u0e1b\u0e31\u0e0d\u0e2b\u0e32 disk \u0e1e\u0e31\u0e07\u0e04\u0e23\u0e31\u0e1a \u0e17\u0e33\u0e43\u0e2b\u0e49 mdadm mark fail \u0e44\u0e27\u0e49\u0e43\u0e19 raid device \u0e41\u0e25\u0e49\u0e27\u0e15\u0e2d\u0e19\u0e44\u0e1b\u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19 disk \u0e25\u0e37\u0e21\u0e2a\u0e31\u0e48\u0e07 mdadm &#8211;remove \u0e01\u0e48\u0e2d\u0e19 \u0e2a\u0e34\u0e48\u0e07\u0e17\u0e35\u0e48\u0e40\u0e01\u0e34\u0e14\u0e02\u0e36\u0e49\u0e19\u0e04\u0e37\u0e2d&#8230; node04:~# mdadm &#8211;remove \/dev\/md3 \/dev\/sdh1 mdadm: Cannot find \/dev\/sdh1: No such file or directory \u0e27\u0e34\u0e18\u0e35\u0e41\u0e01\u0e49\u0e44\u0e02\u0e44\u0e21\u0e48\u0e22\u0e32\u0e01\u0e04\u0e23\u0e31\u0e1a \u0e40\u0e1b\u0e25\u0e35\u0e48\u0e22\u0e19\u0e08\u0e32\u0e01\u0e01\u0e32\u0e23\u0e23\u0e30\u0e1a\u0e38 device \u0e17\u0e35\u0e48\u0e2b\u0e32\u0e22\u0e44\u0e1b \u0e40\u0e1b\u0e47\u0e19\u0e04\u0e33\u0e27\u0e48\u0e32 detached \u0e41\u0e1a\u0e1a\u0e19\u0e35\u0e49 node04:~# mdadm &#8211;remove \/dev\/md3 detached mdadm: hot removed 8:113 from \/dev\/md3 \u0e40\u0e17\u0e48\u0e32\u0e19\u0e35\u0e49\u0e42\u0e25\u0e01\u0e01\u0e47\u0e01\u0e25\u0e31\u0e1a\u0e21\u0e32\u0e2a\u0e07\u0e1a\u0e2a\u0e38\u0e02&#8230; \u0e1b\u0e25. \u0e21\u0e35 trick \u0e2d\u0e35\u0e01\u0e2a\u0e2d\u0e07\u0e2a\u0e32\u0e21\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e16\u0e49\u0e32\u0e27\u0e34\u0e18\u0e35\u0e14\u0e49\u0e32\u0e19\u0e1a\u0e19\u0e43\u0e0a\u0e49\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49 (\u0e41\u0e15\u0e48\u0e01\u0e47\u0e44\u0e21\u0e48\u0e19\u0e48\u0e32\u0e08\u0e30\u0e43\u0e0a\u0e49\u0e44\u0e21\u0e48\u0e44\u0e14\u0e49\u0e19\u0e30) [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[8253],"class_list":["post-167308","post","type-post","status-publish","format-standard","hentry","category-linux","tag-mdadm"],"_links":{"self":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/167308","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/comments?post=167308"}],"version-history":[{"count":3,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/167308\/revisions"}],"predecessor-version":[{"id":167311,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/167308\/revisions\/167311"}],"wp:attachment":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/media?parent=167308"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/categories?post=167308"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/tags?post=167308"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}