hello all,
Never had an issue with replacing a disk yet in my encrypted pool. But now I’m stuck.
After pulling the disk with smart errors and replacing it with a new one (refurbished though), in the GUI I replaced the drive with the new one but it returned an error. Forgot what it was, something in the line of failure to write …
Tried to wipe it as I read that refurbished drives aren’t wiped in a state that freenas is expecting. That failed as well (permission error). Wiped it in another machine and tried to replace again in the GUI. This worked without errors but now the old .eli are still there and the raid isn’t healthy after resilver. How do I get the pool back to healthy?
You can assume I’m an idiot and don’t know what I’m doing. Thanks for your help. let me know if you need other info from logs or commands
zpool status:
pool: Raid_A
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: illumos FMA Message Registry
scan: scrub repaired 0 in 0 days 07:17:51 with 7 errors on Sat Sep 14 20:34:14 2024
config:
NAME STATE READ WRITE CKSUM
Raid_A DEGRADED 0 0 66.1K
raidz1-0 DEGRADED 0 0 220K
replacing-0 DEGRADED 0 0 75.5M
15286113899740930804 UNAVAIL 0 0 0 was /dev/gptid/6aa31491-b342-11e6-8b36-d05099c19a75.eli
1563577997621378361 UNAVAIL 0 0 0 was /dev/gptid/f56edf84-714a-11ef-9ac0-d05099c3a25c.eli
gptid/1c4b57cf-71c2-11ef-8eb2-d05099c3a25c.eli ONLINE 0 0 0
gptid/05798f7f-43b0-11ef-975a-d05099c3a25c.eli DEGRADED 0 0 0
gptid/7ebbacae-f251-11e9-b2e6-d05099c3a25c.eli ONLINE 0 0 0
gptid/33dcceb7-309f-11e9-8edb-d05099c3a25c.eli DEGRADED 0 0 0
gptid/13bd90a9-2442-11ef-a821-d05099c3a25c.eli DEGRADED 0 0 0
Zpool history (snip of replacement of disk):
2024-09-12.20:12:12 zpool import 4712614360291001932 Raid_A
2024-09-12.20:12:12 zpool set cachefile=/data/zfs/zpool.cache Raid_A
2024-09-12.23:04:19 zpool set cachefile=/data/zfs/zpool.cache Raid_A
2024-09-12.23:07:46 zpool replace Raid_A 15286113899740930804 /dev/gptid/f56edf84-714a-11ef-9ac0-d05099c3a25c.eli
2024-09-13.13:16:21 zpool set cachefile=/data/zfs/zpool.cache Raid_A
2024-09-13.13:20:34 zpool replace Raid_A 15286113899740930804 /dev/gptid/1c4b57cf-71c2-11ef-8eb2-d05099c3a25c.eli
2024-09-13.13:32:48 zpool set cachefile=/data/zfs/zpool.cache Raid_A