<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" > <channel><title>Comments on: How-to Recover a RAID array after having Zero-ized Superblocks</title> <atom:link href="http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/feed/" rel="self" type="application/rss+xml" /><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/</link> <description>Free software engineer &#38; wannabe videomaker</description> <lastBuildDate>Sun, 29 Jan 2012 13:35:17 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>By: 16aR</title><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/comment-page-2/#comment-9752</link> <dc:creator>16aR</dc:creator> <pubDate>Thu, 05 Jan 2012 10:25:05 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/#comment-9752</guid> <description>Thanks for this post, I&#039;ve zeroed my superblock to shrink my RAID-1 array in 2 steps. 1 hard drive after the other. After a reboot in rescue mode, I couldn&#039;t assemble the array. But creating with --create made it perfect :) Now it is synchronizing :)</description> <content:encoded><![CDATA[<p>Thanks for this post, I&#8217;ve zeroed my superblock to shrink my RAID-1 array in 2 steps. 1 hard drive after the other.<br /> After a reboot in rescue mode, I couldn&#8217;t assemble the array. But creating with &#8211;create made it perfect <img src='http://kevin.deldycke.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> Now it is synchronizing <img src='http://kevin.deldycke.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> </item> <item><title>By: Recover mdadm raid1 data after recreate new array over old</title><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/comment-page-2/#comment-9566</link> <dc:creator>Recover mdadm raid1 data after recreate new array over old</dc:creator> <pubDate>Tue, 13 Dec 2011 16:12:20 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/#comment-9566</guid> <description>[...] and other info about old md1 array. How can I recover data from old md1 array now?    This post: http://kevin.deldycke.com/2007/03/ho...d-superblocks/  claims that if you recreate your original RAID correctly, that the content will not be destroyed. [...]</description> <content:encoded><![CDATA[<p>[...] and other info about old md1 array. How can I recover data from old md1 array now?    This post: <a href="http://kevin.deldycke.com/2007/03/ho...d-superblocks/" rel="nofollow">http://kevin.deldycke.com/2007/03/ho&#8230;d-superblocks/</a> claims that if you recreate your original RAID correctly, that the content will not be destroyed. [...]</p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/comment-page-2/#comment-9507</link> <dc:creator>Mike</dc:creator> <pubDate>Mon, 05 Dec 2011 18:32:44 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/#comment-9507</guid> <description>Thanks for posting your notes. I found my Fedora 16 x86_64 system unresponsive this morning and had to hard boot it.During bootup dracut reported that &lt;code&gt;/dev/md1&lt;/code&gt; couldn&#039;t be found.Boot into rescue and the auto discovery process for Linux partitions couldn&#039;t locate the RAID 5 with it&#039;s Logical Volumes, either.[code lang=&quot;shell&quot;] mdadm --create /dev/md1 --verbose --level=5 --raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1 [/code]This found that each of the devices were &quot;part of a raid array&quot; I answered &lt;code&gt;yes&lt;/code&gt; to the &lt;code&gt;Continue creating array&lt;/code&gt; after which &lt;code&gt;cat /proc/mdstat&lt;/code&gt; showed my raid5 array in recovery.Whoop.This has happened before on this system, usually over a weekend where the desktop environment sits idle for a couple of days. I suspect some kind of power saving is kicking in on the Fedora 16 desktop. Perhaps it&#039;s trying to sleep the hard disks and somethings getting mucked.I also noticed I had &lt;code&gt;CStates&lt;/code&gt; enabled in the bios, disabling that for future testing.Thanks again for posting your notes.</description> <content:encoded><![CDATA[<p>Thanks for posting your notes. I found my Fedora 16 x86_64 system unresponsive this morning and had to hard boot it.</p><p>During bootup dracut reported that <code>/dev/md1</code> couldn&#8217;t be found.</p><p>Boot into rescue and the auto discovery process for Linux partitions couldn&#8217;t locate the RAID 5 with it&#8217;s Logical Volumes, either.</p><pre class="brush: bash; title: ; notranslate">
mdadm --create /dev/md1 --verbose --level=5 --raid-devices=3 /dev/sda1 /dev/sdb1 /dev/sdc1
</pre><p>This found that each of the devices were &#8220;part of a raid array&#8221; I answered <code>yes</code> to the <code>Continue creating array</code> after which <code>cat /proc/mdstat</code> showed my raid5 array in recovery.</p><p>Whoop.</p><p>This has happened before on this system, usually over a weekend where the desktop environment sits idle for a couple of days. I suspect some kind of power saving is kicking in on the Fedora 16 desktop. Perhaps it&#8217;s trying to sleep the hard disks and somethings getting mucked.</p><p>I also noticed I had <code>CStates</code> enabled in the bios, disabling that for future testing.</p><p>Thanks again for posting your notes.</p> ]]></content:encoded> </item> <item><title>By: Arden</title><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/comment-page-2/#comment-8928</link> <dc:creator>Arden</dc:creator> <pubDate>Sat, 30 Jul 2011 00:09:15 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/#comment-8928</guid> <description>have zeroed superblocks, rebuilt 4 2tb raid 5 twice now, replacing different 2tb drives in different orders (twice) both times once superblocks have been zero&#039;d (which is interesting as original superblocks would be recognized briefly if each &#039;missing&#039; superblock 2tb drive was hot unplugged; then plugged - superblock would show perfect &#039;clean&#039; md info!) but they have been zero&#039;ed twice now; first time out of order of original layout (by mistake) and second time zero&#039;d and rebuilt in orderd as remembered.  No avail.No recognized fs before array rebuild, or after.  all drives have always been stated as &#039;clean&#039; even before superblocks have been zero&#039;d.Any ideas would be great. approx 5tb and 20years of data lost at moment. Thank you for great help so far!</description> <content:encoded><![CDATA[<p>have zeroed superblocks, rebuilt 4 2tb raid 5 twice now, replacing different 2tb drives in different orders (twice) both times once superblocks have been zero&#8217;d (which is interesting as original superblocks would be recognized briefly if each &#8216;missing&#8217; superblock 2tb drive was hot unplugged; then plugged &#8211; superblock would show perfect &#8216;clean&#8217; md info!) but they have been zero&#8217;ed twice now; first time out of order of original layout (by mistake) and second time zero&#8217;d and rebuilt in orderd as remembered.  No avail.</p><p>No recognized fs before array rebuild, or after.  all drives have always been stated as &#8216;clean&#8217; even before superblocks have been zero&#8217;d.</p><p>Any ideas would be great. approx 5tb and 20years of data lost at moment. Thank you for great help so far!</p> ]]></content:encoded> </item> <item><title>By: [ubuntu] RAID5 Re-Creating MD0 &#124; Coders &#38; Admins</title><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/comment-page-1/#comment-8918</link> <dc:creator>[ubuntu] RAID5 Re-Creating MD0 &#124; Coders &#38; Admins</dc:creator> <pubDate>Thu, 28 Jul 2011 23:52:13 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/#comment-8918</guid> <description>[...] I came across this site: http://kevin.deldycke.com/2007/03/ho&#8230;d-superblocks/ [...]</description> <content:encoded><![CDATA[<p>[...] I came across this site: <a href="http://kevin.deldycke.com/2007/03/ho&#8230;d-superblocks/" rel="nofollow">http://kevin.deldycke.com/2007/03/ho&#8230;d-superblocks/</a> [...]</p> ]]></content:encoded> </item> <item><title>By: AJ</title><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/comment-page-1/#comment-8781</link> <dc:creator>AJ</dc:creator> <pubDate>Fri, 01 Jul 2011 15:28:29 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/#comment-8781</guid> <description>Hi there,Thank you for posting this information.   We have had a distantly related problem that this post may have resolved.We&#039;ve been trying to recover a s/ware raid-5 array from a QNAP 409P NAS where the superblocks of sufficient member drives to render the array inactive were corrupted during a power fault.We had tried -everything- to get the raid to assemble in a separate system with no success before coming across this page.  Having decided that we were unlikely to recover the array, we thought we&#039;d try deliberately zeroing the superblocks for all the member drives and then seeing if re-creating as you describe above would get us back online.   The array is resyncing at the moment :D  Hopefully the filesystem in it will be intact.Many  thanks!- AJ</description> <content:encoded><![CDATA[<p>Hi there,</p><p>Thank you for posting this information.   We have had a distantly related problem that this post may have resolved.</p><p>We&#8217;ve been trying to recover a s/ware raid-5 array from a QNAP 409P NAS where the superblocks of sufficient member drives to render the array inactive were corrupted during a power fault.</p><p>We had tried -everything- to get the raid to assemble in a separate system with no success before coming across this page.  Having decided that we were unlikely to recover the array, we thought we&#8217;d try deliberately zeroing the superblocks for all the member drives and then seeing if re-creating as you describe above would get us back online.   The array is resyncing at the moment <img src='http://kevin.deldycke.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> Hopefully the filesystem in it will be intact.</p><p>Many  thanks!</p><p>- AJ</p> ]]></content:encoded> </item> <item><title>By: Anonymous</title><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/comment-page-1/#comment-8742</link> <dc:creator>Anonymous</dc:creator> <pubDate>Fri, 10 Jun 2011 13:59:27 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/#comment-8742</guid> <description>thanks for saving 4.5TB...</description> <content:encoded><![CDATA[<p>thanks for saving 4.5TB&#8230;</p> ]]></content:encoded> </item> <item><title>By: Mo Firouz</title><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/comment-page-1/#comment-8675</link> <dc:creator>Mo Firouz</dc:creator> <pubDate>Fri, 06 May 2011 00:32:13 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/#comment-8675</guid> <description>Hello. I have the same problem described by @error and @Gary Dale. However since I actually posted all the codes and etc in ubuntuforums, I was wondering if you were kind enough to have a look at this and tell me if there is anyway that I could mount a newly created md0 without needing to reformat it?Here is the link: http://ubuntuforums.org/showthread.php?p=10775382#post10775382Thank you so much, Mo</description> <content:encoded><![CDATA[<p>Hello. I have the same problem described by @error and @Gary Dale. However since I actually posted all the codes and etc in ubuntuforums, I was wondering if you were kind enough to have a look at this and tell me if there is anyway that I could mount a newly created md0 without needing to reformat it?</p><p>Here is the link:<br /> <a href="http://ubuntuforums.org/showthread.php?p=10775382#post10775382" rel="nofollow">http://ubuntuforums.org/showthread.php?p=10775382#post10775382</a></p><p>Thank you so much,<br /> Mo</p> ]]></content:encoded> </item> <item><title>By: mark</title><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/comment-page-1/#comment-8637</link> <dc:creator>mark</dc:creator> <pubDate>Sat, 23 Apr 2011 09:51:58 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/#comment-8637</guid> <description>this is my current super-block can some one help me with the order to create it in is from &lt;code&gt;/dev/sd[bcdefghi]1&lt;/code&gt; but if failed during an reshape from 6-8 drives&lt;code&gt;/dev/sdf&lt;/code&gt;: [code lang=&quot;text&quot;] Magic : a92b4efc Version : 0.91.00 UUID : 01986f9c:c5d44da8:5df300a1:eb89baa4 Creation Time : Thu Oct 22 18:25:01 2009 Raid Level : raid5 Used Dev Size : 976751872 (931.50 GiB 1000.19 GB) Array Size : 5860511232 (5589.02 GiB 6001.16 GB) Raid Devices : 7 Total Devices : 7 Preferred Minor : 0Reshape pos&#039;n : 1664256 (1625.52 MiB 1704.20 MB) Delta Devices : 1 (6-&gt;7)Update Time : Sat Jan 30 19:30:41 2010 State : active Active Devices : 7 Working Devices : 7 Failed Devices : 0 Spare Devices : 0 Checksum : 8accf9eb - correct Events : 219187Layout : left-symmetric Chunk Size : 128KNumber   Major   Minor   RaidDevice State this     6       8      128        6      active sync   /dev/sdi0     0       8       33        0      active sync   /dev/sdc1 1     1       8       49        1      active sync   /dev/sdd1 2     2       8       65        2      active sync   /dev/sde1 3     3       8       81        3      active sync 4     4       8       97        4      active sync   /dev/sdg1 5     5       8      113        5      active sync   /dev/sdh1 6     6       8      128        6      active sync   /dev/sdi [/code]</description> <content:encoded><![CDATA[<p>this is my current super-block can some one help me with the order to create it in is from <code>/dev/sd[bcdefghi]1</code> but if failed during an reshape from 6-8 drives</p><p><code>/dev/sdf</code>:</p><pre class="brush: plain; title: ; notranslate">
          Magic : a92b4efc
        Version : 0.91.00
           UUID : 01986f9c:c5d44da8:5df300a1:eb89baa4
  Creation Time : Thu Oct 22 18:25:01 2009
     Raid Level : raid5
  Used Dev Size : 976751872 (931.50 GiB 1000.19 GB)
     Array Size : 5860511232 (5589.02 GiB 6001.16 GB)
   Raid Devices : 7
  Total Devices : 7
