RAID: one disk missing when creating the array
Hi,
I created an array /dev/md0
--level=5 --raid-devices=4 /dev/sd[bcde]
I get this in mdstat
root@nas:/nas/secure/KEY# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md0 : active raid5 sde[4] sdd[2] sdc[1] sdb[0]
5860148736 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/3]
[UUU_]
[>....................] recovery = 1.9% (38611052/1953382912)
finish=973.1min speed=32793K/sec
===
/dev/md0:
Version : 1.2
Creation Time : Tue Jun 25 21:56:10 2013
Raid Level : raid5
Array Size : 5860148736 (5588.67 GiB 6000.79 GB)
Used Dev Size : 1953382912 (1862.89 GiB 2000.26 GB)
Raid Devices : 4
Total Devices : 4
Persistence : Superblock is persistent
Update Time : Tue Jun 25 22:20:37 2013
State : clean, degraded, recovering
Active Devices : 3
Working Devices : 4
Failed Devices : 0
Spare Devices : 1
Layout : left-symmetric
Chunk Size : 512K
Rebuild Status : 2% complete
Name : nas:0 (local to host nas)
UUID : 32524f61:20ead1e3:775bf0b3:e6d8b582
Events : 825
Number Major Minor RaidDevice State
0 8 16 0 active sync /dev/sdb
1 8 32 1 active sync /dev/sdc
2 8 48 2 active sync /dev/sdd
4 8 64 3 spare rebuilding /dev/sde
unused devices: <none>
where I see 0,1,2,4 as devices (3 is missing)
Am I doing anything wrong ? Can someone tell me how to fix this please ?
thanks
I even tried a mdadm --remove /dev/sde and an add /dev/sde
--
Bhasker C V
Secure Mails:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x4D05FEEC54E47413
Reply to: