-
Determine FlashGrid names of the disks to be removed, e.g. myhostname.shared-2 or myhostname.shared-3:
[fg@myhostname ~] $ flashgrid-node
-
If the disks are members of an ASM disk group then drop the disks from the disk group. Example:
SQL> alter diskgroup DATA drop disk MYHOSTNAME$SHARED_2 drop disk MYHOSTNAME$SHARED_3 rebalance wait;
-
Prepare the disks for removal. Example:
[fg@myhostname ~] $ flashgrid-node stop-target /dev/flashgrid/myhostname.shared-2 [fg@myhostname ~] $ flashgrid-node stop-target /dev/flashgrid/myhostname.shared-3
- Detach the disks from the VM instance. Example from Google Cloud Shell:
gcloud compute instances detach-disk myhostname --disk mydbserver-676920de-myhostname-shared-2 --zone us-east1-b gcloud compute instances detach-disk myhostname --disk mydbserver-676920de-myhostname-shared-3 --zone us-east1-b