Tuesday, 27 August 2013

When “oracleasm createdisk” command fails.

 Let me first post the details on the system I am working on,
Oracle Enterprise Linux 64bit on an Oracle Virtual Box.

I was trying to setup a standalone DB server on ASM disk.

These are the steps I followed,
1)      Download and install “kmod-oracleasm” using “# yum install kmod-oracleasm”
2)      Next download and install “# yum install oracleasm-support”

To make sure all the libs for ASM are available    
        

Then I tried creating disk I got this error





I made sure all the libs for ASM are up to date and matches all the requirement. There are no previous ASM installation on the same disk. Still I got this error.

Now let tell you the solution,

This is the security issue that’s stopping you from creating ASM disks. What you need to do is disable SELinux and reboot the machine and try again.

Steps:













Once the machine is rebooted check weather SELinux disabled are not? # /usr/sbin/getenforce

Now try crating ASM disk





Listdisks









Hope this document would have helped you.

Thanks
Sushanth Shanthimoole

No comments:

Post a Comment