Hello,

Sorry for my ignorance, I was hoping someone could clarify for me the proper procedure for rebuilding a softraid mirror. The man page/faq says:


        Rebuilding a mirror

When a drive failure happens, you will replace the failed drive, create the RAID and other disklabel partitions, then rebuild the mirror. Assuming your RAID volume is sd2 and you are replacing the failed device with sd1m, the following commands should work:

    #*bioctl -R /dev/sd1m sd2*
    #*reboot*

These steps can be performed in either single user mode <https://www.openbsd.org/faq/faq8.html#LostPW> or from the install kernel <https://www.openbsd.org/faq/faq4.html#bsd.rd>.
Does this mean that a RAID rebuild can *only* be performed from single user mode or install kernel, or is it possible to rebuild an array while the system is in full operation?

To phrase my question a different way:
Is it possible to hot swap drives and rebuild arrays on the fly, or will this bork my system?

Thanks,
Jordan Geoghegan

Reply via email to