I have just had a similar incident and recovered similarly.  

So now I am wondering about recovery in the event of a real failure.
Could this be accomplished by configuring a softraid with only 1
disk?  e.g. 

bioctl -c 1 -C force -l /dev/sd2a softraid0

given that sd3a suffered the failure?  

Is there any documentation about recovery of failures in a softraid partition?

Thanks,

Dhu

On Fri, 28 Mar 2008 17:12:05 -0500
Marco Peereboom <[EMAIL PROTECTED]> wrote:

> Adding misc that somehow fell off...
> 
> On Fri, Mar 28, 2008 at 08:51:18AM -0500, Marco Peereboom wrote:
> > Assuming the drives weren't hurt you can reassemble the RAID 1 with the
> > -C force option.  Do something along the lines of:
> > 
> > bioctl -c 1 -C force -l /dev/sd2a,/dev/sd3a softraid0
> > 
> > That will overwrite the current stale metadata with new one.  Make sure
> > you fsck the filesystem before mounting it (even if it says it is ok!
> > use some force to convince it to check it);
> > 
> > On Fri, Mar 28, 2008 at 02:32:49PM +0100, [EMAIL PROTECTED] wrote:
> > > Hi,
> > > 
> > > I'm currently using softraid(4) on my 4.2-stable(*) I386 machine and
> > > yesterday I ran into a problem: after a system freeze (most probably
> > > caused by a malfunctioning onboard SATA controller) softraid found
> > > corrupted metadata on one of my two disks in the RAID1 array I assembled
> > > (sorry, I don't have the correct error message handy) thus the kernel
> > > didn't create the softraid0 device.
> > > 
> > > Don't get me wrong I'm not complaining about that (as the manpage
> > > already told me that this will be the outcome of a failed chunk) but I'm
> > > wondering if there's a manual procedure I follow to reassemble the raid
> > > manually without data loss.
> > > 
> > > TIA,
> > > Frank.
> > > 
> > > *) actually almost stable as I had to build my own softraid enabled
> > > kernel based on GENERIC
> > > 
> > > -- 
> > > What can you use used tampons for?  Tea bags for vampires.
> > > openBSD - Can't fight the Systemagic. \ber tragic.
> > > Frank Brodbeck <[EMAIL PROTECTED]>
> > > Politicians do it to everyone.

Reply via email to