16
you are viewing a single comment's thread
view the rest of the comments
[-] neidu2@feddit.nl 2 points 1 month ago* (last edited 1 month ago)

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?

[-] anzo@programming.dev 2 points 1 month ago

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 2 points 1 month ago

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.

[-] onlinepersona@programming.dev 2 points 1 month ago

@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

this post was submitted on 25 Aug 2024
16 points (100.0% liked)

Linux

5057 readers
59 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS