Subject: Re: Can't rebuild RAID
To: NetBSD/users <netbsd-users@netbsd.org>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-users
Date: 02/27/2007 15:56:52
Pavel Cahyna writes:
> On Tue, Feb 27, 2007 at 02:39:33PM -0600, Greg Oster wrote:
> > Michael Watters writes:
> > > Greg Oster wrote:
> > > > Does:  raidctl -v -R /dev/wd2e raid0
> > > > work any better? :) 
> > > >
> > > > Later...
> > > >
> > > > Greg Oster
> > > >   
> > > Ok, now it starts to rebuild but it fails around 90%.
> > > 
> > > Feb 27 13:14:36 nfs /netbsd: wd2e: error writing fsbn 268435392 of 
> > > 268435392-268435519 (wd2 bn 268435455; cn 266305 tn 0 sn 15), retrying
> > > Feb 27 13:14:36 nfs /netbsd: wd2: (id not found)
> > > Feb 27 13:14:36 nfs /netbsd: wd2e: error writing fsbn 268435392 of 
> > > 268435392-268435519 (wd2 bn 268435455; cn 266305 tn 0 sn 15), retrying
> > > Feb 27 13:14:36 nfs /netbsd: wd2: (id not found)
> > > Feb 27 13:14:37 nfs /netbsd: wd2e: error writing fsbn 268435392 of 
> > > 268435392-268435519 (wd2 bn 268435455; cn 266305 tn 0 sn 15), retrying
> > > Feb 27 13:14:37 nfs /netbsd: wd2: (id not found)
> > > Feb 27 13:14:38 nfs /netbsd: wd2e: error writing fsbn 268435392 of 
> > > 268435392-268435519 (wd2 bn 268435455; cn 266305 tn 0 sn 15), retrying
> > > Feb 27 13:14:38 nfs /netbsd: wd2: (id not found)
> > > Feb 27 13:14:38 nfs /netbsd: wd2e: error writing fsbn 268435392 of 
> > > 268435392-268435519 (wd2 bn 268435455; cn 266305 tn 0 sn 15), retrying
> > > Feb 27 13:14:38 nfs /netbsd: wd2: (id not found)
> > > Feb 27 13:14:39 nfs /netbsd: wd2e: error writing fsbn 268435392 of 
> > > 268435392-268435519 (wd2 bn 268435455; cn 266305 tn 0 sn 15)wd2: (id not 
> > > found)
> > > Feb 27 13:14:39 nfs /netbsd:
> > > Feb 27 13:14:39 nfs /netbsd: raid0: Recon write failed!
> > > Feb 27 13:14:39 nfs /netbsd: raid0: reconstruction failed.
> > > 
> > > I'm not sure what these errors mean.
> > 
> > wd2 is dying and you should replace it ASAP. :(
> 
> Or, some problem with 128 GB boundary?
> 
> $ bc -l
> 268435392*512/1024/1024/1024
> 127.99996948242187500000

Good catch... you're probably quite right... 

Michael: what does "dmesg | grep wd2" say (after the machine boots)? 
Is it a Seagate drive?  And what version of NetBSD are you running?

Later...

Greg Oster