Not sure if this is a bug or something wrong on my side, but I can’t replace a disk.
I had some UREs, warrantied a drive from my 2-disk mirror array and ran the array degraded in the meantime, gotr a new drive back from warranty today and tried to replace it. And I can’t…
This is what I see if I select the missing disk in the mirror:
Add your replacement disk as a third member to your Mirror VDEV. Allow it to complete the resilver process. Once you verified your back to two good members, detach the old, unavailable drive.
You are temporarily making a three wide mirror and then going back to a two way.
Well I tried adding a drive but couldn’t complete the process (I got a message something along the lines that at least one VDEV should be added).
In the end as I was a bit impatient (wanted to start the resilvering process as soon as possible and I was ready to go to bed when I started the topic), I did it via CLI - zpool status pool to get the drive layout and the missing drive was identified by a long numbers ID (serial number?). So I used the replace command to replace that ID with a /dev/sdX. And all appears to be well? The only thing that is a bit of a question is that the pool now has /dev/sde2 and /dev/sdf devices - the difference is the 2 for the original device.