Thread (5 messages) 5 messages, 3 authors, 2020-01-13

Re: dm-integrity

From: Piergiorgio Sartor <hidden>
Date: 2020-01-13 18:16:54
Also in: dm-devel

On Mon, Jan 13, 2020 at 10:11:00AM -0800, Song Liu wrote:
+ dm-devel

On Sun, Jan 12, 2020 at 5:43 AM Gandalf Corvotempesta
[off-list ref] wrote:
quoted
I'm testing dm-integrity.
Simple question: when corrupted data are found, repair is done
immediately or on next scrub?

This is what I have:

[ 6727.395808] md: data-check of RAID array md0
[ 6727.528589] device-mapper: integrity: Checksum failed at sector 0xe228
[ 6727.938689] md: md0: data-check done.
[ 6749.125075] md: data-check of RAID array md0
[ 6749.664269] md: md0: data-check done.

if repair is done immediatly, would be possible to add a single log
line saying that ?
something like:
[ 6727.528589] md: md0: Repaired data at sector 0xe228
I guess this belongs to dm-integrity instead of md?
Eh, well, no.
He is asking about "md" in case the underlying
layer, dm-integrity in this case, returns an error.

This could be the case also if the HDD returns
a read error which the RAID will correct and,
if I get it right, rewrite.

But I guess "md" already returns where the
correction happened, isn't like that?
I recall seeing in the logs something about
it, but it was some time ago...

bye,

-- 

piergiorgio
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help