From owner-freebsd-bugs@freebsd.org Fri Nov 6 17:47:19 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 A61B4444F36 for ; Fri, 6 Nov 2020 17:47:19 +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 4CSSWq466Mz4YRn for ; Fri, 6 Nov 2020 17:47:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 8CEDA4451A3; Fri, 6 Nov 2020 17:47:19 +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 8CB4044530D for ; Fri, 6 Nov 2020 17:47:19 +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 4CSSWq3VfJz4Y7v for ; Fri, 6 Nov 2020 17:47:19 +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 6B3BA28E84 for ; Fri, 6 Nov 2020 17:47:19 +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 0A6HlJrn028921 for ; Fri, 6 Nov 2020 17:47:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 0A6HlJeU028920 for bugs@FreeBSD.org; Fri, 6 Nov 2020 17:47:19 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: Fri, 06 Nov 2020 17:47:19 +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.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Nov 2020 17:47:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250816 --- Comment #16 from Gunther Schadow --- Why whaddoyouknow, this way it works: ---------------------------------------------------------------------------= ------------------ root@geli:/home/schadow # zpool create testpool /home/schadow/zfstc/0 /home/schadow/zfstc/1 root@geli:/home/schadow # zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEAL= TH=20 ALTROOT testpool 160M 83.5K 160M - - 1% 0% 1.00x ONLI= NE=20 - root@geli:/home/schadow # zpool export testpool root@geli:/home/schadow # zpool import -d zfstc pool: testpool id: 16913270329707857467 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: testpool ONLINE /usr/home/schadow/zfstc/0 ONLINE /usr/home/schadow/zfstc/1 ONLINE root@geli:/home/schadow # zpool list no pools available root@geli:/home/schadow # zpool import -d zfstc testpool root@geli:/home/schadow # zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEAL= TH=20 ALTROOT testpool 160M 120K 160M - - 3% 0% 1.00x ONLI= NE=20 - ---------------------------------------------------------------------------= ---------------- So, while this works as a workaround, I still think it is a bug. There is t= oo much reliance on these file names and paths and whether or not its a symlin= k, etc, that should just not matter. And there is also that asymmetry, that I = have to specify full paths for create, but for import only a directory. It is also a bug because it used to work and then suddenly it stopped worki= ng (for no real benefit AFAICS) --=20 You are receiving this mail because: You are the assignee for the bug.=