You are not logged in.
I have two nvme devices on my system: /dev/nvme0n0 (Samsung SSD) and /dev/nvme0n1 (other brand SSD). Their order as shown by the kernel seems to randomly change upon rebooting. In otherwords, /dev/nvme0n0 can sometimes be the Samsung or other times be the "other brand". Is there a way to force an order?
Offline
You can check/compare dmesg when its one order or the other just to see if there's anything wrong, but in general, this is always a possibility, same for sda, sdb, ...
Device names are assigned first come, first serve. There is no (sensible) way to force it. Stick to UUIDs.
Edit: How to force it if you really must (not tested on real hardware) ... https://unix.stackexchange.com/a/734125/30851
Last edited by frostschutz (2023-07-28 12:27:47)
Offline