From nobody Fri Apr 28 08:40:53 2023 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 4Q75fY4cclz48BSF for ; Fri, 28 Apr 2023 08:40:53 +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 4Q75fY2cVQz4QBB for ; Fri, 28 Apr 2023 08:40:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682671253; 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; bh=MKJOvlpIlXfxK4qkwiEdcqjNo1FotduEixyoQhCaZrY=; b=AF4oGSizfRH6HDWs9XsVPbl5lyU8P9hDXTNzyfGHaOnrfWMT5zFhe2xBXHvPLRiMBVcCX5 EO4CZ4jQCiJEELNxMQwLGp7iR3xMehIr9ulGhR3fbpukTii/fdOMlAz5wVOrXnWKKGShOG kTXdJ50YokB864HZPBZ2Ujp5thHCcyNnwmdzIQvEGFp1dN32s7djfKpsLrDMZ2V4jwved3 njQCYxL2TN/hWgirRlqrFBv49G9990gbVGxSnSm+ISklwrCDU7SNkMLW2HVBewJPPwTP39 Nn4pIe5Iiegy0yFYSMWcPHy6Kc9/bLBuk23E11Cx1Fe3HaWN9+K5kYCsAcYcTg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682671253; a=rsa-sha256; cv=none; b=E24rB0O2tz+q0tmG6BsGCykwtWkIE2UUAMBYuZ6gSYLEXqCoRG/Jdd7YoYbHeMpMCywiYY ZFMxlzrSczUuH1ZE3vJc8IjEdvvJ/8QTilygEbxNspdN3ZISAAu25u9t7SGWIAP3ASJPkX GbyKAgO7sI/+B0i5OtAAC/s3wfmMmP0LqR/qcrOgH1ZxEZxhKtyrSHph2i7XM83pb959pK fSXc4QJaNX2te1G0yHVsjcIAqWS1S6gCi4yobiKuMsCK//lOwnNv5atkrqXRIUSchAqOL8 LHTNDoeP4LYfstPTgcvvz8oqUeKB6qnqggmICUfljDmqoipvu5XGpDe0si0IMA== 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 4Q75fY1jM6zsxT for ; Fri, 28 Apr 2023 08:40:53 +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 33S8er2u061285 for ; Fri, 28 Apr 2023 08:40:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33S8er98061284 for bugs@FreeBSD.org; Fri, 28 Apr 2023 08:40:53 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 271113] [zfs][loader] it should be possible to see zpool devices found for loader mountroot stage Date: Fri, 28 Apr 2023 08:40:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dch@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@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 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 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271113 Bug ID: 271113 Summary: [zfs][loader] it should be possible to see zpool devices found for loader mountroot stage Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dch@freebsd.org If the boot zpool fails to mount early one, this is painful to diagnose, mostly yielding "Error 6" and not much else for a user to deal with. An off-by-default loader tunable that spits out device tasting and zpools it locates would help a lot. No particular reason for it being off-by-default other than on large multi-device pools it could slow down boot a lot if we print out all the things. Specific problem encountered was a zpool where there were traces of a previous zpool on /dev/da0 & /dev/da1 even though the current pool was /dev/da0p3 /devda1p3 both called zroot, and zfs 13.2-RELEASE loader could not decide which one to import. Displaying enumerating each label, pool guid, hostid, hostname, for each device found would be very very useful. zfs: /dev/da1 label2 pool_guid: 1234 hostid: 6788 hostname: 'example.org' zfs: /dev/da1p3 label0 pool_guid: 2345 hostid: 7890 hostname: 'example.net' --=20 You are receiving this mail because: You are the assignee for the bug.=