{"id":4366,"date":"2020-12-26T18:17:36","date_gmt":"2020-12-26T05:17:36","guid":{"rendered":"http:\/\/www.zoyinc.com\/?p=4366"},"modified":"2020-12-26T22:35:20","modified_gmt":"2020-12-26T09:35:20","slug":"spares-missing-event-emails-after-raid-changes","status":"publish","type":"post","link":"http:\/\/www.zoyinc.com\/?p=4366","title":{"rendered":"Spares missing event emails after RAID changes"},"content":{"rendered":"\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-4367\" src=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/12\/SparesMissingEvent01.jpg\" alt=\"\" width=\"2048\" height=\"193\" srcset=\"http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/12\/SparesMissingEvent01.jpg 2048w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/12\/SparesMissingEvent01-300x28.jpg 300w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/12\/SparesMissingEvent01-150x14.jpg 150w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/12\/SparesMissingEvent01-768x72.jpg 768w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/12\/SparesMissingEvent01-1536x145.jpg 1536w, http:\/\/www.zoyinc.com\/wp-content\/uploads\/2020\/12\/SparesMissingEvent01-500x47.jpg 500w\" sizes=\"auto, (max-width: 2048px) 100vw, 2048px\" \/><\/p>\n<p>Out of the box with the RAID you are likely to find an email everyday with the subject similar to:<\/p>\n<p style=\"padding-left: 40px;\">SparesMissing event on \/dev\/md\/Mirror:nas2 [nas2.cantabrian]<\/p>\n<p>This is a somewhat know error, ssh to the box and look for:<\/p>\n<p style=\"padding-left: 40px;\">\/etc\/mdadm\/mdadm.conf<\/p>\n<p>You will probably find a line like:<\/p>\n<pre class=\"crayon:false;\"># definitions of existing MD arrays\nARRAY \/dev\/md\/Mirror metadata=1.2 spares=1 name=nas2:Mirror UUID=fa9357c4:46935ec5:ebf94dda:dc66ddc7<\/pre>\n<p>You need to change the &#8220;spares=1&#8221; to &#8220;spares=0&#8221;. In fact it looks like you can delete &#8220;spares=1&#8221; altogether. <\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":4368,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,313],"tags":[318,63,663,338,319,320,326,661,662],"class_list":["post-4366","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-open-media-vault","tag-debian","tag-email","tag-event","tag-mdadm","tag-omv","tag-open-media-vault","tag-raid","tag-spares-missing-event","tag-sparesmissing"],"_links":{"self":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4366","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4366"}],"version-history":[{"count":2,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4366\/revisions"}],"predecessor-version":[{"id":4373,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/posts\/4366\/revisions\/4373"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=\/wp\/v2\/media\/4368"}],"wp:attachment":[{"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4366"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.zoyinc.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}