Symantec logo

Using the -f option

Use the -f option to test disks that are listed in a text file. For example, you can create a file to test two disks shared by systems north and south that might resemble:

north /dev/rdsk/c2t2d1s2 south /dev/rdsk/c3t2d1s2

north /dev/rdsk/c2t2d1s2 south /dev/rdsk/c3t2d1s2

where the first disk is listed in the first line and is seen by north as /dev/rdsk/c2t2d1s2 and by south as /dev/rdsk/c3t2d1s2. The other disk, in the second line, is seen as /dev/rdsk/c2t2d2s2 from north and /dev/rdsk/c3t2d2s2 from south. Typically, the list of disks could be extensive.

Suppose you created the file named disks_blue. To test the disks, you would enter:

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

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

You can redirect the test results to a text file. Precede the command with "yes" to acknowledge that the testing destroys any data on the disks to be tested.


  Caution   Be advised that by redirecting the command's output to a file, a warning that the testing destroys data on the disks cannot be seen until the testing is done.


For example:

# yes | /opt/VRTSvcs/vxfen/bin/vxfentsthdw -f disks_blue > blue_test.txt