Project

General

Profile

Bug #3397

zdb <pool> <objnum> output is too verbose

Added by Christopher Siden almost 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
zfs - Zettabyte File System
Start date:
2012-12-04
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:

Description

For 'zdb <dataset> <objnum>' zdb only outputs information about the given
object, but if <dataset> is actually a pool name (i.e. does not contain '/' or
'@') it starts down the code path that prints all information about the entire
pool (e.g. metaslabs, deferred free lists) and tries to find the given object
number in EVERY dataset in the entire pool, which ends up causing the command
to fail pretty much all the time since the object number probably doesn't exist
in at least one file system. If a user uses that command format I imagine what
they actually want is only information about the given object in the MOS, I
don't see how the old output could possibly have been useful to anyone.

History

#1

Updated by Rich Lowe almost 7 years ago

  • Tags deleted (needs-triage)
  • % Done changed from 0 to 100
  • Status changed from In Progress to Resolved

Resolved in e690fb2

Also available in: Atom PDF