diff options
author | Tim Chase <[email protected]> | 2018-03-13 12:43:14 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-03-13 10:43:14 -0700 |
commit | 02638a30efb0e9800fdc8834d5b7ab66432db00a (patch) | |
tree | 297c7f37319b1ffbd0478bd874e14069d2b32b34 /man/man5 | |
parent | 83362e8e676a3ffae6b3b21f350f9b999a068605 (diff) |
Add zfs_scan_ignore_errors tunable
When it's set, a DTL range will be cleared even if its scan/scrub had
errors. This allows to work around resilver/scrub upon import when the
pool has errors.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Tim Chase <[email protected]>
Closes #7293
Diffstat (limited to 'man/man5')
-rw-r--r-- | man/man5/zfs-module-parameters.5 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index a4b6b4f3a..8515bf087 100644 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -1715,6 +1715,20 @@ Default value: \fB3,000\fR. .sp .ne 2 .na +\fBzfs_scan_ignore_errors\fR (int) +.ad +.RS 12n +If set to a nonzero value, remove the DTL (dirty time list) upon +completion of a pool scan (scrub) even if there were unrepairable +errors. It is intended to be used during pool repair or recovery to +stop resilvering when the pool is next imported. +.sp +Default value: \fB0\fR. +.RE + +.sp +.ne 2 +.na \fBzfs_scrub_min_time_ms\fR (int) .ad .RS 12n |