[root@web01 /]# mdadm -E --scan >> /etc/mdadm.conf
[root@web01 /]# more /etc/mdadm.conf
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=6f673235:35928bcd:d95a084b:6dcb83bc
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=42516526:40ff0495:1c07163e:c1a5aa11
ARRAY /dev/md3 level=raid1 num-devices=2 UUID=c79fd8cb:bbd735e4:956153c6:5f743dd3
ARRAY /dev/md6 level=raid1 num-devices=2 UUID=ef6388c1:38db7095:5dc05120:60c67c1c
ARRAY /dev/md0 level=raid1 num-devices=2 UUID=0767c26c:9ebc5be2:58ba2b0b:13c95a57
[root@web01 /]# fdisk -l /dev/sda
Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = シリンダ数 of 16065 * 512 = 8225280 bytes
デバイス Boot Start End Blocks Id System
/dev/sda1 * 1 16 128488+ 83 Linux
/dev/sda2 17 143 1020127+ 82 Linux swap / Solaris
/dev/sda3 144 270 1020127+ 83 Linux
/dev/sda4 271 1044 6217155 5 拡張領域
/dev/sda5 398 1044 5196996 83 Linux
/dev/sda6 271 397 1020096 83 Linux
領域テーブル項目がディスクの順序と一致しません
[root@web01 /]# mdadm --misc --zero-superblock /dev/sda6 /dev/sdb6
[root@web01 /]# mdadm -E --scan
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=6f673235:35928bcd:d95a084b:6dcb83bc
ARRAY /dev/md2 level=raid1 num-devices=2 UUID=42516526:40ff0495:1c07163e:c1a5aa11
ARRAY /dev/md6 level=raid1 num-devices=2 UUID=ef6388c1:38db7095:5dc05120:60c67c1c