Raid5/6 journal re-add
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
Quoted 6 lines · Larkin Lowrey
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/sdq1to/dev/md124is not possible
Quoted 7 lines
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'
Signature · 1 line
Chris Murphy