How to return Hot Spare to Spare status

EnigmaNas

Dabbler
Joined
Dec 11, 2020
Messages
33
I have a Raidz2 pool with 7 drives and 1 hot spare. The pool reported a degraded drive, and the hot spare joined the pool as active. I replaced the degraded drive successfully, but the Spare did not return to spare status, and remains listed in the main pool along with the replaced drive.
How to I get the spare drive to return to spare status?
Here is the output from my zpool status -v statement -

AllDataPool ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/b6cae6b6-e437-11eb-b47a-842b2ba5b89b ONLINE 0 0 0
spare-1 ONLINE 0 0 0
gptid/2cc3c94d-e9ed-11eb-8774-842b2ba5b89b ONLINE 0 0 0
gptid/521aea3e-e876-11eb-8dc0-842b2ba5b89b ONLINE 0 0 0
gptid/bcad2202-6789-11eb-b432-842b2ba5b89b ONLINE 0 0 0
gptid/285ea63e-e46a-11eb-b47a-842b2ba5b89b ONLINE 0 0 0
gptid/bb61df80-3c62-11eb-b10e-842b2ba5b89b ONLINE 0 0 0
gptid/858f8682-e4f8-11eb-b9b0-842b2ba5b89b ONLINE 0 0 0
gptid/2236fc41-e5e2-11eb-b9b0-842b2ba5b89b ONLINE 0 0 0
spares
gptid/521aea3e-e876-11eb-8dc0-842b2ba5b89b INUSE currently in use

Also, I would actually like to use the spare as the active drive and use the replacement as the hot spare. Is this possible?
Thank you for any assistance!
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Top