Unable To Create A New Disk Using "oracleasm createdisk" - FAILED - Device or resource busy (Doc ID 1303976.1)

Last updated on JULY 26, 2017

Applies to:

Linux OS - Version Enterprise Linux 4.0 and later
Generic Linux

Symptoms

Unable to create a new disk using /etc/init.d/oracleasm createdisk. It fails as follows:

# /etc/init.d/oracleasm createdisk PRODDATA1 /dev/mapper/PROD_ASM_VOL1p1
Marking disk "PRODDATA1" as an ASM disk: [FAILED]


but that works on "some" of the devices. Trying to delete some disks fail too:

# /etc/init.d/oracleasm deletedisk TESTDATA1
Removing ASM disk "TESTDATA1": [FAILED]


Also trying to write ASM disk label fails:

# oracleasm-write-label -d /dev/oracleasm/disks/TESTDATA1
oracleasm-write-label: Unable to open device "/dev/oracleasm/disks/TESTDATA1": Device or resource busy



Changes

New storage (LUNs) are introduced to the server and problems happen with those storage units.

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