Re: Raid5 to raid6 grow interrupted, mdadm hangs on assemble command

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

 



On 05/05/2023 02:34, Yu Kuai wrote:
I have had one case in which mdadm didn't hang and in which the
reshape continued. Sadly, I was using sparse overlay files and the
filesystem could not handle the full 4x 4TB. I had to terminate the
reshape.

This sounds like a dead end for now, normal io beyond reshape position
must wait:

raid5_make_request
  make_stripe_request
   ahead_of_reshape
    wait_woken

Not sure if I've got the wrong end of the stick, but if I've understood correctly, that shouldn't be the case.

Reshape takes place in a window. All io *beyond* the window is allowed to proceed normally - that part of the array has not been reshaped so the old parameters are used.

All io *in front* of the window is allowed to proceed normally - that part of the array has been reshaped so the new parameters are used.

io *IN* the window is paused until the window has passed. This interruption should be short and sweet.

Cheers,
Wol



[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