[Oracleasm-users] Disks visible in oracleasm listdisks, but not v$asm_disk

Jani Patokallio jani.patokallio at firsthop.com
Thu Mar 8 01:31:44 PST 2007


Greetings,

> 	What does /usr/sbin/oracleasm-discover say when run as the
> oracle user?

A-ha!  Thanks Joel, this is what I needed to crack the mystery. 
oracleasm-discover said "Unable to open ASMLib", which led me to this:

  http://forums.oracle.com/forums/thread.jspa?messageID=1590506

Based on the thread above, I ran strace:

  strace -f -o asm_discover.out /usr/sbin/oracleasm-discover 'ORCL:*'

Which showed that it couldn't find libasm.so.  A healthy system reported
that it should be in /opt/oracle/extapi/64/asm/orcl/1/libasm.so, and
indeed, the whole /opt/oracle/extapi directory was missing -- I had
deleted it after a failed CRS install attempt.  I restored the directory,
after which oracleasm-discover started to show the disks, and then I
restarted the ASM instance, after which they showed up in v$asm_disk as
well, and now everything is peachy-keen.

Cheers,
-jani






More information about the Oracleasm-users mailing list