Smart Test Error failed: scsi error aborted command

Hello, I am currently confused about a S.M.A.R.T. test. I have three SSDs on an LSI-9210 8i card: one WD SSD and two identical Kingston SSDs. I can run a test on two of them, but one of the Kingston SSDs shows an error.

Errors:

da3
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p9 amd64] (local build) Copyright (C) 2002-20, Bruce Allen, Christian Franke, === START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION === Self-test functions not supported Sending command: “Execute SMART Extended self-test routine immediately in off-line mode”. Command “Execute SMART Extended self-test routine immediately in off-line mode” failed: scsi error aborted command

I find it strange because when I run a S.M.A.R.T. test with the SSD externally on Windows, I get no errors.

The pool is working fine; I’ve been using it for about three weeks.

Thank you for all help

ps. im not a expert

A few things here are going on:

  1. You are running smartmontools v7.2 which is quite old. Version 7.5 is almost ready for release. So I’m not sure what version of TrueNAS/FreeNAS you are running, if any, or just some FreeBSD version.
  2. You likely need to set a parameter to make the program talk to this drive via the connection it has.

My advice: (I am assuming you can execute these commands)

  1. Can you execute smartctl -a /dev/da3 and get a printout? If yes, post the output in the code brackets </> on the menu bar above (when adding a comment) to retain the output formatting.
  2. If this command produces an output, that is a good start. It means smartctl is able to talk to the drive.
  3. Examine the output and ensure the drive states it can support SMART Self-tests. I will assume it can since you said it works on a Windows machine.
  4. Regardless of the previous steps, run smartctl --scan which will list out the preferred (not always the working BTW) interface mode.
  5. If step 1 did not produce the desired results, now use smartctl -d interface_mode -a /dev/da3 and hopefully you will get that output. The interface_mode is likely to be scsi but it is from the output of the command from step 5.
  6. Next run smartctl -d interface_mode -t short /dev/da3.
  7. If the command is accepted, great, almost there. Wait 3 minutes for the test to complete (should be completed in 2 minutes but waiting is okay).
  8. If step 7 worked, you can now run the command from step 6 to see how the test did or move to the long test where you enter smartctl -d interface_mode -t long /dev/da3 and hopefully the command will be accepted. Then you will need to wait for the test to complete before you run the same command from step 6 to obtain the results of the test. Test time is generally listing the first output we asked for and listed in minutes. Wait at least that long before running the command from step 6. I would wait that long plus 30 minutes minimum but you can check the status as often as you desire without affecting the running test.

If this fails to work, post what you can, do not assume we only need to see a small part of the outputs you get, we need to see it all o provide proper advice forward.

Welcome to the forums.

Hello, thank you for your quick response. Regarding version 7.2 of SMRTool, I have no idea. My TrueNAS Core version is TrueNAS-13.0-U6.7, which I believe is the latest update.

RESULT IN SYSTEM FAILURE.

