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
这个参数不会影响全部的 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