My Oracle Support Banner

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

Last updated on AUGUST 04, 2018

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***


The oracleasm rpms match the kernel running:

host:~ # uname -a
Linux host #1 SMP Fri Sep 4 01:28:03 UTC 2009 x86_64
x86_64 x86_64 GNU/Linux
host:~ #
host:~ # rpm -qa | grep oracleasm
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
Unable to mount ASMlib driver filesystem


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

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