From fa241660743d75a97001509c613b400fb60f26be Mon Sep 17 00:00:00 2001 From: Tom Caputi Date: Thu, 2 May 2019 19:42:31 -0400 Subject: Add feature check for 'zpool resilver' command The 'zpool resilver' command requires that the resilver_defer feature is active on the pool. Unfortunately, the check for this was left out of the original patch. This commit simply corrects this so that the command properly returns an error in this case. Reviewed by: Brian Behlendorf Reviewed-by: Igor Kozhukhov Signed-off-by: Tom Caputi Closes #8700 --- man/man8/zpool.8 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'man') diff --git a/man/man8/zpool.8 b/man/man8/zpool.8 index eb93d3bb3..971501d8d 100644 --- a/man/man8/zpool.8 +++ b/man/man8/zpool.8 @@ -2216,7 +2216,9 @@ again. .Xc Starts a resilver. If an existing resilver is already running it will be restarted from the beginning. Any drives that were scheduled for a deferred -resilver will be added to the new one. +resilver will be added to the new one. This requires the +.Sy resilver_defer +feature. .It Xo .Nm .Cm trim -- cgit v1.2.3