DBCA / ASM / Kfod 10.2.0.1 Are Unable To Detect Candidate ASMLIB Disks On Linux Unbreakable Enterprise Kernel (UEK). (Doc ID 1381080.1)

Last updated on JUNE 28, 2017

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.1 - Release: 10.2 to 10.2
Linux x86
Linux x86-64

Symptoms

1) DBCA / ASM / Kfod 10.2.0.1 are unable to detect candidate ASMLIB disks on Linux Unbreakable Enterprise Kernel (UEK).

2) ASMLIB is correctly installed:


[root@cstdb02 ~]# /etc/init.d/oracleasm stop
Dropping Oracle ASMLib disks: [ OK ]
Shutting down the Oracle ASMLib driver: [ OK ]

[root@cstdb02 ~]# rpm -e oracleasm-support-2.1.7-1.el5
warning: /etc/sysconfig/oracleasm saved as /etc/sysconfig/oracleasm.rpmsave

[root@cstdb02 ~]# rpm -e oracleasmlib-2.0.4-1.el5

[root@cstdb02 ~]# up2date -i oracleasm-support oracleasmlib oracleasm-`uname -r`


Fetching Obsoletes list for channel: ol5_x86_64_latest...
########################################

Fetching Obsoletes list for channel: el5_x86_64_oracle...

Fetching rpm headers...
########################################

Name Version Rel
----------------------------------------------------------
oracleasm-support 2.1.7 1.el5 x86_64
oracleasmlib 2.0.4 1.el5 x86_64


Testing package set / solving RPM inter-dependencies...
########################################
oracleasm-support-2.1.7-1.e ########################## Done.
oracleasmlib-2.0.4-1.el5.x8 ########################## Done.
Preparing ########################################### [100%]

Installing...
1:oracleasmlib ########################################### [100%]
2:oracleasm-support ########################################### [100%]
[root@cstdb02 ~]#
[root@cstdb02 ~]#

[oracle@cstdb02 database]$ cat /etc/*release
Enterprise Linux Enterprise Linux Server release 5.7 (Carthage)
Oracle Linux Server release 5.7
Red Hat Enterprise Linux Server release 5.7 (Tikanga)

[oracle@cstdb02 database]$ uname -a
Linux cstdb02.cstdi.com 2.6.32-200.20.1.el5uek #1 SMP Fri Oct 7 02:29:42 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

[oracle@cstdb02 database]$ rpm -qa |grep oracleasm
oracleasm-support-2.1.7-1.el5
oracleasmlib-2.0.4-1.el5


Note: ASMLIB kernel package is not installed since the Oracle ASMLib kernel driver is now included in the Unbreakable Enterprise Kernel. No driver package needs to be installed when using this kernel. The oracleasm-support and oracleasmlib packages still need to be installed from ULN.


[root@cstdb02 ~]# /etc/init.d/oracleasm configure
Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface [oracle]:
Default group to own the driver interface [dba]:
Start Oracle ASM library driver on boot (y/n) [y]:
Scan for Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: done
Initializing the Oracle ASMLib driver: [ OK ]
Scanning the system for Oracle ASMLib disks: [ OK ]



[oracle@cstdb02 database]$ /usr/sbin/oracleasm-discover 'ORCL:*'
Using ASMLib from /opt/oracle/extapi/64/asm/orcl/1/libasm.so
[ASM Library - Generic Linux, version 2.0.4 (KABI_V2)]
Discovered disk: ORCL:DISK02 [286677088 blocks (146778669056 bytes), maxio 128]
Discovered disk: ORCL:DISK03 [286677088 blocks (146778669056 bytes), maxio 128]
Discovered disk: ORCL:DISK04 [286677088 blocks (146778669056 bytes), maxio 128]
Discovered disk: ORCL:DISK05 [286677088 blocks (146778669056 bytes), maxio 128]
Discovered disk: ORCL:DISK06 [286677088 blocks (146778669056 bytes), maxio 128]
Discovered disk: ORCL:DISK07 [286677088 blocks (146778669056 bytes), maxio 128]
Discovered disk: ORCL:DISK08 [286677088 blocks (146778669056 bytes), maxio 128]
Discovered disk: ORCL:DISK09 [286677088 blocks (146778669056 bytes), maxio 128]
Discovered disk: ORCL:DISK10 [286677088 blocks (146778669056 bytes), maxio 128]
Discovered disk: ORCL:DISK11 [286677088 blocks (146778669056 bytes), maxio 128]
Discovered disk: ORCL:DISK12 [286677088 blocks (146778669056 bytes), maxio 128]


3) But DBCA, ASM or kfod 10.2.0.1.0 release cannot detect the ASMLIB disks:


[oracle@cstdb02 database]$ ./kfod asm_diskstring='ORCL:*' disks=all
[oracle@cstdb02 database]$


Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms