FreeNAS reporting DEGRADED disk status

Today seems to be a day of infrastructure cleanup here at my home. My FreeNAS server was reporting the following today:

The volume [pool_name]ย (ZFS) state is DEGRADED: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected.

The fact that it blinking red was a bit worrisome and the error itself was not particularly useful.

After doing a bit of research, here are the following steps that I was able to do to diagnose the issue:

zpool status -v

This gives the status of the pools and didn’t give a ton more details than before. It did give a hit to scrub the pool to get more details. So that’s what I did next

zpool scrub [pool name]

That essentially runs a step to try to fix the pool. After 7 hours of scrubbing, zpool status now returned the following:

screen-shot-2016-09-10-at-3-29-36-pm

So that is a bit more worrisome but even worse, what do I do now? After some digging, there is a way to identify which disk is degraded from this message. I decided to run the following command:

glabel status

which returns you the following:

screen-shot-2016-09-10-at-3-32-34-pm

From the components, you can then identify the hard drive by going to the storage tab and then pressing the view disks button.

Now I just have to find the time to replace the hard drive ๐Ÿ™‚

 

 

 

  • HT

    KK, when I first installed freenas, I deliberately pulled a hard drive during a disc write to see how freenas would protect itself. It worked well, but I remember that I have to do something to clear the recovery, otherwise the critical status would not go away…