On Mon, Jul 07, 2008 at 05:45:30PM +0530, Vinayak Malap wrote:> Hi, > How can I configure LVM in linux(RHEL4 u5 x86_64) to use with OCFS2 file > system ? > Is there any special configuration steps we need to follow ? > Is there any document to guide on this ?This belongs on the ocfs2-users at oss.oracle.com mailing list. The short answer is that LVM is not cluster-safe, so you would have to create an LVM configuration that makes no changes online. What do I mean? A RAID-5 setup modifies data outside the block being written, and so is not cluster safe. A setup that swaps in a hot-spare device is not safe. About the only thing that could work is a concatenation of disks, and you cannot change it while ocfs2 is mounted. You can try the clutsered LVM (CLVM), but that uses a different cluster technology than ocfs2 does, and as such the two cluster stacks may conflict when a node goes down. There are plans to make ocfs2 better work with CLVM in the future. Joel -- Life's Little Instruction Book #407 "Every once in a while, take the scenic route." Joel Becker Principal Software Developer Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127
An HTML attachment was scrubbed... URL: http://oss.oracle.com/pipermail/ocfs2-users/attachments/20080708/4c128bf3/attachment.html
On Tue, Jul 08, 2008 at 07:54:38AM +0530, Vinayak Malap wrote:> <P> We are using systems with <FONT face="Courier New">linux version(RHEL4 u5 x86_64). We have 18 * 20GB LUNs from storage accesssible to both nodes. Our requirement is 250GB(5*50GB),150GB etc. for data .Can we create logical volumes (linear/concatenate type )in RHEL4 LVM2 to use with ocfs2 for Oracle RAC and Data files. </FONT></P>It is possible if done carefully, but it is not cluster safe and not recommeneded for a production environment. Joel -- "If the human brain were so simple we could understand it, we would be so simple that we could not." - W. A. Clouston Joel Becker Principal Software Developer Oracle E-mail: joel.becker at oracle.com Phone: (650) 506-8127
Thomas.Zimolong at bmi.bund.de
2008-Jul-09 08:06 UTC
[Ocfs2-users] Query regarding OCFS2 and RHEL4 LVM
hi vinayak,> We are using systems with linux version(RHEL4 u5 > x86_64). We have 18 * 20GB LUNs from storage accesssible to > both nodes. Our requirement is 250GB(5*50GB),150GB etc. for > data .Can we create logical volumes (linear/concatenate type > )in RHEL4 LVM2 to use with ocfs2 for Oracle RAC and Data files.just a suggestion: wouldn't it be better to build some kind of meta-LUN (whatever your shared storage can do...). ok, that wouldn't be as flexible as concatenating pvs with LVM, but you wouldn't end with a non-produktion layout. just a suggestion.... greetz, zimo