Pre-History
- kmoore134 comments on We’re bringing some SMART options back.
- @kris says “The current SMART monitoring is enabled and runs every 90 minutes by default, nothing you have to do.”
- https://youtu.be/1FUCTzwxMag (16:08)
- @kris says “We’re still running smartd, it’s running in the background, it’s still passively monitoring.”
- https://youtu.be/IuKwwPp8K-U (5:41)
- @HoneyBadger says “You don’t have to remember to set it up. You don’t have to go ‘Oh this particular drive needs some quirk to make it run the test a different way.’”
- We’re bringing some SMART options back - #43 by HoneyBadger
- @HoneyBadger goes into detail about BMS technology on modern drives.
Anecdote
As documented (a bit) in Is my drive running background media scans (BMS)? How often? - TrueNAS General - TrueNAS Community Forums, I had a brand new drive with minimal history and it showed that the BMS feature was not enabled.
That initial investigation was on my main 25.04 system. For fun, earlier today I slapped together a 25.10 installation and immediately confirmed a couple things:
- smartd was not running in the background. Its process was not found when running (as root)
systemctl status | grep smartd smartctl -c /dev/sdXoutputsSMART Disabled. use option -s with argument 'on' to enable it.when smartd isn’t running.- Running
smartdand then repeating the-ccommand shows the same output I saw on TN 25.04. BMS/Automatic Offline Data Collection is Disabled.
That’s not a good look but hey, benefit of the doubt. Kris says this runs every 90 minutes. I reboot the system so that all the daemons are back to their default states and then … do nothing for over three hours.
When I take another look, these are the results (in no particular order):
smartdisn’t runningsmartctl -c /dev/sdXstill outputs SMART Disabled until I manually runsmartd.smartctl -c /dev/sdXagain still shows Automatic Offline Data Collection is Disabled.journalctl -xe | grep smartdoutput only shows smartd commands directly caused by my activities on the system.
What the actual farfignewton?
Edited by Joe as we don’t use that language here.
You guys have said this is supposed to be automatic. The admin doesn’t need to do anything. That you’re not taking a “trust me bro” approach to our data.
Well, if that’s the case and it’s supposed to be automatic, why doesn’t your latest release auto-enable BMS on drives so that the drives can scan during idle time? Is my disk unique? How many disks come from the factory with BMS enabled by default? How many don’t?
What technology (in lieu of SMART and BMS) is going to automatically/routinely locate bad sectors in unallocated regions of drives? How is that going to be fed into TN so that it can alert the condition to administrators?
Once again, this whole problem stems from the fact you guys never fully documented your rationale for the SMART changes in a central location.