[Ocfs-users] OCFS2 and ASM Question
Leonardo Rodrigues de Mello
Leonardo.Mello at planejamento.gov.br
Fri Aug 4 09:59:26 PDT 2006
Hi,
I can't understand why you want to use OCFS2 and ASM together in the same partition.
For a Oracle rack instalation you MUST use OCFS2 or ASM for each partition. you can't use the two together.
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.
Best Regards
Leonardo Rodrigues de Mello
-----Original Message-----
From: ocfs-users-bounces at oss.oracle.com on behalf of Chris Taylor
Sent: sex 4/8/2006 10:35
To: ocfs-users at oss.oracle.com
Cc:
Subject: [Ocfs-users] OCFS2 and ASM Question
Ok guys & gals here is the scenario:
1.) Host RHEL 4 U3 2.6.9-34.0.2.EL
2.) OCFS2 latest version
3.) Successfully formatted & mounted OCFS2 filesystems on 2 nodes
/dev/sdb1 /u02/oradata/usdev/voting
/dev/sdc1 /u02/oradata/usdev/data01
/dev/sdd1 /u02/oradata/usdev/data02
/dev/sde1 /u02/oradata/usdev/data03
4.) Downloaded & installed ASMLib 2.0 on both nodes
5.) Ran /etc/init.d/oracleasm configure
6.) Ran /etc/init.d/oracleasm createdisk vol1 /dev/sdc1
Error: asmtool: unable to clear device /dev/sdc1
7.) Shutdown node 2
8.) Ran /etc/init.d/oracleasm createdisk vol1 /dev/sdc1
Error: asmtool: unable to clear device /dev/sdc1
9.) Unmounted OCFS2 filesystems
10.) Ran /etc/init.d/oracleasm createdisk vol1 /dev/sdc1
Success
11.) Ran /etc/init.d/oracleasm createdisk vol2 /dev/sdd1 & /dev/sde1
Success
12.) Remount OCFS2 filesystems: mount -a -t ocfs2
Error:
ocfs2_hb_ctl: Bad magic number in superblock while reading uuid
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation not
permitted"
ocfs2_hb_ctl: Bad magic number in superblock while reading uuid
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation not
permitted"
ocfs2_hb_ctl: Bad magic number in superblock while reading uuid
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation not
permitted"
13.) /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
SO...Are my OCFS2 partitions corrupted? Or can I not mount them once
they're configured for ASM?
Is this the correct behavior, or am I missing something?
Thanks!!
Chris Taylor
Sr. Oracle DBA
Unique Solutions
www.unisolinc.com
Office: 336-667-2447 xt. 2242
Cell: 336-262-5545
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss.oracle.com/pipermail/ocfs-users/attachments/20060804/6db29b7d/attachment.html
More information about the Ocfs-users
mailing list