Caspar Smit wrote: : Op 20 mei 2015 16:51 schreef "Jan Kasprzak" <kas@xxxxxxxxxx>: : > : > OK, this seems to be a way to go. : > : > Unfortunately, the system in question is too old, : > and its mdadm does not know about the --replace option, according to : > mdadm --manage --help. So I will look for a newer mdadm and hope the old : > kernel of that system supports the mdadm --replace. : > : : You'll need kernel version 3.3+ to support advance replacement. OK, I have grabbed the Fedora 22 mdadm package, rebuilt it, and apparently mdadm --manage /dev/mdXX --replace /dev/sdOLD1 --with /dev/sdNEW1 works as expected. Thanks! -Yenya. -- | Jan "Yenya" Kasprzak <kas at {fi.muni.cz - work | yenya.net - private}> | | New GPG 4096R/A45477D5 -- see http://www.fi.muni.cz/~kas/pgp-rollover.txt | | http://www.fi.muni.cz/~kas/ Journal: http://www.fi.muni.cz/~kas/blog/ | Smart data structures and dumb code works a lot better than the other way around. --Eric S. Raymond -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html