-b, --block-stats --block-stats | Display statistics regarding the number, size (logical, physical and allocated) and deduplication of blocks. | help + man |
--class (normal|special|dedup|other) | When used with -bb, only consider blocks from these allocation classes. | help + man |
-B, --backup --backup | Generate a backup stream, similar to zfs send, but for the numeric objset ID, and without opening the dataset. | help + man |
-c, --checksum --checksum | Verify the checksum of all metadata blocks while printing block statistics (see -b). | help + man |
-C, --config --config | Display information about the configuration. | help + man |
-d, --datasets --datasets | Display information about datasets. | help + man |
-D, --dedup-stats --dedup-stats | Display deduplication statistics, including the deduplication ratio (dedup), compression ratio (compress), inflation due to the zfs copies property (copies), and an overall effective ratio (dedup ×… | help + man |
-E, --embedded-block-pointer --embedded-block-pointer=INTEGER | Decode and display block from an embedded block pointer specified by the word arguments. | help + man |
-h, --history --history | Display pool history similar to zpool history, but include internal changes, transaction, and dataset information. | help + man |
-i, --intent-logs --intent-logs | Display information about intent log (ZIL) entries relating to each dataset. | help + man |
-l, --label --label | Read the vdev labels and L2ARC header from the specified device. | help + man |
-k, --checkpointed-state --checkpointed-state | Examine the checkpointed state of the pool. | help + man |
-L, --disable-leak-tracking --disable-leak-tracking | Disable leak detection and the loading of space maps. | help + man |
-m, --metaslabs --metaslabs | Display the offset, spacemap, free space of each metaslab, all the log spacemaps and their obsolete entry statistics. | help + man |
-M, --metaslab-groups --metaslab-groups | Display all "normal" vdev metaslab group information - per-vdev metaslab count, fragmentation, and free space histogram, as well as overall pool fragmentation and histogram. | help + man |
-O, --object-lookups --object-lookups | Look up the specified path inside of the dataset and display its metadata and indirect blocks. | help + man |
-r, --copy-object --copy-object | Copy the specified path inside of the dataset to the specified destination. | help + man |
-R, --read-block --read-block | Read and display a block from the specified device. | help + man |
-s, --io-stats --io-stats | Report statistics on zdb I/O. | help + man |
-S, --simulate-dedup --simulate-dedup | Simulate the effects of deduplication, constructing a DDT and then display that DDT as with -DD. | help + man |
-v, --verbose --verbose | verbose (applies to all others) | help + man |
-y, --livelist --livelist | perform livelist and metaslab validation on any livelists being deleted | help + man |
-A, --ignore-assertions --ignore-assertions | ignore assertions (-A), enable panic recovery (-AA) or both (-AAA) | help + man |
-e, --exported --exported | Operate on an exported pool, not present in /etc/zfs/zpool.cache. | help + man |
-F, --automatic-rewind --automatic-rewind | Attempt to make an unreadable pool readable by trying progressively older transactions. | help + man |
-G, --dump-debug-msg --dump-debug-msg | Dump the contents of the zfs_dbgmsg buffer before exiting zdb. | help + man |
-I, --inflight --inflight=INTEGER | Limit the number of outstanding checksum I/O operations to the specified value. | help + man |
-K, --key --key=KEY | Decryption key needed to access an encrypted dataset. | help + man |
-p --path==PATH | use one or more with -e to specify path to vdev dir | help |
-P, --parseable --parseable | Print numbers in an unscaled form more amenable to parsing, e.g. 1000000 rather than 1M. | help + man |
-q --skip-label | don't print label contents | help |
-t, --txg --txg=INTEGER | Specify the highest transaction to use when searching for uberblocks. | help + man |
-T, --brt-stats --brt-stats | Display block reference table (BRT) statistics, including the size of uniques blocks cloned, the space saving as a result of cloning, and the saving ratio. | help + man |
-u, --uberblock --uberblock | Display the current uberblock. | help + man |
-U, --cachefile --cachefile=PATH | Use a cache file other than /etc/zfs/zpool.cache. | help + man |
-V, --verbatim --verbatim | Attempt verbatim import. | help + man |
-x, --dump-blocks --dump-blocks=PATH | All blocks accessed will be copied to files in the specified directory. | help + man |
-X, --extreme-rewind --extreme-rewind | Attempt "extreme" transaction rewind, that is attempt the same recovery as -F but read transactions otherwise deemed too old. | help + man |
-Y, --all-reconstruction --all-reconstruction | Attempt all possible combinations when reconstructing indirect split blocks. | help + man |
-Z --zstd-headers | show ZSTD headers | help |
--allocated-map | Prints out a list of all the allocated regions in the pool. (in the manual page but not in --help) | man |
--bin (lsize|psize|asize) | When used with -bb, sort blocks into all three bins according to the given size (instead of binning a block for each size separately). (in the manual page but not in --help) | man |
-DD | Display a histogram of deduplication statistics, showing the allocated (physically present on disk) and referenced (logically referenced in the pool) block counts and sizes by reference count. (in the manual page but not in --help) | man |
-DDD | Display the statistics independently for each deduplication table. (in the manual page but not in --help) | man |
-DDDD | Dump the contents of the deduplication tables describing duplicate blocks. (in the manual page but not in --help) | man |
-DDDDD | Also dump the contents of the deduplication tables describing unique blocks. (in the manual page but not in --help) | man |
-ll device | In addition display label space usage stats. (in the manual page but not in --help) | man |
-lll device | Display every configuration, unique or not. (in the manual page but not in --help) | man |
-mm | Also display information about the on-disk free space histogram associated with each metaslab. (in the manual page but not in --help) | man |
-mmm | Display the maximum contiguous free space, the in-core free space histogram, and the percentage of free space in each space map. (in the manual page but not in --help) | man |
-mmmm | Display every spacemap record. (in the manual page but not in --help) | man |
-MM | "Special" vdevs are added to -M's normal output. (in the manual page but not in --help) | man |
-MMM | Display every spacemap record. (in the manual page but not in --help) | man |
-N | Same as -d but force zdb to interpret the [dataset|objset-ID] in [poolname[/dataset|objset-ID]] as a numeric objset ID. (in the manual page but not in --help) | man |
-TT | Display the per-vdev BRT statistics, including total references. (in the manual page but not in --help) | man |
-TTT | Display histograms of per-vdev BRT refcounts. (in the manual page but not in --help) | man |
-TTTT | Dump the contents of the block reference tables. (in the manual page but not in --help) | man |
-AA | Enable panic recovery, certain errors which would otherwise be fatal are demoted to warnings. (in the manual page but not in --help) | man |
-AAA | Do not abort if asserts fail and also enable panic recovery. (in the manual page but not in --help) | man |
-o, --option var=value… | Set the given tunable to the provided value. (in the manual page but not in --help) | man |