Fault Injection
ExperimentsDisk Experiment
The Disk experiment fills up a target block device (specified by the filesystem on which it is mounted) by writing to files at the destination specified by --dir
. The number of files written directly corresponds to the number of --workers
specified.
Options
Parameter | Flag | Required | Default | Version | Description |
---|---|---|---|---|---|
Dir | -d path | False | /tmp | 1.8.0 | The root directory for the IO experiment. |
Workers | -w int | False | 1 | 1.8.0 | The number of diskwrite workers to run concurrently. |
Block Size | -b int | False | 4 | 1.8.0 | Number of Kilobytes (KB) that are read/written at a time. |
Volume Percentage | -p <0-100> | False | 100 | 1.8.0 | Percent of Volume to fill (0100). |
Length | -l int | False | 60 | 1.8.0 | The length of the experiment (seconds). |
Note
Azure Windows instances may throttle disk I/O such that large disk experiments will take an excessive amount of time to complete.