SOLVED How to Import Spares that have been used.

mro

Dabbler
Joined
Sep 7, 2020
Messages
15
Hi all

When I upgraded to new hardware last week. My system managed to lose two disks. I have a set of spares that kicked in and were then used to replace the the drives that were lost.
I have not detached the disks from the GUI that were lost yet. My question is once I have done this will the Spares become past of the VDevs to replace the drives ?

Here is the output of Zpool Status
1599464574231.png
 

mro

Dabbler
Joined
Sep 7, 2020
Messages
15
If I detach the the old drives. The Spares will then become part of the VDevs.
 

JaimieV

Guru
Joined
Oct 12, 2012
Messages
742
Yes, detaching is the correct route. You can paste the gptid string straight from the zpool status output above (either "gptid/string" or the 19 digit number).

zpool detach {pool} {id_of_bad_drive}

I've found it to be a bit inconsistent whether it works immediately or not; I've had it refuse saying resource busy, and then it works fine later.

There's no WebUI mechanism for doing this, by the way - command line only.
 
  • Like
Reactions: mro
Top