How does mdadm handle changing drive letters?
I have a RAID 1 going now, /dev/md0, composed of /dev/sda (internal) and /dev/sdb (usb enclosure). I haven't run into any issues yet, but I'm wondering what'll happen if I boot up with a USB flash drive (/dev/sdc) connected and the drive letters get remapped. If, for example, sdb and sdc were switched around.
Can mdadm be configured to build the md0 array out of two specific UUIDs or volume labels? Or is it intelligent enough to detect the change by itself? I've searched Google and these forums but I haven't found any way of doing so. /etc/fstab doesn't seem to help in this case, since the two block devices that create the array are never actually mounted.