Solved

failed

Posted on 2013-06-05
9
365 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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 500 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Coding C# in Linux 8 71
Character matching different date formats for dates between 6 48
ftp to port 21 4 43
how to configure linux OS using Ubuntu 7 45
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

823 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