I had a drive removed from my storage last weekend. No reason for it that I know of. After doing a shutdown then power back on after a few minutes the drive was back.
I have tried to run a LONG Smart test on both my main storage disks this week. The task asks to continue in background which I click.
My question is none of the tests I run show the status on the S.M.A.R.T. Test Results screen for the pool or disk do not show in results screen. Short tests and extended but never LONG.
If I try and start another it tells me it can’t because one is already running. Is this a known bug or something. Cannot seem to view LONG smart tests in the UI.
This applies to Truenas scale 25.04.2 and 25.04.1
You can see if it shows in the data using the CLI.
You can use either below. -x Prints all SMART and non-SMART information about the device. If you want only SMART, change to -a. Replace sdX with your desired drive name
sudo smartctl -x /dev/sdX
1 Like
Thanks. Thats a lot of info
Extended = Long
Don’t let the manufacturers confuse you with inconsistent wording.
smartctl -a /dev/sdX
will list the tests at the bottom out the output.
1 Like
Interesting. I see a couple of extended tests but only when the power on hours are less than 100. Not above. But It didn’t click for me extended was a long test. Mostly due to short being short and reporting that way
To run a SMART long test smartctl -t long /dev/sdX
and it will kick off the drive selftest. Depending on the capacity of your drive, larger drives take longer. The value in minutes is also in the top half of the status output and will call it Extended normally.
I highly recommend that you run a Short test daily, because those take 2 minutes or less, and a weekly Long test if you have 7 drives or less, or you have very large capacity drives which take 24+ hours to test.
Take a look at the Multi-Report thread in the resources section of our forum. I created the original version of this script and maintain the current version. It may not be what you need but maybe it will open your eyes into some of the SMART testing world. If you have NVMe, TrueNAS does not test it yet. Well I have not verified 25.04.2 yet but I doubt it is fixed there. I’m hoping in 25.10 it will be there, but not holding my breath. My script will test NVMe drives and many USB connected drives.
1 Like
Will look over the weekend. I do run the automated short test daily. That is all clear.
You can also see the results under Storage → Disks → sda [for example] → S.M.A.R.T. Test Results