Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 2021 19:57:31 +0200
From:      Karel Gardas <gardask@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Install to ZFS root is using device names hence failing when device tree is changed.
Message-ID:  <0f8c2244-41e8-9994-d519-edf33762148e@gmail.com>

next in thread | raw e-mail | index | archive | help

Hello,

just installed 14-current snapshot from 2.9. on uefi amd64 machine. 
Installed from USB memstick which was detected as da0 into the ssd 
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 
/boot/efi and probably also something as root zpool.

Anyway, expected thing happen. When I pulled out USB stick identified as 
da0 on reboot, the drive on USB3 switch from da1 to da0 and result is 
unbootable system with complains about various /dev/da1xx drives missing 
for swap efi boot etc.

Would be great if ZFS root install was using kind of device uuids or 
serial numbers or so so such device change would not disrupt freebsd 
from running correctly.

Thanks,
Karel




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0f8c2244-41e8-9994-d519-edf33762148e>