ZFS snafoo help please!!

Status
Not open for further replies.

Ryan Hunter

Cadet
Joined
Sep 26, 2015
Messages
7
Hello,
So I've had multiple disk failures in my mirrored zpool. I went to replace a failed disk, and for stupid reasons that I'm kicking myself for I did a replace disk on the good disk not the failing one on accident. I also did not offline the good disk before removing it. My question is can I add that back to the pool as a disk of that mirror set or am I completely screwed? If I can't do this I have file corruption and will have to start from scratch. I have a currently good unplugged disk ready to go for that mirror set if there's some way I can reactivate it. I also have another disk failing in a different mirror set in the pool but I havent addressed that yet. Any help would be appreciated.

Thanks,
Ryan
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Read rules...


1. freenas version
2. zpool status output
 

Ryan Hunter

Cadet
Joined
Sep 26, 2015
Messages
7
My apologies, thanks for the reminder.

1. version: 9.3-STABLE-201509160044
2. zpool status output:

pool: Main
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://illumos.org/msg/ZFS-8000-8A
scan: scrub repaired 36.8M in 9h33m with 3937 errors on Sun Sep 27 00:44:38 2015
config:

NAME STATE READ WRITE CKSUM

Main DEGRADED 0 0 320K
mirror-0 ONLINE 0 0 0
ada0 ONLINE 0 0 0
ada2 ONLINE 0 0 0
mirror-1 DEGRADED 0 0 641K
18227011415578332557 UNAVAIL 0 0 0 was /dev/gptid/6c9d931f-6400-11e5-9788-e03f49b5ed41
gptid/e5ad17c8-5f7a-11e2-8d0c-1c6f65b32ba1 DEGRADED 0 0 641K too many errors
mirror-2 DEGRADED 0 0 0
gptid/4a2182c2-8b0f-11e4-8b9c-e03f49b5ed41 ONLINE 0 0 0
7528400846399397006 REMOVED 0 0 0 was /dev/gptid/4a7d2217-8b0f-11e4-8b9c-e03f49b5ed41
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
I would reboot the machine. The "good" drive will go back into the system if you haven't 'detached' the drive from the zpool.

If you did, you should just destroy the zpool and restore from backup.
 
Status
Not open for further replies.
Top