this post was submitted on 25 Aug 2024
16 points (100.0% liked)
Linux
8812 readers
597 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I have four identical machines. Each with the following set of disks:
2x NVMe
2x 2.5" SSD
4x 3.5" HDD in hardware RAID6
now, the device nodes for the SSDs and the RAID seems random. These populate /dev/sda through sdc, but which is which varies between the machines.
Is it possible to somehow reassign the device nodes so that I have the RAID show up as sdc on all machines?
How about using labels in etc-fstab ? That should be all you really need to be able to refer to disks in a cohesive fashion between nodes.
AFAIK the a-b-c enumeration comes from hardware, so for example whichever sata port you use in a motherboard would always get the same identifier. You'd need to turn off all four nodes and check the disks are indeed connected in exactly the same ports. If that fails, then I'd assume the motherboards are from different batched or soldered differently for whatever reasons.
@anzo@programming.dev is correct, it's the order you connected them in (see tldp). Use UUIDs or devices lables for consistency or connect them in the order you want.
Anti Commercial-AI license