md runs reshape but added disk is not touched /proc/mdstat reports that disk is used. To fix this let md to set slot for reshape. It is possible that slot verification mechanism has to be added. Second possibility is to investigate problem in md. md/raid5 treats disks as spare with disk index == -1 during raid5 reshape_start. Probably rqaid5 should treat as spare disks when disk index > used disks Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- Grow.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Grow.c b/Grow.c index 0efa106..6b2889e 100644 --- a/Grow.c +++ b/Grow.c @@ -1697,6 +1697,7 @@ static int reshape_array(char *container, int fd, char *devname, /* This is a spare that wants to * be part of the array. */ + d->disk.raid_disk = -1; add_disk(fd, st, info2, d); } } -- 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