• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

CentOS / RHEL 7 : Oracleasm Create Disk Failed “Instantiating disk: failed”

by admin

Error:

Oracleasm create disk failure on RHEL 7 with following error.

# oracleasm createdisk DATA1 /dev/sde1

Writing disk header: done
Instantiating disk: failed
Clearing disk header: done

Solution

When disk is created with verbose option (-v) you would see :

# oracleasm createdisk -v DATA1 /dev/sde1
Disk "DATA1" does not exist or is not instantiated
Writing disk header: done
Instantiating disk: oracleasm-instantiate-disk: Unable to open manager: No such file or directory
failed
Clearing disk header: done

This is because the selinux is enables. So to be able to create new disk into oracleasm we will have to disable the selinux first. To do so :
Temporarily disable SElinux

# setenforce 0

Permanently disable SElinux
To disable SElinux permanently edit the SELINUX line in the /etc/sysconfig/selinux file to disabled.

# vi /etc/sysconfig/selinux <

Reboot the server and run 'oracleasm createdisk' again

# shutdonw -r now

For more details on disabling SElinux refer post :

How to enable/disable SELinux Modes in RHEL/CentOS

Filed Under: ASM, oracle

Some more articles you might also be interested in …

  1. How to Change Timezone Settings on Exadata
  2. How to limit access to oracle database so that only 1 user per schema is connected ( 1 Concurrent user per schema)
  3. Oracle DGMGRL (Data Guard Manager) Command Line Reference (Cheat Sheet)
  4. How to reclaim entire space of an oracle database table with “Truncate Table” statement
  5. Script to Automatically Start GoldenGate
  6. Oracle Database – How to Rename a Datafile with Special Characters Created by Mistake
  7. Oracle Database 12c New Feature: SYSRAC administrative privilege
  8. Recommendation for the Oracle Real Application Cluster Interconnect and Jumbo Frames
  9. How to Startup/Shutdown PDB’s in Oracle Database 12c
  10. Understanding Dynamic Oracle Net Server Tracing

You May Also Like

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright