From: Burkhard Carstens Subject: Re: Failed RAID-5 with 4 disks Date: Sat, 17 Sep 2005 11:31:12 +0200 Message-ID: <200509171131.12643.suse-ml@onlinehome.de> References: <20050726170329.GA30354@intoxicatedmind.net> <432AFA95.3040709@h3c.com> <20050916190928.GJ21856@intoxicatedmind.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050916190928.GJ21856@intoxicatedmind.net> Content-Disposition: inline Sender: linux-raid-owner@vger.kernel.org To: linux-raid@vger.kernel.org List-Id: linux-raid.ids Am Freitag, 16. September 2005 21:09 schrieb Frank Blendinger: > On Fri, Sep 16, 2005 at 10:02:13AM -0700, Mike Hardy wrote: > > Frank Blendinger wrote: > > > This is what I did so far: I got one of the two bad drives (the > > > one that failed first) replaced with a new one. I copied the > > > other bad drive to the new one with dd. I guess that not > > > everything could be copied alright, I got 10 "Buffer I/O error on > > > device hdg, logical sector ..." and about 35 "end_request: I/O > > > error, hdg, sector ..." error messages in my syslog. > > > I am unable to find the beginning of this thread, so please excuse me if this has already been said, but: You did use ddrescue, didn't you? Because dd, when it fails to read a block, it won't write that block. That's why your superblock might have "moved" about 45 sectors towards the beginning of the drive. ddrescue writes a block with zeros when reading that block fails, so every readable sector get copdied to its corresponding sector on the new drive.. Burkhard