test
disk/test
Conditions: !smips
Type: Command
| Flag | Name | Description |
|---|---|---|
| N | initializing | The test is initializing (preparing, clearing the caches) and has not started reading or writing yet. |
| R | running | The test is running. |
| F | failed | The test failed. |
| Argument | Type | Description |
|---|---|---|
| disk | multi { array-id, disk: enum } | Disk or partition to test. |
| block-size | num | Size of one read or write block. Default: 64 KiB. |
| thread-count | num | Number of parallel test threads. Default: 1. |
| direction | enum (read | write) | What the test does with the data.
|
| type | enum (device | filesystem) | Test target: device reads or writes the raw block device, filesystem goes through the mounted file system. Default: device. |
| pattern | enum (sequential | random) | Access pattern.
|
| entries-to-show | num | How many of the most recent result rows to keep and show. |
| Read-only Argument | Type | Description |
|---|---|---|
| seq | enum (TOT) { TOT:0xffffffff } | Sequence number of the result row; the TOT row aggregates all threads. |
| rate | num | Current throughput of this row. |
| iops | num | Input/output operations per second. |
| bytes | num | Bytes transferred for this row so far. |
| disk | enum (TOT) { TOT:0xffffffff } | The tested disk. |
| thread | enum (TOT) { TOT:0xffffffff } | Thread this row belongs to; TOT aggregates all threads. |
| type | enum (device | filesystem) | Test type as given when the test was started. |
| pattern | enum (sequential | random) | Access pattern as given when the test was started. |
| dir | enum (read | write) | Direction (read or write) as given when the test was started. |
| bsize | num | Block size as given when the test was started. |
| state | string | State of a running test, for example clear caches while it prepares and run while it works. |