On 3 November 2010 16:05, Roman Mamedov <roman@xxxxxxxx> wrote: > On Wed, 3 Nov 2010 11:17:24 -0400 > "Graham Mitchell" <gmitch@xxxxxxxxxxx> wrote: > >> > >> > That's totally stupid <snip> >> > >> > -- >> > With respect, >> > Roman >> >> Err.... > > Yeah, sorry about that -- and to make my reply a bit less useless, I should > elaborate that my suggestion is to not base anything on the sdX or their order > at all. For example even though I want to have a specific list of looked-at > devices in mdadm.conf, I point it directly to specific drives -- not > to /dev/sdX, but to udev symlinks in /dev/disk/by-id/ instead: > > # 2TBs > DEVICE /dev/disk/by-id/ata-WDC_WD20EADS-00S2B0_WD-xxxxxxxxxxxx-part* > DEVICE /dev/disk/by-id/ata-WDC_WD20EADS-00S2B0_WD-xxxxxxxxxxxx-part* > DEVICE /dev/disk/by-id/ata-Hitachi_HDS722020ALA330_xxxxxxxxxxxxxx-part* > # 1.5 TBs > DEVICE /dev/disk/by-id/ata-WDC_WD15EADS-00S2B0_WD-xxxxxxxxxxxx-part* > # 1TBs > DEVICE /dev/disk/by-id/ata-Hitachi_HDT721010SLA360_xxxxxxxxxxxxxx-part* > DEVICE /dev/disk/by-id/ata-ST31000333AS_xxxxxxxx-part* > > Listed like this it will also make mdadm not consider whole block devices for > addition into RAIDs, only the partitions (which is exactly what I want). > > -- > With respect, > Roman > See occasionally little gems of information like that come up... and they change my world. -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html