关于 12c GI 安装过程中,如果使用 NFS 方式提供 ASM 磁盘, 出现 ORA-15018 ORA-15072 ORA-15080 错误 (文档 ID 1945862.1)

转到底部转到底部

文档内容

症状
 更改
 原因
 解决方案
 参考

适用于:

Oracle Database - Enterprise Edition - 版本 12.1.0.1 和更高版本
本文档所含信息适用于所有平台

症状

12c GI 安装过程中,如果 ASM 磁盘是基于 NFS 的,执行 root.sh 会遇到以下错误:

# /u01/app/12.1.0/grid/root.sh
Performing root user operation for Oracle 12c
......
CRS-2672: Attempting to start 'ora.cssd' on 'racnode1'
CRS-2672: Attempting to start 'ora.diskmon' on 'racnode1'
CRS-2676: Start of 'ora.diskmon' on 'racnode1' succeeded
CRS-2676: Start of 'ora.cssd' on 'racnode1' succeeded

Disk Group DATA creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 1 regular failure groups, discovered only 0
ORA-15080: synchronous I/O operation failed to read block 0 of disk 1 in disk group
ORA-15080: synchronous I/O operation failed to read block 0 of disk 0 in disk group DATA

2013/05/02 10:22:13 CLSRSC-184: Configuration of ASM failed

2013/05/02 10:22:22 CLSRSC-258: Failed to configure and start ASM

Died at /u01/app/12.1.0/grid/crs/install/crsinstall.pm line 1976.
The command '/u01/app/12.1.0/grid/perl/bin/perl -I/u01/app/12.1.0/grid/perl/lib -I/u01/app/12.1.0/grid/crs/install /u01/app/12.1.0/grid/crs/install/rootcrs.pl ' execution failed


磁盘 /asm/disk1和/asm/disk2 是通过 NFS 挂载的,被磁盘组 DATA 使用。它们权限没有问题,经过dd命令测试,读写操作也都正常。

mount option on the cluster is like:
192.168.1.1:/disks/12c on /asm type nfs (rw,tcp,vers=3,rsize=32768,wsize=32768,bg,hard,nointr,actimeo=0,timeo=600,addr=192.168.1.1)

[root@racnode1 asm]# ls -l /asm
total 10240020
-rw-rw----.  1 oracle oinstall 5242880000 May  2 00:14 disk1
-rw-rw----.  1 oracle oinstall 5242880000 May  2 00:12 disk2

 

更改

新环境安装。

原因

原因是作为 12c 的新功能 - DNFS(direct NFS)默认是启用的,并且 DNFS 使用的网络端口大于 1024,所以当使用 exports 的方式的时候,由于申请的端口是小于 1024 的而失败。

在 export man 的帮助手册中:
Exports 中“Secure”参数是默认启用的,这个选项会导致申请端口的过程扫描的是小于 1024 的端口,导致 exports 的方式挂载 DNFS 会遇到上面的错误。我们需要关掉它,指定 insecure 参数。

这个参数不会影响全部的 NAS 服务器,但是由于端口范围限制的改变,需要重新使用 'insecure' 的方式进行重新挂载,如下: 
从:(rw,no_root_squash)
修改为:
(rw,no_root_squash,insecure)

DNFS 相关信息,在线文档中也有详细描述:

Oracle® Grid Infrastructure Installation Guide
12c Release 1 (12.1) for Linux
7 Configuring Storage for Oracle Grid Infrastructure and Oracle RAC
About Direct NFS Client Storage

解决方案

在 NFS 服务器上使用 'insecure' 的方式来进行文件系统的导出,重新运行 root.sh ,这样 12c 的 GI 安装会正常结束了。

参考


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值