aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorFedor Uporov <[email protected]>2021-11-11 11:26:18 -0800
committerGitHub <[email protected]>2021-11-11 11:26:18 -0800
commitd04b5c9e877a4d4b2337e6b2b453c7650aed433d (patch)
tree1f98537eef9c205deb063ffe288c45e24f333f90 /man
parent637771a066ba10083e818eb52d299e0d448f149b (diff)
zhack: Add repair label option
In case if all label checksums will be invalid on any vdev, the pool will become unimportable. The zhack with newly added cli options could be used to restore label checksums and make pool importable again. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Fedor Uporov <[email protected]> Closes #2510 Closes #12686
Diffstat (limited to 'man')
-rw-r--r--man/man1/zhack.17
1 files changed, 7 insertions, 0 deletions
diff --git a/man/man1/zhack.1 b/man/man1/zhack.1
index 83046ee8f..b03b87a1b 100644
--- a/man/man1/zhack.1
+++ b/man/man1/zhack.1
@@ -94,6 +94,13 @@ The
flag indicates that the
.Ar guid
feature is now required to read the pool MOS.
+.
+.It Xo
+.Nm zhack
+.Cm label repair
+.Ar device
+.Xc
+Repair corrupted labels by rewriting the checksum using the presumed valid contents of the label.
.El
.
.Sh GLOBAL OPTIONS