aboutsummaryrefslogtreecommitdiffstats
path: root/man/man8/zinject.8
diff options
context:
space:
mode:
authorDon Brady <[email protected]>2017-06-16 18:21:11 -0600
committerBrian Behlendorf <[email protected]>2017-06-16 17:21:11 -0700
commit0241e491a08ffa471a08ceaa0b0943999d775cbe (patch)
tree17f07ce2cf37c4f19155dba12851c8eab519c8a1 /man/man8/zinject.8
parent05a5357a6c63b8c83062c1b295ee98d14f8e85aa (diff)
Inject zinject(8) a percentage amount of dev errs
In the original form of device error injection, it was an all or nothing situation. To help simulate intermittent error conditions, you can now specify a real number percentage value. This is also very useful for our ZFS fault diagnosis testing and for injecting intermittent errors during load testing. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Don Brady <[email protected]> Closes #6227
Diffstat (limited to 'man/man8/zinject.8')
-rw-r--r--man/man8/zinject.86
1 files changed, 3 insertions, 3 deletions
diff --git a/man/man8/zinject.8 b/man/man8/zinject.8
index ab22d4a5b..50fecfb64 100644
--- a/man/man8/zinject.8
+++ b/man/man8/zinject.8
@@ -76,7 +76,7 @@ create 3 lanes on the device; one lane with a latency
of 10 ms and two lanes with a 25 ms latency.
.TP
-.B "zinject \-d \fIvdev\fB [\-e \fIdevice_error\fB] [\-L \fIlabel_error\fB] [\-T \fIfailure\fB] [\-F] \fIpool\fB"
+.B "zinject \-d \fIvdev\fB [\-e \fIdevice_error\fB] [\-L \fIlabel_error\fB] [\-T \fIfailure\fB] [\-f \fIfrequency\fB] [\-F] \fIpool\fB"
Force a vdev error.
.TP
.B "zinject \-I [\-s \fIseconds\fB | \-g \fItxgs\fB] \fIpool\fB"
@@ -113,8 +113,8 @@ Specify
.BR "nxio" " for an ENXIO error where reopening the device will fail."
.TP
.BI "\-f" " frequency"
-Only inject errors a fraction of the time. Expressed as an integer
-percentage between 1 and 100.
+Only inject errors a fraction of the time. Expressed as a real number
+percentage between 0.0001 and 100.
.TP
.BI "\-F"
Fail faster. Do fewer checks.