From owner-freebsd-bugs@freebsd.org Thu Nov 5 02:55:49 2020 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 627F34486CE for ; Thu, 5 Nov 2020 02:55:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CRSnd22jNz4fyF for ; Thu, 5 Nov 2020 02:55:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 46089448721; Thu, 5 Nov 2020 02:55:49 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 45CFA4485FF for ; Thu, 5 Nov 2020 02:55:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CRSnd1BJ2z4g1r for ; Thu, 5 Nov 2020 02:55:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0DA9417E42 for ; Thu, 5 Nov 2020 02:55:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 0A52tmxU039273 for ; Thu, 5 Nov 2020 02:55:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A52tmuM039271 for bugs@FreeBSD.org; Thu, 5 Nov 2020 02:55:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 250816] ZFS cannot import its own export on AWS EC2 12.1 & 12.2-RELEASE Date: Thu, 05 Nov 2020 02:55:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: raj@gusw.net X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2020 02:55:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250816 --- Comment #8 from Gunther Schadow --- Thank you for your initial interest.=20 Colin, I don't know if other platforms are affected. For sure it's not hard= ware dependent (same for amd and arm). I hope some people would just try to cut = and paste my little test script, it couldn't be easier. Please, anyone looking = at this: try and post your results. 12.2 and 12.1 are suspect. But it could be= the specific kernel built used for EC2 AMI. Unfortunately these days the kernel sources are no longer part of the normal system setup, and I admit have forgotten a little bit the grunt of running config and the corners of the s= ys/ tree. (I used to, after all, I have written one device driver for FreeBSD-2= .x). Andriy, here is the dtrace result: root@geli:/home/ec2-user # dtrace -qn 'zfs-dbgmsg{printf("%s\n", stringof(arg0))}' -c 'zpool import -d zfstd' dtrace: buffer size lowered to 1m pool: testpool id: 4731456272891350032 state: UNAVAIL status: One or more devices contains corrupted data. action: The pool cannot be imported due to damaged devices or data. see: http://illumos.org/msg/ZFS-8000-5E config: testpool UNAVAIL insufficient replicas raidz1-0 UNAVAIL insufficient replicas 16509719173445145761 UNAVAIL corrupted data 12908006057264574797 UNAVAIL corrupted data spa_tryimport: importing testpool spa_load($import, config trusted): LOADING spa_load($import, config untrusted): vdev tree has 1 missing top-level vdev= s. spa_load($import, config untrusted): current settings allow for maximum 0 missing top-level vdevs at this stage. spa_load($import, config untrusted): FAILED: unable to open vdev tree [error=3D22] vdev 0: root, guid: 4731456272891350032, path: N/A, can't open vdev 0: raidz, guid: 15929167801800586952, path: N/A, can't open vdev 0: disk, guid: 16509719173445145761, path: /usr/home/ec2-user/zfstd/0, can't open vdev 1: disk, guid: 12908006057264574797, path: /usr/home/ec2-user/zfstd/1, can't open spa_load($import, config untrusted): UNLOADING Hope that helps. --=20 You are receiving this mail because: You are the assignee for the bug.=