Initializing the Oracle ASMLib driver fails. Complains about /etc/mtab (Doc ID 1132893.1)

Last updated on JANUARY 29, 2017

Applies to:

Linux OS - Version 2.0.5-1 to 2.0.5-1 [Release OL5]
Linux x86
Linux x86-64
***Checked for relevance on 21-Nov-2012***

Symptoms

The oracleasm rpms match the kernel running:

host:~ # uname -a
Linux host 2.6.16.60-0.54.5-smp #1 SMP Fri Sep 4 01:28:03 UTC 2009 x86_64
x86_64 x86_64 GNU/Linux
host:~ #
host:~ # rpm -qa | grep oracleasm
oracleasmlib-2.0.4-1.SLE10
oracleasm-2.6.16.60-0.54.5-smp-2.0.5-1.SLE10
oracleasm-support-2.1.3-1.SLE10
host:~ #


But when we try to configure the oracleasm it fails:

host:/tmp/asm # /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: failed
host:/tmp/asm #


Looking at the /var/log/oracleasm log we see the following:

host:/tmp/asm # tail -f /var/log/oracleasm
Unable to mount ASMlib driver filesystem
Mounting ASMlib driver filesystem: can't lock lock file /etc/mtab~: timed out
failed
Unable to mount ASMlib driver filesystem



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