Jon Lurås wrote: > Hello > > Thank you for your input. > > I gave to little information in the original mail. I had tried to 'add' > the new disk. It shows up like this - se below. The bad thing is that then > the device '/dev/hdj1' suddenly changes to 'spare'... > and everything looks very bad :-( OK, you also wrote (forgot to cc the list) Jon Lurås wrote: > Hi again > > A little more information: > The only solution I found to the problem which arised after the 'add' og > /dev/hdk1 is > "mdadm --create /dev/md0 --verbose --level=5 --chunk=64 --raid-devices=3 > /dev/hdi1 /dev/hdj1 missing" > > The it looks like the original 'mdadm --detail /dev/md0' result. > > Jon So I'm now quite confused. Can you tell us what you did a step at a time. This is what should have happened: 1 Original disk failed. 2 md0 went into degraded and mdadm --monitor sent you an email 3 you shutdown and replaced /dev/hdk (?) 4 you partitioned /dev/hdk to make hdk1 5 you used --add to add hdk1 to the array 6 all was well now you seem to have done several 'interesting' things in addition (like issuing a --create). However, if you can go back to the original --detail given, a simple --add should resolve your problems... You may want to check your dmesg to make sure you don't have a hardware issue. > demeter:/etc# mdadm --detail /dev/md0 > /dev/md0: > Version : 00.90.00 > Creation Time : Sat Jun 7 22:04:01 2008 > Raid Level : raid5 > Array Size : 490223232 (467.51 GiB 501.99 GB) > Device Size : 245111616 (233.76 GiB 250.99 GB) > Raid Devices : 3 > Total Devices : 4 > Preferred Minor : 0 > Persistence : Superblock is persistent > > Update Time : Sun Jun 8 12:05:02 2008 > State : active, degraded > Active Devices : 1 > Working Devices : 3 > Failed Devices : 1 > Spare Devices : 2 > > Layout : left-symmetric > Chunk Size : 64K > > UUID : 7edd5dfe:14b3ffb2:304b0607:0d821dcd > Events : 0.8 > > Number Major Minor RaidDevice State > 0 56 1 0 active sync /dev/hdi1 > 1 0 0 1 removed > 2 0 0 2 removed > > 3 57 1 3 spare /dev/hdk1 > 4 56 65 4 spare /dev/hdj1 This doesn't look good. what does --examine say about each of the components? David -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html