Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 11:38:55 -0800
From:      Andrew Leonard <lists@hurricane-ridge.com>
To:        freebsd-fs@freebsd.org
Subject:   ZFS mirrored separate log device replacement scans entire pool?
Message-ID:  <CADUQDp8aM0LmZFvFjii_h-26E5CH0Asu5F4KNUTN%2BZ37jne9UA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
This is likely more of a curiosity than an issue, unless it indicates I did
something wrong: Why does replacing half of a mirrored ZFS separate log
cause the entire zpool to be scanned?  To wit:

> zpool status
  pool: tank01
 state: DEGRADED
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 Mon Dec 10 11:15:49 2012
        7.54T scanned out of 27.0T at 3.12G/s, 1h46m to go
        0 resilvered, 27.93% done
config:

NAME                       STATE     READ WRITE CKSUM
tank01                     DEGRADED     0     0     0
  raidz2-0                 ONLINE       0     0     0
    da2                    ONLINE       0     0     0
    da3                    ONLINE       0     0     0
    da4                    ONLINE       0     0     0
    da5                    ONLINE       0     0     0
    da6                    ONLINE       0     0     0
    da7                    ONLINE       0     0     0
    da8                    ONLINE       0     0     0
    da9                    ONLINE       0     0     0
    da10                   ONLINE       0     0     0
    da11                   ONLINE       0     0     0
  raidz2-1                 ONLINE       0     0     0
    da12                   ONLINE       0     0     0
    da13                   ONLINE       0     0     0
    da14                   ONLINE       0     0     0
    da15                   ONLINE       0     0     0
    da16                   ONLINE       0     0     0
    da17                   ONLINE       0     0     0
    da18                   ONLINE       0     0     0
    da19                   ONLINE       0     0     0
    da20                   ONLINE       0     0     0
    da21                   ONLINE       0     0     0
  raidz2-2                 ONLINE       0     0     0
    da22                   ONLINE       0     0     0
    da23                   ONLINE       0     0     0
    da24                   ONLINE       0     0     0
    da32                   ONLINE       0     0     0
    da26                   ONLINE       0     0     0
    da27                   ONLINE       0     0     0
    da33                   ONLINE       0     0     0
    da29                   ONLINE       0     0     0
    da30                   ONLINE       0     0     0
    da31                   ONLINE       0     0     0
logs
  mirror-3                 DEGRADED     0     0     0
    da34                   ONLINE       0     0     0
    replacing-1            OFFLINE      0     0     0
      1754652639903581713  OFFLINE      0     0     0  was /dev/da35
      da25                 ONLINE       0     0     0

errors: No known data errors
> zpool get version tank01
NAME    PROPERTY  VALUE    SOURCE
tank01  version   28       default
> zfs get version tank01
NAME    PROPERTY  VALUE    SOURCE
tank01  version   5        -
> uname -a
FreeBSD zfs12.sbri.org 8.3-STABLE FreeBSD 8.3-STABLE #0: Sun Aug 12
07:31:24 PDT 2012     root@zfs12.sbri.org:/usr/obj/usr/src/sys/GENERIC
 amd64

Thanks,
Andy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADUQDp8aM0LmZFvFjii_h-26E5CH0Asu5F4KNUTN%2BZ37jne9UA>