On Friday August 13, ramassa@xxxxxxxxxxx wrote: > Hi all, > > I've got a 6 disk raid5 array that just failed because some little elf loosened the cable going > to two of the disks in a scsi enclosure. Both of them got kicked. > > Using mdadm -a /dev/md2 gives a segfault in both versions 1.6.0 and > 1.7.0. Odd. I doesn't when I try it. If you can get it to drop a core (ulimit -c unlimited), and then get a stack trace: gdb `which mdadm` core where That might help. However "mdadm -a /dev/md2" is a no-op. Is there a typo? > > I can query the array using mdadm just fine, the output is attached. > > Anyone know what is going on? I can attach a strace if that > helps... If you loose two drives, raid5 cannot cope. However if you are sure that the data on the drives is still good (as seems likely in this case) you can re-assemble the array with mdadm --assemble /dev/md2 --force /dev/sd[abcdef]1 and it will be assembled with one missing drive which you then might need to add in. NeilBrown - 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