{"id":850,"date":"2014-02-11T20:12:51","date_gmt":"2014-02-11T19:12:51","guid":{"rendered":"http:\/\/labalec.fr\/erwan\/?p=850"},"modified":"2014-03-12T00:35:07","modified_gmt":"2014-03-11T23:35:07","slug":"synology-misadventures","status":"publish","type":"post","link":"https:\/\/labalec.fr\/erwan\/?p=850","title":{"rendered":"Synology (mis)adventures"},"content":{"rendered":"<p>In 2 weeks times, I lost a disk twice in my synology DS210.<\/p>\n<p>First time, the disk was truly giving signs of imminent death.<br \/>\nBecause I was using SHR (synology hybrid raid), I could not mount my disk under my ubuntu.<\/p>\n<p>So this is how I got my datas back (right before the disk died for good).<br \/>\nThe disk is mounted thru a USB dock bay onto my synology.<\/p>\n<p>-1: locate your disk and raid partition with <strong>fdisk -l<\/strong>,<br \/>\nyou should get something like this :<br \/>\n<em>\/dev\/sdx3             588       19457   151569760+ fd Linux raid autodetect<\/em><\/p>\n<p>-2: ensure this partition actually contains an MD device with <strong>mdadm &#8211;examine &#8211;scan \/dev\/sdx3<\/strong>,<br \/>\nyou should something like that :<br \/>\n<em>ARRAY \/dev\/md3 level=raid1 num-devices=2 UUID=db7c8f07:6f0f4570:852c2e22:a378fec9<\/em><\/p>\n<p>-3: locate your last active MD device with <strong>mdadm &#8211;detail &#8211;scan<\/strong>,<br \/>\nyou should get something like :<br \/>\n<em>ARRAY \/dev\/md1 metadata=0.90 UUID=f07f5754:cf6f8af4:663cbd89:1480ea74<br \/>\nARRAY \/dev\/md2 metadata=1.1 name=ds201j:2 UUID=17f442a7:d767633b:a4fc4e5b:88db9d4b<\/em><br \/>\n-> you want to use next free MD device which is MD3.<\/p>\n<p>-4: create a MD device pointing to your partition with <strong>mdadm -A &#8211;verbose &#8211;run \/dev\/md3 \/dev\/sdx3<\/strong><\/p>\n<p>-5 : now mount it with <strong>mount \/dev\/md3 \/mnt\/usb<\/strong><\/p>\n<p>You can now retrieve your files in \/mnt\/usb !!!<\/p>\n<p>Now, like I told you at the beginning at this article, I lost 2 disk in a row in a week time.<br \/>\nThe second time, the method above did not work \ud83d\ude41<br \/>\nThis time, <a href=\"http:\/\/www.ufsexplorer.com\/\" target=\"_blank\">UFS Explorer<\/a> saved my datas.<\/p>\n<p>Hope this can help others&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In 2 weeks times, I lost a disk twice in my synology DS210. First time, the disk was truly giving signs of imminent death. Because I was using SHR (synology hybrid raid), I could not mount my disk under my ubuntu. So this is how I got my datas back (right before the disk died <a href='https:\/\/labalec.fr\/erwan\/?p=850' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36],"tags":[],"class_list":["post-850","post","type-post","status-publish","format-standard","hentry","category-synology","category-36-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/850","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=850"}],"version-history":[{"count":10,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/850\/revisions"}],"predecessor-version":[{"id":944,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=\/wp\/v2\/posts\/850\/revisions\/944"}],"wp:attachment":[{"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=850"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=850"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labalec.fr\/erwan\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=850"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}