Re: raid5 in degraded mode; trying to revive

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

 



On Wednesday December 7, search.lists@xxxxxxxxx wrote:
> >
> > Yes, that is very helpful.
> >
> > The drive is not being assembled successfully.
> > When you try to mount it, a raid bug (which has since been fixed)
> > causes the mount processed to crash.
> > You should be able to assemble the array with:
> >
> >   mdadm -A /dev/md0 -f /dev/sdb1 /dev/sdc1
> >
> > Please try that, then take a copy of
> >   cat /proc/mdstat
> >   mdadm -D /dev/md0
> 
> # mdadm -A /dev/md0 -f /dev/sdb1 /dev/sdc1
> mdadm: /dev/md0 has been started with 2 drives (out of 3).
> # cat /proc/mdstat
> Personalities : [raid5]
> md0 : active raid5 sdb1[1] sdc1[2]
>       490191104 blocks level 5, 128k chunk, algorithm 2 [3/2] [_UU]
> 
> unused devices: <none>
> 
> then mdadm -D /dev/md0 hangs, then i make another trace ...
> http://www.lebox.org/milan/debug/dmesg.1134020701
> 

It looks like the computer was already quite sick.  It probably tried
to assemble the array at boot, failed, and left things in an
unfortunate state.
Can you boot with
   raid=noautodetect

And then try the 'mdadm ..' command again?

Thanks,
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