ORA-15186: ASMLIB error = [5], mesg = [No such device] after storage maintenance (Doc ID 1681056.1)

Last updated on OCTOBER 31, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.0 and later
Information in this document applies to any platform.

Symptoms

RAC/standalone configuration with NORMAL redundancy diskgroups.
ASM disks configured with ASMLIB.

 

1) Following storage operations  ASM disks cannot be onlined/added back due to ORA-15186 / ORA-15282: ASM disk  is not visible cluster-wide.

SQL> alter diskgroup ELETMP add failgroup ELETMP_FFG disk  'ORCL:SE9990V00A1P1' rebalance power 11

ORA-15186: ASMLIB error function = [asm_open(global)],  error = [5],  mesg = [No such device]
ORA-15025: could not open disk "ORCL:SE9990V00A1P1"

 

2) v$asm_disk shows disks with status CLOSED/UNKNOWN

  GROUP DISK MOUNT_S    HEADER_STATUS    LIBRARY                                          LABEL                PATH
==================================================================================
0        1    CLOSED    UNKNOWN            ASM Library - version 2.0.4 (KABI_V2)    SE9990V00A1P1    ORCL:SE9990V00A1P1
0        0    CLOSED    UNKNOWN            ASM Library - version 2.0.4 (KABI_V2)    SE9990V0093P1    ORCL:SE9990F0093P1

 

3) alert_+ASM.log shows:

ORA-15186: ASMLIB error function = [asm_open(global)],  error = [5],  mesg = [No such device]
ORA-15025: could not open disk "ORCL:SE9990V00A1P1"

and on the other nodes

NOTE: disk validation pending for group 1/0xf13a9d5b (ELETMP)
ORA-15186: ASMLIB error function = [asm_open(global)],  error = [5],  mesg = [No such device]

 

4) "oracleasm scandisks" has been run and correctly reinstantiated ASMLIB disks

.....
Disk "SE9990V0093P1" is a valid ASM disk on device [253,30]
Disk "SE9990V00A1P1" is a valid ASM disk on device [253,48]

 

5) KFED reports a correct disk header (MEMBER) on all nodes

kfbh.type:                            1 ; 0x002: KFBTYP_DISKHEAD
kfdhdb.driver.provstr:          ORCLDISKSE9990V00A1P1 ; 0x000: length=21
kfdhdb.dsknum:                   0 ; 0x024: 0x0000
kfdhdb.grptyp:                     2 ; 0x026: KFDGTP_NORMAL
kfdhdb.hdrsts:                     3 ; 0x027: KFDHDR_MEMBER>>>>>
kfdhdb.dskname:                 SE9990V00A1P1 ; 0x028: length=13
kfdhdb.grpname:                 ELEVENDG ; 0x048: length=8
kfdhdb.fgname:                   ELEVENDG_FFG ; 0x068: length=12

 

6) KFOD discovers all of them on all nodes (either as ORCL or /dev/oracleasm/disks)

Disk          Size                          Path                                     User     Group   
================================================================================
...
  13:      51199 Mb    ORCL:SE9990V0093P1                       <unknown> <unknown>
  14:      20473 Mb    ORCL:SE9990V00A1P1                       <unknown> <unknown>     
================================================================================

 

 7) multipathing configuration is fine on all nodes (either "multipath -ll" or "blkid" )



Changes

 Storage maintenance (like offlining all paths to disks) or any kind of storage operations (like replication) which implies a remaping of  /dev/mapper/* devices  and a change in (major,minor)

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