On Sun, Jan 31, 2021 at 09:47:22PM +0300, Serge wrote: > Hello. > > I use 2 disks in mirror with root partition on softraid. > Say they are sd0a and sd1a and SR is sd2. > For example sd0 fails. I shutdown system, replace failed drive, > boot from good one, copy layout, rebuild array, all disks online > and system is up and running. > Then sd1 fails. I shutdown system, replace sd1, power on and... > > Using drive 0, partition 3. > No O/S > _ > > > Reading manuals, faqs and mailing lists led me to the following: > I reproduce the issue and after replacement first failed drive run > # installboot -v sd2 > > After that I can boot successfully from both drives. > > Unfortunately I can not find this solution (is it a solution?)
Yes, this is the right solution. Installboot writes the bootloader to all chunks. If a chunk is replaced with a fresh disk this disk won't carry a boot loader unless installboot is run again.