From nobody Mon Jun 13 01:10:35 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0E1E3831E22 for ; Mon, 13 Jun 2022 01:10:36 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LLtmC5P90z4r0M for ; Mon, 13 Jun 2022 01:10:35 +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 9B1C83F5C for ; Mon, 13 Jun 2022 01:10:35 +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 25D1AZ1S024787 for ; Mon, 13 Jun 2022 01:10:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25D1AZHP024786 for bugs@FreeBSD.org; Mon, 13 Jun 2022 01:10:35 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 262617] ZFS pool on USB drive does not mount correctly on startup Date: Mon, 13 Jun 2022 01:10:35 +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: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: donaldcallen@gmail.com X-Bugzilla-Status: New 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 List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655082635; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ka5RuBH9keqbsntIq+AuVvKWLqZfhVuzirObVv9uGGQ=; b=pg3oKLFJI+f60ffaSAqWzXFhkKCMg4y7hbiZlgTrndaI6i0i7zPedtgQuuy4QZqRUKnsZo QDpYQEszDITFNnjdzT7pboKodXaAIFdA2couYUJC/Y5V9aCaeqz9V+cIqbUc8KJH2DdwtG h44fO/4girxNI3MvGv4tvQ0xALfvnTU/kf9dyf6AHjbsRClnk3XzOaBqA7OaROiofMYZo7 Pn7srk6b9qtkMhe2jdNOkuOquysRVi1aa40WCiDTZuO5G7LDudJMq50+oOulbRusWT02N1 DjPVaZ8xbNgpEYmDF4d7jCMX4eYUi0cdbvBJbGBM+MXqlairHPaTlr8sZ+45oQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655082635; a=rsa-sha256; cv=none; b=vt6l9O4K9faI8CALFordaJK8lGQhtuce0y230Bn0dRoGuR98uzC7QLATofcn1Y4wrXISAG Ch/wh7sYtB0f3FfqP1qWVyK26UcKDPLUlFtjY2r6uDHnxq+OWVdxYoXAQzhA4YF51CQllL eAgSezNgax4O1H1IMNcQ01gL54oSM2oZzfT8IAtwasgKCXsjE3GJXeC/MYzVK9A4xa7v0H HtkoFjxMlzSzmuUxavWa7kXrIw7S7GS2xnRAeLacPHLpWYdF8YGOm+w11Udq9rSolPC3xJ Avi8jQrmKAb/v2ds3fD3bklH2jHJ4hmMlwdAUWVDOVwQ7EZizDX4WZJ3vMIksw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262617 --- Comment #7 from donaldcallen@gmail.com --- (In reply to donaldcallen from comment #5) I tried something other than FreeBSD on the machine I have written about he= re and that experiment did not work out. So I have re-installed FreeBSD. In do= ing so, I revisited the problem caused by creating a pool on the whole backup device, rather than using a partition. This works, but produces error messa= ges about the primary gpt partition table being corrupt, as I mentioned in an earlier comment here. I did some googling on this, and I think my speculati= on in the comment to which I'm replying is correct. Others have seen this issue and one person said that zpool create was not wiping the secondary gpt tabl= e, confusing the system at mount time, exactly as I guessed. His recommendation was to use gpart destroy before creating the pool, which wipes both gpt tab= les. I think this is a bug in zfs create. If it's going to create a pool, it nee= ds to do so in a way that doesn't cause problems when the pool is mounted. That includes wiping the secondary gpt table. --=20 You are receiving this mail because: You are the assignee for the bug.=