mirror_zfs/tests/runfiles
Tony Hutter b44a3ecf4a
zpool: Change zpool offline spares policy
The zpool offline man page says that you cannot use 'zpool offline'
on spares.  However, testing found that you could in fact force fault
(zpool offline -f) spares.

Change the policy to:
1. You can never force-fault or offline dRAID spares.
2. You can only force-fault or offline traditional spares if they're
   active.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ameer Hamza <ahamza@ixsystems.com>
Reviewed-by: Akash B <akash-b@hpe.com>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #18282
2026-03-25 11:08:55 -07:00
..
bclone.run SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
common.run zpool: Change zpool offline spares policy 2026-03-25 11:08:55 -07:00
freebsd.run SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
linux.run Linux 7.0: explicitly set setlease handler to kernel implementation 2026-02-22 11:39:06 -08:00
longevity.run SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
perf-regression.run SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00
sanity.run zpool: Change zpool offline spares policy 2026-03-25 11:08:55 -07:00
sunos.run SPDX: license tags: CDDL-1.0 2025-03-13 17:56:27 -07:00