From owner-freebsd-fs@FreeBSD.ORG Mon Dec 10 19:39:02 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A74E4A5 for ; Mon, 10 Dec 2012 19:39:02 +0000 (UTC) (envelope-from lists@hurricane-ridge.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id B9A668FC1A for ; Mon, 10 Dec 2012 19:39:01 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fo14so3743406vcb.13 for ; Mon, 10 Dec 2012 11:38:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=GQ53HxXJB5HBIhD4bCa/bsTsSnIGWo2juuFTwQXLLuo=; b=cCMpLnHIjrX/+tWj7hfIjBTete98oWYKbzAaRQMxhlQBRL2rBnpIHQfiRWL1c2cRJS nnwq/TQY8VritwR2m9FSGWllsHMV5dqsXo+DaDF0CmOo6pVGAu1/e31l+NsxtAfUChmq elpTK/x4hoDhmeexLL7VaI542lY9jPNhmRmHenw9RXPEOh1H0gNsP/YIn4OgAO0clGK5 aT12ve95CjYgNAhvaijYcheCYxH+RobEAoB4ptecJAB7weLGTilFHYVFrCuXn1D51ue6 OaY4DwYlU+wfwMAmxWrYB7SJECX2KCsl0PUpHRXfvGQpWGKwGsNtT81hdD5hj6S/KUSz xLYQ== MIME-Version: 1.0 Received: by 10.52.35.20 with SMTP id d20mr8400470vdj.50.1355168335581; Mon, 10 Dec 2012 11:38:55 -0800 (PST) Received: by 10.58.38.138 with HTTP; Mon, 10 Dec 2012 11:38:55 -0800 (PST) X-Originating-IP: [209.124.184.194] Date: Mon, 10 Dec 2012 11:38:55 -0800 Message-ID: Subject: ZFS mirrored separate log device replacement scans entire pool? From: Andrew Leonard To: freebsd-fs@freebsd.org X-Gm-Message-State: ALoCoQljkiheBVsQKEN4YLhpQP7wHS8FIrl8Xtbm3WqTvXiB5WEnwY5750has1aljc8gv7RQ7+KG Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2012 19:39:02 -0000 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