<?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: Stupid RAID tricks with EVMS and mdadm</title>
	<atom:link href="http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/</link>
	<description>distraction in action</description>
	<lastBuildDate>Sat, 13 Feb 2010 18:58:15 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Converting RAID1 to RAID5 with no data loss &#171; scott://</title>
		<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/comment-page-1/#comment-32653</link>
		<dc:creator>Converting RAID1 to RAID5 with no data loss &#171; scott://</dc:creator>
		<pubDate>Fri, 29 Jan 2010 20:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/#comment-32653</guid>
		<description>[...] Then I stumbled across this blog entry in which a guy creates some experimental loopback devices, creates a RAID1 array and then converts [...]</description>
		<content:encoded><![CDATA[<p>[...] Then I stumbled across this blog entry in which a guy creates some experimental loopback devices, creates a RAID1 array and then converts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buddy Butterfly</title>
		<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/comment-page-1/#comment-28147</link>
		<dc:creator>Buddy Butterfly</dc:creator>
		<pubDate>Sat, 25 Jul 2009 19:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/#comment-28147</guid>
		<description>Just wanted to test it but... The f.. LVM sits on top of it and I do not have a spare disk at hand. I am not able to stop the raid device because LVM holds it. What I need is the functionality of LVM OLR but that seems not to be possible with linux lvm. Is there any chance to remove a device from a volume group with keeping all data and LVs intact such that it can be readded? Maybe someone has an hint.

Chears, Buddy</description>
		<content:encoded><![CDATA[<p>Just wanted to test it but&#8230; The f.. LVM sits on top of it and I do not have a spare disk at hand. I am not able to stop the raid device because LVM holds it. What I need is the functionality of LVM OLR but that seems not to be possible with linux lvm. Is there any chance to remove a device from a volume group with keeping all data and LVs intact such that it can be readded? Maybe someone has an hint.</p>
<p>Chears, Buddy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: n8</title>
		<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/comment-page-1/#comment-28117</link>
		<dc:creator>n8</dc:creator>
		<pubDate>Fri, 24 Jul 2009 17:33:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/#comment-28117</guid>
		<description>I&#039;m really not an expert at this at all, so I&#039;m not going to guess.  :)</description>
		<content:encoded><![CDATA[<p>I&#8217;m really not an expert at this at all, so I&#8217;m not going to guess.  <img src='http://www.n8gray.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buddy Butterfly</title>
		<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/comment-page-1/#comment-28116</link>
		<dc:creator>Buddy Butterfly</dc:creator>
		<pubDate>Fri, 24 Jul 2009 17:02:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/#comment-28116</guid>
		<description>Tested it with the images and the loop devices. The reverse procedure also works! Same complaints from mdadm but no probs when confirming with yes. Before going on to the real system. Do you think there will be a noticeable performance gain in I/O when reverting back to raid1? On top of raid I have LVM. I could already gain a heavy performance increase via converting the the virtual machine images to &quot;raw&quot; format. This gives a real performance boost. There is a huge performance loss when using standard virtual image format on top of LVM.</description>
		<content:encoded><![CDATA[<p>Tested it with the images and the loop devices. The reverse procedure also works! Same complaints from mdadm but no probs when confirming with yes. Before going on to the real system. Do you think there will be a noticeable performance gain in I/O when reverting back to raid1? On top of raid I have LVM. I could already gain a heavy performance increase via converting the the virtual machine images to &#8220;raw&#8221; format. This gives a real performance boost. There is a huge performance loss when using standard virtual image format on top of LVM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: n8</title>
		<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/comment-page-1/#comment-28101</link>
		<dc:creator>n8</dc:creator>
		<pubDate>Thu, 23 Jul 2009 22:28:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/#comment-28101</guid>
		<description>It seems like you ought to be able to reverse the procedure, but I&#039;ve never tried it.  I&#039;d recommend trying it on disk images first like I did in the article.</description>
		<content:encoded><![CDATA[<p>It seems like you ought to be able to reverse the procedure, but I&#8217;ve never tried it.  I&#8217;d recommend trying it on disk images first like I did in the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Buddy Butterfly</title>
		<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/comment-page-1/#comment-28100</link>
		<dc:creator>Buddy Butterfly</dc:creator>
		<pubDate>Thu, 23 Jul 2009 21:37:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/#comment-28100</guid>
		<description>Great artikel.
I wonder if it would be possible to revert the procedure. I have 2 disks running in raid5 as you converted it to. It&#039;s used in a Xen System which has a quite slow i/o performance. Now I want to try to convert back to raid1. As I understood this should also be possible with a similar procedure? I hope to get some more i/o performance.

Chears, Buddy</description>
		<content:encoded><![CDATA[<p>Great artikel.<br />
I wonder if it would be possible to revert the procedure. I have 2 disks running in raid5 as you converted it to. It&#8217;s used in a Xen System which has a quite slow i/o performance. Now I want to try to convert back to raid1. As I understood this should also be possible with a similar procedure? I hope to get some more i/o performance.</p>
<p>Chears, Buddy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Lachapelle &#187; Blog Archive &#187; Converting Raid-1 to Raid-5</title>
		<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/comment-page-1/#comment-21968</link>
		<dc:creator>Dave Lachapelle &#187; Blog Archive &#187; Converting Raid-1 to Raid-5</dc:creator>
		<pubDate>Fri, 25 Jul 2008 14:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/#comment-21968</guid>
		<description>[...] Then I stumbled across this blog entry in which a guy creates some experimental loopback devices, creates a RAID1 array and then converts [...]</description>
		<content:encoded><![CDATA[<p>[...] Then I stumbled across this blog entry in which a guy creates some experimental loopback devices, creates a RAID1 array and then converts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chutz</title>
		<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/comment-page-1/#comment-21123</link>
		<dc:creator>chutz</dc:creator>
		<pubDate>Tue, 17 Jun 2008 02:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/#comment-21123</guid>
		<description>Dude, that&#039;s some nifty magic and it was certainly insightful. I had no idea that checksum(1 disk) = 1 disk.

Anyway, it is so much easier to just create the raid 5 on two disks instead of all this trickery. The added benefit is that you can grow it online (especially with SATA disks that can also be hotplugged).

http://tips.at.gg3.net/2006/12/20/raid5-on-two-disks-only/</description>
		<content:encoded><![CDATA[<p>Dude, that&#8217;s some nifty magic and it was certainly insightful. I had no idea that checksum(1 disk) = 1 disk.</p>
<p>Anyway, it is so much easier to just create the raid 5 on two disks instead of all this trickery. The added benefit is that you can grow it online (especially with SATA disks that can also be hotplugged).</p>
<p><a href="http://tips.at.gg3.net/2006/12/20/raid5-on-two-disks-only/" rel="nofollow">http://tips.at.gg3.net/2006/12/20/raid5-on-two-disks-only/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marki</title>
		<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/comment-page-1/#comment-18361</link>
		<dc:creator>Marki</dc:creator>
		<pubDate>Sun, 03 Feb 2008 20:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/#comment-18361</guid>
		<description>Nice... Just one small tip which was handy when I had to recustruct LVM with failed PV (which was not mirrored).
It allows you to create loopback devices bigger than your RAM. Suppose you need to simulate 160 GB HDD. You can create it in RAM even when booted from Live CD.
# dd if=/dev/zero of=/dev/shm/file1 bs=1M seek=10240 count=1

This command will create a 10 GB file, which will need only 1 MB of RAM. What this command does, is create a sparse file - nothing is allocated except last 1 MB of data, so only 1 MB of RAM is used. You can then vgcfgrestore PV headers on it - and used RAM will grow only by the amount of data you write to the file.</description>
		<content:encoded><![CDATA[<p>Nice&#8230; Just one small tip which was handy when I had to recustruct LVM with failed PV (which was not mirrored).<br />
It allows you to create loopback devices bigger than your RAM. Suppose you need to simulate 160 GB HDD. You can create it in RAM even when booted from Live CD.<br />
# dd if=/dev/zero of=/dev/shm/file1 bs=1M seek=10240 count=1</p>
<p>This command will create a 10 GB file, which will need only 1 MB of RAM. What this command does, is create a sparse file &#8211; nothing is allocated except last 1 MB of data, so only 1 MB of RAM is used. You can then vgcfgrestore PV headers on it &#8211; and used RAM will grow only by the amount of data you write to the file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Wallace</title>
		<link>http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/comment-page-1/#comment-4595</link>
		<dc:creator>Scott Wallace</dc:creator>
		<pubDate>Sun, 15 Apr 2007 08:15:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.n8gray.org/blog/2006/09/05/stupid-raid-tricks-with-evms-and-mdadm/#comment-4595</guid>
		<description>Well, I tried your RAID1 to RAID5 conversion this weekend on my home workstation and it worked a treat.

I&#039;ve blogged about the experience at, http://scott.wallace.sh/node/1521.

I just wanted to drop you a note thanking you for making my life that little bit easier. I didn&#039;t have to reinstall my entire workstation to double my disk space!

Thanks!</description>
		<content:encoded><![CDATA[<p>Well, I tried your RAID1 to RAID5 conversion this weekend on my home workstation and it worked a treat.</p>
<p>I&#8217;ve blogged about the experience at, <a href="http://scott.wallace.sh/node/1521" rel="nofollow">http://scott.wallace.sh/node/1521</a>.</p>
<p>I just wanted to drop you a note thanking you for making my life that little bit easier. I didn&#8217;t have to reinstall my entire workstation to double my disk space!</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
