This document describes the steps required to increase data disk sizes in ASM diskgroups. Run FlashGrid commands as fg user.
1. Identify data disk names belonging to the target diskgroup
$ flashgrid-dg show -G <dg_name>
2. Resize disks from the Google Cloud Platform console
Resize all previously identified data disks (attached to all nodes except quorum) to the same size.
3. From any database node, run the resize command:
$ flashgrid-dg resize-disks -G <dg_name>
The command above rescans local/remote disks and resizes all disks in the specified disk group based on their sizes returned by the 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.Run the following on all database nodes as root user:
# for i in /sys/block/*/device/rescan; do echo 1 > $i; done
Connect to the ASM from any database node and run:
# su - grid $ sqlplus / as sysasm SQL> ALTER DISKGROUP <dg_name> RESIZE ALL;
4. Check the new size
$ flashgrid-dg show -G <dg_name>
Both Phys_GiB and ASM_GiB should now reflect the same new increased size.