Stress Test: rmd.stf

### TEST NAME

> rmdtest - removable disk test

### SYNOPSIS

> `./rmdtest` [ output_directory ] [ I/O_MB_size ]

### DESCRIPTION

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

### OPERANDS

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

### SETUP

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

### OUTPUT

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

### DURATION

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

### POSSIBLE CONCURRENT TESTS

> This test can run concurrently with `mcpu` and `memory` after the `flp` test finishes.

### EXAMPLES

> > `# ./rmdtest /rmdisk/rmdisk0 1`

Copyright 2005 Sun Microsystems, Inc. All rights reserved.