diff options
author | Xin LI <delphij@FreeBSD.org> | 2014-07-01 08:20:34 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2014-07-01 08:20:34 +0000 |
commit | 6bab9dd0e435359b1887bac40d2e3909265da5a4 (patch) | |
tree | 06fbcbe3a597c13b33d238abfc6fd601f81fcbc2 /cddl/contrib/opensolaris/cmd/zdb/zdb.8 | |
parent | b01e3d0802a72f77e6be8f2879502d96f9682ceb (diff) | |
parent | 02ee1c3d19edff6af1ca1c13423471bd134610ed (diff) | |
download | src-6bab9dd0e435359b1887bac40d2e3909265da5a4.tar.gz src-6bab9dd0e435359b1887bac40d2e3909265da5a4.zip |
MFV r267568:
4891 want zdb option to dump all metadata
illumos/illumos-gate@df15e419cb7359ba56ddddab9045e438d89e7cbc
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=268084
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/zdb/zdb.8')
-rw-r--r-- | cddl/contrib/opensolaris/cmd/zdb/zdb.8 | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/cddl/contrib/opensolaris/cmd/zdb/zdb.8 b/cddl/contrib/opensolaris/cmd/zdb/zdb.8 index e59f37006429..41b99ac8c868 100644 --- a/cddl/contrib/opensolaris/cmd/zdb/zdb.8 +++ b/cddl/contrib/opensolaris/cmd/zdb/zdb.8 @@ -14,12 +14,12 @@ .\" .\" Copyright 2012, Richard Lowe. .\" Copyright (c) 2012, Marcelo Araujo <araujo@FreeBSD.org>. -.\" Copyright (c) 2012 by Delphix. All rights reserved. +.\" Copyright (c) 2012, 2014 by Delphix. All rights reserved. .\" All Rights Reserved. .\" .\" $FreeBSD$ .\" -.Dd March 20, 2014 +.Dd July 1, 2014 .Dt ZDB 8 .Os .Sh NAME @@ -32,6 +32,7 @@ .Op Fl t Ar txg .Op Fl U Ar cache .Op Fl M Ar inflight I/Os +.Op Fl x Ar dumpdir .Ar poolname .Op Ar object ... .Nm @@ -217,6 +218,14 @@ Operate on an exported pool, not present in The .Fl p flag specifies the path under which devices are to be searched. +.It Fl x Ar dumpdir +All blocks accessed will be copied to files in the specified directory. +The blocks will be placed in sparse files whose name is the same as +that of the file or device read. zdb can be then run on the generated files. +Note that the +.Fl bbc +flags are sufficient to access (and thus copy) +all metadata on the pool. .It Fl F Attempt to make an unreadable pool readable by trying progressively older transactions. |