zfs/cmd
Brian Behlendorf cf70c0f8ae
zed: Take no action on scrub/resilver checksum errors
When scrubbing/resilvering a pool it can be counter productive to
cancel the scan and kick of a replace operation to a hot spare
when encountering checksum errors.  In this case, the best course
of action is to allow the scrub/resilver to complete as quickly
as possible and to keep the vdevs fully online if possible.

Realistically, this is less of an issue for a RAIDZ since a
traditional resilver must be used and checksums will be verified.
However, this is not the case for a mirror or dRAID pool which is
sequentially resilvered and checksum verification is deferred
until after the replace operation completes.

Regardless, we apply this policy to all pool types since it's
a good idea for all vdevs.  Degrading additional vdevs has the
potential to make a bad situation worse.  Note the checksum
errors will still be reported as both an event and by
`zpool status`.  This change only prevents the ZED from
proactively taking any action.

Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #13499
2022-05-24 09:36:07 -07:00
..
raidz_test autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zdb zdb: Fix handling of nul termination in symlink targets 2022-05-20 10:32:49 -07:00
zed zed: Take no action on scrub/resilver checksum errors 2022-05-24 09:36:07 -07:00
zfs libzfs: return (allocated) strings instead of filling buffers 2022-05-18 12:52:10 -07:00
zinject autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zpool libzfs: return (allocated) strings instead of filling buffers 2022-05-18 12:52:10 -07:00
zpool_influxdb autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
zstream autoconf: use include directives instead of recursing down cmd 2022-05-10 10:18:38 -07:00
Makefile.am cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
arc_summary cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
arcstat.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
dbufstat.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
fsck.zfs.in cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
mount_zfs.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zfs_ids_to_path.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zgenhostid.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
zhack.c cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00
ztest.c ztest: O_CLOEXEC ztest_fd_rand 2022-05-11 10:33:12 -07:00
zvol_wait cmd: move single-file binaries up, extract udev programs to udev/ 2022-05-10 10:20:34 -07:00