SQL> ALTER DISKGROUP recoc1 RESIZE ALL SIZE 282672M REBALANCE POWER 64;
Note:
The ALTER DISKGROUP
command may take several minutes to complete. The SQL prompt will not return until this operation has completed.
If the specified disk group has quorum disks configured within the disk group, then
the ALTER DISKGROUP ... RESIZE ALL
command could fail with error
ORA-15277
. Quorum disks are configured if the requirements
specified in Managing Quorum Disks for High
Redundancy Disk Groups are met.
As a workaround, for regular storage server failure groups
(FAILGROUP_TYPE=REGULAR
, not QUORUM
), you can
specify the failure group names explicitly in the SQL command, for example:
SQL> ALTER DISKGROUP recoc1 RESIZE DISKS IN FAILGROUP exacell01 SIZE 282672M,
exacell02 SIZE 282672M, exacell03 SIZE 282672M REBALANCE POWER 64;
Wait for rebalance to finish by checking the view GV$ASM_OPERATION.
SQL> set lines 250 pages 1000
SQL> col error_code form a10
SQL> SELECT dg.name, o.*
2 FROM gv$asm_operation o, v$asm_diskgroup dg
3 WHERE o.group_number = dg.group_number;
Proceed to the next step ONLY when the query against GV$ASM_OPERATION shows no rows for the disk group being altered.