HP-UX 11i v3 Persistent DSF Migration Guide

This time, the ”Y” answer makes the modification in the file. A backup is saved under
/var/adm/iofind/logs/mmddyy
_hhmmss/backup.
Example 3 – Search for all possible DSFs and hardware paths across all files on the system. For this, run the
following command:
# iofind –n –H -d /
Note: As this command may take a long time to execute, users may want to redirect the output to a file
myoutput, execute the command in background, and monitor the progress by looking at the increasing size of
the myoutput file. The command syntax is as follows:
# iofind –n –H -d / > myoutput &
This command generates a list of known DSFs and hardware paths from ioscan –kfn and searches all files
under / and its subdirectories, except for the files and directories listed in the exclusion list. This command may
take a long time to execute as it must check all the ASCII files on the system.
If users want to do an automatic replacement of DSF names and hardware paths found in any files, re-run the
command adding the option –R; adding –F will execute the replacements without asking for permission:
# iofind –n –H -d / -R –F
Examples of using rmsf –L, insf –Lv, and insf –L
Example 1 - To disable legacy mode, run:
# rmsf –L
WARNING: This command may be disruptive to the system.
Before running this command, make sure you have first run
iofind(1M) and migrated all applications using legacy device
special files. Please refer to the man page of rmsf(1M) to
verify the possible side effects of the option '-L'.
Do you want to continue ?
(You must respond with 'y' or 'n'.): y
rmsf: Legacy mode has been successfully disabled
Example 2
To verify whether legacy mode is disabled, run:
# insf -L -v
insf: Legacy mode is disabled
To verify that all legacy DSFs are removed, run:
# ioscan -kfn
o The ioscan output does not display any entries for mass storage devices.
o The legacy DSF directories (/dev/dsk
, /dev/rdsk, /dev/rmt) are empty.
Example 3 – To re-enable legacy mode, run:
# insf -L
This command will re-install all legacy I/O nodes and legacy DSFs.
Do you want to continue ?
(You must respond with 'y' or 'n'.): y
insf: Legacy mode has been successfully enabled
To verify that the legacy mode has been re-enabled, run:
18