My Oracle Support Banner

Setting up A Disk for oracleasm "oracleasm createdisk" Fails without Explicit Reason (Doc ID 820215.1)

Last updated on AUGUST 04, 2018

Applies to:

Linux OS - Version Oracle Linux 4.4 to Oracle Linux 6.4 with Unbreakable Enterprise Kernel [2.6.39] [Release OL4U4 to OL6U4]
Generic Linux
***Checked for relevance on 12-Apr-2013***


Creating a disk with oracleasm fails without proper explanation:

# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
Creating Oracle ASM disk "VOL1" [FAILED]

Running createdisk with strace e.g.:

# strace -f /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1

shows that the device /dev/sdc1 is busy:

19543 open("/dev/sdc1", O_RDWR|O_EXCL) = -1 EBUSY (Device or resource busy)
19543 write(2, "Unable to open device \"/dev/sdc1"..., 59 <unfinished ...>
19527 write(1, "FAILED", 6) = 6


To view full details, 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 a vibrant support community of peers and Oracle experts.