Re: Suggestion needed for fixing RAID6

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: MRK
Date: Monday, April 26, 2010 - 3:24 am

On 04/25/2010 12:00 PM, Janos Haar wrote:

Remember this exact error message: "read error not correctable"


Seems correct to me...

This line comes BEFORE the other one, right?

[...]

No the error message really comes from MD. Can you read C code? Go into 
the kernel source and look this file:

linux_source_dir/drivers/md/raid5.c

(file raid5.c is also for raid6) search for "read error not correctable"

What you see there is the reason for failure. You see the line "if 
(conf->mddev->degraded)" just above? I think your mistake was that you 
did the DM COW trick only on the last device, or anyway one device only, 
instead you should have done it on all 3 devices which were failing.

It did not work for you because at the moment you got the read error on 
the last disk, two disks were already dropped from the array, the array 
was doubly degraded, and it's not possible to correct a read error if 
the array is degraded because you don't have enough parity information 
to recover the data for that sector.

You should have prevented also the first two disks from dropping. Do the 
DM trick on all of them simultaneously, or at least on 2 of them (if you 
are sure only 3 disks have problems), start the array making sure it 
starts with all devices online i.e. nondegraded, then start the resync, 
and I think it will work.



I don't think there is another way. You need to make this work.

Good luck

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 22, 3:09 am)
Re: Suggestion needed for fixing RAID6, Mikael Abrahamsson, (Thu Apr 22, 8:00 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 22, 8:12 am)
Re: Suggestion needed for fixing RAID6, Mikael Abrahamsson, (Thu Apr 22, 8:18 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 22, 9:25 am)
Re: Suggestion needed for fixing RAID6, Peter Rabbitson, (Thu Apr 22, 9:32 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 22, 1:48 pm)
Re: Suggestion needed for fixing RAID6, Luca Berra, (Thu Apr 22, 11:51 pm)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Fri Apr 23, 1:47 am)
Re: Suggestion needed for fixing RAID6, MRK, (Fri Apr 23, 5:34 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Sat Apr 24, 12:36 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Sat Apr 24, 3:47 pm)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Sun Apr 25, 3:00 am)
Re: Suggestion needed for fixing RAID6, MRK, (Mon Apr 26, 3:24 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Mon Apr 26, 5:52 am)
Re: Suggestion needed for fixing RAID6, MRK, (Mon Apr 26, 9:53 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Mon Apr 26, 3:39 pm)
Re: Suggestion needed for fixing RAID6, Michael Evans, (Mon Apr 26, 4:06 pm)
Re: Suggestion needed for fixing RAID6, Michael Evans, (Mon Apr 26, 5:04 pm)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Tue Apr 27, 8:50 am)
Re: Suggestion needed for fixing RAID6, MRK, (Tue Apr 27, 4:02 pm)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Tue Apr 27, 6:37 pm)
Re: Suggestion needed for fixing RAID6, Mikael Abrahamsson, (Tue Apr 27, 7:02 pm)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Tue Apr 27, 7:12 pm)
Re: Suggestion needed for fixing RAID6, Mikael Abrahamsson, (Tue Apr 27, 7:30 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Wed Apr 28, 5:57 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Wed Apr 28, 6:32 am)
Re: Suggestion needed for fixing RAID6, MRK, (Wed Apr 28, 7:19 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Wed Apr 28, 7:51 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 29, 12:55 am)
Re: Suggestion needed for fixing RAID6, MRK, (Thu Apr 29, 8:22 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 29, 2:07 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Thu Apr 29, 4:00 pm)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Thu Apr 29, 11:17 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Fri Apr 30, 4:54 pm)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Sat May 1, 2:37 am)
Re: Suggestion needed for fixing RAID6, MRK, (Sat May 1, 10:17 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Sat May 1, 2:44 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Sun May 2, 4:05 pm)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Sun May 2, 7:17 pm)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Sun May 2, 7:29 pm)
Re: Suggestion needed for fixing RAID6, MRK, (Mon May 3, 3:04 am)
Re: Suggestion needed for fixing RAID6, Janos Haar, (Mon May 3, 3:20 am)
Re: Suggestion needed for fixing RAID6, MRK, (Mon May 3, 3:21 am)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Mon May 3, 2:02 pm)
Re: Suggestion needed for fixing RAID6, Neil Brown, (Mon May 3, 2:04 pm)
Re: Suggestion needed for fixing RAID6 [SOLVED], Janos Haar, (Wed May 5, 8:24 am)