My Oracle Support Banner

oracleasm scandisks - Unable to instantiate disk "vol_name" (Doc ID 750951.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Linux x86
Linux x86-64
***Checked for relevance on 01-Dec-2010***
***Checked for relevance on 25-Mar-2013***


Symptoms

System:

# uname -a ; rpm -qa |grep oracleasm
Linux el5pvHAguest 2.6.18-92.1.17.0.1.el5xen #1 SMP Tue Nov 4 16:01:14 EST 2008 i686 i686 i386 GNU/Linux

oracleasmlib-2.0.3-1.el5
oracleasm-2.6.18-92.1.17.0.1.el5xen-2.0.5-1.el5
oracleasm-support-2.1.0-5.el5
#    



Scandisk returns no message:

# /etc/init.d/oracleasm scandisks
Scanning the system for Oracle ASMLib disks: [ OK ]
#


Tailing the /var/log/oracleasm log:

# tail -f /var/log/oracleasm
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Disk "VOLDATA001" does not exist or is not instantiated
Instantiating disk "VOLDATA001"
Unable to instantiate disk "VOLDATA001"


Note with with oracleasm-support 2.1 you can also use the oraclasm binary, from /usr/share/doc/oracleasm-support-2.1.0/ReleaseNotes:

New in 2.1.0
------------
* There is a new '/usr/sbin/oracleasm' command that provides a much more
flexible interface to the oracleasm support software. oracleasm
operations are subcommands for the 'oracleasm' program. The
/etc/init.d/oracleasm script now uses the 'oracleasm' program as well.
All new features are accessed by using the new 'oracleasm' command.



Using the new oracleasm binary you see:

# /usr/sbin/oracleasm scandisks
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
Instantiating disk "VOLDATA001"
Unable to instantiate disk "VOLDATA001"
Instantiating disk "VOLDATA001"
Unable to instantiate disk "VOLDATA001"
Instantiating disk "VOLDATA001"
Unable to instantiate disk "VOLDATA001"
#
#
# /usr/sbin/oracleasm listdisks
#

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.