HomeFreeBSD

zdb: Introduce -V for verbatim import

Description

zdb: Introduce -V for verbatim import

When given a pool name via -e, zdb would attempt an import. If it
failed, then it would attempt a verbatim import. This behavior is
not always desirable so a -V switch is added to zdb to control the
behavior. When specified, a verbatim import is done. Otherwise,
the behavior is as it was previously, except no verbatim import
is done on failure.

Signed-off-by: Richard Yao <ryao@gentoo.org>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2372

Details

Provenance
Richard Yao <ryao@gentoo.org>Authored on Jun 8 2014, 6:10 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 17 2014, 6:40 PM
Parents
rG2fbc542ebdee: Illumos 4168, 4169, 4170: ztest, zdb and zhack fixes
Branches
Unknown
Tags
Unknown