{"id":8659,"date":"2016-06-21T07:23:08","date_gmt":"2016-06-21T05:23:08","guid":{"rendered":"http:\/\/lukse.lt\/uzrasai\/?p=8659"},"modified":"2016-06-21T09:23:14","modified_gmt":"2016-06-21T07:23:14","slug":"raid6-reconstruction-attempt","status":"publish","type":"post","link":"https:\/\/lukse.lt\/uzrasai\/2016-06-raid6-reconstruction-attempt\/","title":{"rendered":"RAID6 reconstruction attempt"},"content":{"rendered":"<p><a onclick=\"javascript:pageTracker._trackPageview('\/downloads\/uzrasai\/wp-content\/uploads\/2016\/06\/raid6_help3.jpg');\"  href=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/raid6_help3.jpg\" rel=\"lightbox[8659]\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8692 alignleft\" src=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/raid6_help3.jpg\" alt=\"raid6_help3\" width=\"200\" height=\"128\" \/><\/a>This is attempt log to recover data from RAID6 NAS disk storage. <\/p>\n<div align=\"center\"><!--more--><\/div>\n<h3>Initial state<\/h3>\n<p style=\"text-align: justify;\">NAS: <a onclick=\"javascript:pageTracker._trackPageview('\/outgoing\/www.lacie.com\/gb\/en\/support\/network-storage\/5big-network-2\/');\"  href=\"http:\/\/www.lacie.com\/gb\/en\/support\/network-storage\/5big-network-2\/\">LACIE 5Big network 2<\/a> (5 disks, 3T each in RAID6 array) online of almost 1000 days. Data value\/importance high.<\/p>\n<p style=\"text-align: justify;\">Disk #5 started blinking red. Pff&#8230; I thought, not the first time. Just replace a disk and it will be fine. It is RAID6 and only one disk is failing. Anyway quick format and quick attempt to wipe data (stopped due to long estimated time) and plugged again into NAS. It started syncing as usual. After a while noticed speed drop copying files. Not quite sure what I did next, but ended rebooting NAS and it stuck in boot sequence. No online connection was present. Left it overnight thinking it has to sync or whatever. Next day, there were still no connection only main LED was flashing blue while all disk leds were solid blue. Stuck in boot sequence I thought. Rebooted again (this time had to pug power off). Booted pretty soon, but RAID array was gone. Also nas stated that disk #3 was &#8220;NEW&#8221; (I have replaced it some time ago, and seems like it was not initialized by itself? Though there were partitions present).<\/p>\n<h3>What&#8217;s next<\/h3>\n<p><strong>Let&#8217;s not fuck up things worse than it is!<\/strong> Also write numbers on all NAS slots and hard disks.<strong><br \/>\n<\/strong><\/p>\n<p style=\"text-align: justify;\">NAS was in use and pretty important data was stored on it, so naturally I was biased, it did not helped to think clearly. Next I faced many secondary problems like computer refusing to detect keyboard and mouse while booting (dah&#8230; switched USB legacy mode for USB3.0). Spent half an hour or more figuring this out. Left it heal by itself, tried to run system on old atom computer. Also failed due to other unknown reasons. Another wasted half an hour or more. Seems like everything is resisting to work. Got back to big computer and made it work (Legacy mode\/USB3.0 stuff). Ok, have 3 disks connected:<\/p>\n<ol>\n<li>W1F3AFDP<\/li>\n<li>W1F3AJ9H<\/li>\n<li>empty<\/li>\n<li>W1F59CLA<\/li>\n<li>empty<\/li>\n<\/ol>\n<div id=\"attachment_8675\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a onclick=\"javascript:pageTracker._trackPageview('\/downloads\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9815_r.jpg');\"  href=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9815_r.jpg\" rel=\"lightbox[8659]\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8675\" class=\"wp-image-8675 size-medium\" src=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9815_r-400x300.jpg\" alt=\"IMG_9815_r\" width=\"400\" height=\"300\" srcset=\"https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9815_r-400x300.jpg 400w, https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9815_r-768x576.jpg 768w, https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9815_r.jpg 1000w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-8675\" class=\"wp-caption-text\">Quick and dirty. 3 disks connected to big computer.<\/p><\/div>\n<p>Trivial task connecting disks to computer took longer than expected.<\/p>\n<h3>Inspecting<\/h3>\n<p>Next thing was to examine disks and reassemble RAID. So tried variety of software:<\/p>\n<ul>\n<li><strong>ReclaiMe RAID Recovery<\/strong> &#8211; Should collect information about RAID to be used later, unfortunately crashed after I left it overnight. More time wasted.<\/li>\n<li><strong>R-Studio<\/strong> &#8211; does not support XFS filesystem. Though is user friendly and nice to use. Some files without actual names and directory structure can be reconstructed.<\/li>\n<li><strong>UFS explorer recovery<\/strong> &#8211; Looks like it should work. Directory structure is visible and some data available. But not sure of RAID parameters to be used.<\/li>\n<li>NAS Data Recovery &#8211; RAID6 not supported<\/li>\n<li>Home NAS recovery &#8211; RAID6 not supported<\/li>\n<li>Raid Reconstructor &#8211; Not eve tried<\/li>\n<\/ul>\n<p><strong>Linux<\/strong><\/p>\n<p>Made xubuntu live CD and with unetbootin and started on big computer. Quick installation of some tools:<code><br \/>\napt-get install mdadm<br \/>\napt-get install gparted<br \/>\napt-get install smartmontools<br \/>\n<\/code><\/p>\n<p>Quick investigation with mdadm indicated on faulty disk #1 \/dev\/sdc.<br \/>\n<code><br \/>\n&gt; mdadm --examine \/dev\/sdc2<br \/>\nmdadm: No md superblock detected on \/dev\/sdc2.<br \/>\n<\/code><\/p>\n<p>Meanwhile disks #2 and #4 replied with:<br \/>\n<code><br \/>\n&gt; mdadm --examine \/dev\/sda2<br \/>\n\/dev\/sda2:<br \/>\nMagic : a92b4efc<br \/>\nVersion : 1.0<br \/>\nFeature Map : 0x0<br \/>\nArray UUID : 16f94400:3b3c023d:1385ea8c:87cf6e8c<br \/>\nName : NAS:4<br \/>\nCreation Time : Tue Oct\u00a0 8 10:38:48 2013<br \/>\nRaid Level : raid6<br \/>\nRaid Devices : 5<br \/>\nAvail Dev Size : 5856481280 (2792.59 GiB 2998.52 GB)<br \/>\nArray Size : 8784721920 (8377.76 GiB 8995.56 GB)<br \/>\nSuper Offset : 5856481536 sectors<br \/>\nUnused Space : before=0 sectors, after=256 sectors<br \/>\nState : clean<br \/>\nDevice UUID : 5c5ce57a:e44ca61a:ead63312:1d03a54d<br \/>\nUpdate Time : Thu Jun 16 21:42:04 2016<br \/>\nChecksum : f13ae31e - correct<br \/>\nEvents : 12767478<br \/>\nLayout : left-symmetric<br \/>\nChunk Size : 512K<br \/>\nDevice Role : Active device 3<br \/>\nArray State : .A.A. ('A' == active, '.' == missing, 'R' == replacing)<br \/>\n<\/code><\/p>\n<p style=\"text-align: justify;\">Stuck here too. There were an success stories when it was fixed by using older mdadm version (does not use superblock) and by creating raid on top of old one (counter-intuitive, but mdadm should be smart enough and fix problem). Have not tried any of these though. Have no where to backup all data. So experiments with mdadm ended.<\/p>\n<h3>Back to windows tools<\/h3>\n<p>Connected one more disk. The same NAS indicated as new. Hope it will increase chances of reconstruction.<\/p>\n<ol>\n<li>W1F3AFDP<\/li>\n<li>W1F3AJ9H<\/li>\n<li>WD-WMC4N2178658<\/li>\n<li>W1F59CLA<\/li>\n<li>empty<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">While R-Studio seemed better software, it does not support necessary XFS file system. So only raw files can be extracted. It estimated few days of computer time to collect files, but after being stopped most of the files were corrupt.<\/p>\n<p style=\"text-align: justify;\">UFS explorer recovery. Not so user friendly, but after adding one more disk (and probably setting right RAID parameters) it discovered valid XFS partition. Unfortunately larger files are also corrupt.<\/p>\n<h3 style=\"text-align: justify;\">S.M.A.R.T<\/h3>\n<p>Normally it should be done first thing, but better later than never, right?<\/p>\n<ol>\n<li>W1F3AFDP &#8211; 326 uncorrectable sector count, 2 reallocated<\/li>\n<li>W1F3AJ9H &#8211; OK<\/li>\n<li>WD-WMC4N2178658 &#8211; 1 pending sector count<\/li>\n<li>W1F59CLA &#8211; OK<\/li>\n<li>YXR83F1W &#8211; Failed to start<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">Disk #5 is the same I formatted earlier and NAS was indicating it was faulty. Let&#8217;s not torture it any more for now. Disk #1 is also very problematic and near it&#8217;s death.<\/p>\n<h3 style=\"text-align: justify;\">SeaTool<\/h3>\n<p style=\"text-align: justify;\">Windows version of SeaTool for better functionality kindly offered to run DOS version, so I did. Dough&#8230; was not working on x64 computer (mysterious error while boot) so switched &#8220;brains off&#8221; mode and tried on old atom computer which is x32. Worked just fine.<\/p>\n<div id=\"attachment_8682\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a onclick=\"javascript:pageTracker._trackPageview('\/downloads\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9814_r.jpg');\"  href=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9814_r.jpg\" rel=\"lightbox[8659]\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8682\" class=\"wp-image-8682 size-medium\" src=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9814_r-400x300.jpg\" alt=\"IMG_9814_r\" width=\"400\" height=\"300\" srcset=\"https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9814_r-400x300.jpg 400w, https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9814_r-768x576.jpg 768w, https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/IMG_9814_r.jpg 1000w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-8682\" class=\"wp-caption-text\">Seagate disk recovery on old atom computer<\/p><\/div>\n<div id=\"attachment_8680\" style=\"width: 410px\" class=\"wp-caption aligncenter\"><a onclick=\"javascript:pageTracker._trackPageview('\/downloads\/uzrasai\/wp-content\/uploads\/2016\/06\/2016-06-19-11.07.43_seatool.jpg');\"  href=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/2016-06-19-11.07.43_seatool.jpg\" rel=\"lightbox[8659]\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8680\" class=\"wp-image-8680 size-medium\" src=\"http:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/2016-06-19-11.07.43_seatool-400x300.jpg\" alt=\"2016-06-19 11.07.43_seatool\" width=\"400\" height=\"300\" srcset=\"https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/2016-06-19-11.07.43_seatool-400x300.jpg 400w, https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/2016-06-19-11.07.43_seatool-768x576.jpg 768w, https:\/\/lukse.lt\/uzrasai\/wp-content\/uploads\/2016\/06\/2016-06-19-11.07.43_seatool.jpg 1000w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><\/a><p id=\"caption-attachment-8680\" class=\"wp-caption-text\">Running DOS SeaTools version<\/p><\/div>\n<p style=\"text-align: justify;\">Fast mode detected some errors and suggested running slow more. Estimated time ~4hours for 3T disk. After completing failed miserably by crashing. Only some residual information was left on monitor stating that log&#8217;s are saved on disk, but there were no response from keyboard.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is attempt log to recover data from RAID6 NAS disk storage.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"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":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[],"class_list":["post-8659","post","type-post","status-publish","format-standard","hentry","category-uzrasai"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2rU5c-2fF","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/posts\/8659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/comments?post=8659"}],"version-history":[{"count":29,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/posts\/8659\/revisions"}],"predecessor-version":[{"id":8722,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/posts\/8659\/revisions\/8722"}],"wp:attachment":[{"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/media?parent=8659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/categories?post=8659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lukse.lt\/uzrasai\/wp-json\/wp\/v2\/tags?post=8659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}