mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-23 02:44:41 +03:00
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 <behlendorf1@llnl.gov> Signed-off-by: Tim Chase <tim@chase2k.com> Closes #7293
This commit is contained in:
committed by
Brian Behlendorf
parent
83362e8e67
commit
02638a30ef
@@ -1712,6 +1712,20 @@ at least this much time working on a resilver between txg flushes.
|
||||
Default value: \fB3,000\fR.
|
||||
.RE
|
||||
|
||||
.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
|
||||
|
||||
Reference in New Issue
Block a user