A questão está principalmente no título já.
mdadm e / proc / mdstat insistem em listar membros md por seus nomes "tradicionais" / dev / sdX.
O que eu quero é que eles usem os nomes de dispositivos mais recentes do udev (por exemplo, / dev / disk / by-path e by-id).
Eu já mudei o /etc/mdadm/mdadm.conf de
DEVICE partitions
para
DEVICE /dev/disk/by-path/*
Mas isso parece não ter efeito algum.
Além disso, as matrizes foram determinadas usando os nomes de dispositivos por caminho.
Isso está no Ubuntu 11.10.
Atual / proc / mdstat:
~# cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md1 : active raid5 sdi[4] sde[2] sdh[1] sdd[0]
2929651200 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]
[=>...................] recovery = 7.0% (69242720/976550400) finish=632.8min speed=23893K/sec
md0 : active raid5 sdb[0] sdg[4] sdc[2] sdf[1]
2197228032 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [UUU_]
[===>.................] recovery = 19.8% (145510552/732409344) finish=242.7min speed=40288K/sec
unused devices: <none>
ls -l / dev / disk / caminho-by:
~# ll /dev/disk/by-path/
total 0
lrwxrwxrwx 1 root root 9 2012-04-11 01:15 pci-0000:00:1f.1-scsi-0:0:0:0 -> ../../sr0
lrwxrwxrwx 1 root root 9 2012-04-11 01:15 pci-0000:00:1f.2-scsi-1:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 2012-04-11 01:15 pci-0000:00:1f.2-scsi-1:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2012-04-11 01:15 pci-0000:00:1f.2-scsi-1:0:0:0-part2 -> ../../sda2
lrwxrwxrwx 1 root root 9 2012-04-11 01:19 pci-0000:0e:00.0-scsi-0:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 9 2012-04-11 01:19 pci-0000:0e:00.0-scsi-0:0:1:0 -> ../../sdc
lrwxrwxrwx 1 root root 9 2012-04-11 01:15 pci-0000:0e:00.0-scsi-0:0:2:0 -> ../../sdd
lrwxrwxrwx 1 root root 9 2012-04-11 01:26 pci-0000:0e:00.0-scsi-0:0:3:0 -> ../../sde
lrwxrwxrwx 1 root root 9 2012-04-11 01:15 pci-0000:0e:00.0-scsi-0:0:4:0 -> ../../sdf
lrwxrwxrwx 1 root root 9 2012-04-11 01:15 pci-0000:0e:00.0-scsi-0:0:5:0 -> ../../sdg
lrwxrwxrwx 1 root root 9 2012-04-11 01:26 pci-0000:0e:00.0-scsi-0:0:6:0 -> ../../sdh
lrwxrwxrwx 1 root root 9 2012-04-11 01:26 pci-0000:0e:00.0-scsi-0:0:7:0 -> ../../sdi