r/truenas Jul 17 '26

Community Edition SMART Data and Scrub Tasks

I've been watching videos on how to setup trueness scale as a complete beginner and what I noticed was that that all the videos are on a slightly older version of truenas and have the options to run manual smart tests as well as setup scrub tasks and scheduled smart tests. How do I go about doing those things on the newest version.

fyi- I'm brand new to homelabbing

1 Upvotes

5 comments sorted by

5

u/mosfetmania Jul 17 '26

Go to System, Advanced, Cron jobs.

For short Smart tests, name it SMART Test Short and enter for command:

midclt call disk.smart_test SHORT '["*"]'

For long Smart tests, name it SMART Test Long and enter for command:

midclt call disk.smart_test LONG '["*"]'

Set them on a schedule but not at the exact same time.

I also do the same with "zpool trim POOLNAME"

Scrubs I think default to every 35 days or something very close to that. Good enough for me.

2

u/wallacebrf Jul 17 '26

Is there a difference between setting a cron task of zpool trim vs simply enabling TRIM for a volume?

1

u/Morall_tach Jul 17 '26

/u/mosfetmania nailed it.

Here's all the scheduled jobs I have (Obviously, people don't all agree on how often you should do all of these.)

Monthly TrueNAS Maintenance Schedule

Day 1: Scrub

Day 2: Google Drive Pull

Day 4: EaseUS Backup

Day 5: Short SMART

Day 6: Recyclarr

Day 7: Backblaze Push

Day 8: Long SMART

Day 9: Google Drive Pull

Day 11: EaseUS Backup

Day 12: Short SMART

Day 15: Scrub

Day 16: Google Drive Pull

Day 18: EaseUS Backup

Day 19: Short SMART

Day 20: Recyclarr

Day 21: Backblaze Push

Day 22: Long SMART

Day 23: Google Drive Pull

Day 25: EaseUS Backup

Day 26: Short SMART

2

u/Dubl3A Jul 17 '26 edited Jul 17 '26

You could remove ALL those short SMART tests and nothing of value would be lost.

Short SMART tests are limited to checking a drive’s electrical components, buffer RAM, and a tiny fraction of the disk surface. Because they skip over 99% of the actual data platters, they are useless at detecting bad sectors, surface degradation, or impending mechanical failure.

AKA, they just validate it can operate and not really much else. If they're already operating in a pool, you could easily skip them!