文档解释
ORA-15071: ASM disk “string” is already being dropped
Cause: An attempt was made to drop a disk from a diskgroup that was already in the process of being dropped from the diskgroup. Alternatively, an attempt was made to forcibly drop a disk from a diskgroup using the FORCE option that was already being forcibly dropped from the diskgroup.
Action: Check the ASM disk name and FORCE option as specified in the command.
ORA-15071:表示ASM磁盘“string”正在进行着删除操作。
官方解释
ORA-15071 表示ASM磁盘正在被删除,这意味着ASM正在尝试清理这个磁盘,比如ASM正在尝试释放占用的资源,移除元数据等等。
常见案例
1.当用户试图在他的ASM实例上移除一个磁盘的时候,就会收到ORA-15071的错误信息,这可能是由于这个磁盘正在被删除,或者因为ASM正在清理它。
一般处理方法及步骤
1.如果你确定要移除这个磁盘,可以执行一下ASM移除磁盘的命令:
SQL > ALTER DISKGROUP DROP DISK ‘disk-name’ INCLUDING CONTENTS;
2.确保你已经停止所有可能在使用这个磁盘的服务,包括:
a.停止相关数据库
b.停止OS加载和卸载相关脚本
c.停止资源占用
3.重新尝试移除这个磁盘,如果依然不能移除,即收到ORA-15071错误,可以执行关闭ASM并重新开启的操作来释放ASM的资源:
SQL > SHUTDOWN IMMEDIATE
SQL > STARTUP
4.重新执行移除磁盘命令:
SQL > ALTER DISKGROUP DROP DISK ‘disk-name’ INCLUDING CONTENTS;