Thread (25 messages) 25 messages, 6 authors, 2014-06-11

Re: RAID-10 explicitly defined drive pairs?

From: Jan Kasprzak <hidden>
Date: 2012-01-06 21:02:27

NeilBrown wrote:
: > 	I have tried mdadm --add /dev/mdN /dev/sd.. /dev/sd.. /dev/sd..,
: > but it behaves the same way as issuing mdadm --add one drive at a time.
: 
: I would expect that to first recover just the first device added, then
: recover all the rest at once.
: 
: If you:
:   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.

	Wow, it works! Thanks!

: I should teach mdadm about this..

	It would be nice if mdadm --add /dev/mdN <multiple devices>
did this.

-Yenya

-- 
| Jan "Yenya" Kasprzak  <kas at {fi.muni.cz - work | yenya.net - private}> |
| GPG: ID 1024/D3498839      Fingerprint 0D99A7FB206605D7 8B35FCDE05B18A5E |
| http://www.fi.muni.cz/~kas/    Journal: http://www.fi.muni.cz/~kas/blog/ |
Please don't top post and in particular don't attach entire digests to your
mail or we'll all soon be using bittorrent to read the list.     --Alan Cox
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help