root@truenas[~]# smartctl -a /dev/da3
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Phison Driven SSDs
Device Model:     KINGSTON SA400S37960G
Serial Number:    50026B7783B2A703
LU WWN Device Id: 5 0026b7 783b2a703
Firmware Version: SBFKK1C3
User Capacity:    960,197,124,096 bytes [960 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
TRIM Command:     Available
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 4
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Mar 23 16:38:36 2025 EDT
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Total time to complete Offline
data collection:                (65535) seconds.
Offline data collection
capabilities:                    (0x00)         Offline data collection not supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x0032   100   100   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       12092
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1771
148 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       0
149 Unknown_Attribute       0x0000   100   100   000    Old_age   Offline      -       0
167 Write_Protect_Mode      0x0000   100   100   000    Old_age   Offline      -       0
168 SATA_Phy_Error_Count    0x0012   100   100   000    Old_age   Always       -       0
169 Bad_Block_Rate          0x0000   100   100   000    Old_age   Offline      -       10
170 Bad_Blk_Ct_Erl/Lat      0x0000   100   100   010    Old_age   Offline      -       0/22
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 MaxAvgErase_Ct          0x0000   100   100   000    Old_age   Offline      -       47 (Average 38)
181 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
182 Erase_Fail_Count        0x0000   100   100   000    Old_age   Offline      -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
192 Unsafe_Shutdown_Count   0x0012   100   100   000    Old_age   Always       -       217
194 Temperature_Celsius     0x0022   025   060   000    Old_age   Always       -       25 (Min/Max 13/60)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
199 SATA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
218 CRC_Error_Count         0x0032   100   100   000    Old_age   Always       -       0
231 SSD_Life_Left           0x0000   096   096   000    Old_age   Offline      -       96
233 Flash_Writes_GiB        0x0032   100   100   000    Old_age   Always       -       15024
241 Lifetime_Writes_GiB     0x0032   100   100   000    Old_age   Always       -       15386
242 Lifetime_Reads_GiB      0x0032   100   100   000    Old_age   Always       -       17313
244 Average_Erase_Count     0x0000   100   100   000    Old_age   Offline      -       38
245 Max_Erase_Count         0x0000   100   100   000    Old_age   Offline      -       47
246 Total_Erase_Count       0x0000   100   100   000    Old_age   Offline      -       839200

SMART Error Log not supported
/dev/da0 -d scsi # /dev/da0, SCSI device
/dev/da1 -d scsi # /dev/da1, SCSI device
/dev/da2 -d scsi # /dev/da2, SCSI device
/dev/da3 -d scsi # /dev/da3, SCSI device
/dev/ada0 -d atacam # /dev/ada0, ATA device
/dev/ada1 -d atacam # /dev/ada1, ATA device
/dev/ada2 -d atacam # /dev/ada2, ATA device
/dev/ses0 -d atacam # /dev/ses0, ATA device
/dev/nvme0 -d nvme # /dev/nvme0, NVMe device

for the 6. i have this error

root@truenas[~]# smartctl -d interface_mode -t short /dev/da3clear
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/da3clear: Unknown device type 'interface_mode'
=======> VALID ARGUMENTS ARE: ata, scsi[+TYPE], nvme[,NSID], sat[,auto][,N][+TYP
E], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, sntjmicron[
,NSID], sntrealtek, intelliprop,N[+TYPE], jmb39x[-q],N[,sLBA][,force][+TYPE], jm
s56x,N[,sLBA][,force][+TYPE], 3ware,N, hpt,L/M/N, cciss,N, areca,N/E, megaraid,N
, atacam, auto, test <=======

thank you for your help

The last command on my post was not correct, sorry, but I still have the same error.

root@truenas[~]# smartctl -d interface_mode -t short /dev/da3
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/da3: Unknown device type 'interface_mode'
=======> VALID ARGUMENTS ARE: ata, scsi[+TYPE], nvme[,NSID], sat[,auto][,N][+TYPE], usbcypress[,X], usbjmicron[,p][,x][,N], usbprolific, usbsunplus, sntjmicron[,NSID], sntrealtek, intelliprop,N[+TYPE], jmb39x[-q],N[,sLBA][,force][+TYPE], jms56x,N[,sLBA][,force][+TYPE], 3ware,N, hpt,L/M/N, cciss,N, areca,N/E, megaraid,N, atacam, auto, test <=======

Use smartctl -h to get a usage summary

And i have a question what is the dev/ses0 device i have only 8 disk/ssd on my computer

Thank you

Sorry, maybe I was not clear enough.

The command smartctl --scan will provide you what the “interface_mode” will be. It is as I suspected “scsi”. Also, not sure where the word “clear” came from in your commands.

This is the actual command you should be running smartctl -d scsi -t short /dev/da3 to run a Short test.

After 3 minutes then execute this command smartctl -d scsi -x /dev/da3 and you can see the result of the short SMART test.

Next, if if passed, run a Long test smartctl -d scsi -t long /dev/da3 and wait 2 hours. I say wait 2 hours because I do not clearly see the test duration for a SMART long test in the data you provided.

Now run the same command smartctl -d scsi -x /dev/da3 to obtain the results.

The reason the drive ran a SMART test in another computer is due to the Interface. In your TrueNAS system the drive looks like it is connected to a SCSI compatible connection, even though it is clearly not a real SCSI connection.

Now, lets say none of this works and you get another error message like you did previously. You will need to change the interface_mode to something different and try it out. An example would be smartctl -d sat -t short /dev/da3. If that works, then you know you need to use -d sat in your commands to this one drive. sat is “SCSI to ATA Translation”.

If you want to make life easy, I am about to update my Drive_Selftest script version 1.05 which now rolls through the most common interfaces in order to test a drive. I have a few more days to update the User Guide and complete testing of the updated script. Take a look at Multi-Report (linked beflow). If you install it, once a new change comes out, it will notify you (a default setting).

Once final comment, without having the previous SMART Self-test results, your drive looks healthy, meaning no alarming indications for the data presented. You have used up 4% of its life so you have a long way to go.

Hello, and thank you again for your help. Well, I think unfortunately the disk doesn’t want to work; I have errors on SCSI, ATA, SAT, ATACAM, AUTO, but the disk is in good health, according to what you told me. So, I will leave it as it is and try to install your Drive_Selftest script. Thank you for all your help.

That is pretty odd, but odd things do happen.

Is this the only SSD of this model having this problem? Do yo have others that work is what i’m asking? If yes, make a little swap to see if the problem follows the drive or the interface (cable).

Good Luck.

Hello, even after changing the cables and even swapping the LSI card (as I have two),and the disk is the same as dev/da2 nothing changes—I still get the same error.

root@truenas[~]# smartctl -d scsi -t short /dev/da3
smartctl 7.2 2021-09-14 r5236 [FreeBSD 13.1-RELEASE-p9 amd64] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Short offline self test failed [unsupported field in scsi command]

But that is correct, I will add your script if I find out how to install it😅