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:
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:
which returns you the following:
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 🙂