[smartmontools-support] Unable to run extended SMART selftest

Albin public at inquisitive.se
Sun Jul 29 21:08:27 CEST 2018


Hi!

I trying to run an extended SMART selftest on my Intel 535 240GB SSD 
inserted into my Thinkpad X230. The problem is that the test fails 
immediately after starting it with the error message "Aborted by host".

A power adapter is connected to the machine. The SSD is connected via 
SATA in the laptop. Debian Stretch (9) is installed on the drive with 
full-disk encryption. I've tried to run the test both from the installed 
OS on the disk, and from a LiveUSB with the same OS. The computer has 
been rebooted several times between tries.

The problem occurs regardless if I start the test via the CLI or a GUI 
(/GSmartControl/). The command I used was `sudo smartctl -t long 
/dev/sda`. I'm following the instructions from Ubuntu's documentation 
for Smartmontools[1].

I've read the FAQ entry /Why are long self-tests keep getting 
interrupted?/[2] and the linked mail conversation[3]. As suggested in 
the conversation I ran the following code in a Bash shell and executed 
the command as written above in another, but it didn't make a 
difference. Can't find another solution when searching the mailing list 
archives.

```
while true; do
	sudo dd if=/dev/sda iflag=direct count=1 of=/dev/null
	sleep 60
done
```

[1] https://help.ubuntu.com/community/Smartmontools
[2] 
https://www.smartmontools.org/wiki/FAQ#Whyarelongself-testskeepgettinginterrupted
[3] https://sourceforge.net/p/smartmontools/mailman/message/32461042/

# smartctl -a -d ata /dev/sda

smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.9.0-7-amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Intel 53x and Pro 2500 Series SSDs
Device Model:     INTEL SSDSC2BW240H6
Serial Number:    CVTR61030A9Q240CGN
LU WWN Device Id: 5 5cd2e4 14cb13669
Firmware Version: RG21
User Capacity:    240,057,409,536 bytes [240 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 (minor revision not indicated)
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sun Jul 29 20:32:58 2018 CEST
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.
Self-test execution status:      (   0)	The previous self-test routine 
completed
					without error or no self-test has ever
					been run.
Total time to complete Offline
data collection: 		( 5860) seconds.
Offline data collection
capabilities: 			 (0x7f) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Abort Offline collection upon new
					command.
					Offline surface scan supported.
					Self-test supported.
					Conveyance Self-test supported.
					Selective Self-test 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.
Short self-test routine
recommended polling time: 	 (   2) minutes.
Extended self-test routine
recommended polling time: 	 (  58) minutes.
Conveyance self-test routine
recommended polling time: 	 (   4) minutes.
SCT capabilities: 	       (0x0025)	SCT Status supported.
					SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE 
UPDATED  WHEN_FAILED RAW_VALUE
   5 Reallocated_Sector_Ct   0x0032   100   100   000    Old_age 
Always       -       0
   9 Power_On_Hours_and_Msec 0x0032   100   100   000    Old_age 
Always       -       110h+00m+00.000s
  12 Power_Cycle_Count       0x0032   100   100   000    Old_age 
Always       -       104
170 Available_Reservd_Space 0x0033   100   100   010    Pre-fail  Always 
       -       0
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always 
       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always 
       -       0
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always 
       -       7
183 SATA_Downshift_Count    0x0032   100   100   000    Old_age   Always 
       -       1
184 End-to-End_Error        0x0033   100   100   090    Pre-fail  Always 
       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always 
       -       0
190 Airflow_Temperature_Cel 0x0032   035   100   000    Old_age   Always 
       -       35 (Min/Max 18/45)
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always 
       -       7
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always 
       -       0
225 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always 
       -       84411
226 Workld_Media_Wear_Indic 0x0032   100   100   000    Old_age   Always 
       -       65535
227 Workld_Host_Reads_Perc  0x0032   100   100   000    Old_age   Always 
       -       38
228 Workload_Minutes        0x0032   100   100   000    Old_age   Always 
       -       65535
232 Available_Reservd_Space 0x0033   100   100   010    Pre-fail  Always 
       -       0
233 Media_Wearout_Indicator 0x0032   100   100   000    Old_age   Always 
       -       0
241 Host_Writes_32MiB       0x0032   100   100   000    Old_age   Always 
       -       84411
242 Host_Reads_32MiB        0x0032   100   100   000    Old_age   Always 
       -       53764
249 NAND_Writes_1GiB        0x0032   100   100   000    Old_age   Always 
       -       1362

SMART Error Log not supported

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining 
LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Aborted by host               00%       110 
     -
# 2  Extended offline    Aborted by host               00%        94 
     -
# 3  Extended offline    Aborted by host               00%        94 
     -
# 4  Extended offline    Aborted by host               00%        93 
     -
# 5  Extended offline    Aborted by host               00%        93 
     -
# 6  Extended offline    Aborted by host               00%        80 
     -

SMART Selective self-test log data structure revision number 1
  SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
     1        0        0  Not_testing
     2        0        0  Not_testing
     3        0        0  Not_testing
     4        0        0  Not_testing
     5        0        0  Not_testing
Selective self-test flags (0x0):
   After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.





More information about the Smartmontools-support mailing list