Configuring Oracle ASM Filter Driver During Installation

You can optionally enable automated installation and configuration of Oracle ASM Filter Driver for your system during the installation of Oracle Grid Infrastructure.

If you do not use udev on the Oracle Grid Infrastructure server, then you can provision disks for Oracle ASMFD before the installer is launched. This procedure must be performed after the Oracle Grid Infrastructure installation zip files have been unzipped in the Oracle Grid Infrastructure home, but before you enable the Configure ASM Filter Driver check box during the installation process when the setup script is run.
  1. As the root user, set the environment variable $ORACLE_HOME to the location of the Grid home and the environment variable $ORACLE_BASE to a temporary location.
    $ su root
    # export ORACLE_HOME=/u01/app/21.0.0/grid
    # export ORACLE_BASE=/tmp
    The ORACLE_BASE environment variable is set to a temporary location to avoid creating diagnostic or trace files in the Grid home before the Oracle Grid Infrastructure installation.
  2. Add the ORACLE_HOME/bin directory to the PATH environment variable.
    # export PATH=$ORACLE_HOME/bin:$PATH
  3. Use the ASMCMD afd_label command to provision disk devices for use with Oracle ASM Filter Driver.
    # $ORACLE_HOME/bin/asmcmd afd_label DATA1 /dev/disk1a --init
  4. Use the ASMCMD afd_lslbl command to verify the device has been marked for use with Oracle ASMFD.
    # $ORACLE_HOME/bin/asmcmd afd_lslbl /dev/disk1a
  5. Unset the ORACLE_BASE environment variable when you have finished provisioning disks for Oracle ASMFD.
    # unset ORACLE_BASE
  6. On the Create ASM Disk Group page during the installation of Oracle Grid Infrastructure, check the Configure ASM Filter Driver box to enable configuration of Oracle ASM Filter Driver and then add your provisioned disks to the initial disk group (typically named DATA).