ITPub博客

首页 > 数据库 > Oracle > ORA-15018: diskgroup cannot be created

ORA-15018: diskgroup cannot be created

原创 Oracle 作者:parknkjun 时间:2016-02-19 00:25:10 0 删除 编辑
1、近日在redhat 5.8上安装Oracle 11.2.0.4 RAC时,在第二点节执行root.sh时遇到如下报错:
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 3 regular failure groups, discovered only 0
ORA-15080: synchronous I/O operation to a disk failed
2、于是查看disk权限是否正确,结果没有任何问题
[root@jzh02 disks]# ll
total 0
brw-rw---- 1 grid asmadmin 8,  64 Feb 18 03:40 ARCH1
brw-rw---- 1 grid asmadmin 8,  16 Feb 18 03:40 DATA1
brw-rw---- 1 grid asmadmin 8,  32 Feb 18 03:40 DATA2
brw-rw---- 1 grid asmadmin 8,  48 Feb 18 03:40 DATA3
brw-rw---- 1 grid asmadmin 8,  80 Feb 18 03:40 OCRVOTE1
brw-rw---- 1 grid asmadmin 8,  96 Feb 18 03:40 OCRVOTE2
brw-rw---- 1 grid asmadmin 8, 112 Feb 18 03:40 OCRVOTE3
brw-rw---- 1 grid asmadmin 8, 128 Feb 18 03:40 OCRVOTE4
brw-rw---- 1 grid asmadmin 8, 144 Feb 18 03:40 OCRVOTE5
3、最终通过修改/etc/sysconfig/oracleasm执行成功,加上dm与sd
[root@noprlbds02 disks]# vi /etc/sysconfig/oracleasm
#
# This is a configuration file for automatic loading of the Oracle
# Automatic Storage Management library kernel driver.  It is generated
# By running /etc/init.d/oracleasm configure.  Please use that method
# to modify this file
#
# ORACLEASM_ENABLED: 'true' means to load the driver on boot.
ORACLEASM_ENABLED=true
# ORACLEASM_UID: Default user owning the /dev/oracleasm mount point.
ORACLEASM_UID=grid
# ORACLEASM_GID: Default group owning the /dev/oracleasm mount point.
ORACLEASM_GID=asmadmin
# ORACLEASM_SCANBOOT: 'true' means scan for ASM disks on boot.
ORACLEASM_SCANBOOT=true
# ORACLEASM_SCANORDER: Matching patterns to order disk scanning
ORACLEASM_SCANORDER="dm"
# ORACLEASM_SCANEXCLUDE: Matching patterns to exclude disks from scan
ORACLEASM_SCANEXCLUDE="sd"
# ORACLEASM_USE_LOGICAL_BLOCK_SIZE: 'true' means use the logical block size
# reported by the underlying disk instead of the physical. The default
# is 'false'
ORACLEASM_USE_LOGICAL_BLOCK_SIZE=false
4、重启oracleasm
[root@jzh02 install]# /etc/init.d/oracleasm restart
Dropping Oracle ASMLib disks: [  OK  ]
Shutting down the Oracle ASMLib driver: [  OK  ]
Initializing the Oracle ASMLib driver: [  OK  ]
Scanning the system for Oracle ASMLib disks: [  OK  ]
[root@jzh02 install]# /u01/app/11.2.0/grid/product/11.2.0/db_1/root.sh
Performing root user operation for Oracle 11g 
The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/app/11.2.0/grid/product/11.2.0/db_1
Enter the full pathname of the local bin directory: [/usr/local/bin]: 
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0/grid/product/11.2.0/db_1/crs/install/crsconfig_params
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to inittab
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node jzh01, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Preparing packages for installation...
cvuqdisk-1.0.9-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded





来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10271187/viewspace-1990925/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
DBA攻城狮

注册时间:2008-02-11

  • 博文量
    115
  • 访问量
    539248