You are not logged in.
Hi,
I have a mdadm raid5 array, the array has 4 discs plus one spare, recently one of the discs failed and the spare was activated, I replaced the failed disc with a new one, partitioned it and added it to the array, the array was in the proccess of rebuilding when I added the new disc, while it appears to have rebuild and is operating normally mdadm --details /dev/md0 produces the following:
/dev/md0:
Version : 1.2
Creation Time : Thu Sep 2 19:50:17 2010
Raid Level : raid5
Array Size : 4389113856 (4185.79 GiB 4494.45 GB)
Used Dev Size : 1463037952 (1395.26 GiB 1498.15 GB)
Raid Devices : 4
Total Devices : 5
Persistence : Superblock is persistent
Update Time : Mon Jan 10 19:24:02 2011
State : clean, degraded
Active Devices : 3
Working Devices : 5
Failed Devices : 0
Spare Devices : 2
Layout : left-symmetric
Chunk Size : 512K
Name : archiso:0
UUID : 628e1d3c:8556bdcd:fb7bf280:4951f749
Events : 188605
Number Major Minor RaidDevice State
0 8 35 0 active sync /dev/sdc3
5 8 67 1 spare rebuilding /dev/sde3
2 8 3 2 active sync /dev/sda3
4 8 19 3 active sync /dev/sdb3
1 8 51 - spare /dev/sdd3
cat /proc/mdstat produces:
Personalities : [raid1] [raid6] [raid5] [raid4]
md0 : active raid5 sdc3[0] sdd3[1](S) sdb3[4] sda3[2] sde3[5]
4389113856 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3] [U_UU]
md2 : active raid1 sdc2[0] sdd2[1](S) sdb2[3] sda2[2] sde2[4]
1999056 blocks super 1.2 [4/4] [UUUU]
md1 : active raid1 sdc1[0] sdd1[4](S) sdb1[3] sda1[2] sde1[1]
96256 blocks [4/4] [UUUU]
unused devices: <none>
dmesg is full of:
RAID conf printout:
--- level:5 rd:4 wd:3
disk 0, o:1, dev:sdc3
disk 1, o:1, dev:sde3
disk 2, o:1, dev:sda3
disk 3, o:1, dev:sdb3
RAID conf printout:
--- level:5 rd:4 wd:3
disk 0, o:1, dev:sdc3
disk 1, o:1, dev:sde3
disk 2, o:1, dev:sda3
disk 3, o:1, dev:sdb3
RAID conf printout:
--- level:5 rd:4 wd:3
disk 0, o:1, dev:sdc3
disk 1, o:1, dev:sde3
disk 2, o:1, dev:sda3
disk 3, o:1, dev:sdb3
Both md1 and 2 are fine.
I've rebooted the server and nothing has changed, the disc failed and was replaced about 5 days ago.
Does anyone know how I can correct md0?
Cheers,
James Bench
Last edited by jebbench (2011-01-12 18:01:59)
Offline