Symptom above looks familiar? This is non Oracle ASMlib issue, but EMCPOWER PATH issue.
Applies to:
Linux x86 & Linux x86-64
Symptom:
Error shown above even though the disk is properly formatted and has the requisite partition.
Cause:
EMC Powerpath Versions 5.0.1 and 5.1 do not properly support the i/o calls that oracleasm makes.
Solution:
To implement the solution, please execute the following steps,
1. Do the “/etc/init.d/oracleasm createdisk” operation using the “asmtool” command directly:
/usr/sbin/asmtool -C -l /dev/oracleasm -n <ASM Disk Name> -s /dev/<emc device> -a force=yes
The tool will report:
asmtool: Device “/dev/<emc device>” is not a partition
asmtool: Continuing anyway
2. The permissions of the volume under /dev/oracleasm/disks/ will be “root: root”. Reboot the system to correct this.
3. Further use of the device can now be done normally using the powerpath device name.