I have an Ubuntu machine (10.04 but had the same problem in 8.04) with a bunch of drives that I use as a file server:
- 1 SATA that I boot off of
- 2 IDE in RAID1
- 2 SATA in RAID1
The problem is the drives that I have in RAID1 change device names on reboot.
This is a problem because the in my mdadm.conf a reference to /dev/sda1, for example, might not work the next time I reboot because /dev/sda1 could be a disk from another array.
/etc/mdadm/mdadm.conf looks like this:
ARRAY /dev/md0 level=raid1 num-devices=2 metadata=00.90 UUID=c3d6f9e1:b8096c45:c9e2b015:e64a66e3 devices=/dev/sdd1,/dev/sde1 ARRAY /dev/md1 level=raid1 num-devices=2 metadata=00.90 UUID=e3b0837c:b53a5846:70fdb0c1:78e75d0a devices=/dev/sda1,/dev/sdb1 MAILADDR MOOF@MOOF.net
Any help getting around this would be appreciated.