Smartctl is causing constant disk read activity

Description

On the latest release of truenas scale, there is read activity on HDD that is not the boot drive, does not have the system dataset or the application dataset every 5 minutes. There is currently no other data on the HDD with the read activity, it was only added to the pool. Turning off S.M.A.R.T on the drive stops the every 5 minute read activity. It then triggers a read activity with a warning about S.M.A.R.T not functioning or being disabled every 30 minutes.

Forum Thread with another user running into a similar situation. Other user found that the same activity doesn't occur with truenas core.

There's another forum thread with a user with a similar issue here: Forum Thread

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Andreas Martin AanerudApril 20, 2021 at 6:01 AM

Hey, we have the same problem on the latest TrueNAS release. 

System, asked us to collect and send a core file. 

and here is Top : 

Vladimir VinogradenkoMarch 5, 2021 at 2:48 PM

please revert this https://jira.ixsystems.com/browse/NAS-103096 for both 12.0 and master, this was a useful feature that was helpfulin situations like this (when the drives support it of course)

Vladimir VinogradenkoMarch 5, 2021 at 2:41 PM

This is collectd polling for drive temperature every 5 minutes using S.M.A.R.T. This interval cannot be adjusted.

We have "Force HDD Standby" checkbox that will force HDDs to sleep after a specified amount of IO inactivity (yes, these S.M.A.R.T. polls prevent some drives from sleeping)

It's weird for a drive to unpack and start spinning when it receives a S.M.A.R.T. information request.

Lee SouthworthMarch 2, 2021 at 11:18 PM

I also believe this isn't letting the disks idle (although I don't idle my disks or spin them down), I believe it's not letting the WD PWL idleout.

KhangMarch 2, 2021 at 8:15 PM

I guess it's not really a problem, but more of trying to figure out why it's happening. If it is the SMART process, then can the interval for polling be adjusted. I was under the impression that the HDD's would only be read from if there was another using it.

Also, another user in the linked thread pointed out that the every 5 minute reads don't occur on TrueNAS core, but only on TrueNAS SCALE, on the same hardware. That lead to another user suggesting that we log it as a potential bug. ** 

I only noticed that it's a problem on my particular hard drive (EXOS X16) because it parks the head after 2 minutes of in-activity. Then, 3 minutes later, it unparks the head and starts reading. I've since adjusted the power settings to not park the head at all. It's also noisy when it starts reading every 5 minutes. 

Duplicate

Details

Assignee

Reporter

Labels

Impact

Low

Fix versions

Priority

More fields

Katalon Platform

Created February 28, 2021 at 5:34 PM
Updated July 1, 2022 at 5:13 PM
Resolved August 6, 2021 at 11:12 AM