Thread (3 messages) 3 messages, 2 authors, 2013-12-18

Re: Chunk size change stop/restart

From: Piergiorgio Sartor <hidden>
Date: 2013-12-18 18:31:09

On Wed, Dec 18, 2013 at 09:32:10AM +1100, NeilBrown wrote:
On Tue, 17 Dec 2013 20:00:19 +0100 Piergiorgio Sartor
[off-list ref] wrote:
quoted
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.
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).
 
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,

-- 

piergiorgio
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help