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/vx/rdmp/c2t2d1 nebula /dev/vx/rdmp/c3t2d1

    galaxy /dev/vx/rdmp/c2t2d1 nebula /dev/vx/rdmp/c3t2d1

    where the first disk is listed in the first line and is seen by galaxy as /dev/vx/rdmp/c2t2d1 and by nebula as /dev/vx/rdmp/c3t2d1. The other disk, in the second line, is seen as /dev/vx/rdmp/c2t2d2 from galaxy and /dev/vx/rdmp/c3t2d2 from nebula. Typically, the list of disks could be extensive.

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

    # /opt/VRTSvcs/vxfen/bin/vxfentsthdw -f disks_test

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