/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.
Excelente Gracias!
ReplyDelete