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 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.

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