I believe I messed up in replacing a failed drive in my ZFS RaidZ2 pool. I think I forgot to offline the failed drive first and ran the replace command and now it seems to have created a temporary mirrored pool. Any tips on how I can correct this without destroying the pool?
NAME STATE READ WRITE CKSUM
storage DEGRADED 0 0 1
raidz2-0 DEGRADED 0 0 2
replacing-0 DEGRADED 0 0 0
10188385608277313659 UNAVAIL 0 0 0 was /dev/disk/by-id/ata-ST3000DM001-1CH166_Z1F4X76S-part1
sda ONLINE 0 0 0
ata-ST3000DM001-1CH166_W1F5C09L ONLINE 0 0 0
ata-ST3000DM001-1CH166_Z1F4C9ZF ONLINE 0 0 0
ata-ST3000DM001-1CH166_Z1F50YNJ ONLINE 0 0 0
sde ONLINE 0 0 0
sdf ONLINE 0 0 0
Here is the dull summary of zpool status -v
pool: storage
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: http://zfsonlinux.org/msg/ZFS-8000-8A
scan: resilvered 131G in 11h41m with 1 errors on Sat Mar 16 09:33:47 2019
config:
NAME STATE READ WRITE CKSUM
storage DEGRADED 0 0 1
raidz2-0 DEGRADED 0 0 2
replacing-0 DEGRADED 0 0 0
10188385608277313659 UNAVAIL 0 0 0 was /dev/disk/by-id/ata-ST3000DM001-1CH166_Z1F4X76S-part1
sda ONLINE 0 0 0
ata-ST3000DM001-1CH166_W1F5C09L ONLINE 0 0 0
ata-ST3000DM001-1CH166_Z1F4C9ZF ONLINE 0 0 0
ata-ST3000DM001-1CH166_Z1F50YNJ ONLINE 0 0 0
sde ONLINE 0 0 0
sdf ONLINE 0 0 0
errors: Permanent errors have been detected in the following files:
storage:/plex_db_backup/com.plexapp.plugins.library.db-2017-09-21