* List of corruption cases for scrub
@ 2017-02-24 2:32 Lakshmipathi.G
2017-02-24 17:39 ` Goffredo Baroncelli
[not found] ` <e1ce9d74-57e8-8078-11fb-d2e4613428ea@cn.fujitsu.com>
0 siblings, 2 replies; 4+ messages in thread
From: Lakshmipathi.G @ 2017-02-24 2:32 UTC (permalink / raw)
To: linux-btrfs
Hi.
I tried to a create list of corruption test scenarios for scrubbing process with RAID5.
Here's the list: https://btrfs.wiki.kernel.org/index.php/Scrub_corruption_cases
If similar list already exists in btrfs wiki, let me know, I'll move this data
to there. Feel free to add/update/delete entries or suggest new corrupt ideas!
Cheers.
Lakshmipathi.G
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: List of corruption cases for scrub
2017-02-24 2:32 List of corruption cases for scrub Lakshmipathi.G
@ 2017-02-24 17:39 ` Goffredo Baroncelli
2017-02-26 13:21 ` Lakshmipathi.G
[not found] ` <e1ce9d74-57e8-8078-11fb-d2e4613428ea@cn.fujitsu.com>
1 sibling, 1 reply; 4+ messages in thread
From: Goffredo Baroncelli @ 2017-02-24 17:39 UTC (permalink / raw)
To: Lakshmipathi.G, linux-btrfs
Hi,
On 2017-02-24 03:32, Lakshmipathi.G wrote:
> Hi.
>
> I tried to a create list of corruption test scenarios for scrubbing process with RAID5.
> Here's the list: https://btrfs.wiki.kernel.org/index.php/Scrub_corruption_cases
>
> If similar list already exists in btrfs wiki, let me know, I'll move this data
> to there. Feel free to add/update/delete entries or suggest new corrupt ideas!
Thanks for doing that. About the test "Device-corruption", I suppose that you want to test a scenario where one disk fails. If so you do not have to always corrupt "D0" block, but the first block of the file which is stored in the failing disk (which could be different from the D0).
Another scenario which should be tested, is the reshaping of the raid: add a drive (or remove a drive) then re-balance the system (with or without some corruption). IIRC this use the same scrub code.
>
> Cheers.
> Lakshmipathi.G
> --
BR
G.Baroncelli
--
gpg @keyserver.linux.it: Goffredo Baroncelli <kreijackATinwind.it>
Key fingerprint BBF5 1610 0B64 DAC6 5F7D 17B2 0EDA 9B37 8B82 E0B5
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: List of corruption cases for scrub
2017-02-24 17:39 ` Goffredo Baroncelli
@ 2017-02-26 13:21 ` Lakshmipathi.G
0 siblings, 0 replies; 4+ messages in thread
From: Lakshmipathi.G @ 2017-02-26 13:21 UTC (permalink / raw)
To: kreijack; +Cc: linux-btrfs
On Fri, Feb 24, 2017 at 06:39:20PM +0100, Goffredo Baroncelli wrote:
> Hi,
> On 2017-02-24 03:32, Lakshmipathi.G wrote:
> > Hi.
> >
> > I tried to a create list of corruption test scenarios for scrubbing process with RAID5.
> > Here's the list: https://btrfs.wiki.kernel.org/index.php/Scrub_corruption_cases
> >
> > If similar list already exists in btrfs wiki, let me know, I'll move this data
> > to there. Feel free to add/update/delete entries or suggest new corrupt ideas!
>
> Thanks for doing that. About the test "Device-corruption", I suppose that you want to test a scenario where one disk fails. If so you do not have to always corrupt "D0" block, but the first block of the file which is stored in the failing disk (which could be different from the D0).
>
Yes, that's right. Updated (Device-corruption) the list now.
> Another scenario which should be tested, is the reshaping of the raid: add a drive (or remove a drive) then re-balance the system (with or without some corruption). IIRC this use the same scrub code.
>
Added this as 'Rebalance-corruption' on the wiki. thanks!
Cheers.
Lakshmipathi.G
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: List of corruption cases for scrub
[not found] ` <e1ce9d74-57e8-8078-11fb-d2e4613428ea@cn.fujitsu.com>
@ 2017-02-27 11:01 ` Lakshmipathi.G
0 siblings, 0 replies; 4+ messages in thread
From: Lakshmipathi.G @ 2017-02-27 11:01 UTC (permalink / raw)
To: Qu Wenruo; +Cc: linux-btrfs
On Mon, Feb 27, 2017 at 11:40:31AM +0800, Qu Wenruo wrote:
>
>
> At 02/24/2017 10:32 AM, Lakshmipathi.G wrote:
> >Hi.
> >
> >I tried to a create list of corruption test scenarios for scrubbing process with RAID5.
> >Here's the list: https://btrfs.wiki.kernel.org/index.php/Scrub_corruption_cases
> >
> >If similar list already exists in btrfs wiki, let me know, I'll move this data
> >to there. Feel free to add/update/delete entries or suggest new corrupt ideas!
>
> What about adding testing result for latest kernel release?
>
> Thanks,
> Qu
True, Ideally, the wiki should have list-corruption cases along with result for
each latest kernel version.
Planning to add more cases, gradually. For example, I think inode object
with RAID5 can be replicated across drives. If thats correct, can scrub
fix those corruption too? cases like this may be more important than other
to-do items like raid5 with features like snapshot/quota etc
I think it should be possible to add test-results for few cases but list has
repeated-cases with different sizes,drives etc for these cases we need some
kind of automated scripts.
Hope to extend the cases first and then start updating results with manual or
automated tests.
Cheers.
Lakshmipathi.G
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-02-27 11:04 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24 2:32 List of corruption cases for scrub Lakshmipathi.G
2017-02-24 17:39 ` Goffredo Baroncelli
2017-02-26 13:21 ` Lakshmipathi.G
[not found] ` <e1ce9d74-57e8-8078-11fb-d2e4613428ea@cn.fujitsu.com>
2017-02-27 11:01 ` Lakshmipathi.G
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).