<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Brian,</DIV>
<DIV> </DIV>
<DIV> Hmm, I was not aware of this. Seems Novel uses other volume manager, called EVMS, not CLVM (?).</DIV>
<DIV> </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> </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><bpkroth@gmail.com></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 <bpkroth@gmail.com><BR>Subject: Re: [Ocfs2-users] Combining OCFS2 with Linux software RAID-0?<BR>To: "Luis Freitas" <lfreitas34@yahoo.com><BR>Cc: "Patrick J. LoPresti" <lopresti@gmail.com>, ocfs2-users@oss.oracle.com<BR>Date: Friday, December 11, 2009, 2:09 PM<BR><BR>
<DIV class=plainMail>Luis Freitas <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lfreitas34@yahoo.com" ymailto="mailto:lfreitas34@yahoo.com">lfreitas34@yahoo.com</A>> 2009-12-11 05:40:<BR>> Patrick,<BR>> <BR>> Depending on what you are using, you could use the volume manager<BR>> to do the striping, but you need to use CLVM. So if you can, go for<BR>> Heartbeat2+CLVM+OCFS2, all integrated.<BR>> <BR>> Not sure but I think Heartbeat2+OCFS2 is only available on the<BR>> vanilla kernels, not on the enterprise ones. Maybe Suse has<BR>> support, I don't know, you will have to check.<BR>> <BR>> Best Regards,<BR>> Luis Freitas<BR><BR>Just to elaborate on these comments. Last time I checked CLVM required<BR>the openais/cman cluster stack, which neither heartbeat nor ocfs2 use<BR>(by default). 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. 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>> --- On Wed, 12/9/09, Patrick J. LoPresti <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com" ymailto="mailto:lopresti@gmail.com">lopresti@gmail.com</A>> wrote:<BR>> <BR>> From: Patrick J. LoPresti <<A href="http://us.mc514.mail.yahoo.com/mc/compose?to=lopresti@gmail.com" ymailto="mailto:lopresti@gmail.com">lopresti@gmail.com</A>><BR>> Subject: [Ocfs2-users] Combining OCFS2 with Linux software RAID-0?<BR>> 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>> Date: Wednesday, December 9, 2009, 9:03 PM<BR>> <BR>> Is it possible to run an OCFS2 file system on top of Linux software RAID?<BR>> <BR>> Here is my situation. I have four identical disk chassis that perform<BR>> hardware RAID internally. Each chassis has a pair of fiber channel<BR>> ports, and I can assign the same LUN to both ports. I want to connect<BR>> all of these chassis to two Linux systems. I want the two Linux<BR>> systems to share a file system that is striped across all four chassis<BR>> for performance.<BR>> <BR>> I know I can use software RAID (mdadm) to do RAID-0 striping across<BR>> the four chassis on a single machine; I have
tried this, it works<BR>> fine, and the performance is tremendous. I also know I can use OCFS2<BR>> to create a single filesystem on a single chassis that is shared<BR>> between my two Linux systems. What I want is to combine these two<BR>> things.<BR>> <BR>> Suse's documentation<BR>> ([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>> says:<BR>> <BR>> "IMPORTANT:Software RAID is not supported underneath clustered file<BR>> systems such as OCFS2, because RAID does not support concurrent<BR>> activation. If you want RAID for OCFS2,
you need the RAID to be<BR>> handled by the storage subsystem."<BR>> <BR>> Because my disk chassis already perform hardware RAID-5, I only need<BR>> Linux to do the striping (RAID-0) in software. So for me, there is no<BR>> issue about "which node should rebuild the RAID" etc. I understand<BR>> that Linux md stores meta-data on the partitions and is not cluster<BR>> aware, but will this create problems for OCFS2 even if it is just RAID<BR>> 0?<BR>> <BR>> Has anybody tried something like this? Are there alternative RAID-0<BR>> solutions for Linux that would be expected to work?<BR>> <BR>> Thank you.<BR>> <BR>> - Pat<BR>>
<BR>> _______________________________________________<BR>> Ocfs2-users mailing list<BR>> [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>> [3]<A href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR>> <BR>> References<BR>> <BR>> Visible links<BR>> 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>> 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>> 3. <A href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target=_blank>http://oss.oracle.com/mailman/listinfo/ocfs2-users</A><BR><BR>> _______________________________________________<BR>> Ocfs2-users mailing list<BR>> <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>> <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>