Testing the shared disks listed in a file using the -f option

Use the -f option to test disks that are listed in a text file. Review the following example procedure.

To test the shared disks listed in a file

  1. Create a text file disks_test to test two disks shared by systems galaxy and nebula that might resemble:

    galaxy /dev/rhdisk75 nebula /dev/rhdisk77

    galaxy /dev/rhdisk76 nebula /dev/rhdisk78

    Where the first disk is listed in the first line and is seen by galaxy as /dev/rhdisk75 and by nebula as /dev/rhdisk77. The other disk, in the second line, is seen as /dev/rhdisk76 from galaxy and /dev/rhdisk78 from nebula. Typically, the list of disks could be extensive.

    galaxy /dev/sdz nebula /dev/sdy

    galaxy /dev/sdu nebula /dev/sdw

    Where the first disk is listed in the first line and is seen by galaxy as /dev/sdz and by nebula as /dev/sdy. The other disk, in the second line, is seen as /dev/sdu from galaxy and /dev/sdw from nebula. Typically, the list of disks could be extensive.

  2. To test the disks, enter the following command:

    # vxfentsthdw -f disks_test

    The utility reports the test results one disk at a time, just as for the -m option.