HomeFreeBSD

zhack: Add repair label option

Description

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

Details

Provenance
Fedor Uporov <60701163+fuporovvStack@users.noreply.github.com>Authored on Nov 11 2021, 7:26 PM
GitHub <noreply@github.com>Committed on Nov 11 2021, 7:26 PM
Parents
rG637771a066ba: ZTS: zfs_list_004_neg should not check paths that belong to ZFS
Branches
Unknown
Tags
Unknown