Chunk size change stop/restart
Hi all,
I started the process of changing the chunk size of a RAID-5 array (5 HDDs).
Unfortunately, I unwisely choose a quite slow device for the backup file.
Is it possible, without stopping the array, to stop the "reshape", move the backup file to a faster place and restart the process?
Thanks,
bye,
Signature · 1 line
piergiorgio
Quoted 11 lines · On Tue, 17 Dec 2013 20:00:19 +0100 Piergiorgio Sartor…
Hi all,
I started the process of changing the chunk size of a RAID-5 array (5 HDDs).
Unfortunately, I unwisely choose a quite slow device for the backup file.
Is it possible, without stopping the array, to stop the "reshape", move the backup file to a faster place and restart the process?
You might be able to kill the mdadm which over-sees the reshape, move the file, then use --grow --continue to continue the reshape.
But I've never tested this and suspect that something would go wrong.
Stopping, moving, and re-assembling should work.
Being patient also works, but can be very difficult.
NeilBrown
Quoted 11 lines · NeilBrown
Quoted 8 lines · On Tue, 17 Dec 2013 20:00:19 +0100 Piergiorgio Sartor…
Hi all,
I started the process of changing the chunk size of a RAID-5 array (5 HDDs).
Unfortunately, I unwisely choose a quite slow device for the backup file.
Quoted 7 lines
Quoted 3 lines
Is it possible, without stopping the array, to stop the "reshape", move the backup file to a faster place and restart the process?
You might be able to kill the mdadm which over-sees the reshape, move the file, then use --grow --continue to continue the reshape.
But I've never tested this and suspect that something would go wrong.
Hi Neil,
thanks for the answer.
Actually, I've another card to play.
The array is empty in the second half, so I could try to kill mdadm (which signal? I guess the normal kill should do) and then restart the reshape, as soon as the 50% mark is reached.
Assuming something goes wrong, is there a way to re-start the array forcing (maybe?) the 64k chunk size (then a repair should simply fix the second half, I guess).
Quoted 3 lines
Stopping, moving, and re-assembling should work.
Being patient also works, but can be very difficult.
That was plan A, but I missed by 1 day... :-)
bye,
Signature · 1 line
piergiorgio