* parity check for read?
@ 2007-04-03 13:21 Mirko Benz
2007-04-03 21:07 ` Neil Brown
0 siblings, 1 reply; 5+ messages in thread
From: Mirko Benz @ 2007-04-03 13:21 UTC (permalink / raw)
To: Linux RAID
Hi,
Is parity calculation and validation for read operations supported?
Regards,
Mirko
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parity check for read?
2007-04-03 13:21 parity check for read? Mirko Benz
@ 2007-04-03 21:07 ` Neil Brown
2007-04-04 11:29 ` Mirko Benz
0 siblings, 1 reply; 5+ messages in thread
From: Neil Brown @ 2007-04-03 21:07 UTC (permalink / raw)
To: Mirko Benz; +Cc: Linux RAID
On Tuesday April 3, mirko.benz@web.de wrote:
> Hi,
>
> Is parity calculation and validation for read operations supported?
I guess what you are asking is:
With raid5, I would like the drive to handle a read request by
reading all the blocks in the stripe and checking the parity. If
the parity is correct, return the data blocks. If it is not, then
fail the read request. Is that possible?
No, it is not.
If you are really asking something else, please be more specific.
NeilBrown
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parity check for read?
2007-04-03 21:07 ` Neil Brown
@ 2007-04-04 11:29 ` Mirko Benz
2007-04-04 13:35 ` Ric Wheeler
0 siblings, 1 reply; 5+ messages in thread
From: Mirko Benz @ 2007-04-04 11:29 UTC (permalink / raw)
To: Neil Brown; +Cc: Linux RAID
Neil,
Exactly what I had in mind.
Some vendors claim they do parity checking for reads. Technically it
should be possible for Linux RAID as well but is not implemented – correct?
Reliability data for unrecoverable read errors:
- enterprise SAS drive (ST3300655SS): 1 in 10^16 bits transfered, ~ 1
error in 1,1 PB
- enterprise SATA drive (ST3500630NS): 1 in 10^14 bits transfered, ~ 1
error in 11 TB
For a single SATA drive @ 50 MB/s it take on average 2,7 days to
encounter an error.
For a large RAID with several drives this becomes much lower or am I
viewing this wrong?
Regards,
Mirko
Neil Brown schrieb:
> On Tuesday April 3, mirko.benz@web.de wrote:
>
>> Hi,
>>
>> Is parity calculation and validation for read operations supported?
>>
>
> I guess what you are asking is:
>
> With raid5, I would like the drive to handle a read request by
> reading all the blocks in the stripe and checking the parity. If
> the parity is correct, return the data blocks. If it is not, then
> fail the read request. Is that possible?
>
> No, it is not.
>
> If you are really asking something else, please be more specific.
>
> NeilBrown
>
>
-
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parity check for read?
2007-04-04 11:29 ` Mirko Benz
@ 2007-04-04 13:35 ` Ric Wheeler
2007-04-04 15:57 ` Dan Williams
0 siblings, 1 reply; 5+ messages in thread
From: Ric Wheeler @ 2007-04-04 13:35 UTC (permalink / raw)
To: Mirko Benz; +Cc: Neil Brown, Linux RAID
Mirko Benz wrote:
> Neil,
>
> Exactly what I had in mind.
>
> Some vendors claim they do parity checking for reads. Technically it
> should be possible for Linux RAID as well but is not implemented – correct?
>
> Reliability data for unrecoverable read errors:
> - enterprise SAS drive (ST3300655SS): 1 in 10^16 bits transfered, ~ 1
> error in 1,1 PB
> - enterprise SATA drive (ST3500630NS): 1 in 10^14 bits transfered, ~ 1
> error in 11 TB
>
> For a single SATA drive @ 50 MB/s it take on average 2,7 days to
> encounter an error.
> For a large RAID with several drives this becomes much lower or am I
> viewing this wrong?
>
> Regards,
> Mirko
One note is that if the drive itself notices the unrecoverable read error, MD
will see this as an IO error and rebuild the stripe.
What you need the parity check on read for is to validate errors not at the disk
sector level, but rather ones that sneak in from DRAM, HBA errors or wire level
uncorrected errors.
ric
-
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: parity check for read?
2007-04-04 13:35 ` Ric Wheeler
@ 2007-04-04 15:57 ` Dan Williams
0 siblings, 0 replies; 5+ messages in thread
From: Dan Williams @ 2007-04-04 15:57 UTC (permalink / raw)
To: ric; +Cc: Mirko Benz, Neil Brown, Linux RAID
On 4/4/07, Ric Wheeler <ric@emc.com> wrote:
>
>
> Mirko Benz wrote:
> > Neil,
> >
> > Exactly what I had in mind.
> >
> > Some vendors claim they do parity checking for reads. Technically it
> > should be possible for Linux RAID as well but is not implemented – correct?
> >
> > Reliability data for unrecoverable read errors:
> > - enterprise SAS drive (ST3300655SS): 1 in 10^16 bits transfered, ~ 1
> > error in 1,1 PB
> > - enterprise SATA drive (ST3500630NS): 1 in 10^14 bits transfered, ~ 1
> > error in 11 TB
> >
> > For a single SATA drive @ 50 MB/s it take on average 2,7 days to
> > encounter an error.
> > For a large RAID with several drives this becomes much lower or am I
> > viewing this wrong?
> >
> > Regards,
> > Mirko
>
> One note is that if the drive itself notices the unrecoverable read error, MD
> will see this as an IO error and rebuild the stripe.
>
> What you need the parity check on read for is to validate errors not at the disk
> sector level, but rather ones that sneak in from DRAM, HBA errors or wire level
> uncorrected errors.
>
For the raid5 case the corruption can be detected, but not corrected.
Is the expectation that the administrator will be notified to restore
from backup?
Are there any raid6 solutions that take advantage of what hpa has proved?
http://marc.info/?l=linux-raid&m=117333726129771&w=2
I am prototyping a writeback caching policy for MD, it seems plugging
in different read policies would be a straightforward extension.
> ric
Dan
-
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-04-04 15:57 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-03 13:21 parity check for read? Mirko Benz
2007-04-03 21:07 ` Neil Brown
2007-04-04 11:29 ` Mirko Benz
2007-04-04 13:35 ` Ric Wheeler
2007-04-04 15:57 ` Dan Williams
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).