102 Adding shared storage and testing disks for SCSI-3 compliance
Using additional vxfentsthdw options
Testing all the disks in a disk group
■
To display the test results on the command, enter the following:
/opt/VRTSvcs/vxfen/bin/vxfentsthdw -f red_disks
■
To redirect the test results to a text file, precede the command with
"yes" to acknowledge that testing destroys data on the disks to be
tested. For example:
echo yes | /opt/VRTSvcs/vxfen/bin/vxfentsthdw -f
red_disks > red_test.txt
Caution: When redirecting the test output to a file, the warning that the
test destroys does not show until after the test is complete.
To test all the disks in a disk group
1
Create a temporary disk group for testing the disks. For example, create a
disk group called blue_disks_dg that includes all the disks in the disk
array.
2
Import the disk group. Do not use the -n option.
3
Do one of the following:
■
To display the test results on the command, enter the following:
/opt/VRTSvcs/vxfen/bin/vxfentsthdw -g blue_disk_dg
■
To redirect the test results to a text file, precede the command with
"yes" to acknowledge that testing destroys data on the disks to be
tested, as in this example:
echo yes | /opt/VRTSvcs/vxfen/bin/vxfentsthdw -g
blue_disks_dg > blue_test.txt
4
After completing the test, you can destroy the temporary disk group and put
the disks into disk groups as needed.