Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zed: prevent automatic replacement of offline vdevs
When a device is in a REMOVED state, a spare kicks in automatically. However, this behavior differs in FreeBSD, where we do not transition from OFFLINE to REMOVED. Our support team has encountered cases where customers who replaced their own drives experienced unexpected behavior, with multiple spares activating for the same VDEV due to a single disk replacement. This patch ensures that a drive in an OFFLINE state remains in that state and does not transition to REMOVED, preventing it from being replaced by a spare. Signed-off-by: Ameer Hamza <[email protected]>
- Loading branch information