ASM:ORA-15063 错误处理方法一则


ASM:ORA-15063 错误处理方法一则

  1. idle> startup 
  2. ASM instance started 
  3.  
  4. Total System Global Area   83886080 bytes 
  5. Fixed Size                  1217836 bytes 
  6. Variable Size              57502420 bytes 
  7. ASM Cache                  25165824 bytes 
  8. ORA-15032: not all alterations performed 
  9. ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA" 
  10. idle> select group_number,name,state,total_mb,free_mb from v$asm_diskgroup; 
  11.  
  12. GROUP_NUMBER NAME       STATE                               TOTAL_MB    FREE_MB 
  13. ------------ ---------- --------------------------------- ---------- ----------  
  14.            0 DATA       DISMOUNTED                                 0          0 
  15.            2 WATER      MOUNTED                                 2744        599 
  16.  
  17. idle> alter diskgroup data mount; 
  18. alter diskgroup data mount 
  19. ERROR at line 1: 
  20. ORA-15032: not all alterations performed 
  21. ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA" 
  22.  
  23.  
  24. idle> drop diskgroup data; 
  25. drop diskgroup data 
  26. ERROR at line 1: 
  27. ORA-15039: diskgroup not dropped 
  28. ORA-15001: diskgroup "DATA" does not exist or is not mounted 
  29.  
  30.  
  31. idle> drop diskgroup data including contents; 
  32. drop diskgroup data including contents 
  33. ERROR at line 1: 
  34. ORA-15039: diskgroup not dropped 
  35. ORA-15001: diskgroup "DATA" does not exist or is not mounted 

查询错误信息:

  1. [Oracle@localhost ~]$ oerr ora 15063 
  2. 15063, 00000, "ASM discovered an insufficient number of disks for diskgroup \"%s\"" 
  3. // *Cause:  ASM was unable to find a sufficient number of disks belonging to the 
  4. //          diskgroup to continue the operation. 
  5. // *ActionCheck that the disks in the diskgroup are present and functioning,   
  6. //          that the owner of the ORACLE binary has read/write permission to   
  7. //          the disks, and that the ASM_DISKSTRING initialization parameter   
  8. //          has been set correctly.  Verify that ASM discovers the appropriate   
  9. //          disks by querying V$ASM_DISK from the ASM instance. 

处理步骤:
① /etc/init.d/init.cssd stop
② /etc/init.d/init.cssd start
③ sleep 90
④ restart ASM instance and shutdown immediate
⑤ again restart ASM instance

  1. idle> startup 
  2. ASM instance started 
  3.  
  4. Total System Global Area   83886080 bytes 
  5. Fixed Size                  1217836 bytes 
  6. Variable Size              57502420 bytes 
  7. ASM Cache                  25165824 bytes 
  8. ASM diskgroups mounted 

现在没抛出错误了,不过:

  1. SQL> drop diskgroup data; 
  2. drop diskgroup data 
  3. ERROR at line 1: 
  4. ORA-15039: diskgroup not dropped 
  5. ORA-15001: diskgroup "DATA" does not exist or is not mounted 

由于10g中还没有drop diskgroup force的语法,所以这里我们借助linux的dd和dbca配合来强制删除这个老顽固。

步骤:

㈠ 通过查询可知raw5挂在了data身上:

  1. [root@localhost ~]# dd if=/dev/zero of=/dev/raw/raw5 bs=1024 count=5 
  2. 5+0 records in 
  3. 5+0 records out 
  4. 5120 bytes (5.1 kB) copied, 0.011998 seconds, 427 kB/s 

㈡ 在dbca ---> show all ---> 选中raw5 ---> 点击cancel

其实,我已经有water这个diskgroup,也mount上了,对于data这个diskgroup,可以不必管它。

相关内容