{"id":427,"date":"2018-04-25T17:12:20","date_gmt":"2018-04-25T16:12:20","guid":{"rendered":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=427"},"modified":"2018-04-26T01:16:58","modified_gmt":"2018-04-26T00:16:58","slug":"dusting-off-the-array-part-8","status":"publish","type":"post","link":"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=427","title":{"rendered":"Dusting off the Array! (Part 8)"},"content":{"rendered":"<h3>What now?<\/h3>\n<p>Well, forget Part 7 (fortunately). The SSD-Raid is working fine! It always assembled itself after several reboots. That&#8217;s good news, I guess!<\/p>\n<p>In the meanwhile I fucked up again. I ordered an external USB-casing without a disk recently. While trying to get it up and running, I accidentally disconnected the USB-thingy connected to my external drives from power. Since then the kernel complains about the 2.5&#8243; USB drive without power supply, but I got it up and running again.<\/p>\n<p>Right now I&#8217;m copying all data from that drive to a member of the failed HGST-Array. Hopefully it&#8217;s <strong>not<\/strong> the failed drive, but we&#8217;ll see&#8230;<\/p>\n<p>Creating a physical volume with pvcreate didn&#8217;t work out of the box. The command bailed out saying that it couldn&#8217;t open the device exclusively. At first I thought that it was because of the pre-existing PV-Signature, so I zeroed out the first GB, but that didn&#8217;t help, either.\u00a0 Check-MK came to help, telling me that md127 was in a degraded state.<\/p>\n<p>Of course! The drive contained a RAID-Superblock, so the kernel tried to start the the RAID, but couldn&#8217;t. Nevertheless, that kept the drive busy. Stopping it with<\/p>\n<pre># mdadm -S \/dev\/md127<\/pre>\n<p>should have helped, I guess&#8230;<\/p>\n<p>Anyway, wrote 1.1TB to the drive without errors. So, chances are that it isn&#8217;t the defective drive.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What now? Well, forget Part 7 (fortunately). The SSD-Raid is working fine! It always assembled itself after several reboots. That&#8217;s good news, I guess! In the meanwhile I fucked up again. I ordered an external USB-casing without a disk recently. While trying to get it up and running, I accidentally disconnected the USB-thingy connected to &hellip; <a href=\"https:\/\/tollana.d-tor.org\/notes-to-self\/?p=427\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Dusting off the Array! (Part 8)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[116,77],"tags":[58,128,11],"class_list":["post-427","post","type-post","status-publish","format-standard","hentry","category-dusting-off-the-array","category-linux","tag-mdadm","tag-pvcreate","tag-raid"],"_links":{"self":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=427"}],"version-history":[{"count":5,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/427\/revisions"}],"predecessor-version":[{"id":432,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=\/wp\/v2\/posts\/427\/revisions\/432"}],"wp:attachment":[{"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tollana.d-tor.org\/notes-to-self\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}