Page 1 of 1

How to fix wrong pool information and states

Posted: 20 May 2015 17:32
by cruzmiester
I recently changed a hard drive that had failed, I was going to use tools to replace the drive, but I obviously did something wrong. Because once I imported the hard drive into the system as a ZFS storage pool device (the hard drive has not been formatted) it seems to have joined the Virtual Device. But the information tab shows mfid5 drive as unavailable but mfid5 is actually there as can be seen in the screen shot I included.

the hard drive that was added is "mfid4"

I would really appreciate it if someone told me how to correct the error.

I attached a graphic showing the status of my drives.

Thanks for the help!!!
Carlos

Re: How to fix wrong pool information and states

Posted: 20 May 2015 17:36
by b0ssman

Re: How to fix wrong pool information and states

Posted: 20 May 2015 20:56
by cruzmiester
thx, I had read that post, since there's some important data on this raid, I'm trying to be careful, because I don't want to start restoring everything.

for example in my case under the Information Tab mfid5 is showing as online and also as the one unavailable. And also under the Information Tab it does not show mfid4

Should I replace the missing drive mfid4 (Information Tab) with the current mfid4 ?

Thanks Again!!

Re: How to fix wrong pool information and states

Posted: 21 May 2015 09:03
by b0ssman
the quality of the image is to bad to tell

Re: How to fix wrong pool information and states

Posted: 23 May 2015 15:08
by daoyama
If you know mfid4 is valid, try this from shell:
zpool replace poolname XXXXXX /dev/mfid4
(replace XXXXXX with your numeric string, and replace poolname with your pool name)