<?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: Linux LVM silliness</title>
	<atom:link href="http://prefetch.net/blog/index.php/2006/05/03/linux-lvm-silliness/feed/" rel="self" type="application/rss+xml" />
	<link>http://prefetch.net/blog/index.php/2006/05/03/linux-lvm-silliness/</link>
	<description>Blog O' Matty</description>
	<lastBuildDate>Fri, 04 May 2012 19:58:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: danny</title>
		<link>http://prefetch.net/blog/index.php/2006/05/03/linux-lvm-silliness/comment-page-1/#comment-650913</link>
		<dc:creator>danny</dc:creator>
		<pubDate>Sun, 16 Nov 2008 17:50:21 +0000</pubDate>
		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=420#comment-650913</guid>
		<description>It&#039;s probably a bit late to be mentioning this, since it was months ago when this post was made, but anyway...

There&#039;s a --mirrorlog argument which can either be disk or core.The default is disk, which uses a small LV on a third physical device to hold the log file which tracks the synchronization between the mirrors.  If you specify core (&quot;--corelog&quot; is a deprecated synonym for &quot;--mirrorlog core&quot;), the log is stored in memory.  The &quot;drawback&quot; is that there&#039;s no persistant log, then, so every time you reboot, the mirrored drive is rebuilt from the master.

Also, be aware that doing things like mounting by label or uuid are less than fun with the mirrors, since there end up being two devices with the same id (the filesystems are mirrored, after all) and you get odd results.  Not that you&#039;d mount by uuid if you&#039;re using lvm anyway, but it seemed worth mentioning...</description>
		<content:encoded><![CDATA[<p>It&#8217;s probably a bit late to be mentioning this, since it was months ago when this post was made, but anyway&#8230;</p>
<p>There&#8217;s a &#8211;mirrorlog argument which can either be disk or core.The default is disk, which uses a small LV on a third physical device to hold the log file which tracks the synchronization between the mirrors.  If you specify core (&#8220;&#8211;corelog&#8221; is a deprecated synonym for &#8220;&#8211;mirrorlog core&#8221;), the log is stored in memory.  The &#8220;drawback&#8221; is that there&#8217;s no persistant log, then, so every time you reboot, the mirrored drive is rebuilt from the master.</p>
<p>Also, be aware that doing things like mounting by label or uuid are less than fun with the mirrors, since there end up being two devices with the same id (the filesystems are mirrored, after all) and you get odd results.  Not that you&#8217;d mount by uuid if you&#8217;re using lvm anyway, but it seemed worth mentioning&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: xxmarv</title>
		<link>http://prefetch.net/blog/index.php/2006/05/03/linux-lvm-silliness/comment-page-1/#comment-70150</link>
		<dc:creator>xxmarv</dc:creator>
		<pubDate>Tue, 31 Jul 2007 10:27:46 +0000</pubDate>
		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=420#comment-70150</guid>
		<description>Hi,

1st + 2nd for the mirror

lvcreate -L 1024 -m 1 --corelog vgdata</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>1st + 2nd for the mirror</p>
<p>lvcreate -L 1024 -m 1 &#8211;corelog vgdata</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WRJ</title>
		<link>http://prefetch.net/blog/index.php/2006/05/03/linux-lvm-silliness/comment-page-1/#comment-13963</link>
		<dc:creator>WRJ</dc:creator>
		<pubDate>Fri, 05 May 2006 18:15:22 +0000</pubDate>
		<guid isPermaLink="false">http://daemons.net/~matty/blog/?p=420#comment-13963</guid>
		<description>Chunk the two drives into 3 mirrors. 
1st &amp; 2nd for the mirror
3rd is for the log</description>
		<content:encoded><![CDATA[<p>Chunk the two drives into 3 mirrors.<br />
1st &amp; 2nd for the mirror<br />
3rd is for the log</p>
]]></content:encoded>
	</item>
</channel>
</rss>

