aboutsummaryrefslogtreecommitdiffstats
path: root/man/man8
diff options
context:
space:
mode:
authorPaul Zuchowski <[email protected]>2020-01-16 12:22:49 -0500
committerBrian Behlendorf <[email protected]>2020-01-16 09:22:49 -0800
commitf12e42cccf31d6077f585a562d7e7ed3483291b1 (patch)
treeecee7b446e02d14363f1df499d133651f1b50dbf /man/man8
parent1b64627e7335e9f38d66424cdd242b3d0889b060 (diff)
zdb -d should accept the numeric objset id
As an alternative to the dataset name, zdb now allows the decimal or hexadecimal objset ID to be specified. When permanent errors are reported as 2 hexadecimal numbers (objset ID : object ID) in zpool status; you can now use 'zdb <pool>[/objset ID] object' to determine the names of the objset and object which have the error. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Paul Zuchowski <[email protected]> Closes #9733
Diffstat (limited to 'man/man8')
-rw-r--r--man/man8/zdb.85
1 files changed, 3 insertions, 2 deletions
diff --git a/man/man8/zdb.8 b/man/man8/zdb.8
index 7c50d95d9..87d3ad8cc 100644
--- a/man/man8/zdb.8
+++ b/man/man8/zdb.8
@@ -30,12 +30,13 @@
.Op Fl t Ar txg
.Op Fl U Ar cache
.Op Fl x Ar dumpdir
-.Op Ar poolname Op Ar object ...
+.Op Ar poolname[/dataset | objset ID]
+.Op Ar object ...
.Nm
.Op Fl AdiPv
.Op Fl e Oo Fl V Oc Op Fl p Ar path ...
.Op Fl U Ar cache
-.Ar dataset Op Ar object ...
+.Ar poolname[/dataset | objset ID] Op Ar object ...
.Nm
.Fl C
.Op Fl A