This is a post that covers the simple commands on how to add and resize Automatic Storage Management (ASM) disks to existing ASM Disk Groups.
Also, mentioned below are the commands with the Rebalancing Power clause: the higher the Rebalancing Power No, the more the system resources consumed (translates into system overhead but faster rebalancing).
Adding Disks to ASM Disk Groups (Without Rebalancing Power Clause):
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk51' SIZE 104200M;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk52' SIZE 104200M;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk53' SIZE 104200M;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk54' SIZE 104200M;
Resizing existing ASM Disks (Without Rebalancing Power Clause):
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk51' SIZE 204800M;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk52' SIZE 204800M;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk53' SIZE 204800M;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk54' SIZE 204800M;
Adding Disks to ASM Disk Groups (With Rebalancing Power Clause):
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk51' SIZE 104200M REBALANCE POWER 1024;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk52' SIZE 104200M REBALANCE POWER 1024;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk53' SIZE 104200M REBALANCE POWER 1024;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk54' SIZE 104200M REBALANCE POWER 1024;
Resizing existing ASM Disks (With Rebalancing Power Clause):
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk51' SIZE 204800M REBALANCE POWER 1024;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk52' SIZE 204800M REBALANCE POWER 1024;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk53' SIZE 204800M REBALANCE POWER 1024;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk54' SIZE 204800M REBALANCE POWER 1024;
Also, mentioned below are the commands with the Rebalancing Power clause: the higher the Rebalancing Power No, the more the system resources consumed (translates into system overhead but faster rebalancing).
Adding Disks to ASM Disk Groups (Without Rebalancing Power Clause):
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk51' SIZE 104200M;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk52' SIZE 104200M;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk53' SIZE 104200M;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk54' SIZE 104200M;
Resizing existing ASM Disks (Without Rebalancing Power Clause):
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk51' SIZE 204800M;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk52' SIZE 204800M;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk53' SIZE 204800M;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk54' SIZE 204800M;
Adding Disks to ASM Disk Groups (With Rebalancing Power Clause):
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk51' SIZE 104200M REBALANCE POWER 1024;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk52' SIZE 104200M REBALANCE POWER 1024;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk53' SIZE 104200M REBALANCE POWER 1024;
ALTER DISKGROUP DATA1 ADD DISK '/dev/asmd1disk54' SIZE 104200M REBALANCE POWER 1024;
Resizing existing ASM Disks (With Rebalancing Power Clause):
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk51' SIZE 204800M REBALANCE POWER 1024;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk52' SIZE 204800M REBALANCE POWER 1024;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk53' SIZE 204800M REBALANCE POWER 1024;
ALTER DISKGROUP DATA01 RESIZE DISK '/dev/asmd1disk54' SIZE 204800M REBALANCE POWER 1024;