OpenSolaris

Printable Version Enter a New Search
Bug ID 6343667
Synopsis scrub/resilver has to start over when a snapshot is taken
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:zfs
Keywords BOP | bopmail-exception | s10u2-reviewed | z-triage | zfs-esc
Responsible Engineer Matthew Ahrens
Reported Against 5.10 , snv_51 , snv_89 , s10u4_fcs
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_94
Fixed In snv_94
Release Fixed solaris_nevada(snv_94) , solaris_10u8(s10u8_01) (Bug ID:2136811)
Related Bugs 6344108 , 6592835 , 6642156 , 6655927 , 6705765 , 6712637 , 6713721 , 6722838 , 6727872 , 6728176 , 6732083 , 6739487 , 6795440 , 6809347 , 6827260
Submit Date 30-October-2005
Last Update Date 27-August-2009
Description
See comments.
I have no system which is more than 1TB hard disks.  However, It is ok in some of my system which hard disks are less than 1TB, please check below.

bash-3.2# more /etc/motd
Sun Microsystems Inc.   SunOS 5.11      myrelocate      Jun. 20, 2008
SunOS Internal Development:  ahrens 2008-06-20 [myrelocate]
bfu'ed from /net/zday.eng/export/ahrens/myrelocate/archives/i386/test12/ on 2008-07-02
Sun Microsystems Inc.   SunOS 5.11      snv_92  January 2008
bash-3.2# zpool list
NAME    SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
rpool    34G  12.0G  22.0G    35%  ONLINE  -
tank   84.8G   115K  84.7G     0%  ONLINE  -
bash-3.2# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub in progress for 0h0m, 1.66% done, 0h41m to go
config:

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

errors: No known data errors
bash-3.2# zfs list
NAME                    USED  AVAIL  REFER  MOUNTPOINT
rpool                  15.7G  17.7G  36.5K  /rpool
rpool/ROOT             8.65G  17.7G    18K  legacy
rpool/ROOT/snv_92      8.65G  17.7G  4.98G  /
rpool/ROOT/snv_92/var  3.67G  17.7G  3.67G  /var
rpool/dump             3.31G  17.7G  3.31G  -
rpool/export             38K  17.7G    19K  /export
rpool/export/home        19K  17.7G    19K  /export/home
rpool/swap             3.78G  21.5G    16K  -
tank                    110K  83.4G    19K  /tank
tank/testfs              18K  83.4G    18K  /tank/testfs
bash-3.2# zfs snapshot Jul  2 03:44:55 quadspeed zfs: pausing scrub
Jul  2 03:44:55 quadspeed zfs: doing scrub sync txg 42610.  zb=37/4d07/0/0
bash-3.2# 
bash-3.2# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub in progress for 0h1m, 10.95% done, 0h12m to go
config:

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

errors: No known data errors
bash-3.2# Jul  2 03:45:25 quadspeed zfs: pausing scrub
Jul  2 03:45:25 quadspeed zfs: doing scrub sync txg 42611.  zb=37/b6f3/0/0
   
bash-3.2# 
bash-3.2# zfs snapshot rpool/ROOT/snv_92@snap1
Jul  2 03:45:43 quadspeed zfs: pausing scrub
Jul  2 03:45:43 quadspeed zfs: doing scrub sync txg 42612.  zb=37/e3c0/0/0
Jul  2 03:45:44 quadspeed zfs: pausing scrub
Jul  2 03:45:44 quadspeed zfs: scrub bookmark ds snapshotted
Jul  2 03:45:44 quadspeed zfs: doing scrub sync txg 42613.  zb=6d/e85e/0/0
Jul  2 03:45:45 quadspeed zfs: pausing scrub
Jul  2 03:45:46 quadspeed zfs: doing scrub sync txg 42614.  zb=6d/eaf6/0/1
Jul  2 03:45:47 quadspeed zfs: pausing scrub
bash-3.2# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub in progress for 0h2m, 14.05% done, 0h12m to go
config:

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

errors: No known data errors
bash-3.2# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub in progress for 0h2m, 14.05% done, 0h13m to go
config:

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

errors: No known data errors
bash-3.2# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub in progress for 0h2m, 14.05% done, 0h13m to go
config:

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

