I am trying to replace a disc failed in my "Data" pool.
I haver offlined the offending disk which was a hot spare. I cannot replace the offending disk. If I use the "Force" option I get:
Zpool gives:
How do I replace the offline disk with da7?
Thanks for any help.
I haver offlined the offending disk which was a hot spare. I cannot replace the offending disk. If I use the "Force" option I get:
Code:
CallError: [EZFS_BADTARGET] can only be replaced by another hot spare
Zpool gives:
Code:
root@freenas20:~ # zpool status Data
pool: Data
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Online the device using 'zpool online' or replace the device with
'zpool replace'.
scan: scrub repaired 0B in 10:27:19 with 0 errors on Tue Feb 15 13:27:22 2022
config:
NAME STATE READ WRITE CKSUM
Data DEGRADED 0 0 0
raidz3-0 DEGRADED 0 0 0
gptid/4bde7a13-45d2-11ea-a038-ac1f6b966338 ONLINE 0 0 0
gptid/01100e78-0f47-11e9-bbb6-ac1f6b966338 ONLINE 0 0 0
spare-2 DEGRADED 0 0 0
gptid/8866da18-eabe-11eb-9482-ac1f6b966338 ONLINE 0 0 0
gptid/64b05a90-0397-11e9-9d4a-ac1f6b966338 OFFLINE 0 0 0
gptid/06cb84c6-eb8b-11eb-bef9-ac1f6b966338 ONLINE 0 0 0
gptid/6130a320-0397-11e9-9d4a-ac1f6b966338 ONLINE 0 0 0
gptid/625a58da-0397-11e9-9d4a-ac1f6b966338 ONLINE 0 0 0
gptid/04ec7709-103c-11e9-a96f-ac1f6b966338 ONLINE 0 0 0
spares
gptid/64b05a90-0397-11e9-9d4a-ac1f6b966338 UNAVAIL cannot open
errors: No known data errors
How do I replace the offline disk with da7?
Thanks for any help.