暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

安装19C GI 执行root.sh报错ORA-15107: missing or invalid ASM disk name

3285

在安装19C GI,执行root.sh时报错如下:

[root@iotdb3node1 ~]# /u01/app/oraInventory/orainstRoot.sh Changing permissions of /u01/app/oraInventory. Adding read,write permissions for group. Removing read,write,execute permissions for world. Changing groupname of /u01/app/oraInventory to oinstall. The execution of the script is complete. [root@iotdb3node1 ~]# /u01/app/19.0.0/grid/root.sh Performing root user operation. The following environment variables are set as: ORACLE_OWNER= grid ORACLE_HOME= /u01/app/19.0.0/grid Enter the full pathname of the local bin directory: [/usr/local/bin]: Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Creating /etc/oratab file... 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. Relinking oracle with rac_on option Using configuration parameter file: /u01/app/19.0.0/grid/crs/install/crsconfig_params The log of current session can be found at: /u01/app/grid/crsdata/iotdb3node1/crsconfig/rootcrs_iotdb3node1_2020-08-20_07-09-18AM.log 2020/08/20 07:09:26 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'. 2020/08/20 07:09:26 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'. 2020/08/20 07:09:26 CLSRSC-363: User ignored prerequisites during installation 2020/08/20 07:09:26 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'. 2020/08/20 07:09:28 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'. 2020/08/20 07:09:29 CLSRSC-594: Executing installation step 5 of 19: 'SetupOSD'. 2020/08/20 07:09:29 CLSRSC-594: Executing installation step 6 of 19: 'CheckCRSConfig'. 2020/08/20 07:09:29 CLSRSC-594: Executing installation step 7 of 19: 'SetupLocalGPNP'. 2020/08/20 07:09:55 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector. 2020/08/20 07:09:55 CLSRSC-594: Executing installation step 8 of 19: 'CreateRootCert'. 2020/08/20 07:09:59 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'. 2020/08/20 07:10:13 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'. 2020/08/20 07:10:14 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'. 2020/08/20 07:10:19 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'. 2020/08/20 07:10:19 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service' 2020/08/20 07:10:58 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'. 2020/08/20 07:11:04 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'. 2020/08/20 07:11:51 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'. 2020/08/20 07:11:56 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'. [FATAL] [DBT-30002] Disk group OCRDG creation failed. ORA-15018: diskgroup cannot be created ORA-15107: missing or invalid ASM disk name 2020/08/20 07:13:06 CLSRSC-184: Configuration of ASM failed 2020/08/20 07:13:09 CLSRSC-258: Failed to configure and start ASM Died at /u01/app/19.0.0/grid/crs/install/crsinstall.pm line 2484.
复制

这是由于磁盘头中的现有内容不干净,因此不符合ASMCA要求,
因此与ASMCA执行有冲突。

解决办法:
第一步、
[root@db3node1 ~]# dd if=/dev/zero of=/dev/sdb1 bs=1M count=10000
dd: error writing ‘/dev/sdb1’: No space left on device
5120+0 records in
5119+0 records out
5367660544 bytes (5.4 GB) copied, 5.23938 s, 1.0 GB/s
[root@db3node1 ~]# dd if=/dev/zero of=/dev/sdc1 bs=1M count=1000
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 0.921206 s, 1.1 GB/s
[root@db3node1 ~]# dd if=/dev/zero of=/dev/sdd1 bs=1M count=1000
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 0.92427 s, 1.1 GB/s
[root@iotdb3node1 ~]#

第二部、
重新执行root.sh

「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论