errors: No known data errors
bash-3.2# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub in progress for 0h2m, 14.05% done, 0h13m to go
config:

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

errors: No known data errors
bash-3.2# zfs list
NAME                      USED  AVAIL  REFER  MOUNTPOINT
rpool                    15.7G  17.7G  36.5K  /rpool
rpool/ROOT               8.65G  17.7G    18K  legacy
rpool/ROOT/snv_92        8.65G  17.7G  4.98G  /
rpool/ROOT/snv_92@snap1      0      -  4.98G  -
rpool/ROOT/snv_92/var    3.67G  17.7G  3.67G  /var
rpool/dump               3.31G  17.7G  3.31G  -
rpool/export               38K  17.7G    19K  /export
rpool/export/home          19K  17.7G    19K  /export/home
rpool/swap               3.78G  21.5G    16K  -
tank                      110K  83.4G    19K  /tank
tank/testfs                18K  83.4G    18K  /tank/testfs
Jul  2 03:46:16 quadspeed zfs: doing scrub sync txg 42615.  zb=6d/eb72/0/0
bash-3.2# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub in progress for 0h2m, 16.32% done, 0h13m to go
config:

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

errors: No known data errors
bash-3.2# zfs snapshot rpool/ROOT/snv_92@snap2
Jul  2 03:46:43 quadspeed zfs: pausing scrub
Jul  2 03:46:43 quadspeed zfs: doing scrub sync txg 42616.  zb=6d/15180/0/0
Jul  2 03:46:44 quadspeed zfs: pausing scrub
Jul  2 03:46:44 quadspeed zfs: doing scrub sync txg 42617.  zb=6d/15400/0/0
Jul  2 03:46:45 quadspeed zfs: pausing scrub
Jul  2 03:46:45 quadspeed zfs: doing scrub sync txg 42618.  zb=6d/156e1/0/0
Jul  2 03:46:47 quadspeed zfs: pausing scrub
bash-3.2# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub in progress for 0h3m, 18.14% done, 0h13m to go
config:

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

errors: No known data errors
bash-3.2# 
bash-3.2# 
bash-3.2# 
bash-3.2# 
bash-3.2# Jul  2 03:47:15 quadspeed zfs: doing scrub sync txg 42619.  zb=6d/15c30/0/0
bash-3.2# zfs snapshot rpool/ROOT/snv_92/var@snap1
Jul  2 03:48:10 quadspeed zfs: pausing scrub
Jul  2 03:48:10 quadspeed zfs: doing scrub sync txg 42621.  zb=6d/1fc66/0/0
Jul  2 03:48:11 quadspeed zfs: pausing scrub
Jul  2 03:48:12 quadspeed zfs: scrub queue ds snapshotted
Jul  2 03:48:12 quadspeed zfs: doing scrub sync txg 42622.  zb=6d/20372/0/0
Jul  2 03:48:13 quadspeed zfs: pausing scrub
Jul  2 03:48:13 quadspeed zfs: doing scrub sync txg 42623.  zb=6d/20fea/0/0
Jul  2 03:48:14 quadspeed zfs: pausing scrub
Jul  2 03:48:14 quadspeed zfs: doing scrub sync txg 42624.  zb=6d/225e0/0/0
bash-3.2# Jul  2 03:48:15 quadspeed zfs: pausing scrub
zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub in progress for 0h4m, 27.59% done, 0h11m to go
config:

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

errors: No known data errors
bash-3.2# Jul  2 03:48:44 quadspeed zfs: doing scrub sync txg 42625.  zb=6d/22bd5/0/1
      
