HomeFreeBSD

Storage device expansion "silently" fails on degraded vdev

Description

Storage device expansion "silently" fails on degraded vdev

When a vdev is degraded or faulted, we refuse to expand it when doing
online -e. However, we also don't actually cause the online command
to fail, even though the disk didn't expand. This is confusing and
misleading, and can result in violated expectations.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Mark Maybee <mark.maybee@delphix.com>
Signed-off-by: Paul Dagnelie <pcd@delphix.com>
Closes 14145

Details

Provenance
pcd_delphix.comAuthored on Apr 6 2023, 5:29 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on May 26 2023, 5:12 PM
Parents
rG6ec3abcb59aa: Use vmem_zalloc to silence allocation warning
Branches
Unknown
Tags
Unknown