系统:windows 2008 R2
数据库版本:11.2.0.3 RAC
查看磁盘情况:
由于前期磁盘安排错误,4,8号磁盘安排到DATA磁盘组中。现在想将8号磁盘从磁盘组中脱离出来。
SQL > set oracle_sid=+asm1
SQL > set oracle_home=d:\app\11.2.0\grid\
SQL > sqlplus / as sysdba
开始删除工作,发现也是报错。该操作的在sysasm 中操作
SQL > sqlplus / as sysasm
进入到grid的环境中开始操作:
SQL > alter datagroup data drop disk '\\.\ORCLDISK8' ;
执行添加磁盘命令,发现出现ORA-12032及ORA-15075 错误:
Error: ORA-15075
Text: disk %s is not visible on instance number %s
---------------------------------------------------------------------------
Cause: An ALTER DISKGROUP ADD DISK command specified a disk that could not be discovered.
Action: Check operating system permissions for the device and the storage subsystem configuration on the specified node.
通过查询排除错误,原因是在第二个节点上没有扫描出磁盘5,6,7所以添加磁盘失败,重新扫描磁盘,问题解决。
可以通过查看V$ASM_OPERATION视图查询状态:
select group_number, operation, state, power, est_minutes from v$asm_operation;