bash-3.2# zfs snapshot Jul  2 03:49:14 quadspeed zfs: pausing scrub
Jul  2 03:49:14 quadspeed zfs: doing scrub sync txg 42626.  zb=6d/28a47/0/0
rpool/export@snap4
Jul  2 03:49:23 quadspeed zfs: pausing scrub
Jul  2 03:49:23 quadspeed zfs: doing scrub sync txg 42627.  zb=6d/2ef8a/0/0
Jul  2 03:49:24 quadspeed zfs: pausing scrub
Jul  2 03:49:24 quadspeed zfs: scrub queue ds snapshotted
Jul  2 03:49:24 quadspeed zfs: doing scrub sync txg 42628.  zb=6d/2f45c/0/0
Jul  2 03:49:25 quadspeed zfs: pausing scrub
Jul  2 03:49:26 quadspeed zfs: doing scrub sync txg 42629.  zb=6d/2f5a0/0/0
Jul  2 03:49:27 quadspeed zfs: pausing scrub
bash-3.2# zfs list
NAME                          USED  AVAIL  REFER  MOUNTPOINT
rpool                        15.7G  17.7G  36.5K  /rpool
rpool/ROOT                   8.65G  17.7G    18K  legacy
rpool/ROOT/snv_92            8.65G  17.7G  4.98G  /
rpool/ROOT/snv_92@snap1          0      -  4.98G  -
rpool/ROOT/snv_92@snap2          0      -  4.98G  -
rpool/ROOT/snv_92/var        3.67G  17.7G  3.67G  /var
rpool/ROOT/snv_92/var@snap1   157K      -  3.67G  -
rpool/dump                   3.31G  17.7G  3.31G  -
rpool/export                   38K  17.7G    19K  /export
rpool/export@snap4               0      -    19K  -
rpool/export/home              19K  17.7G    19K  /export/home
rpool/swap                   3.78G  21.5G    16K  -
tank                          110K  83.4G    19K  /tank
tank/testfs                    18K  83.4G    18K  /tank/testfs
bash-3.2# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub in progress for 0h5m, 32.21% done, 0h12m to go
config:

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

errors: No known data errors
bash-3.2# Jul  2 03:49:56 quadspeed zfs: doing scrub sync txg 42630.  zb=6d/2f77a/0/0
Jul  2 03:50:26 quadspeed zfs: pausing scrub
Jul  2 03:50:26 quadspeed zfs: doing scrub sync txg 42631.  zb=6d/33bd1/0/0
Jul  2 03:50:56 quadspeed zfs: pausing scrub
Jul  2 03:50:56 quadspeed zfs: doing scrub sync txg 42632.  zb=6d/3a866/0/0
Jul  2 03:51:26 quadspeed zfs: pausing scrub
Jul  2 03:51:26 quadspeed zfs: doing scrub sync txg 42633.  zb=71/5bda/0/0
Jul  2 03:51:56 quadspeed zfs: pausing scrub
Jul  2 03:51:56 quadspeed zfs: doing scrub sync txg 42634.  zb=71/8016/0/1132
Jul  2 03:52:27 quadspeed zfs: pausing scrub
Jul  2 03:52:27 quadspeed zfs: doing scrub sync txg 42635.  zb=71/8016/0/3782
Jul  2 03:52:57 quadspeed zfs: pausing scrub
Jul  2 03:52:57 quadspeed zfs: doing scrub sync txg 42636.  zb=71/8016/0/61c0
Jul  2 03:53:27 quadspeed zfs: pausing scrub
Jul  2 03:53:27 quadspeed zfs: doing scrub sync txg 42637.  zb=22/1/0/299c
Jul  2 03:53:57 quadspeed zfs: pausing scrub
Jul  2 03:53:58 quadspeed zfs: doing scrub sync txg 42638.  zb=22/1/0/61d8
Jul  2 03:54:02 quadspeed zfs: stopping scrub in txg 42638, complete=1
Jul  2 03:54:02 quadspeed zfs: replacing dtl on /dev/dsk/c1t0d0s0 up to txg 42607 with scrub dtl
Jul  2 03:54:02 quadspeed zfs: clearing scrub dtl on /dev/dsk/c1t0d0s0

bash-3.2# 
bash-3.2# zpool status rpool
  pool: rpool
 state: ONLINE
status: The pool is formatted using an older on-disk format.  The pool can
        still be used, but some features are unavailable.
action: Upgrade the pool using 'zpool upgrade'.  Once this is done, the
        pool will no longer be accessible on older software versions.
 scrub: scrub completed after 0h10m with 0 errors on Wed Jul  2 03:54:02 2008
config:

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

errors: No known data errors
Zhang,

You are using my development bits which fix this bug, and they seem to be working correctly (despite the fact that you are using an old version of my code -- I'm on test20 now).  Can you clarify what the issue is?
Work Around
N/A
Comments
N/A
  Add Yourself to the Interest List