<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=Windows-1252">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6603.0">
<TITLE>RE: [Ocfs-users] OCFS2 and ASM Question</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Hi,<BR>
I can't understand why you want to use OCFS2 and ASM together in the same partition.<BR>
<BR>
For a Oracle rack instalation you MUST use OCFS2 or ASM for each partition. you can't use the two together.<BR>
<BR>
You you add your ocfs2 partition to asm you will corrupt that partition, possibly loosing all your data. and you will need to format again the partition.<BR>
<BR>
<BR>
Best Regards<BR>
Leonardo Rodrigues de Mello<BR>
<BR>
<BR>
-----Original Message-----<BR>
From:&nbsp;&nbsp; ocfs-users-bounces@oss.oracle.com on behalf of Chris Taylor<BR>
Sent:&nbsp;&nbsp; sex 4/8/2006 10:35<BR>
To:&nbsp;&nbsp;&nbsp;&nbsp; ocfs-users@oss.oracle.com<BR>
Cc:&nbsp;&nbsp;&nbsp;&nbsp;<BR>
Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [Ocfs-users] OCFS2 and ASM Question<BR>
<BR>
Ok guys &amp; gals here is the scenario:<BR>
<BR>
1.) Host RHEL 4 U3 2.6.9-34.0.2.EL<BR>
2.) OCFS2 latest version<BR>
3.) Successfully formatted &amp; mounted OCFS2 filesystems on 2 nodes<BR>
/dev/sdb1 /u02/oradata/usdev/voting<BR>
/dev/sdc1 /u02/oradata/usdev/data01<BR>
/dev/sdd1 /u02/oradata/usdev/data02<BR>
/dev/sde1 /u02/oradata/usdev/data03<BR>
<BR>
4.) Downloaded &amp; installed ASMLib 2.0 on both nodes<BR>
5.) Ran /etc/init.d/oracleasm configure<BR>
6.) Ran /etc/init.d/oracleasm createdisk vol1 /dev/sdc1<BR>
Error: asmtool: unable to clear device /dev/sdc1<BR>
<BR>
7.) Shutdown node 2<BR>
8.) Ran /etc/init.d/oracleasm createdisk vol1 /dev/sdc1<BR>
Error: asmtool: unable to clear device /dev/sdc1<BR>
<BR>
9.) Unmounted OCFS2 filesystems<BR>
10.) Ran /etc/init.d/oracleasm createdisk vol1 /dev/sdc1<BR>
Success<BR>
11.) Ran /etc/init.d/oracleasm createdisk vol2 /dev/sdd1 &amp; /dev/sde1<BR>
Success<BR>
12.) Remount OCFS2 filesystems: mount -a -t ocfs2<BR>
Error:<BR>
ocfs2_hb_ctl: Bad magic number in superblock while reading uuid<BR>
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: &quot;Operation not<BR>
permitted&quot;<BR>
ocfs2_hb_ctl: Bad magic number in superblock while reading uuid<BR>
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: &quot;Operation not<BR>
permitted&quot;<BR>
ocfs2_hb_ctl: Bad magic number in superblock while reading uuid<BR>
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: &quot;Operation not<BR>
permitted&quot;<BR>
<BR>
13.) /etc/init.d/oracleasm listdisks<BR>
VOL1<BR>
VOL2<BR>
VOL3<BR>
<BR>
SO...Are my OCFS2 partitions corrupted?&nbsp; Or can I not mount them once<BR>
they're configured for ASM?<BR>
Is this the correct behavior, or am I missing something?<BR>
<BR>
Thanks!!<BR>
<BR>
<BR>
Chris Taylor<BR>
Sr. Oracle DBA<BR>
Unique Solutions<BR>
www.unisolinc.com<BR>
Office: 336-667-2447 xt. 2242<BR>
Cell: 336-262-5545<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>