From nobody Tue Sep 07 08:29:11 2021 X-Original-To: current@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 8BDD017A36A9 for ; Tue, 7 Sep 2021 08:29:32 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vtr.rulingia.com (vtr.rulingia.com [IPv6:2001:19f0:5801:ebe:5400:1ff:fe53:30fd]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "vtr.rulingia.com", Issuer "R3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4H3djS0KHfz4SNd for ; Tue, 7 Sep 2021 08:29:31 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from server.rulingia.com (2001-44b8-31fc-0d00-acf2-4588-8a2b-0f2c.static.ipv6.internode.on.net [IPv6:2001:44b8:31fc:d00:acf2:4588:8a2b:f2c]) by vtr.rulingia.com (8.16.1/8.15.2) with ESMTPS id 1878THcN053056 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 7 Sep 2021 18:29:22 +1000 (AEST) (envelope-from peter@rulingia.com) DKIM-Filter: OpenDKIM Filter v2.10.3 vtr.rulingia.com 1878THcN053056 X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.16.1/8.16.1) with ESMTPS id 1878TBFH060958 (version=TLSv1.3 cipher=AEAD-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 7 Sep 2021 18:29:11 +1000 (AEST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.16.1/8.16.1/Submit) id 1878TBN8060957; Tue, 7 Sep 2021 18:29:11 +1000 (AEST) (envelope-from peter) Date: Tue, 7 Sep 2021 18:29:11 +1000 From: Peter Jeremy To: Karel Gardas Cc: current@freebsd.org Subject: Re: Install to ZFS root is using device names hence failing when device tree is changed. Message-ID: References: <73602bc2-44d9-f45e-e91e-fb0bd30dd640@gmail.com> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="OT7cbrfI1ovS+ZD8" Content-Disposition: inline In-Reply-To: <73602bc2-44d9-f45e-e91e-fb0bd30dd640@gmail.com> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp X-Rspamd-Queue-Id: 4H3djS0KHfz4SNd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: N --OT7cbrfI1ovS+ZD8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2021-Sep-06 17:45:31 +0200, Karel Gardas wrote: >just installed 14-current snapshot from 2.9. on uefi amd64 machine.=20 >Installed from USB memstick which was detected as da0 into the ssd=20 >hanging on usb3 in external enclosure which was detected as da1. > >ZFS root pool is then using /dev/da1p3 as swap and /dev/da1p1 as=20 >/boot/efi and probably also something as root zpool. > >Anyway, expected thing happen. When I pulled out USB stick identified as= =20 >da0 on reboot, the drive on USB3 switch from da1 to da0 and result is=20 >unbootable system with complains about various /dev/da1xx drives missing= =20 >for swap efi boot etc. Can you give more details about exactly what the errors and when they occur during the boot cycle. In particular: * Low-level boot (anything prior to the FreeBSD kernel) knows nothing about da0 or da1, so any problems there are associated with your BIOS config, not FreeBSD. * The swap partition will, by default, appear as a hard-wired device name in /etc/fstab - that will definitely need updating. This will prevent the "swapon" working but won't prevent the boot. * ZFS doesn't care about device names - it looks for ZFS labels on all possible devices. --=20 Peter Jeremy --OT7cbrfI1ovS+ZD8 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmE3ItBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzS77hAAnereonMj6kw09hRqbStQbnqlreI/Nzbl3+jSzUKZXr3Y0Tl0zrDeVrxG 3yJu8L7JnYfgDOIDRCiiHSjZeMdaGjwVNBxNBNuVQDA4l8wedU7Fn5eHX8GEIWG1 dW4j6k+WONpbT3rlr4uztjUxDLeLuCpEaGAtEFXPYi5C4ZH18mZbg0SEeQjyJFaN xupWgFXGULjM6IKFB760e7hfvHqqVXi6pTTlv2N3OMN8p0hDr94300hTiKgUJA7U ymTtoOO8k3uN4ke0cRjp8Imvhjr7zonePrK1MhIKOiyiWeSXQ9uULN6WVm9lSv/J 6mlyERvtgtkbDSREij3zeWNeN0XUwgpcpBgodWuk2uxUqrSfZb5cAgrVGdcF0mgt EFvP5KMWC4lyXkLMDbXs+ZNGYidHd+nP/dUCqe+sAo2XDgOQk7wl+Np580ydxpJb ir12S4M2tWa6/qJMjGjocZ5Z+WyhrsruzyJ8/IBed/g7spnCzslTiT1IO5qF2XDw H5fZqTdA3TrZhYVShsEcY42H45Md+Q6kWzZaslYOtA838nD2ay2XNdL2coZchjVk IC7Jvo/HgA+RnJ1tWM1UB0Lxh0eGgwmxUJQAU1SZVGIo9plZenMd7Irvvj5cpOHH pwTXmEXoftZpoVjM0VPyNIvKhIq74ydoAcymzKEtNGRCUtuhzws= =D/dt -----END PGP SIGNATURE----- --OT7cbrfI1ovS+ZD8--