Re: raid5 two disk temp failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux