Replacing Disks in Disk Groups

A disk or multiple disks in a disk group can be replaced, rather than dropped and added back. The single replace operation is more efficient than dropping and adding disks. This operation is especially useful when disks are missing or damaged.

For example, you can issue the following statement to replace the diskc7 disk with another disk identified by the /devices/diskc18 path.

SQL> ALTER DISKGROUP data2 REPLACE DISK diskc7 WITH '/devices/diskc18' POWER 3;

The power option operates the same as the power option for the ALTER DISKGROUP REBALANCE statement, except that the power option cannot be set to 0. For information about the power option in rebalancing a disk group, refer to "Manually Rebalancing Disk Groups". For information about the ASM_POWER_LIMIT initialization parameter, refer to "ASM_POWER_LIMIT".

The ALTER DISKGROUP SQL statement with the REPLACE clause includes a WAIT or NOWAIT option, plus the FORCE option.