+ -
当前位置:首页 → 问答吧 → 执行root.sh时报错:未能创建磁盘CRS

执行root.sh时报错:未能创建磁盘CRS

时间:2010-05-24

来源:互联网

在三台RHEL5.4上装grid,节点2、3成功安装,但在节点1上执行root.sh时报错:未能创建磁盘CRS,返回:
ORA-15018:diskgroup cannot be created
ORA-15072:command requires at least 1 regular failure groups,discoveried only 0

下面是rootcrs_rac1.log日志:
2010-05-24 09:30:54: Configuring ASM via ASMCA
2010-05-24 09:30:54: Executing as grid: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName CRS -diskList ORCL:CRSVOL1 -redundancy EXTERNAL -configureLocalASM
2010-05-24 09:30:54: Running as user grid: /u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName CRS -diskList ORCL:CRSVOL1 -redundancy EXTERNAL -configureLocalASM
2010-05-24 09:30:54: Invoking "/u01/app/11.2.0/grid/bin/asmca -silent -diskGroupName CRS -diskList ORCL:CRSVOL1 -redundancy EXTERNAL -configureLocalASM" as user "grid"
2010-05-24 09:31:08: Configuration of ASM failed, see logs for details
2010-05-24 09:31:08: Did not succssfully configure and start ASM
2010-05-24 09:31:08: Exiting exclusive mode
2010-05-24 09:31:08: Command return code of 1 (256) from command: /u01/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
2010-05-24 09:31:08: Stop of resource "ora.crsd -init" failed
2010-05-24 09:31:08: Failed to stop CRSD
2010-05-24 09:31:36: Initial cluster configuration failed.

作者: smallqq   发布时间: 2010-05-24

from metalink note: 1059847.1

On all nodes,

1. Modify the /etc/sysconfig/oracleasm with:

ORACLEASM_SCANORDER="dm"
ORACLEASM_SCANEXCLUDE="sd"

2. restart the asmlib by :

# /etc/init.d/oracleasm restart

3. Run root.sh on the 2nd node

作者: liuyi8903   发布时间: 2010-05-25

楼主这么长时间没有回复,我以为这个方法不行,今天我试一下,终于让集群安装上,这个问题害得我昨天全部将系统安装了一遍。在第一个节点上执行成功,但第二个结果上就是不行。
以前也看到了关于ORACLE ASM在multipath多路径下的问题,但发现oracleasm工具可以很好的识别,就没有在意,直到看这个,我才明白,这其中有可能有更深层次的问题。

我当时通过oracleasm querydisk /dev/dm-0是可以查看到ASM的盘,就以为ASM没有问题,看来高看了ASM的智能性。

感谢:liuyi8903

作者: yin138   发布时间: 2011-11-09