diff options
author | Rob Norris <[email protected]> | 2023-11-18 21:33:45 +1100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2023-11-27 13:35:07 -0800 |
commit | 213d6829673ce28095f7c15b8fb65e1ade91d20a (patch) | |
tree | 260a5f90c7eba3eac5d8b595ef34f71c723a8b91 /man/man8 | |
parent | 803a9c12c911b240f1bb20ac9b542349d49bea3b (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 |