【ASM学习】手工删除ASM磁盘组时提示错误ORA-15039


SQL> drop diskgroup sysdata;
drop diskgroup sysdata
*
ERROR at line 1:
ORA-15039: diskgroup not dropped
ORA-15001: diskgroup "SYSDATA" does not exist or is not mounted

SQL> drop diskgroup flaskback;
drop diskgroup flaskback
*
ERROR at line 1:
ORA-15039: diskgroup not dropped
ORA-15001: diskgroup "FLASKBACK" does not exist or is not mounted

--查看状态显示为DISMOUNTED
SQL> select name,state from v$asm_diskgroup;

NAME                           STATE
------------------------------ -----------
SYSDATA                        DISMOUNTED
FLASKBACK                   DISMOUNTED
---mount磁盘组的状态
SQL> alter diskgroup flaskback mount;
Diskgroup altered.
---再次删除依然提示错误 含有文件
SQL> drop diskgroup flaskback;
drop diskgroup flaskback
*
ERROR at line 1:
ORA-15039: diskgroup not dropped
ORA-15053: diskgroup "FLASKBACK" contains existing files
---只要使用含有including contents子句删除就可以了
SQL> drop diskgroup flaskback including contents;
Diskgroup dropped.
---system 磁盘组也一样。。
SQL> drop diskgroup sysdata including contents;
drop diskgroup sysdata including contents
*
ERROR at line 1:
ORA-15039: diskgroup not dropped
ORA-15001: diskgroup "SYSDATA" does not exist or is not mounted
SQL> alter diskgroup sysdata mount;
Diskgroup altered.
SQL> drop diskgroup sysdata including contents;
Diskgroup dropped.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/22664653/viewspace-674731/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/22664653/viewspace-674731/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值