{"id":773,"date":"2019-08-26T17:59:55","date_gmt":"2019-08-26T21:59:55","guid":{"rendered":"https:\/\/blog.lufamily.ca\/kang\/?p=773"},"modified":"2024-02-15T13:58:35","modified_gmt":"2024-02-15T18:58:35","slug":"nas-raid-1-fail","status":"publish","type":"post","link":"https:\/\/blog.lufamily.ca\/kang\/2019\/08\/26\/nas-raid-1-fail\/","title":{"rendered":"NAS RAID-1 Fail"},"content":{"rendered":"\n<p>This past weekend my media NAS server was intolerably slow. When I investigated, I found out that one of the RAID-1 partitions is experiencing read errors and is timing out. I decided to risk a reboot and to my surprise the RAID-1 partition did not recover with one fail drive, but mdstat recorded with an inactive status, something like this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>md2 : inactive sdc1[0](S)<\/code><\/pre>\n\n\n\n<p>After some Google search, I found that I had to do the following to resurrect the md2 device.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>madam --stop \/dev\/md2\nmdadm --assemble --force \/dev\/md2<\/code><\/pre>\n\n\n\n<p>This reactivated the md2 partition. I replaced the failed drive and re-added the new drive to the md2 device. The RAID-1 partition is now rebuilding.<\/p>\n\n\n\n<p>The inactive state is a new experience for me, so this was a bit of a surprise.<\/p>\n\n\n\n<p>During this exercise I also found out that the SATA connectors on my SATA add-on card were loose causing intermittent connections. I will have to find a way to address this in the future.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This past weekend my media NAS server was intolerably slow. When I investigated, I found out that one of the RAID-1 partitions is experiencing read errors and is timing out. I decided to risk a reboot and to my surprise the RAID-1 partition did not recover with one fail drive, but mdstat recorded with an &hellip; <a href=\"https:\/\/blog.lufamily.ca\/kang\/2019\/08\/26\/nas-raid-1-fail\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;NAS RAID-1 Fail&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[108,111],"tags":[5,28,6],"class_list":["post-773","post","type-post","status-publish","format-standard","hentry","category-electronics-hobby","category-tech","tag-nas","tag-technology","tag-ubuntu"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7V6i8-ct","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/comments?post=773"}],"version-history":[{"count":1,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/773\/revisions"}],"predecessor-version":[{"id":774,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/posts\/773\/revisions\/774"}],"wp:attachment":[{"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/media?parent=773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/categories?post=773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.lufamily.ca\/kang\/wp-json\/wp\/v2\/tags?post=773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}