Re: md0 AND md2 RAID not detected anymore
hi tom,
well, i don't have raidstart installed and i also don't have
/etc/raidtab.
this is the content of /etc/mdadm/mdadm.conf:
DEVICE partitions
ARRAY /dev/md2 level=raid1 num-devices=2
UUID=107466fc:2372209c:ac137ae9:ce2e24aa
devices=/dev/hda3,/dev/hdc3
ARRAY /dev/md1 level=raid1 num-devices=2
UUID=1ea1855e:ef695c5a:1dd6abfd:6dc252a0
devices=/dev/hda2,/dev/hdc2
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=5891fe7d:9e2cd9f6:3f4afcf5:1aff0f94
devices=/dev/hda1,/dev/hdc1
md0 is my /boot (ext2)
md1 is /, /usr, /var, ... (all lvm2 and reiserfs)
md2 is /home and /data (also lvm2 and reiserfs)
after system bootup (which i have to force because fsck fails on md0
with
unable to read superblock), i am able to start and mount md0 manually.
basically, directly after bootup mdstat looks like this:
Personalities : [raid1]
md1 : active raid1 hda2[0] hdc2[1]
19534976 blocks [2/2] [UU]
unused devices: <none>
what might be interesting is the output of mdadm -Q on my devices
(the output was generated after i started and mounted /boot manually!)
# mdadm -Q /dev/md0
/dev/md0: 94.00MiB raid1 2 devices, 0 spares. Use mdadm --detail for
more detail.
/dev/md0: No md super block found, not an md component.
# mdadm -Q /dev/hda1
/dev/hda1: is not an md array
/dev/hda1: device 0 in 2 device active raid1 md0. Use mdadm --examine
for more detail.
# mdadm -Q /dev/hdc1
/dev/hdc1: is not an md array
/dev/hdc1: device 1 in 2 device active raid1 md0. Use mdadm --examine
for more detail.
# mdadm -Q /dev/md1
/dev/md1: 18.63GiB raid1 2 devices, 0 spares. Use mdadm --detail for
more detail.
/dev/md1: No md super block found, not an md component.
# mdadm -Q /dev/hda2
/dev/hda2: is not an md array
/dev/hda2: device 0 in 2 device active raid1 md1. Use mdadm --examine
for more detail.
# mdadm -Q /dev/hdc2
/dev/hdc2: is not an md array
/dev/hdc2: device 1 in 2 device active raid1 md1. Use mdadm --examine
for more detail.
# mdadm -Q /dev/md2
/dev/md2: is an md device which is not active
/dev/md2: is too small to be an md component.
# mdadm -Q /dev/hda3
/dev/hda3: is not an md array
/dev/hda3: device 0 in 2 device undetected raid1 md2. Use mdadm
--examine for more detail.
# mdadm -Q /dev/hdc3
/dev/hdc3: is not an md array
/dev/hdc3: device 1 in 2 device undetected raid1 md2. Use mdadm
--examine for more detail.
does this bring something forward? an udev bug was mentioned before,
but what confuses me is
that my system is bootable and md0 and md2 are started, but stopped
again during the boot.
best regards,
oliver
what does /proc/mdstat show? have you tried running raidstart manually?
also, what's your /etc/raidtab look like?
Reply to: