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

Oracle 11g ASM增加磁盘时ORA-15260解决

[日期:2012-05-10] 来源:Linux社区  作者:mikixiyou [字体:大 中 小]

在Oracle 11g中,增加磁盘到已有的磁盘组中,操作命令还是"alter diskgroup webdg add disk '/dev/raw/raw4';",但是使用sysdba连接则会报错。

ORA-15260: permission denied on ASM disk group
告知权限被否则。

[root@serv1 ~]# su - grid
/home/grid@serv1=>+ASM1$sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on Thu May 3 15:28:20 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options

SQL> alter diskgroup webdg add disk '/dev/raw/raw4';
alter diskgroup webdg add disk '/dev/raw/raw4'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15260: permission denied on ASM disk group

 

使用sysasm连接,即可。

/home/grid@serv1=>+ASM1$sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on Thu May 3 15:29:42 2012

Copyright (c) 1982, 2009, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options

SQL> show user
USER is "SYS"
SQL> alter diskgroup webdg add disk '/dev/raw/raw4';

这是11g在ASM管理上一个改进。

更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12

linux
相关资讯       oracle数据库教程 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

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