Solved

failed

Posted on 2013-06-05
9
375 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
PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

 

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

691 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