rmdtest - removable disk test
./rmdtest [ output_directory ] [ I/O_MB_size ]
Using rwutil, rmdtest creates an input file of the specified size on the specified removable disk. It then copies it to an output file on the same disk, also using rwutil. The test checks that no errors occur while rwutil is performing the I/O operations.
- output_directory
- The path of the removable disk target for the test.
- I/O_MB_size
- The size of the file that is used to test I/O on the device. The default is 1 Mbyte.
Make sure that the removable disk to be tested is connected and configured correctly.
Before you execute this test, set the RUNTIME variable to specify the length of time (in seconds) that the test should run.
The test outputs an appropriate !ERROR message if an error occurs while it is running. All other output is generated by rwutil and consists of information about the data transfer rates of the I/O operations.
The duration of rmdtest depends on the I/O size selected. The duration is normally under 1 minute. When controlled by the staf engine, this test loops repeatedly and runs for the length of time (in seconds) specified by the RUNTIME environment variable.
This test can run concurrently with mcpu and memory after the flp test finishes.
# ./rmdtest /rmdisk/rmdisk0 1
Copyright 2005 Sun Microsystems, Inc. All rights reserved.