The following steps allow one to either read data from L0 block directly or after converting DVA to physical device address, read data from device instead with dd.
We'll pretend that we have pool p03
with dataset path: p03/global/data0
. We have a single file on this data0 dataset, called words. It is basically a list of words, the good'ol unix dictionary.
- Get information with zdb about dataset, we want to get list of indirect blocks.
# zdb -AA -ddddd p03/global/data0
...snip...
Object lvl iblk dblk dsize lsize %full type
14 2 128K 128K 19.8M 19.8M 100.00 ZFS plain file