[OpenIndiana-discuss] How to replace failed rpool mirror disk?

Eric Bautsch eric.bautsch at pobox.com
Mon Jan 18 06:44:18 UTC 2021


I may be completely off piste here, but here goes....

 From memory and not having an x86 system booted at the moment to double check: 
You don't need to mess around with partitioning at all. You do need to label the 
disk though (which is annoying). So your first format, when it asked you whether 
or not to label, just say yes, write the label and exit.

Assuming your rpool is currently running as a single disk (it's an x86 system 
and you have physically removed the old disk prior to boot), you just attach a 
mirror to the rpool.

I'm not entirely sure if writing a bootblock is required, I have always done so, 
but am wondering if the mirror attach already does that for you, but as someone 
else pointed out earlier, it doesn't hurt to re-write it.

HTH

Eric


On 2021-01-17 23:43, Bob Friesenhahn wrote:
> On Sun, 17 Jan 2021, Gary Mills wrote:
>
>> On Sun, Jan 17, 2021 at 02:11:18PM -0600, Bob Friesenhahn wrote:
>>>
>>
>> I assume your replacement succeeded.
>
> I hope so!
>
>>> There are more details in the detail section, but perhaps I must assume that
>>> all is ok with the boot loader.  It is even possible that zfs arranged to
>>> install the boot loader on the disk automatically.
>>
>> To be sure all is okay, try booting from one disk and then the other.
>
> The BIOS on this SuperMicro system is not terribly helpful so I am not quite 
> sure how to do that other than pulling drives.
>
> After a power outage where the system was down for maybe 15 minutes, it failed 
> to boot properly.
>
> There was a failing boot drive still installed which I had mostly ignored 
> other than disabling it.  But the BIOS and boot loader did not seem to know 
> that it was disabled and tried to slowly boot from it. Another anomally was 
> that it appeared that the BIOS (or something) was causing all of the data on 
> all the disks to be read in turn before booting.  I have never seen anything 
> like it before.
>
> By physically removing the flaky boot drive and popping out the hot-swap 
> drives, I got the system to boot.  I found that one of the hot-swap drives no 
> longer spun up.  The BIOS and boot loader did not handle this well.
>
> Bob

-- 
  
       ____
      /          .                           Eric A. Bautsch
     /--   __       ___                ______________________________________
    /     /    /   /                  /
   (_____/____(___(__________________/       email: eric.bautsch at pobox.com



More information about the openindiana-discuss mailing list