安裝grid執行root.sh報錯ORA-15020 discovered duplicate ASM disk排查

還不算暈發表於2016-01-08
LINUX上安裝11.2.0.4 RAC時,安裝grid執行root.sh報錯ORA-15020 discovered duplicate ASM disk排查。
[root@lnx67 rules.d]# ls -al /dev/asm*
brw-rw---- 1 grid asmadmin 250,  0 Jan  5 14:47 /dev/asm-diskb
brw-rw---- 1 grid asmadmin 250, 16 Jan  5 14:47 /dev/asm-diskc
brw-rw---- 1 grid asmadmin 250, 32 Jan  5 14:47 /dev/asm-diskd
修改UDEV規則,將ASM使用的盤名字改為:
[root@lnx67 Packages]# ls -al /dev/asm*
brw-rw---- 1 grid asmadmin 250, 16 Jan  6 08:24 /dev/asm-diskarch
brw-rw---- 1 grid asmadmin 250,  0 Jan  5 14:47 /dev/asm-diskb
brw-rw---- 1 grid asmadmin 250, 16 Jan  5 14:47 /dev/asm-diskc
brw-rw---- 1 grid asmadmin 250, 32 Jan  5 14:47 /dev/asm-diskd
brw-rw---- 1 grid asmadmin 250, 32 Jan  6 08:24 /dev/asm-diskdata
brw-rw---- 1 grid asmadmin 250,  0 Jan  6 08:45 /dev/asm-diskocr
此時原來的繫結規劃生成的碟符沒有消失,新的碟符產生了。
之後安裝GRID執行root.sh時報錯:
ORA-15018: diskgroup cannot be created

ORA-15020: discovered duplicate ASM disk "DGOCR_0000"

-------2016/2/29幫人查問題發現最新資訊: 12cR1安裝時同樣問題,只報錯ORA-15018:這一行。。。

原因就是使用ASM_DISKSTRING引數是/dev/asm*,此時比如同一磁碟B對應了/dev/asm-diskb及/dev/asm-diskocr。
從作業系統層面使用start_udev,舊的沒產生,最終是重啟解決碟符問題。
GRID安裝出錯後,新安裝環境就使用了重新安裝的方式。
------------root.sh報錯資訊
[root@lnx67 Packages]# sh /u01/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
    ORACLE_OWNER= grid
    ORACLE_HOME=  /u01/11.2.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.
Using configuration parameter file: /u01/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
  root wallet
  root wallet cert
  root cert export
  peer wallet
  profile reader wallet
  pa wallet
  peer wallet keys
  pa wallet keys
  peer cert request
  pa cert request
  peer cert
  pa cert
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'lnx67'
CRS-2676: Start of 'ora.mdnsd' on 'lnx67' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'lnx67'
CRS-2676: Start of 'ora.gpnpd' on 'lnx67' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'lnx67'
CRS-2672: Attempting to start 'ora.gipcd' on 'lnx67'
CRS-2676: Start of 'ora.cssdmonitor' on 'lnx67' succeeded
CRS-2676: Start of 'ora.gipcd' on 'lnx67' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'lnx67'
CRS-2672: Attempting to start 'ora.diskmon' on 'lnx67'
CRS-2676: Start of 'ora.diskmon' on 'lnx67' succeeded
CRS-2676: Start of 'ora.cssd' on 'lnx67' succeeded

Disk Group dgocr creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15020: discovered duplicate ASM disk "DGOCR_0000"


Configuration of ASM ... failed
see asmca logs at /u01/app/oracle/cfgtoollogs/asmca for details

Did not succssfully configure and start ASM at /u01/11.2.0/grid/crs/install/crsconfig_lib.pm line 6912.
/u01/11.2.0/grid/perl/bin/perl -I/u01/11.2.0/grid/perl/lib -I/u01/11.2.0/grid/crs/install /u01/11.2.0/grid/crs/install/rootcrs.pl execution failed
You have new mail in /var/spool/mail/root

相關文章