Disks showing bad in console but not in gui

Quiltface

Dabbler
Joined
Mar 18, 2016
Messages
21
So i just upgraded to Truenas 12.0 from 11.3u5
I am seeing these errors which are pretty self explanatory...

smartd 1878 - - Device: /dev/ada3, 2480 Currently unreadable (pending) sectors
smartd 1878 - - Device: /dev/ada3, 2480 Offline uncorrectable sectors

But if I look at my pool it says Online and Disks w/ Errors: 0
Additionally if I go to storage - disks and look at that drive it doesn't indicate there is an issue.
(i could be wrong but I thought in the past when i had bad drives it would indicate as such here)

Is this a bug you think?
 

Pitfrr

Wizard
Joined
Feb 10, 2014
Messages
1,531
It is totally possible that in the pool status no errors are shown but smartctl reports some like you describe.
Because the 2480 sectors might be located at a position on the disk where no data is stored yet (and in that sense you're lucky), so for the pool no errors could have been (and will be) detected yet. And in the meantime, the disk might even have remapped these sectors...

An other possibility is that smartd reports these errors after a long smart test (for example) but the pool has not been scrubbed yet and the faulty sectors are on data that hasn't been accessed yet, so not visible to the pool (or ZFS) yet.

Check the SMART attributes for that drive, run a long SMART test to confirm but, with this information, I would replace it as soon as possible. Chances are this number will continue to go up...
You can also run a scrub to see if errors are detected (and corrected).


if I go to storage - disks and look at that drive it doesn't indicate there is an issue.
Hmmm haven't really paid attention to it but it doesn't look like you have any SMART error indication here. I have a disk throwing some SMART errors but they also don't show up on that page.
In TrueNAS you can see the SMART test results or trigger a manual test. But somehow, in my case, when I look at the test results they are always empty. I don't mind since I check them in the command line.
 
Top