Page 1 of 1

Pool Degraded, replaced ada4, now it shows as UNAVAIL

Posted: 31 Dec 2016 20:01
by rzero
I replaced a drive that was going bad. The pool showed degraded and it took the drive offline.
I brought down NAS4Free and removed the old drive and put in a new one. Restarted the OS and the new drive showed online. I did a replace on the drive using the GUI and it ran for about 17 hours. After it completed I got the following:
ZFS Info.jpg
I tried to do a number of things like: zpool replace DataPool ada4, resynching the configuration etc... but nothing seems to have any effect. The pool is operating and I can access it but I cannot seem to get this drive hooked up to the pool correctly. Can I redo it? Maybe take the dive off and retry it? Did I do something wrong hooking it up? I've read through dozens of other posts but I cannot seem to get this right.

Thanks for any help.

Ron

Re: Pool Degraded, replaced ada4, now it shows as UNAVAIL

Posted: 01 Jan 2017 01:06
by MikeMac
rzero wrote:I tried to do a number of things
Hi
Try zpool detach DataPool 10273301531983452669

Use instead of 10273301531983452669 similar digits from you setup (try both)

If you are lucky enough it helps. I have similar situation and there is add info in my blog (use Google translate to translate from Russian, but please note, tahat translator tends to corrupt unix commands - see original for commands)
http://2gusia.livejournal.com/37810.html

Re: Pool Degraded, replaced ada4, now it shows as UNAVAIL

Posted: 01 Jan 2017 19:27
by rzero
Thanks for the info.

OK, I tried detach and it seemd to work. After that I was able to run replace and it showed resilver in progress. After 15 hours it finished and I am no closer than I was before.

Now info shows resilver complete but no drive attached to the pool. In addition I took a look at the drives menu. Heres what it shows. Notice I have two missing drives? Where did these come from?? This system ran for almost 4 years without a hiccup till the drive started going bad. I figured no problem, replace the drive and we're good. Ha stupid me! Setting up and runninf zfs wasn't too bad but replacing a drive is almost an impossibility! Unless I can figure this out soon, I'm gonna hafta build another system and copy it over (not using zfs this time) before another drive goes bad. I've spent almost a week working on this and nothing seems to work. Getting frustrated. Why is something so simple, so complicated?