zfsonlinux/zfs — pull request #2372 by ryao (2014-06-08 18:54:50+00:00)
Title: 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 made debugging
corrupt pools difficult because verbatim import will often segfault when
a normal import is unable to function. This is also confusing to users
attempting to follow instructions from ZFS developers in situations
where they cannot provide direct access to pools. This is easily
resolved by introducing a -V switch to zdb. When specified, a verbatim
import is done. Otherwise, the behavior is as it was previously, except
no verbatim import is done on failure. This resolves the segmentation
fault in zfsonlinux/zfs#2371.

Since `zpool import -V` is undocumented (because it is unsafe), no
changes are made to the man page to mention this new -V option to zdb.

Signed-off-by: Richard Yao