Re: Check / Automatic repair

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>:
> On Mon, 21 May 2012 12:09:47 +0200 Fabien Bourigault <dradge@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux