?
Solved

failed

Posted on 2013-06-05
9
Medium Priority
?
378 Views
Last Modified: 2013-06-06
[root@rc1 Desktop]# /usr/sbin/oracleasm createdisk OCR_VOTE1 /dev/sdc1
Writing disk header: done
Instantiating disk: failed
Clearing disk header: done
[root@rc1 Desktop]#
0
Comment
Question by:walkerdba
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
9 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39224756
I assume that SELinux is blocking access to the disk header.

Disable it (change to "SELINUX=disabled" in /etc/selinux/config or /etc/sysconfig/selinux, reboot), then retry.

What do you get with

service oracleasm status

?
0
 

Author Comment

by:walkerdba
ID: 39225053
[root@rc1 Desktop]# service oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: no
[root@rc1 Desktop]#
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39225083
And

getenforce

?
0
Understanding Linux Permissions

Linux for beginners: How to view the permissions associated with files and directories and also how you can change them.

 

Author Comment

by:walkerdba
ID: 39226761
[root@rc1 Desktop]# service oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: no
[root@rc1 Desktop]# getenforce
Enforcing
[root@rc1 Desktop]#
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 39226786
So your issue could well come from SELinux.

See my suggestions in the first comment (disable SELinux).
0
 

Author Comment

by:walkerdba
ID: 39226849
I already edited

the file

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing - SELinux security policy is enforced.
#       permissive - SELinux prints warnings instead of enforcing.
#       disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#       targeted - Only targeted network daemons are protected.
#       strict - Full SELinux protection.
SELINUXTYPE=targeted
SELINUX=permissive
~                                                                              
~                                                                              
~                                                                              
~
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39226857
Did you reboot?
0
 

Author Comment

by:walkerdba
ID: 39226929
yes reboot everything is fine..


Thanks Thanks fine..
0
 

Author Closing Comment

by:walkerdba
ID: 39226991
fine
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had to make fundamental changes to a table in Oracle, but haven't been able to get any downtime?  I'm talking things like: * Dropping columns * Shrinking allocated space * Removing chained blocks and restoring the PCTFREE * Re-or…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question