On Thu, 22 Mar 2012 12:01:48 +0200 Alexander Lyakas <alex.bolshoy@xxxxxxxxx> wrote: > Neil, > > > echo frozen > /sys/block/mdN/md/sync_action > > mdadm --add /dev/mdN /dev...... > > echo recover > /sys/block/mdN/md/sync_action > > > > it should do them all at once. > > > > I should teach mdadm about this.. > > What is required to do that from mdadm? I don't see any other place > where MD_RECOVERY_FROZEN is set, except via sysfs. So do you suggest > that mdadm use sysfs for that? Yes. http://neil.brown.name/git?p=mdadm;a=commitdiff;h=9f58469128c99c0d7f434d28657f86789334f253 > Also, what should be done if mdadm succeeds to "freeze" the array, but > fails to "unfreeze" it for some reason? What could possibly cause that? I guess if someone kills mdadm while it was running.. NeilBrown
Attachment:
signature.asc
Description: PGP signature