From owner-freebsd-amd64@freebsd.org Mon Jan 4 16:20:34 2016 Return-Path: Delivered-To: freebsd-amd64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AE2D1A61CE3 for ; Mon, 4 Jan 2016 16:20:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 853671ED3 for ; Mon, 4 Jan 2016 16:20:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u04GKY6d000556 for ; Mon, 4 Jan 2016 16:20:34 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 205882] [zfs] can't import l2arc devices by guid after r292066 Date: Mon, 04 Jan 2016 16:20:34 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: asomers@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 04 Jan 2016 17:27:28 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2016 16:20:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205882 Bug ID: 205882 Summary: [zfs] can't import l2arc devices by guid after r292066 Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: asomers@FreeBSD.org Reporter: asomers@FreeBSD.org CC: delphij@FreeBSD.org, freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org r292066 makes vdev_geom more careful about what devices it will open. It f= ixed a bug with booting from ZFS when the device order has changed. However, delphij points out that it breaks importing l2arc devices by guid, because l2arc devices' labels lack a pool guid. The following sequence of commands will reproduce the failure: zpool create -f withcache mirror da0 da2 cache da3 zpool export withcache # remove da1 and da3, then reinsert da3. It should now be called da1 zpool import withcache # zpool status withcache pool: withcache state: ONLINE status: One or more devices could not be opened. Sufficient replicas exist= for the pool to continue functioning in a degraded state. action: Attach the missing device and online it using 'zpool online'. see: http://illumos.org/msg/ZFS-8000-2Q scan: none requested config: NAME STATE READ WRITE CKSUM withcache ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da0 ONLINE 0 0 0 da2 ONLINE 0 0 0 cache 13126929149130124089 UNAVAIL 0 0 0 was /dev/da3 errors: No known data errors --=20 You are receiving this mail because: You are on the CC list for the bug.=