The AFD_DISKSTRING parameter specifies the Oracle ASMFD disk discovery string that is used to identify the disks to be managed by Oracle ASMFD.
You can set and display the AFD_DISKSTRING parameter with the ASMCMD afd_dsset and afd_dgset commands. For example:
$ $ORACLE_HOME/bin/asmcmd afd_dsset '/dev/rdsk/mydisks/*' $ $ORACLE_HOME/bin/asmcmd afd_dsget AFD discovery string: /dev/rdsk/mydisks/*
For information about ASMCMD commands to display and set the Oracle ASMFD disk discovery string, refer to "afd_dsget" and "afd_dsset".
You can also set the AFD_DISKSTRING with the ALTER SYSTEM SQL statement. A label is created in the disk header of those disks identified by the Oracle ASMFD disk discovery string.
SQL> ALTER SYSTEM AFD_DISKSTRING SET '/dev/disk0','/dev/disk1','/devices/dsk/*'; System altered.
You can retrieve the value of AFD_DISKSTRING parameter with the following query.
SQL> SELECT SYS_CONTEXT('SYS_ASMFD_PROPERTIES', 'AFD_DISKSTRING') FROM DUAL;
SYS_CONTEXT('SYS_ASMFD_PROPERTIES','AFD_DISKSTRING')
--------------------------------------------------------------------------------
'/dev/disk0','/dev/disk1','/devices/dsk/*'