* Check / Automatic repair
@ 2012-05-21 10:09 Fabien Bourigault
2012-05-21 10:15 ` NeilBrown
0 siblings, 1 reply; 4+ messages in thread
From: Fabien Bourigault @ 2012-05-21 10:09 UTC (permalink / raw)
To: linux-raid
Hi,
I was reading the kernel md.txt documentation and found that couple of
sentences about sync_action :
496 check - A full check of redundancy was requested and is
497 happening. This reads all block and checks
498 them. A repair may also happen for some raid
499 levels.
What levels/configurations are affected by the "A repair may also
happen for some raid levels." sentence ?
Regards
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Check / Automatic repair
2012-05-21 10:09 Check / Automatic repair Fabien Bourigault
@ 2012-05-21 10:15 ` NeilBrown
2012-05-21 11:25 ` Fabien Bourigault
0 siblings, 1 reply; 4+ messages in thread
From: NeilBrown @ 2012-05-21 10:15 UTC (permalink / raw)
To: Fabien Bourigault; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 846 bytes --]
On Mon, 21 May 2012 12:09:47 +0200 Fabien Bourigault <dradge@gmail.com> wrote:
> Hi,
>
> I was reading the kernel md.txt documentation and found that couple of
> sentences about sync_action :
>
> 496 check - A full check of redundancy was requested and is
> 497 happening. This reads all block and checks
> 498 them. A repair may also happen for some raid
> 499 levels.
>
>
> What levels/configurations are affected by the "A repair may also
> happen for some raid levels." sentence ?
Someone really should find time to fix up that file....
I don't remember the details of what it meant at the time, but with current
code 'check' means a check is happening for all raid levels, and 'repair'
means a repair is happening.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Check / Automatic repair
2012-05-21 10:15 ` NeilBrown
@ 2012-05-21 11:25 ` Fabien Bourigault
2012-05-21 11:36 ` NeilBrown
0 siblings, 1 reply; 4+ messages in thread
From: Fabien Bourigault @ 2012-05-21 11:25 UTC (permalink / raw)
To: NeilBrown; +Cc: linux-raid
So, what really happens if I do :
echo "check" > /sys/block/md0/md/sync_action
or :
echo "repair" > /sys/block/md0/md/sync_action
?
2012/5/21 NeilBrown <neilb@suse.de>:
> On Mon, 21 May 2012 12:09:47 +0200 Fabien Bourigault <dradge@gmail.com> wrote:
>
>> Hi,
>>
>> I was reading the kernel md.txt documentation and found that couple of
>> sentences about sync_action :
>>
>> 496 check - A full check of redundancy was requested and is
>> 497 happening. This reads all block and checks
>> 498 them. A repair may also happen for some raid
>> 499 levels.
>>
>>
>> What levels/configurations are affected by the "A repair may also
>> happen for some raid levels." sentence ?
>
> Someone really should find time to fix up that file....
>
> I don't remember the details of what it meant at the time, but with current
> code 'check' means a check is happening for all raid levels, and 'repair'
> means a repair is happening.
>
> 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] 4+ messages in thread
* Re: Check / Automatic repair
2012-05-21 11:25 ` Fabien Bourigault
@ 2012-05-21 11:36 ` NeilBrown
0 siblings, 0 replies; 4+ messages in thread
From: NeilBrown @ 2012-05-21 11:36 UTC (permalink / raw)
To: Fabien Bourigault; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 309 bytes --]
On Mon, 21 May 2012 13:25:42 +0200 Fabien Bourigault <dradge@gmail.com> wrote:
> So, what really happens if I do :
>
> echo "check" > /sys/block/md0/md/sync_action
>
> or :
>
> echo "repair" > /sys/block/md0/md/sync_action
>
> ?
"man md"
look for "SCRUBBING AND MISMATCHES"
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-05-21 11:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-21 10:09 Check / Automatic repair Fabien Bourigault
2012-05-21 10:15 ` NeilBrown
2012-05-21 11:25 ` Fabien Bourigault
2012-05-21 11:36 ` NeilBrown
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).