[Ocfs-users] OCFS2 and ASM Question

Sunil Mushran Sunil.Mushran at oracle.com
Fri Aug 4 10:20:01 PDT 2006


ASM is, in-effect, a userspace filesystem.

So what you did is similar to if you had run mkfs.ext3 followed
by mkfs.xfs on a device and then expected the device to still be
in ext3 format.

Chris Taylor wrote:
>
> 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
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ocfs-users mailing list
> Ocfs-users at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs-users
>   



More information about the Ocfs-users mailing list