The storage rwv command runs the Read-Write-Verify-Restore (rwv) test on a single device (if specified), or all block devices. If specified, the test runs for the time specified by the -time flag. The test reads blocks sequentially from the device. The default is to run the test once, until all blocks have been tested.
The test reads a block and stores it; then it writes a known pattern to the disk and reads it back, verifying that it wrote the contents correctly. Finally, the original contents of the block are restored.
udiag storage rwv { all | <device_name> } [ -time <n> ]
|
BSP_ONLY; ONE_INSTANCE_ONLY
To run the test on all devices until they are completed, type:
fs0:/> udiag storage rwv all
To run the test on HDD, type:
fs0:/> udiag storage rwv HDD
To run the test on VHD for 1 hour, type:
fs0:/> udiag storage rwv VHD -time E10