mirror_zfs/cmd
Ned Bass 0a37abc206 zdb: print block checksums with 6 d's of verbosity
Include checksums in the output of 'zdb -dddddd' along
with other indirect block information already displayed.

Example output follows (with long lines trimmed):

$ zdb -dddddd tank/fish 128
Dataset tank/fish [ZPL], ID 259, cr_txg 10, 16.2M, 93 objects, rootbp DV

    Object  lvl   iblk   dblk  dsize  dnsize  lsize   %full  type
       128    2   128K   128K   634K     512     1M  100.00  ZFS plain f
                                               168   bonus  System attri
    dnode flags: USED_BYTES USERUSED_ACCOUNTED USEROBJUSED_ACCOUNTED
    dnode maxblkid: 7
    path    /c
    uid     0
    gid     0
    atime    Sat Dec 21 10:49:26 2019
    mtime    Sat Dec 21 10:49:26 2019
    ctime    Sat Dec 21 10:49:26 2019
    crtime    Sat Dec 21 10:49:26 2019
    gen    41
    mode    100755
    size    964592
    parent    34
    links    1
    pflags    40800000104
Indirect blocks:
               0 L1  0:2c0000:400 0:c021e00:400 20000L/400P F=8 B=41/41
               0  L0 0:227800:13800 20000L/13800P F=1 B=41/41 cksum=167a
           20000  L0 0:25ec00:17c00 20000L/17c00P F=1 B=41/41 cksum=2312
           40000  L0 0:276800:18400 20000L/18400P F=1 B=41/41 cksum=24e0
           60000  L0 0:2a7800:18800 20000L/18800P F=1 B=41/41 cksum=25be
           80000  L0 0:28ec00:18c00 20000L/18c00P F=1 B=41/41 cksum=2579
           a0000  L0 0:24d000:11c00 20000L/11c00P F=1 B=41/41 cksum=140a
           c0000  L0 0:23b000:12000 20000L/12000P F=1 B=41/41 cksum=164e
           e0000  L0 0:221e00:5a00 20000L/5a00P F=1 B=41/41 cksum=9de790

        segment [0000000000000000, 0000000000100000) size    1M

Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ned Bass <bass6@llnl.gov>
2020-01-22 13:49:07 -08:00
..
arc_summary Fix reporting of L2ARC hits/misses in arc_summary3 2020-01-22 13:49:05 -08:00
arcstat Canonicalize Python shebangs 2020-01-22 13:49:00 -08:00
dbufstat Canonicalize Python shebangs 2020-01-22 13:49:00 -08:00
fsck_zfs Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
mount_zfs Refactor libzfs_error_init newlines 2020-01-22 13:49:01 -08:00
raidz_test Support -fsanitize=address with --enable-asan 2018-01-10 10:49:27 -08:00
vdev_id Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zdb zdb: print block checksums with 6 d's of verbosity 2020-01-22 13:49:07 -08:00
zed Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
zfs cppcheck: (error) Null pointer dereference: who_perm 2020-01-22 13:49:06 -08:00
zgenhostid Add zgenhostid utility script 2017-07-25 13:22:03 -04:00
zhack Add libzutil for libzfs or libzpool consumers 2018-11-05 11:22:33 -08:00
zinject Refactor libzfs_error_init newlines 2020-01-22 13:49:01 -08:00
zpool Fix zpool history unbounded memory usage 2020-01-22 13:49:03 -08:00
zstreamdump Fix typos in cmd/ 2020-01-22 13:48:58 -08:00
ztest Linux 5.0 compat: SIMD compatibility 2020-01-22 13:49:01 -08:00
zvol_id Fedora 28: Fix misc bounds check compiler warnings 2018-04-04 10:16:47 -07:00
zvol_wait zvol_wait script should ignore partially received zvols 2019-09-25 11:27:51 -07:00
Makefile.am New service that waits on zvol links to be created 2019-09-25 11:27:51 -07:00