aboutsummaryrefslogtreecommitdiffstats
path: root/tests/runfiles
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 /tests/runfiles
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 'tests/runfiles')
-rw-r--r--tests/runfiles/common.run6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runfiles/common.run b/tests/runfiles/common.run
index 220710548..980e25958 100644
--- a/tests/runfiles/common.run
+++ b/tests/runfiles/common.run
@@ -317,6 +317,12 @@ tags = ['functional', 'cli_root', 'zfs_upgrade']
tests = ['zfs_wait_deleteq']
tags = ['functional', 'cli_root', 'zfs_wait']
+[tests/functional/cli_root/zhack]
+tests = ['zhack_label_checksum']
+pre =
+post =
+tags = ['functional', 'cli_root', 'zhack']
+
[tests/functional/cli_root/zpool]
tests = ['zpool_001_neg', 'zpool_002_pos', 'zpool_003_pos', 'zpool_colors']
tags = ['functional', 'cli_root', 'zpool']