-
Log in as the Oracle Grid Infrastructure standalone server owner to run the steps in this procedure.
-
List the existing disk groups:
$ $ORACLE_HOME/bin/asmcmd lsdg
-
List the existing disks:
$ $ORACLE_HOME/bin/asmcmd lsdsk -G diskgroup_name
-
Check if the status of your Oracle ASM instance is active:
$ $ORACLE_HOME/bin/srvctl status asm
-
Stop all the databases and dismount all disk groups. For each database, run the following commands:
$ $ORACLE_HOME/bin/srvctl stop database -db db_unique_name
$ /$ORACLE_HOME/bin/srvctl stop diskgroup -diskgroup diskgroup_name -f
-
Label all existing disks in the disk group by running the following command for each disk:
$ $ORACLE_HOME/bin/asmcmd afd_label label disk_path --migrate
-
Rescan the disks:
$ $ORACLE_HOME/bin/asmcmd afd_scan
-
Start the database and mount the disk group:
$ $ORACLE_HOME/bin/srvctl start diskgroup -diskgroup diskgroup_name