Preferred Minor : 0

  Reshape pos'n : 1664256 (1625.52 MiB 1704.20 MB)
  Delta Devices : 1 (6-&amp;gt;7)

    Update Time : Sat Jan 30 19:30:41 2010
          State : active
 Active Devices : 7
Working Devices : 7
 Failed Devices : 0
  Spare Devices : 0
       Checksum : 8accf9eb - correct
         Events : 219187

         Layout : left-symmetric
     Chunk Size : 128K

      Number   Major   Minor   RaidDevice State
this     6       8      128        6      active sync   /dev/sdi

   0     0       8       33        0      active sync   /dev/sdc1
   1     1       8       49        1      active sync   /dev/sdd1
   2     2       8       65        2      active sync   /dev/sde1
   3     3       8       81        3      active sync
   4     4       8       97        4      active sync   /dev/sdg1
   5     5       8      113        5      active sync   /dev/sdh1
   6     6       8      128        6      active sync   /dev/sdi
</pre>]]></content:encoded> </item> <item><title>By: mdadm software Raid</title><link>http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/comment-page-1/#comment-7500</link> <dc:creator>mdadm software Raid</dc:creator> <pubDate>Sun, 14 Nov 2010 03:22:16 +0000</pubDate> <guid isPermaLink="false">http://kevin.deldycke.com/2007/03/how-to-recover-a-raid-array-after-having-zero-ized-superblocks/#comment-7500</guid> <description>[...] superblock, etc. I find a website that seems to have the same problem as mine. I think it was http://kevin.deldycke.com/2007/03/ho...d-superblocks/ . I rebuild my raid.   Now for some reason I was expect to see my raid alive with my data. [...]</description> <content:encoded><![CDATA[<p>[...] superblock, etc. I find a website that seems to have the same problem as mine. I think it was <a href="http://kevin.deldycke.com/2007/03/ho...d-superblocks/" rel="nofollow">http://kevin.deldycke.com/2007/03/ho&#8230;d-superblocks/</a> . I rebuild my raid.   Now for some reason I was expect to see my raid alive with my data. [...]</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching 2/16 queries in 0.008 seconds using apc
Object Caching 604/605 objects using apc

Served from: kevin.deldycke.com @ 2012-02-09 00:07:24 -->
