Thread (6 messages) 6 messages, 2 authors, 2011-07-06

Re: Help with recovering resized raid where machine crashed while PENDING

From: Petter Reinholdtsen <hidden>
Date: 2011-07-05 16:24:33

[Neil Brown]
I probably wouldn't have helped.  It is supposed to write backup
stuff to the spares and if it didn't do that, it probably wouldn't
have written it to a file either.
Right.  Is this a bug or the way it is supposed to work?
The easiest fix for now is to recreate the array.

mdadm -CR /dev/md3 --metadata=0.90 -n3 -l5 -c64 /dev/sdb2 /dev/sdc2
/dev/sdf2 --assume-clean

should do it.
Thank you.  How did you determine which devices to use and which order
to list them in?  I've since rebooted and want to make sure I do not
pick the wrong devices.
Then if that looks good, add the extra devices and grow the array
again.
Will try when md2 is done growing tomorrow. :)

Happy hacking,
-- 
Petter Reinholdtsen
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help