From e78d06f89b021d2b870b7a19c70d251164250383 Mon Sep 17 00:00:00 2001 From: Sam Hathaway Date: Mon, 23 Aug 2021 17:59:18 -0400 Subject: [PATCH] zpool-remove.8: describe top-level vdev sector size limitation Document that top-level vdevs cannot be removed unless all top-level vdevs have the same sector size. Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Signed-off-by: Sam Hathaway Closes #11339 Closes #12472 --- man/man8/zpool-remove.8 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man/man8/zpool-remove.8 b/man/man8/zpool-remove.8 index 1429180385..a14218ee17 100644 --- a/man/man8/zpool-remove.8 +++ b/man/man8/zpool-remove.8 @@ -52,10 +52,10 @@ Removes the specified device from the pool. This command supports removing hot spare, cache, log, and both mirrored and non-redundant primary top-level vdevs, including dedup and special vdevs. -When the primary pool storage includes a top-level raidz vdev only hot spare, -cache, and log devices can be removed. -Note that keys for all encrypted datasets must be loaded for top-level vdevs -to be removed. +.Pp +Top-level vdevs can only be removed if the primary pool storage does not contain +a top-level raidz vdev, all top-level vdevs have the same sector size, and the +keys for all encrypted datasets are loaded. .Pp Removing a top-level vdev reduces the total amount of space in the storage pool. The specified device will be evacuated by copying all allocated space from it to