How do you find out which drive is which?

Will the Pi name the drives (sda,sdb,sdc,sdd) in the same order as the interfaces? In the event a drive dies in my RAID array, I’d like to know which one to swap out.

The best would be to go by serial number. You have it on the case of the drive and software that can tell you SN are:

  • lsusb
  • lspci
  • lshw
  • lsblk

May need to use -v switch to get more info from these commands (and | less for paged output).