If you know the object number, i suppose it would be doable.

zdb -vvvv -O media/svn/freebsd 
sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c

Will list all of the indirect blocks, with their DVAs, which you can then use 
`zdb -R pool DVA` on. Looping though all of the L0 blocks and copying them out 
to a file.

It would certainly make sense to automate that inside zdb where you could just 
say 'zdb --extract -O pool/dataset path/to/file > result.txt'
 
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/T8fd1acda4fdadf20-M31b9f7ae189c917a93395f0a
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to