From nobody@FreeBSD.org Sun Jul 11 05:02:17 2010 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 907EE1065673 for ; Sun, 11 Jul 2010 05:02:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7FBEB8FC13 for ; Sun, 11 Jul 2010 05:02:17 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o6B52HwS002415 for ; Sun, 11 Jul 2010 05:02:17 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o6B52HQb002414; Sun, 11 Jul 2010 05:02:17 GMT (envelope-from nobody) Message-Id: <201007110502.o6B52HQb002414@www.freebsd.org> Date: Sun, 11 Jul 2010 05:02:17 GMT From: "Alvin Poon gmail com" To: freebsd-gnats-submit@FreeBSD.org Subject: zpool attach - resilver bidirectionally, and reports incorrect time X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 148490 >Category: kern >Synopsis: [zfs]: zpool attach - resilver bidirectionally, and reports incorrect time >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-fs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 11 05:10:06 UTC 2010 >Closed-Date: >Last-Modified: Wed Jul 14 21:40:02 UTC 2010 >Originator: Alvin Poon >Release: 8.0-RELEASE-p3 >Organization: >Environment: FreeBSD host.domain 8.0-RELEASE-p3 FreeBSD 8.0-RELEASE-p3 #0: Tue May 25 20:54:11 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I just attached an unused ZFS (version 14) disk to another (version 13) to form a mirror, supposedly destroying the old disk. However, zpool resilver went bidirectionally, and reported incorrect time both during and after completion: $ zpool status pool: mypool state: ONLINE scrub: resilver completed after 307445734561825858h7m with 0 errors on Sun Jul 11 05:44:51 2010 config: NAME STATE READ WRITE CKSUM mypool ONLINE 0 0 0 mirror ONLINE 0 0 0 ad4 ONLINE 0 0 0 528M resilvered ad6 ONLINE 0 0 0 1.11T resilvered errors: No known data errors $ 1. Resilver time should not be 307445734561825858h7m 2. zpool resilver should be unidirectional (from "master" to "slave"), why did it resilvered both ways (528M and 1.11T)? >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->freebsd-fs Responsible-Changed-By: remko Responsible-Changed-When: Sun Jul 11 08:18:55 UTC 2010 Responsible-Changed-Why: reassign to zfs team http://www.freebsd.org/cgi/query-pr.cgi?pr=148490 From: Martin Matuska To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/148490: [zfs]: zpool attach - resilver bidirectionally, and reports incorrect time Date: Sun, 11 Jul 2010 23:11:20 +0200 The fix for this problem is part of the upcoming upgrade of ZFS to v15. A patch for 8-STABLE and 8.1-RELEASE users will be provided. From: Alvin Poon To: Martin Matuska Cc: bug-followup@FreeBSD.org Subject: Re: kern/148490: [zfs]: zpool attach - resilver bidirectionally, and reports incorrect time Date: Wed, 14 Jul 2010 23:41:24 +0800 Thanks Martin for the info. I'm just wondering... does this problem affect the integrity of the data = on the mirror at all? I mean... did it actually perform a = bi-directional resilvering? Could it have corrupted my data? Alvin On 12 Jul 2010, at 5:11 AM, Martin Matuska wrote: > The fix for this problem is part of the upcoming upgrade of ZFS to = v15. > A patch for 8-STABLE and 8.1-RELEASE users will be provided. Alvin Poon aspoon@gmail.com From: Martin Matuska To: Alvin Poon Cc: bug-followup@FreeBSD.org Subject: Re: kern/148490: [zfs]: zpool attach - resilver bidirectionally, and reports incorrect time Date: Wed, 14 Jul 2010 23:33:28 +0200 No, there is no data corruption. Just some data is read from the source drive and then written to both drives instead only to the resilvering drive (this is actually a waste of resources). Dňa 14. 7. 2010 17:41, Alvin Poon wrote / napísal(a): > Thanks Martin for the info. > > I'm just wondering... does this problem affect the integrity of the data on the mirror at all? I mean... did it actually perform a bi-directional resilvering? Could it have corrupted my data? > > Alvin > > On 12 Jul 2010, at 5:11 AM, Martin Matuska wrote: > > >> The fix for this problem is part of the upcoming upgrade of ZFS to v15. >> A patch for 8-STABLE and 8.1-RELEASE users will be provided. >> > Alvin Poon > aspoon@gmail.com > > > > >Unformatted: