This document describes the steps required to increase data disk sizes in ASM diskgroups. Run FlashGrid commands as fg user.
1. Identify data disk LUN numbers belonging to the target diskgroup
$ flashgrid-dg show -G <dg_name>
2. Shut down the first database node gracefully. See instructions here
3. Resize disks from the Azure portal
Increase size of all data disks belonging to the target diskgroup to the desired size.
4. Start the database node
5. Wait until flashgrid-cluster
shows cluster status "Good"
6. Repeat steps 2-5 for all other database nodes. Make sure that all data disks in the target diskgroup have the same new size. Do not increase disk sizes on quorum node(s).
7. Check new disk sizes using the following command:
$ flashgrid-dg show -G <dg_name>
Phys_GiB column must show the increased size.
8. From any database node, run the resize command:
$ flashgrid-dg resize-disks -G <dg_name>
The above command will resize all disks in the specified diskgroup based on their sizes returned by OS.
Note: If you do not have resize-disks command, you should refer to the instructions for older versions below.
Steps for FlashGrid Storage Fabric version older than 24.01
FlashGrid Storage Fabric versions older than 24.01 lack the resize-disks option. In this case, you should use the older method of resizing disks from ASM.Connect to the ASM from any database node and run:
# su - grid $ sqlplus / as sysasm SQL> ALTER DISKGROUP <dg_name> RESIZE ALL;
9. Check the new size:
$ flashgrid-dg show -G <dg_name>
Both Phys_GiB and ASM_GiB should now reflect the same new increased size.