aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorRichard Yao <[email protected]>2014-06-08 14:10:14 -0400
committerBrian Behlendorf <[email protected]>2014-07-17 11:40:32 -0700
commita5778ea2427bd340e3b4f697d9b6e1452bd71909 (patch)
treec5270bdee99a5a45b8acad9407cc8cdfb96076a0 /man
parent2fbc542ebdee773ab45fd0d35029d6978aa5900b (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #2372
Diffstat (limited to 'man')
-rw-r--r--man/man8/zdb.813
1 files changed, 12 insertions, 1 deletions
diff --git a/man/man8/zdb.8 b/man/man8/zdb.8
index 6f4f40d1c..adde85f4a 100644
--- a/man/man8/zdb.8
+++ b/man/man8/zdb.8
@@ -19,7 +19,7 @@
\fBzdb\fR - Display zpool debugging and consistency information
.SH "SYNOPSIS"
-\fBzdb\fR [-CumdibcsDvhLXFPA] [-e [-p \fIpath\fR...]] [-t \fItxg\fR]
+\fBzdb\fR [-CumdibcsDvhLVXFPA] [-e [-p \fIpath\fR...]] [-t \fItxg\fR]
[-U \fIcache\fR] [-M \fIinflight I/Os\fR] [\fIpoolname\fR
[\fIobject\fR ...]]
@@ -429,6 +429,17 @@ Attempt \'extreme\' transaction rewind, that is attempt the same recovery as
\fB-F\fR but read transactions otherwise deemed too old.
.RE
+.sp
+.ne 2
+.na
+\fB-V\fR
+.ad
+.sp .6
+.RS 4n
+Attempt a verbatim import. This mimics the behavior of the kernel when loading
+a pool from a cachefile.
+.RE
+
.P
Specifying a display option more than once enables verbosity for only that
option, with more occurrences enabling more verbosity.