When first array in container is set for later reshape mdadm has exit for remaining container operations. Do not wait for current reshape finalization as it will be performed manually later. Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- Grow.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/Grow.c b/Grow.c index 420177c..cec32d7 100644 --- a/Grow.c +++ b/Grow.c @@ -2435,6 +2435,12 @@ int reshape_container(char *container, char *devname, content, force, NULL, backup_file, quiet, 1, restart); close(fd); + + if (initramfs_is_in_use() == INITRAMFS_IS_IN_USE) { + sysfs_free(cc); + exit(0); + } + restart = 0; if (rv) break; -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html