Migrating Oracle ASM Disk Groups From ASMLIB to Oracle ASM Filter Driver

Follow this procedure to migrate Oracle ASM disk groups to Oracle ASMFD in an Oracle Grid Infrastructure for a standalone server environment.

  1. As the grid user, list the existing disk groups.
    $ $ORACLE_HOME/bin/asmcmd lsdg
  2. List the disks associated with each disk group.
    $ $ORACLE_HOME/bin/asmcmd lsdsk -G diskgroup
  3. Check if Oracle ASM is active.
    $ $ORACLE_HOME/bin/srvctl status asm
  4. Stop all the databases and dismount all disk groups.
    $ $ORACLE_HOME/bin/srvctl stop database -db db_unique_name
    $ /$ORACLE_HOME/bin/srvctl stop diskgroup -diskgroup diskgroup_name -f
  5. Label all existing disks in the disk group.
    $ $ORACLE_HOME/bin/asmcmd afd_label label disk_path --migrate
    
  6. Scan the disks.
    $ $ORACLE_HOME/bin/asmcmd afd_scan
  7. Start the database and mount the disk group.
    $ $ORACLE_HOME/bin/srvctl start diskgroup -diskgroup diskgroup_name