* Chunk size change stop/restart
@ 2013-12-17 19:00 Piergiorgio Sartor
2013-12-17 22:32 ` NeilBrown
0 siblings, 1 reply; 3+ messages in thread
From: Piergiorgio Sartor @ 2013-12-17 19:00 UTC (permalink / raw)
To: linux-raid
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,
--
piergiorgio
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Chunk size change stop/restart
2013-12-17 19:00 Chunk size change stop/restart Piergiorgio Sartor
@ 2013-12-17 22:32 ` NeilBrown
2013-12-18 18:31 ` Piergiorgio Sartor
0 siblings, 1 reply; 3+ messages in thread
From: NeilBrown @ 2013-12-17 22:32 UTC (permalink / raw)
To: Piergiorgio Sartor; +Cc: linux-raid
[-- Attachment #1: Type: text/plain, Size: 750 bytes --]
On Tue, 17 Dec 2013 20:00:19 +0100 Piergiorgio Sartor
<piergiorgio.sartor@nexgo.de> wrote:
> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Chunk size change stop/restart
2013-12-17 22:32 ` NeilBrown
@ 2013-12-18 18:31 ` Piergiorgio Sartor
0 siblings, 0 replies; 3+ messages in thread
From: Piergiorgio Sartor @ 2013-12-18 18:31 UTC (permalink / raw)
To: NeilBrown; +Cc: Piergiorgio Sartor, linux-raid
On Wed, Dec 18, 2013 at 09:32:10AM +1100, NeilBrown wrote:
> On Tue, 17 Dec 2013 20:00:19 +0100 Piergiorgio Sartor
> <piergiorgio.sartor@nexgo.de> wrote:
>
> > 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-18 18:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-17 19:00 Chunk size change stop/restart Piergiorgio Sartor
2013-12-17 22:32 ` NeilBrown
2013-12-18 18:31 ` Piergiorgio Sartor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox