Then you can mark them as bad and linux will sync to a spare.As for your sdc, I'd test it outside of the raid (dd if=/dev/sdc of=/dev/null) to see if this is a real defect or 'just' a checksum error. Then you might also try the fridge (if it's a real defect) or just ignore the error. I think there is a special "dd" version which will not abort on a read error. With that you could also clone that drive (except the failing sectors ofcourse).
I hope that helps. ----- Message from ralf@xxxxxxxx --------- Date: Fri, 12 Oct 2007 16:42:07 +0200 From: Ralf Müller <ralf@xxxxxxxx> Reply-To: Ralf Müller <ralf@xxxxxxxx> Subject: RAID6 recover problem To: linux-raid@xxxxxxxxxxxxxxx
I have a 10 disk raid6 with internal write intent bitmap here (softraid, build and managed via mdadm). For whatever reason one of the 3 promise SATA 300 TX controllers went offline and took 4 of these 10 disks with it. After reboot the array was assembled with 8 out of 10 disks - sda2 and sdb2 missing. When I tried to re-add sda2 sdc - which is one of the "active" disks - reported a read error on sector 54631. Ok - seems I have a problem. I stopped all activities at this point to ask here what I can do to reassemble the array with a minimum loss of data. Except the offline disks sda2 and sdb2 all other disks report 19 dirty chunks (mdadm -X). The offline disks report 7 dirty chunks. If one needs any further data - just ask. Hoping for assistance Ralf Müller - 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
----- End message from ralf@xxxxxxxx ----- ======================================================================== # _ __ _ __ http://www.nagilum.org/ \n icq://69646724 # # / |/ /__ ____ _(_) /_ ____ _ nagilum@xxxxxxxxxxx \n +491776461165 # # / / _ `/ _ `/ / / // / ' \ Amiga (68k/PPC): AOS/NetBSD/Linux # # /_/|_/\_,_/\_, /_/_/\_,_/_/_/_/ Mac (PPC): MacOS-X / NetBSD /Linux # # /___/ x86: FreeBSD/Linux/Solaris/Win2k ARM9: EPOC EV6 # ======================================================================== ---------------------------------------------------------------- cakebox.homeunix.net - all the machine one needs..
Attachment:
pgpeFizCldWVg.pgp
Description: PGP Digital Signature