tinkerbell/hook

Make deterministic device paths available

chrisdoherty4 opened this issue · 0 comments

Hey gang! Another left-field question from me.. I'm working with machines whose BIOSs sometimes switch the bios order of their disks around on reboot. PITA, right? I usually work around this by using /dev/disk/by-path/ to refer to the exact disks I want to target, but this isn't working in tink-node / actions-image2disk, because /dev/disk doesn't exist... (below). Any ideas how I can refer to specific disks without the BIOS messing up the order?

We could definitely benefit from having disks available like this. linuxkit doesn't have support for this by default. It also doesn't have udev. I believe it has mdev though. We will need to figure out how to get this working in Hook.

https://cloud-native.slack.com/archives/C01SRB41GMT/p1669253401496759