你好,游客 登录 注册 搜索
背景:
阅读新闻

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

[日期:2012-11-06] 来源:Linux社区  作者:linwaterbin [字体:大 中 小]

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. * 
  20. ERROR at line 1: 
  21. ORA-15032: not all alterations performed 
  22. ORA-15063: ASM discovered an insufficient number of disks for diskgroup "DATA" 
  23.  
  24.  
  25. idle> drop diskgroup data; 
  26. drop diskgroup data 
  27. * 
  28. ERROR at line 1: 
  29. ORA-15039: diskgroup not dropped 
  30. ORA-15001: diskgroup "DATA" does not exist or is not mounted 
  31.  
  32.  
  33. idle> drop diskgroup data including contents; 
  34. drop diskgroup data including contents 
  35. * 
  36. ERROR at line 1: 
  37. ORA-15039: diskgroup not dropped 
  38. 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. // *Action: Check 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. * 
  4. ERROR at line 1: 
  5. ORA-15039: diskgroup not dropped 
  6. 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,可以不必管它。

linux
相关资讯       Oracle错误代码  ORA-15063 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款