HomeFreeBSD

Too many vdev probe errors should suspend pool

Description

Too many vdev probe errors should suspend pool

Similar to what we saw in #16569, we need to consider that a
replacing vdev should not be considered as fully contributing
to the redundancy of a raidz vdev even though current IO has
enough redundancy.

When a failed vdev_probe() is faulting a disk, it now checks
if that disk is required, and if so it suspends the pool until
the admin can return the missing disks.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Allan Jude <allan@klarasystems.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Don Brady <don.brady@klarasystems.com>
Closes #16864

Details

Provenance
Don Brady <don.brady@klarasystems.com>Authored on Jan 4 2025, 6:28 PM
GitHub <noreply@github.com>Committed on Jan 4 2025, 6:28 PM
Parents
rG50cbb14641b3: Add Makefile dependencies for scripts/zfs-tests.sh -c
Branches
Unknown
Tags
Unknown