Creating ASM disks failed

I ran this command and got the message that the disk does not exist or is not instantiated

/etc/init.d/oracleasm createdisk DISK1 /dev/sdb1
Marking disk "DISK1" as an ASM disk: [FAILED]

I checked for ASM create errors in /var/log/oracleasm and saw this ASM disk error message:

 Disk "DISK1" does not exist or is not instantiated
 Writing disk header: done
 Instantiating disk: oracleasm-instantiate-disk:
 Unable to create ASM disk "DISK1": Permission denied

Solution :
The ASM error – disk does not exist or is not instantiated can be caused by many issues but this is very frequent :
SELINUX isn’t disabled.

vi /etc/sysconfig/selinux SELINUX=disabled

Then reboot your system and run getenforce to confirm that SELINUX is disabled:

root> /usr/sbin/getenforce Disable

that’s all.

One thought on “Creating ASM disks failed

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s