Best way to replace faulted drive in a mirrored pair?

jdebuhr

Dabbler
Joined
Nov 28, 2021
Messages
17
Hey all,

I have 4 mirrored pairs and one pair hasa. faulted drive and possibly the second one will fault.. ANyway, both drives are under warranty ( Ironwolf 10TB) but I need to remove and send in prior to getting the replacements, I can remove them form the system and then ethe data migrates to empty space, but can I remove just the faulted drive? I see the replace function, but how does that work? Can I replace the HD even though it will not be for a couple weeks?

Here is the list showing the fault
Warning: the supported mechanisms for making configuration changes
are the TrueNAS WebUI and API exclusively. ALL OTHERS ARE
NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY
RESULT IN SYSTEM FAILURE.

root@odyssey[~]# zpool status
pool: NetStore
state: DEGRADED
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore the
entire pool from backup.
see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A
scan: scrub repaired 6.40M in 13:40:57 with 1 errors on Sun Dec 24 13:40:59 2023
remove: Removal of vdev 3 copied 1.01T in 3h32m, completed on Thu Sep 21 23:26:15 2023
23.2M memory used for removed device mappings
config:

NAME STATE READ WRITE CKSUM
NetStore DEGRADED 0 0 0
mirror-0 ONLINE 0 0 0
gptid/bef25931-5c93-11ec-b84c-e0db55111c08 ONLINE 0 0 0
gptid/bfd0810e-5c93-11ec-b84c-e0db55111c08 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/fac75fd6-69d9-11ec-a2bc-e0db55111c08 ONLINE 0 0 0
gptid/faaf3081-69d9-11ec-a2bc-e0db55111c08 ONLINE 0 0 0
mirror-4 DEGRADED 3 0 0
gptid/89d7919d-7800-11ed-b21b-e0db55111c08 FAULTED 121 046 too many errors
gptid/89ed72ec-7800-11ed-b21b-e0db55111c08 ONLINE 32 011
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I see the replace function, but how does that work?
The docs will answer this question. If you can't immediately replace the drive, offline it, and once you get the replacement (and have tested it), you can follow the replacement procedure from the docs.

But last time I had a Seagate drive fail under warranty, they offered advance exchange--they'd ship out the replacement drive, and once I had it tested and online I returned the old one. There was a nominal fee (US$15, IIRC), but well worth it IMO.
 

jdebuhr

Dabbler
Joined
Nov 28, 2021
Messages
17
Thanks!!

I assume once the drive is replaced any data and synchronous that pair of drives will be available again..
 
Top