?
Solved

failed

Posted on 2013-06-05
9
Medium Priority
?
385 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
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 

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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

Shell script to create broker configuration file using current broker Configuration, solely for purpose of backup on Linux. Script may need to be modified depending on OS-installation. Please deploy and verify the script in a test environment.
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to recover a database from a user managed backup
Suggested Courses
Course of the Month5 days, 13 hours left to enroll

588 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