<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Brian,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp; Hmm, I was not aware of this. Seems Novel uses&nbsp;other volume manager, called EVMS, not CLVM&nbsp;(?).</DIV>
<DIV>&nbsp;</DIV>
<DIV>From:</DIV>
<DIV><A href="http://wiki.novell.com/index.php/Linux_Data_Management">http://wiki.novell.com/index.php/Linux_Data_Management</A></DIV>
<DIV>&nbsp;</DIV>
<H4>Some Open Source OCFS2 Features </H4>
<DIV><A class="external text" title=http://www.novell.com/products/server/oracle/matrix.html href="http://www.novell.com/products/server/oracle/matrix.html" rel=nofollow cmImpressionSent="1">Oracle Linux Certification matrix</A> </DIV>
<DIV><A class="external text" title=http://oss.oracle.com/projects/ocfs2/ href="http://oss.oracle.com/projects/ocfs2/" rel=nofollow cmImpressionSent="1">OCFS2 project web site</A> </DIV>
<DIV><A class="external text" title=http://oss.oracle.com/osswiki/OCFS2/Roadmap href="http://oss.oracle.com/osswiki/OCFS2/Roadmap" rel=nofollow cmImpressionSent="1">OCFS2 Development Roadmap</A> </DIV>
<DIV>Oracle Cluster File System v2 (OCFS2) is an open source cluster management and </DIV>
<DIV>....</DIV>
<UL>
<LI>No exclusive write lock capability yet (now every lock request returns: successful). This feature is candidate for SLE10 SP2 (Q1 2008). 
<LI>OCFS2 on top of a software mirror is not supported yet 
<LI><STRONG>Can be managed by EVMS </STRONG></LI></UL>
<DIV><STRONG>....</STRONG></DIV>
<UL>
<LI>OCFS2 offers integration with heartbeat2. Heartbeat2 offers a Resource Agent 'md group take over'. (which enables fail-over of host based mirroring of SAN volumes), but OCFS2 on top of a software mirror is not supported. </LI></UL>
<DIV>...</DIV>
<DIV><BR>Best Regards,</DIV>
<DIV>Luis Freitas</DIV>
<DIV><BR>--- On <B>Fri, 12/11/09, Brian Kroth <I>&lt;bpkroth@gmail.com&gt;</I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid"><BR>From: Brian Kroth &lt;bpkroth@gmail.com&gt;<BR>Subject: Re: [Ocfs2-users] Combining OCFS2 with Linux software RAID-0?<BR>To: "Luis Freitas" &lt;lfreitas34@yahoo.com&gt;<BR>Cc: "Patrick J. LoPresti" &lt;lopresti@gmail.com&gt;, ocfs2-users@oss.oracle.com<BR>Date: Friday, December 11, 2009, 2:09 PM<BR><BR>
<DIV class=plainMail>Luis Freitas &lt;<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lfreitas34@yahoo.com" ymailto="mailto:lfreitas34@yahoo.com">lfreitas34@yahoo.com</A>&gt; 2009-12-11 05:40:<BR>&gt; Patrick,<BR>&gt; <BR>&gt;&nbsp; &nbsp; Depending on what you are using, you could use the volume manager<BR>&gt;&nbsp; &nbsp; to do the striping, but you need to use CLVM. So if you can, go for<BR>&gt;&nbsp; &nbsp; Heartbeat2+CLVM+OCFS2, all integrated.<BR>&gt; <BR>&gt;&nbsp; &nbsp; Not sure but I think Heartbeat2+OCFS2 is only available on the<BR>&gt;&nbsp; &nbsp; vanilla kernels, not on the enterprise ones. Maybe Suse has<BR>&gt;&nbsp; &nbsp; support, I don't know, you will have to check.<BR>&gt; <BR>&gt; Best Regards,<BR>&gt; Luis Freitas<BR><BR>Just to elaborate on these comments.&nbsp; Last time I checked CLVM required<BR>the openais/cman cluster stack, which neither heartbeat nor ocfs2 use<BR>(by default).&nbsp; The userspace stack option for
 ocfs2 in recent mainline<BR>kernels added support for the openais stack and pacemaker is required to<BR>make heartbeat work with that rather than use it's own cluster stack.<BR><BR>Now, you can do an basic LVM linear span, concatenation, or whatever you<BR>want to call it without any cluster stack, so long as it's not striped<BR>and so long as you heed Sunil's warning about fat fingering changes to<BR>the thing while more than one host is using it.<BR><BR>That means that if you want to add another LUN to the span you can't do<BR>it on the fly.&nbsp; You have to do something like this:<BR><BR># On all nodes:<BR>umount /ocfs2<BR><BR># On all nodes but one:<BR>vgchange -an ocfs2span<BR># Or, to be extra safe:<BR>halt -p<BR><BR># On the remaining node:<BR>vgextend ocfs2span /dev/newlun<BR>lvextend -l+100%FREE /dev/mapper/ocfs2span-lv<BR>tunefs.ocfs2 -S /dev/mapper/ocfs2span-lv<BR><BR># You might actually need the fs mounted for that last bit, I forget.<BR>#
 Probably a fsck somewhere in there would be wise as well.<BR><BR># Bring the other nodes back up.<BR><BR>Brian<BR><BR>&gt; --- On Wed, 12/9/09, Patrick J. LoPresti &lt;<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com" ymailto="mailto:lopresti@gmail.com">lopresti@gmail.com</A>&gt; wrote:<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;From: Patrick J. LoPresti &lt;<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com" ymailto="mailto:lopresti@gmail.com">lopresti@gmail.com</A>&gt;<BR>&gt;&nbsp;&nbsp;&nbsp;Subject: [Ocfs2-users] Combining OCFS2 with Linux software RAID-0?<BR>&gt;&nbsp;&nbsp;&nbsp;To: <A href="http://us.mc514.mail.yahoo.com/mc/compose?to=ocfs2-users@oss.oracle.com" ymailto="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</A>, <A href="http://us.mc514.mail.yahoo.com/mc/compose?to=linux-raid@vger.kernel.org"
 ymailto="mailto:linux-raid@vger.kernel.org">linux-raid@vger.kernel.org</A><BR>&gt;&nbsp;&nbsp;&nbsp;Date: Wednesday, December 9, 2009, 9:03 PM<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;Is it possible to run an OCFS2 file system on top of Linux software RAID?<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;Here is my situation.&nbsp; I have four identical disk chassis that perform<BR>&gt;&nbsp;&nbsp;&nbsp;hardware RAID internally.&nbsp; Each chassis has a pair of fiber channel<BR>&gt;&nbsp;&nbsp;&nbsp;ports, and I can assign the same LUN to both ports.&nbsp; I want to connect<BR>&gt;&nbsp;&nbsp;&nbsp;all of these chassis to two Linux systems.&nbsp; I want the two Linux<BR>&gt;&nbsp;&nbsp;&nbsp;systems to share a file system that is striped across all four chassis<BR>&gt;&nbsp;&nbsp;&nbsp;for performance.<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;I know I can use software RAID (mdadm) to do RAID-0 striping across<BR>&gt;&nbsp;&nbsp;&nbsp;the four chassis on a single machine; I have
 tried this, it works<BR>&gt;&nbsp;&nbsp;&nbsp;fine, and the performance is tremendous.&nbsp; I also know I can use OCFS2<BR>&gt;&nbsp;&nbsp;&nbsp;to create a single filesystem on a single chassis that is shared<BR>&gt;&nbsp;&nbsp;&nbsp;between my two Linux systems.&nbsp; What I want is to combine these two<BR>&gt;&nbsp;&nbsp;&nbsp;things.<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;Suse's documentation<BR>&gt;&nbsp;&nbsp;&nbsp;([1]<A href="http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html" target=_blank>http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html</A>)<BR>&gt;&nbsp;&nbsp;&nbsp;says:<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;"IMPORTANT:Software RAID is not supported underneath clustered file<BR>&gt;&nbsp;&nbsp;&nbsp;systems such as OCFS2, because RAID does not support concurrent<BR>&gt;&nbsp;&nbsp;&nbsp;activation. If you want RAID for OCFS2,
 you need the RAID to be<BR>&gt;&nbsp;&nbsp;&nbsp;handled by the storage subsystem."<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;Because my disk chassis already perform hardware RAID-5, I only need<BR>&gt;&nbsp;&nbsp;&nbsp;Linux to do the striping (RAID-0) in software.&nbsp; So for me, there is no<BR>&gt;&nbsp;&nbsp;&nbsp;issue about "which node should rebuild the RAID" etc.&nbsp; I understand<BR>&gt;&nbsp;&nbsp;&nbsp;that Linux md stores meta-data on the partitions and is not cluster<BR>&gt;&nbsp;&nbsp;&nbsp;aware, but will this create problems for OCFS2 even if it is just RAID<BR>&gt;&nbsp;&nbsp;&nbsp;0?<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;Has anybody tried something like this?&nbsp; Are there alternative RAID-0<BR>&gt;&nbsp;&nbsp;&nbsp;solutions for Linux that would be expected to work?<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;Thank you.<BR>&gt; <BR>&gt;&nbsp;&nbsp;&nbsp;- Pat<BR>&gt;
 <BR>&gt;&nbsp;&nbsp;&nbsp;_______________________________________________<BR>&gt;&nbsp;&nbsp;&nbsp;Ocfs2-users mailing list<BR>&gt;&nbsp;&nbsp;&nbsp;[2]<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" ymailto="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</A><BR>&gt;&nbsp;&nbsp;&nbsp;[3]<A href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR>&gt; <BR>&gt; References<BR>&gt; <BR>&gt;&nbsp; &nbsp; Visible links<BR>&gt;&nbsp; &nbsp; 1. <A href="http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html" target=_blank>http://www.novell.com/documentation/sles11/stor_admin/?page=/documentation/sles11/stor_admin/data/raidyast.html</A><BR>&gt;&nbsp; &nbsp; 2. file:///mc/compose?to=<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com"
 ymailto="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</A><BR>&gt;&nbsp; &nbsp; 3. <A href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR><BR>&gt; _______________________________________________<BR>&gt; Ocfs2-users mailing list<BR>&gt; <A href="http://us.mc514.mail.yahoo.com/mc/compose?to=Ocfs2-users@oss.oracle.com" ymailto="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</A><BR>&gt; <A href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>