<?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: Moving your Linux root partition to software RAID</title>
	<atom:link href="http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/</link>
	<description>Back off, man. I'm a scientist.</description>
	<lastBuildDate>Wed, 03 Mar 2010 22:54:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: tyler</title>
		<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/comment-page-1/#comment-104</link>
		<dc:creator>tyler</dc:creator>
		<pubDate>Thu, 29 Oct 2009 22:42:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=13#comment-104</guid>
		<description>Hi Mudgen,

What&#039;s the exact command with mkinitrd?  Any switches?  It would be good to have it here.</description>
		<content:encoded><![CDATA[<p>Hi Mudgen,</p>
<p>What&#8217;s the exact command with mkinitrd?  Any switches?  It would be good to have it here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mudgen</title>
		<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/comment-page-1/#comment-102</link>
		<dc:creator>Mudgen</dc:creator>
		<pubDate>Thu, 29 Oct 2009 17:36:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=13#comment-102</guid>
		<description>What a great post!  I&#039;m actually familiar with all the pieces, but it&#039;s terrific to have them put together in a road map.
Surprised the original Centos poster did not call out that the update-initramfs equivalent on Redhat/Centos/Fedora would be mkinitrd.</description>
		<content:encoded><![CDATA[<p>What a great post!  I&#8217;m actually familiar with all the pieces, but it&#8217;s terrific to have them put together in a road map.<br />
Surprised the original Centos poster did not call out that the update-initramfs equivalent on Redhat/Centos/Fedora would be mkinitrd.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Help setting up LinuxRAID-1 in opensuse 11.1 - Page 2 - openSUSE Forums</title>
		<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/comment-page-1/#comment-71</link>
		<dc:creator>Help setting up LinuxRAID-1 in opensuse 11.1 - Page 2 - openSUSE Forums</dc:creator>
		<pubDate>Sun, 05 Jul 2009 15:50:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=13#comment-71</guid>
		<description>[...] if this go well.  I have find this next 2 pages: Fundaci</description>
		<content:encoded><![CDATA[<p>[...] if this go well.  I have find this next 2 pages: Fundaci</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tyler</title>
		<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/comment-page-1/#comment-15</link>
		<dc:creator>tyler</dc:creator>
		<pubDate>Mon, 02 Feb 2009 14:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=13#comment-15</guid>
		<description>Thanks to several of you for pointing out the need to create filesystems on the new RAID partitions.  I&#039;ve edited the article to reflect that in step 2.</description>
		<content:encoded><![CDATA[<p>Thanks to several of you for pointing out the need to create filesystems on the new RAID partitions.  I&#8217;ve edited the article to reflect that in step 2.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wil</title>
		<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/comment-page-1/#comment-14</link>
		<dc:creator>wil</dc:creator>
		<pubDate>Mon, 02 Feb 2009 09:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=13#comment-14</guid>
		<description>Hi,

Thanks for this document. I agree with Wes that it is best to format your disk right after step 2 if it already has data on it. I neglected to do that and on reboot it gave me this error:

The filesystem size (according to the superblock) is nnn blocks
The physical size of the device is yyy blocks
Either the superblock or the partition table is likely to be corrupt!
Abort?  

Of course this makes perfect sense as now both the original partition and the raid disk had their own superblocks on there. Formatting the md(x) partitions and rerunning the rsync solved that.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Thanks for this document. I agree with Wes that it is best to format your disk right after step 2 if it already has data on it. I neglected to do that and on reboot it gave me this error:</p>
<p>The filesystem size (according to the superblock) is nnn blocks<br />
The physical size of the device is yyy blocks<br />
Either the superblock or the partition table is likely to be corrupt!<br />
Abort?  </p>
<p>Of course this makes perfect sense as now both the original partition and the raid disk had their own superblocks on there. Formatting the md(x) partitions and rerunning the rsync solved that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tyler</title>
		<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/comment-page-1/#comment-13</link>
		<dc:creator>tyler</dc:creator>
		<pubDate>Sun, 11 Jan 2009 20:31:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=13#comment-13</guid>
		<description>Correction: the list of devices in the superblock can not match whenever the partitions are not actually in the array.  I had a machine showing this problem until recently, but I can&#039;t say how it came about.  I just re-added the affected partition to the array and it resolved itself.

Compare:

mdadm --detail /dev/md6
mdadm -E /dev/sda9
mdadm -E /dev/sdb9

If sdb9 still shows bad superblock data, I&#039;d suggest removing it from the array and re-adding it.</description>
		<content:encoded><![CDATA[<p>Correction: the list of devices in the superblock can not match whenever the partitions are not actually in the array.  I had a machine showing this problem until recently, but I can&#8217;t say how it came about.  I just re-added the affected partition to the array and it resolved itself.</p>
<p>Compare:</p>
<p>mdadm &#8211;detail /dev/md6<br />
mdadm -E /dev/sda9<br />
mdadm -E /dev/sdb9</p>
<p>If sdb9 still shows bad superblock data, I&#8217;d suggest removing it from the array and re-adding it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tyler</title>
		<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/comment-page-1/#comment-12</link>
		<dc:creator>tyler</dc:creator>
		<pubDate>Sun, 11 Jan 2009 20:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=13#comment-12</guid>
		<description>Yikes!  I&#039;ve never seen two parts of a RAID array show different results!  If you solve this, please post it here.</description>
		<content:encoded><![CDATA[<p>Yikes!  I&#8217;ve never seen two parts of a RAID array show different results!  If you solve this, please post it here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ioannis</title>
		<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/comment-page-1/#comment-11</link>
		<dc:creator>Ioannis</dc:creator>
		<pubDate>Sun, 11 Jan 2009 19:04:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=13#comment-11</guid>
		<description>Marvelous article. Compact and with rich information.
Unfortunately I have the most weird problem (in 8.04 server):
After creating the raid arrays, rebooting successfully growing the raid (1 for me) arrays to include the second (sdb1, sdb2 etc...) devices, the system cannot boot (md devices are stopped during boot). It might have something to do with the order the modules are loaded (the sda and sdb sit in different controllers with different drivers), but it might have something to do with a mix in md arrays and sd devices. For example I have sda9-sdb9 that belong to md6 but the mdadm reports for the sda member:
mdadm -E /dev/sda9
/dev/sda9:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 61b6692d:3900807a:5e76b0e2:85a6fbc1 (local to host TransNetStreamer)
  Creation Time : Sat Jan 10 17:13:51 2009
     Raid Level : raid1
  Used Dev Size : 9735232 (9.28 GiB 9.97 GB)
     Array Size : 9735232 (9.28 GiB 9.97 GB)
   Raid Devices : 2
  Total Devices : 1
Preferred Minor : 6

    Update Time : Sun Jan 11 20:15:26 2009
          State : clean
 Active Devices : 1
Working Devices : 1
 Failed Devices : 1
  Spare Devices : 0
       Checksum : bb676a86 - correct
         Events : 0.760


      Number   Major   Minor   RaidDevice State
this     0       8        9        0      active sync   /dev/sda9

   0     0       8        9        0      active sync   /dev/sda9
   1     1       0        0        1      faulty removed
while for the sdb member:
mdadm -E /dev/sdb9
/dev/sdb9:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : 61b6692d:3900807a:5e76b0e2:85a6fbc1 (local to host TransNetStreamer)
  Creation Time : Sat Jan 10 17:13:51 2009
     Raid Level : raid1
  Used Dev Size : 9735232 (9.28 GiB 9.97 GB)
     Array Size : 9735232 (9.28 GiB 9.97 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 6

    Update Time : Sun Jan 11 15:22:22 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : bb67209c - correct
         Events : 0.66


      Number   Major   Minor   RaidDevice State
this     1       8       25        1      active sync   /dev/sdb9

   0     0       8        9        0      active sync   /dev/sda9
   1     1       8       25        1      active sync   /dev/sdb9

different things. HOW IS THAT possible ?

Again thanks for your time</description>
		<content:encoded><![CDATA[<p>Marvelous article. Compact and with rich information.<br />
Unfortunately I have the most weird problem (in 8.04 server):<br />
After creating the raid arrays, rebooting successfully growing the raid (1 for me) arrays to include the second (sdb1, sdb2 etc&#8230;) devices, the system cannot boot (md devices are stopped during boot). It might have something to do with the order the modules are loaded (the sda and sdb sit in different controllers with different drivers), but it might have something to do with a mix in md arrays and sd devices. For example I have sda9-sdb9 that belong to md6 but the mdadm reports for the sda member:<br />
mdadm -E /dev/sda9<br />
/dev/sda9:<br />
          Magic : a92b4efc<br />
        Version : 00.90.00<br />
           UUID : 61b6692d:3900807a:5e76b0e2:85a6fbc1 (local to host TransNetStreamer)<br />
  Creation Time : Sat Jan 10 17:13:51 2009<br />
     Raid Level : raid1<br />
  Used Dev Size : 9735232 (9.28 GiB 9.97 GB)<br />
     Array Size : 9735232 (9.28 GiB 9.97 GB)<br />
   Raid Devices : 2<br />
  Total Devices : 1<br />
Preferred Minor : 6</p>
<p>    Update Time : Sun Jan 11 20:15:26 2009<br />
          State : clean<br />
 Active Devices : 1<br />
Working Devices : 1<br />
 Failed Devices : 1<br />
  Spare Devices : 0<br />
       Checksum : bb676a86 &#8211; correct<br />
         Events : 0.760</p>
<p>      Number   Major   Minor   RaidDevice State<br />
this     0       8        9        0      active sync   /dev/sda9</p>
<p>   0     0       8        9        0      active sync   /dev/sda9<br />
   1     1       0        0        1      faulty removed<br />
while for the sdb member:<br />
mdadm -E /dev/sdb9<br />
/dev/sdb9:<br />
          Magic : a92b4efc<br />
        Version : 00.90.00<br />
           UUID : 61b6692d:3900807a:5e76b0e2:85a6fbc1 (local to host TransNetStreamer)<br />
  Creation Time : Sat Jan 10 17:13:51 2009<br />
     Raid Level : raid1<br />
  Used Dev Size : 9735232 (9.28 GiB 9.97 GB)<br />
     Array Size : 9735232 (9.28 GiB 9.97 GB)<br />
   Raid Devices : 2<br />
  Total Devices : 2<br />
Preferred Minor : 6</p>
<p>    Update Time : Sun Jan 11 15:22:22 2009<br />
          State : clean<br />
 Active Devices : 2<br />
Working Devices : 2<br />
 Failed Devices : 0<br />
  Spare Devices : 0<br />
       Checksum : bb67209c &#8211; correct<br />
         Events : 0.66</p>
<p>      Number   Major   Minor   RaidDevice State<br />
this     1       8       25        1      active sync   /dev/sdb9</p>
<p>   0     0       8        9        0      active sync   /dev/sda9<br />
   1     1       8       25        1      active sync   /dev/sdb9</p>
<p>different things. HOW IS THAT possible ?</p>
<p>Again thanks for your time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maddog737</title>
		<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/comment-page-1/#comment-10</link>
		<dc:creator>maddog737</dc:creator>
		<pubDate>Sat, 10 Jan 2009 04:35:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=13#comment-10</guid>
		<description>Same setup (Ubuntu 8.04), but my problem for the past few days was 2-fold: 

1st at the end of step 4, grub-install didn&#039;t work (hung), so I manually ran grub and entered:
device (hd1) /dev/sdb
root (hd1,0)
setup (hd1)
quit

worked, but then on reboot at step 7 and selecting the second drive as the boot drive through the BIOS, the boot process would hang, dropping me to initramfs.  At this point, I could mount /dev/md0 by

mdadm -A /dev/md0 /dev/sdb1

for each RAID partition, then exit from initramfs.  Everything would boot then.  After too many attempts at resolving this, I found that the problem was resolved by allowing the boot sequence to drop to initramfs, and enter

mdadm -As --homehost=&#039;&#039; --auto=yes --auto-update-homehost

exit initramfs and allow the boot to complete.  Reboot once (or twice), and everything works.  From what I understand (noob here), when the RAID1 was created, the homehost= in mdadm.conf used by mdadm during the boot process didn&#039;t match what was in the properties written to the RAID partition when it was created resulting in arrays not being mounted automatically.  Several days of debugging were summarized in that simple line...

That, and to read about the problem with degraded RAID arrays here:
https://help.ubuntu.com/community/DegradedRAID</description>
		<content:encoded><![CDATA[<p>Same setup (Ubuntu 8.04), but my problem for the past few days was 2-fold: </p>
<p>1st at the end of step 4, grub-install didn&#8217;t work (hung), so I manually ran grub and entered:<br />
device (hd1) /dev/sdb<br />
root (hd1,0)<br />
setup (hd1)<br />
quit</p>
<p>worked, but then on reboot at step 7 and selecting the second drive as the boot drive through the BIOS, the boot process would hang, dropping me to initramfs.  At this point, I could mount /dev/md0 by</p>
<p>mdadm -A /dev/md0 /dev/sdb1</p>
<p>for each RAID partition, then exit from initramfs.  Everything would boot then.  After too many attempts at resolving this, I found that the problem was resolved by allowing the boot sequence to drop to initramfs, and enter</p>
<p>mdadm -As &#8211;homehost=&#8221; &#8211;auto=yes &#8211;auto-update-homehost</p>
<p>exit initramfs and allow the boot to complete.  Reboot once (or twice), and everything works.  From what I understand (noob here), when the RAID1 was created, the homehost= in mdadm.conf used by mdadm during the boot process didn&#8217;t match what was in the properties written to the RAID partition when it was created resulting in arrays not being mounted automatically.  Several days of debugging were summarized in that simple line&#8230;</p>
<p>That, and to read about the problem with degraded RAID arrays here:<br />
<a href="https://help.ubuntu.com/community/DegradedRAID" rel="nofollow">https://help.ubuntu.com/community/DegradedRAID</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tyler</title>
		<link>http://www.tolaris.com/2008/10/01/moving-your-linux-root-partition-to-raid/comment-page-1/#comment-9</link>
		<dc:creator>tyler</dc:creator>
		<pubDate>Wed, 12 Nov 2008 14:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.tolaris.com/blog/?p=13#comment-9</guid>
		<description>Fixed the sfdisk line, Wes.  Thanks.

Regarding the cp, that assumes that the directories used for mounting like /dev, /mnt, /var/lock, etc are tmpfs.  That is true for Ubuntu but not all distributions.  Just running the cp -ax like that may copy the contents of those directories.  Hence the cautious rsync approach.</description>
		<content:encoded><![CDATA[<p>Fixed the sfdisk line, Wes.  Thanks.</p>
<p>Regarding the cp, that assumes that the directories used for mounting like /dev, /mnt, /var/lock, etc are tmpfs.  That is true for Ubuntu but not all distributions.  Just running the cp -ax like that may copy the contents of those directories.  Hence the cautious rsync approach.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
