]> git.proxmox.com Git - mirror_zfs.git/commit - tests/runfiles/common.run
zhack: Add repair label option
authorFedor Uporov <60701163+fuporovvStack@users.noreply.github.com>
Thu, 11 Nov 2021 19:26:18 +0000 (11:26 -0800)
committerGitHub <noreply@github.com>
Thu, 11 Nov 2021 19:26:18 +0000 (11:26 -0800)
commitd04b5c9e877a4d4b2337e6b2b453c7650aed433d
tree1f98537eef9c205deb063ffe288c45e24f333f90
parent637771a066ba10083e818eb52d299e0d448f149b
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 <behlendorf1@llnl.gov>
Signed-off-by: Fedor Uporov <fuporov.vstack@gmail.com>
Closes #2510
Closes #12686
cmd/zhack/zhack.c
configure.ac
man/man1/zhack.1
tests/runfiles/common.run
tests/zfs-tests/tests/functional/cli_root/Makefile.am
tests/zfs-tests/tests/functional/cli_root/zhack/Makefile.am [new file with mode: 0644]
tests/zfs-tests/tests/functional/cli_root/zhack/zhack_label_checksum.ksh [new file with mode: 0755]