Improved ZFS scrub statistics in Solaris 10 update 9

I talked about the ZFS scrub feature a few months back. In the latest Solaris 10 update the developers added additional scrub statistics, which are quite handy for figuring out throughout and estimated completion times:

$ zpool scrub rpool

$ zpool status -v

  pool: rpool
 state: ONLINE
 scan: scrub in progress since Tue Dec  6 07:45:31 2011
    1005M scanned out of 81.0G at 29.5M/s, 0h46m to go
    1005M scanned out of 81.0G at 29.5M/s, 0h46m to go
    0 repaired, 1.21% done
config:

        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          c1t0d0s0  ONLINE       0     0     0

errors: No known data errors

This sure beats the previous output! Nice job team Solaris.