Den 14.06.2011 14:06, skrev Edward Ned Harvey:
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
boun...@opensolaris.org] On Behalf Of Rasmus Fauske

I want to replace some slow consumer drives with new edc re4 ones but
when I do a replace it needs to scan the full pool and not only that
disk set (or just the old drive)

Is this normal ? (the speed is always slow in the start so thats not
what I am wondering about, but that it needs to scan all of my 18.7T to
replace one drive)

The disk config:
    pool: tank
   state: ONLINE
status: One or more devices is currently being resilvered.  The pool will
          continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
   scan: resilver in progress since Tue Jun 14 10:03:37 2011
      16.8G scanned out of 18.7T at 1.52M/s, (scan is slow, no estimated
time)
      388M resilvered, 0.09% done
config:

          NAME             STATE     READ WRITE CKSUM
          tank             ONLINE       0     0     0
            raidz2-1       ONLINE       0     0     0
              c10t21d0     ONLINE       0     0     0
              replacing-1  ONLINE       0     0     0
                c10t35d0   ONLINE       0     0     0
                c10t22d0   ONLINE       0     0     0  (resilvering)
              c10t23d0     ONLINE       0     0     0
              c10t24d0     ONLINE       0     0     0
              c10t25d0     ONLINE       0     0     0
              c10t26d0     ONLINE       0     0     0
              c10t27d0     ONLINE       0     0     0
Only this raidz2 vdev is resilvering.  The other raidz2-vdev's are idle.
You can verify this with the command:
        zpool iostat 30

Yes but still it wants to scan all of the data in the pool:

action: Wait for the resilver to complete.
    scan: resilver in progress since Tue Jun 14 10:03:37 2011
       16.8G scanned out of 18.7T at 1.52M/s, (scan is slow, no estimated  time)

Each raidz is 7 x 1TB disks, around 50% filled. So should it not only scan that 
data and not the full pool that holds around 18T ?

--
Rasmus F



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to