On Wed, Dec 16 2015, Kev Dorman wrote: > Hi, > > Xiao Ni posted back in September about a problem where mdadm --grow fails with: > > mdadm: Failed to initiate reshape! > > I'm seeing the same problem, with mdadm 3.3.4, Kernel 4.3.0. I can > reproduce this reliably > when adding a device to a 2-device raid0 array. Instead of switching > to raid4 for the > reshape, then switching back to raid0 when done, it ends up in raid4 > in recovery mode. > > I tried the suggested change of adding a call to md_check_recovery() > in action_store(), > and that does seem to help most of the time. > > I was curious if there is a better solution, and/or if this or another > change will show up in > 4.3.x soon. I have a patch queued in my for-next branch which I'll send to Linus before Christmas. It should then get into 4.3.x in early January (at a guess). NeilBrown
Attachment:
signature.asc
Description: PGP signature