標籤:oracle
Oracle ASM錯誤之--ORA-15031、ORA-15014
系統內容:
作業系統: AIX 5.3.8
Oracle: Oracle 10gR2
故障現象:
[[email protected] ~]$sqlplus / as sysdbaSQL*Plus: Release 10.2.0.1.0 - Production on Thu Jul 24 11:28:52 2014Copyright (c) 1982, 2005, Oracle. All rights reserved.Connected to:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit ProductionWith the Partitioning, OLAP and Data Mining optionsSQL> create diskgroup datafile 2 normal redundancy 3 failgroup fg1 disk ‘/dev/rlv_data1‘ 4 failgroup fg2 disk ‘/dev/rlv_data2‘;create diskgroup datafile*ERROR at line 1:ORA-15018: diskgroup cannot be createdORA-15031: disk specification ‘/dev/rlv_data2‘ matches no disksORA-15014: location ‘/dev/rlv_data2‘ is not in the discovery setORA-15031: disk specification ‘/dev/rlv_data1‘ matches no disksORA-15014: location ‘/dev/rlv_data1‘ is not in the discovery set
查看ASM Instance pfile檔案:
[[email protected] dbs]$cat init+ASM.ora
*.background_dump_dest=‘/u01/app/oracle/admin/+ASM/bdump‘
*.core_dump_dest=‘/u01/app/oracle/admin/+ASM/cdump‘
*.instance_type=‘asm‘
*.large_pool_size=12M
*.remote_login_passwordfile=‘SHARED‘
*.user_dump_dest=‘/u01/app/oracle/admin/+ASM/udump‘
asm_diskstring=‘/dev/rasm*‘
asm_diskgroups=‘DATAFILE‘,‘REDO‘,‘ARCH‘
錯誤原因:
asm_diskstring=‘/dev/rasm*‘,此處與‘/dev/rlv_data1‘,‘/dev/rlv_data2‘不匹配
更改成:
asm_diskstring=‘/dev/r*’後,問題解決!
本文出自 “天涯客的blog” 部落格,請務必保留此出處http://tiany.blog.51cto.com/513694/1529579