Hello all,
i have two mdadm device on my server.
1 - /dev/md1
2 - /dev/md2
md1 is worked good.
but md2 don`t work.
on md2 4 partition /dev/sda2 /dev/sdb2 /dev/sdc2 /dev/sdd2 are added in old.about 1 years ago.
now md2 not start.
also don`t display in fdisk -l
i think /dev/sda2 failed.because say that don`t exist super block on this partition.
Code:
[root@ks312804 yum.repos.d]# cat /etc/mdadm.conf
ARRAY /dev/md1 level=raid1 num-devices=4 metadata=0.90 UUID=5804f8ec:7dd8a057:a4d2adc2:26fd5302
ARRAY /dev/md2 level=raid5 num-devices=4 UUID=ee4e44d1:959b5d64:a4d2adc2:26fd5302
ARRAY /dev/md2 level=raid5 num-devices=4 UUID=ee4e44d1:959b5d64:a4d2adc2:26fd5302
ARRAY /dev/md2 level=raid5 num-devices=4 UUID=ee4e44d1:959b5d64:a4d2adc2:26fd5302
Code:
[root@ks312804 yum.repos.d]# mdadm --manage /dev/md2 --remove /dev/sda2
mdadm: cannot get array info for /dev/md2
Code:
[root@ks312804 yum.repos.d]# cat /proc/mdstat
Personalities : [raid1] [raid0] [raid6] [raid5] [raid4]
md2 : inactive sdc2[2](S) sdd2[3](S) sdb2[1](S)
2898821952 blocks
md1 : active raid1 sdd1[3] sdc1[2] sdb1[1] sda1[0]
5242816 blocks [4/4] [UUUU]
unused devices: <none>
Code:
[root@ks312804 yum.repos.d]# mdadm --examine /dev/sd[abcde...]2 | egrep 'dev|Update|Role|State|Chunk Size'
mdadm: No md superblock detected on /dev/sdb2.
/dev/sda2:
Update Time : Tue Oct 18 12:34:53 2011
State : clean
Number Major Minor RaidDevice State
this 4 8 2 4 spare /dev/sda2
0 0 8 1 0 active sync /dev/sda1
1 1 8 17 1 active sync /dev/sdb1
2 2 8 33 2 active sync /dev/sdc1
3 3 8 49 3 active sync /dev/sdd1
4 4 8 2 4 spare /dev/sda2
/dev/sdc2:
Update Time : Mon Oct 17 10:48:03 2011
State : clean
Chunk Size : 64K
Number Major Minor RaidDevice State
this 2 8 34 2 active sync /dev/sdc2
2 2 8 34 2 active sync /dev/sdc2
3 3 8 50 3 active sync /dev/sdd2
/dev/sdd2:
Update Time : Mon Oct 17 10:48:03 2011
State : clean
Chunk Size : 64K
Number Major Minor RaidDevice State
this 3 8 50 3 active sync /dev/sdd2
2 2 8 34 2 active sync /dev/sdc2
3 3 8 50 3 active sync /dev/sdd2
how may i run /dev/md2 and solved it with all partition and not loss data?
thanks