Article Listing 1 Listing 2 Listing 3 Listing 4
Listing 5 Listing 6 Listing 7 Listing 8 Listing 9
Listing 10 Listing 11 Listing 12 Listing 13 Listing 14
Listing 15 jan2007.tar

Listing 9 Scrubbing ZFS pools

79 root@beastie /root
# zpool scrub pool1 
80 root@beastie /root
#
80 root@beastie /root
# zpool status
  pool: pool1
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: scrub in progress, 63.53% done, 0h0m to go
config:

        NAME         STATE     READ WRITE CKSUM
        pool1        ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c2t2d0   ONLINE       0     0     5
            c2t3d0   ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c2t10d0  ONLINE       0     0     0
            c2t11d0  ONLINE       0     0     0

errors: No known data errors
81 root@beastie /root
# 
81 root@beastie /root
# zpool status
  pool: pool1
 state: ONLINE
status: One or more devices has experienced an unrecoverable error.  An
        attempt was made to correct the error.  Applications are unaffected.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or replace the device with 'zpool replace'.
   see: http://www.sun.com/msg/ZFS-8000-9P
 scrub: scrub completed with 0 errors on Sun Nov 12 22:39:05 2006
config:

        NAME         STATE     READ WRITE CKSUM
        pool1        ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c2t2d0   ONLINE       0     0    90
            c2t3d0   ONLINE       0     0     0
          mirror     ONLINE       0     0     0
            c2t10d0  ONLINE       0     0     0
            c2t11d0  ONLINE       0     0     0

errors: No known data errors