diff options
author | Rob Norris <[email protected]> | 2023-11-18 21:33:45 +1100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2023-11-28 12:56:43 -0800 |
commit | e96675a7b131c0049c7dd2b269ab0344f530999e (patch) | |
tree | bdc1dcc61df819abf959b1148f10da7cd7c57eb3 /man/man8 | |
parent | d702f86eaf5aba13762f436152026ba0befa1a23 (diff) |
zdb: show BRT statistics and dump its contents
Same idea as the dedup stats, but for block cloning.
Reviewed-by: Alexander Motin <[email protected]>
Reviewed-by: Kay Pedersen <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Rob Norris <[email protected]>
Closes #15541
Diffstat (limited to 'man/man8')
-rw-r--r-- | man/man8/zdb.8 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/man/man8/zdb.8 b/man/man8/zdb.8 index 52c8e452f..d7f66d917 100644 --- a/man/man8/zdb.8 +++ b/man/man8/zdb.8 @@ -14,7 +14,7 @@ .\" Copyright (c) 2017 Lawrence Livermore National Security, LLC. .\" Copyright (c) 2017 Intel Corporation. .\" -.Dd June 27, 2023 +.Dd November 18, 2023 .Dt ZDB 8 .Os . @@ -23,7 +23,7 @@ .Nd display ZFS storage pool debugging and consistency information .Sh SYNOPSIS .Nm -.Op Fl AbcdDFGhikLMNPsvXYy +.Op Fl AbcdDFGhikLMNPsTvXYy .Op Fl e Oo Fl V Oc Oo Fl p Ar path Oc Ns … .Op Fl I Ar inflight-I/O-ops .Oo Fl o Ar var Ns = Ns Ar value Oc Ns … @@ -403,6 +403,13 @@ Display operation counts, bandwidth, and error counts of I/O to the pool from Simulate the effects of deduplication, constructing a DDT and then display that DDT as with .Fl DD . +.It Fl T , -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. +.It Fl TT +Display the per-vdev BRT statistics, including total references. +.It Fl TTT +Dump the contents of the block reference tables. .It Fl u , -uberblock Display the current uberblock. .El |