[Ocfs-users] OCFS2 and ASM Question

Chris Taylor ChrisTaylor at unisolinc.com
Fri Aug 4 06:35:18 PDT 2006


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/dadb72c1/attachment.html


More information about the Ocfs-users mailing list