SQL> alter diskgroup DATA add failgroup DATA_0000 disk '/dev/raw/raw12';
alter diskgroup DATA add failgroup DATA_0000 disk '/dev/raw/raw12'
*
ERROR at line 1:
ORA-15032: not all alterations performed
ORA-15033: disk '/dev/raw/raw12' belongs to diskgroup "DATA"
因为/dev/raw/raw12这个磁盘之前属于DATA磁盘组,但是由于之前操作将存储2关闭,后来导致/dev/raw/raw12磁盘无法在V$asm_disk磁盘组中显示其属于DATA磁盘组的名称、Failgroup信息,再次向磁盘组中加载这个磁盘的时候报错ORA-15032、ORA-15033。
思路
将/dev/raw/raw12中磁盘头信息清除后,重新加入到DATA磁盘组中。
[root@node2 ~]# dd if=/dev/zero of=/dev/raw/raw12 bs=8k count=256
256+0 records in
256+0 records out
2097152 bytes (2.1 MB) copied, 13.4365 s, 156 kB/sSQL> alter diskgroup DATA add failgroup DATA_0000 disk '/dev/raw/raw12';
Diskgroup altered.