* Raid5/6 journal re-add
@ 2017-11-19 23:00 Larkin Lowrey
2017-11-20 2:06 ` Chris Murphy
0 siblings, 1 reply; 2+ messages in thread
From: Larkin Lowrey @ 2017-11-19 23:00 UTC (permalink / raw)
To: linux-raid
I did a 'pull-the-drive' test on a raid6 array with a write-journal and
found that mdadm (v4.0-218-gfe05dc4 - 2017-11-09) would not let me
--re-add the drive so I add to --add it.
mdadm: --re-add for /dev/sdq1 to /dev/md124 is not possible
My expectation was that the drive would be recognized as being the
missing member and would be re-added and only out-of-sync regions would
be resync'd.
When I --add'ed the drive to the array the resync process started for
the entire array, not just for the out-of-sync regions. Is this correct
behavior for arrays with write journals? Are there plans to perform a
selective re-sync rather than a full re-sync?
--Larkin
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Raid5/6 journal re-add
2017-11-19 23:00 Raid5/6 journal re-add Larkin Lowrey
@ 2017-11-20 2:06 ` Chris Murphy
0 siblings, 0 replies; 2+ messages in thread
From: Chris Murphy @ 2017-11-20 2:06 UTC (permalink / raw)
To: Larkin Lowrey; +Cc: linux-raid
On Sun, Nov 19, 2017 at 4:00 PM, Larkin Lowrey <llowrey@gmail.com> wrote:
> I did a 'pull-the-drive' test on a raid6 array with a write-journal and
> found that mdadm (v4.0-218-gfe05dc4 - 2017-11-09) would not let me --re-add
> the drive so I add to --add it.
>
> mdadm: --re-add for /dev/sdq1 to /dev/md124 is not possible
>
> My expectation was that the drive would be recognized as being the missing
> member and would be re-added and only out-of-sync regions would be resync'd.
>
> When I --add'ed the drive to the array the resync process started for the
> entire array, not just for the out-of-sync regions. Is this correct behavior
> for arrays with write journals? Are there plans to perform a selective
> re-sync rather than a full re-sync?
Needs to be in the mdadm.conf for this array, see 'man mdadm.conf'
--
Chris Murphy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-20 2:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-19 23:00 Raid5/6 journal re-add Larkin Lowrey
2017-11-20 2:06 ` Chris Murphy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox