Date: Tue, 7 Sep 2021 18:29:11 +1000 From: Peter Jeremy <peter@rulingia.com> To: Karel Gardas <gardask@gmail.com> Cc: current@freebsd.org Subject: Re: Install to ZFS root is using device names hence failing when device tree is changed. Message-ID: <YTci11M9wwN5sj0o@server.rulingia.com> In-Reply-To: <73602bc2-44d9-f45e-e91e-fb0bd30dd640@gmail.com> References: <73602bc2-44d9-f45e-e91e-fb0bd30dd640@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <gardask@gmail.com> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YTci11M9wwN5sj0o>