• neidu2@feddit.nl
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    2 months 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?

    • adr1an@programming.devOPM
      link
      fedilink
      arrow-up
      2
      ·
      2 months 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.

    • adr1an@programming.devOPM
      link
      fedilink
      arrow-up
      2
      ·
      2 months 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.