amsterdamsky
August 6th, 2008, 01:19 AM
I'm having a problem with drive names changing after I reboot.
My system is an AMD64 machine with 6 drives: 1 SATA drive for the system, 4 SATA drives for a software RAID via mdadm, and 1 IDE drive for backups.
In its previous incarnation as a gentoo box, the SATA drives showed up as /dev/sda through /dev/sde and the IDE drive was /dev/hda
Now that I've installed Ubuntu, the IDE drive shows up as a /dev/sdX type device and the really perplexing thing is that it changes after each reboot! Sometimes the IDE drive gets /dev/sdb, sometimes /dev/sdf. In each case the 4 SATA drives that make up my RAID are always consecutive, and the IDE drive is either at the beginning or at the end.
The problem is that the mdadm configuration is expecting drives b through e for the RAID and when the IDE gets b, the RAID drives are then c through f and the RAID doesn't start.
Anyone have any ideas as to how to get the device names to "stick" after reboots?
My system is an AMD64 machine with 6 drives: 1 SATA drive for the system, 4 SATA drives for a software RAID via mdadm, and 1 IDE drive for backups.
In its previous incarnation as a gentoo box, the SATA drives showed up as /dev/sda through /dev/sde and the IDE drive was /dev/hda
Now that I've installed Ubuntu, the IDE drive shows up as a /dev/sdX type device and the really perplexing thing is that it changes after each reboot! Sometimes the IDE drive gets /dev/sdb, sometimes /dev/sdf. In each case the 4 SATA drives that make up my RAID are always consecutive, and the IDE drive is either at the beginning or at the end.
The problem is that the mdadm configuration is expecting drives b through e for the RAID and when the IDE gets b, the RAID drives are then c through f and the RAID doesn't start.
Anyone have any ideas as to how to get the device names to "stick" after reboots?