linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* reboot before reshape from raid 5 to raid 6 (was in state resync=DELAYED). Doesn't assemble anymore.
@ 2010-10-12 14:27 Simon S
  2010-10-12 20:46 ` Neil Brown
  0 siblings, 1 reply; 10+ messages in thread
From: Simon S @ 2010-10-12 14:27 UTC (permalink / raw)
  To: linux-raid

Hi all,

I had a config with 5 disks and 3 raid 5 arrays:

md2 : system root
md3 : swap
md4 : data

I added a 6th disk with the intention of growing my raid5 into raid6.

The step I used were :

# mdadm /dev/mdX -a  /dev/newdiskX
# mdadm -G --level 6 -n 6 /dev/mdX --backup-file /mdXbackup
 (yes, with backup file on root partition md2...)

The md3 array reshaped without any problem.
md2 seemed to reshape well until it reaches 50.4%, then the rebuild speed stalled at 14Kb/s.
md4 was still in the state "resync=DELAYED" then.

As the rebuild process seemed hung, I restart the machine ... bad idea.

Now mdadm refuses to assemble md2 and md4, and displays this message :

  mdadm: Failed to restore critical section for reshape, sorry.
    Possibly you needed to specify the --backup-file

md2 is my linux installation, not very bad if I lose this one.

md4 however contains valuable data.

While md4 was still in the state resync=DELAYED before the shutdown, I expect
it should not has been (to much) modified and can be recovered.

Any idea on how I could safely do it ?

Should I give a try to the hack "Get 'Grow_restart' to always return 0."
mentionned by Neil Brown on 22 april 2010 in this mailing list ?


Thank for any advices,

Cheers,

-- 
Simon S

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2010-10-14  8:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-12 14:27 reboot before reshape from raid 5 to raid 6 (was in state resync=DELAYED). Doesn't assemble anymore Simon S
2010-10-12 20:46 ` Neil Brown
2010-10-12 22:59   ` Simon SÉHIER
2010-10-12 23:06     ` Simon SEHIER
2010-10-13  0:08     ` Neil Brown
2010-10-13  8:18       ` Simon SÉHIER
2010-10-13  8:37         ` Neil Brown
2010-10-13 17:32           ` Simon SÉHIER
2010-10-13 20:24             ` Neil Brown
2010-10-14  8:35               ` [resolved] " Simon SÉHIER

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).