You are not logged in.

#1 2020-10-27 16:41:11

860lacov
Member
Registered: 2020-05-02
Posts: 497

How to read smartctl?

I have two ssd disks.
sda - about 128 GB
sdb - about 240 GB

I launched on both disks test:
smartctl -t long <device>

on sda it is still working (90% remaining) and I started as a first one

od sdb it took about 3 minutes. Is that normal? It taking quite long on smaller disk and after few minutes it is still 90%

On sdb I did:
smartctl -a /dev/sdb and I have:

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     0x002f   100   100   000    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0033   100   100   000    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       2763
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       2268
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   098   098   000    Old_age   Always       -       86
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       161
180 Unused_Reserve_NAND_Blk 0x0033   000   000   000    Pre-fail  Always       -       2159
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       0
184 Error_Correction_Count  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   060   050   000    Old_age   Always       -       40 (Min/Max 12/50)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
202 Percent_Lifetime_Remain 0x0031   098   098   000    Pre-fail  Offline      -       2
206 Write_Error_Rate        0x000e   100   100   000    Old_age   Always       -       0
210 Success_RAIN_Recov_Cnt  0x0032   100   100   000    Old_age   Always       -       0
246 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       23482685785
247 Host_Program_Page_Count 0x0032   100   100   000    Old_age   Always       -       741548544
248 FTL_Program_Page_Count  0x0032   100   100   000    Old_age   Always       -       683363801

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%      2763         -
# 2  Extended offline    Completed without error       00%      2762         -
# 3  Short offline       Completed without error       00%      2447         -
# 4  Vendor (0xff)       Completed without error       00%      2283         -
# 5  Vendor (0xff)       Completed without error       00%      1956         -
# 6  Vendor (0xff)       Completed without error       00%      1882         -
# 7  Vendor (0xff)       Completed without error       00%       366         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Completed [00% left] (125029548-125095083)
    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.

And I don't know how to read the result.
I'm a little woried about:

180 Unused_Reserve_NAND_Blk 0x0033   000   000   000    Pre-fail  Always       -       2159

Isn't that mean that something is wrong?

UPDATE:
sda test has finished:

=== START OF INFORMATION SECTION ===
Model Family:     Crucial/Micron BX/MX1/2/3/500, M5/600, 1100 SSDs
Device Model:     Crucial_CT256MX100SSD1
Serial Number:    14330CFB5511
LU WWN Device Id: 5 00a075 10cfb5511
Firmware Version: MU02
User Capacity:    256060514304 bytes [256 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2, ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Tue Oct 27 17:41:44 2020 CET
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:  (0x80)	Offline data collection activity
					was never started.
					Auto Offline Data Collection: Enabled.
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: 		( 1190) seconds.
Offline data collection
capabilities: 			 (0x7b) SMART execute Offline immediate.
					Auto Offline data collection on/off support.
					Suspend 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: 	 (   3) minutes.
Conveyance self-test routine
recommended polling time: 	 (   3) minutes.
SCT capabilities: 	       (0x0035)	SCT Status supported.
					SCT Feature Control supported.
					SCT Data Table 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     0x002f   100   100   000    Pre-fail  Always       -       0
  5 Reallocate_NAND_Blk_Cnt 0x0033   100   100   000    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -       2763
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       2268
171 Program_Fail_Count      0x0032   100   100   000    Old_age   Always       -       0
172 Erase_Fail_Count        0x0032   100   100   000    Old_age   Always       -       0
173 Ave_Block-Erase_Count   0x0032   098   098   000    Old_age   Always       -       86
174 Unexpect_Power_Loss_Ct  0x0032   100   100   000    Old_age   Always       -       161
180 Unused_Reserve_NAND_Blk 0x0033   000   000   000    Pre-fail  Always       -       2159
183 SATA_Interfac_Downshift 0x0032   100   100   000    Old_age   Always       -       0
184 Error_Correction_Count  0x0032   100   100   000    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0022   061   050   000    Old_age   Always       -       39 (Min/Max 12/50)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   100   100   000    Old_age   Always       -       0
202 Percent_Lifetime_Remain 0x0031   098   098   000    Pre-fail  Offline      -       2
206 Write_Error_Rate        0x000e   100   100   000    Old_age   Always       -       0
210 Success_RAIN_Recov_Cnt  0x0032   100   100   000    Old_age   Always       -       0
246 Total_LBAs_Written      0x0032   100   100   000    Old_age   Always       -       23482928761
247 Host_Program_Page_Count 0x0032   100   100   000    Old_age   Always       -       741556545
248 FTL_Program_Page_Count  0x0032   100   100   000    Old_age   Always       -       683386981

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed without error       00%      2763         -
# 2  Extended offline    Completed without error       00%      2762         -
# 3  Short offline       Completed without error       00%      2447         -
# 4  Vendor (0xff)       Completed without error       00%      2283         -
# 5  Vendor (0xff)       Completed without error       00%      1956         -
# 6  Vendor (0xff)       Completed without error       00%      1882         -
# 7  Vendor (0xff)       Completed without error       00%       366         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Completed [00% left] (125029548-125095083)
    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.

Last edited by 860lacov (2020-10-27 16:43:04)

Offline

#2 2020-10-27 17:31:14

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,599

Re: How to read smartctl?

No, there's nothing wrong with your disks they both look fine according to the output you show.
You should read 'man smartctl' to get a clearer picture about the output shown in the log file.
It clearly shows there are no errors btw.

Just an observation ; do you have a hobby restarting your machine, your power cycles are almost as high as the power on hours big_smile

2 of my SSD's

  9 Power_On_Hours          0x0032   097   097   000    Old_age   Always       -       12971
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       35

  9 Power_On_Hours          0x0032   094   094   000    Old_age   Always       -       30124
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       319

and I thought my power cycles were high... roll

Offline

#3 2020-10-27 17:41:33

860lacov
Member
Registered: 2020-05-02
Posts: 497

Re: How to read smartctl?

I love the smell of restarted PC in the morning big_smile
Have no idea why it is so high.

Offline

#4 2020-10-27 20:58:00

Skunky
Member
Registered: 2018-01-25
Posts: 231

Re: How to read smartctl?

Never seen hard disk's doing power cycle on reboot (old motherboard aside)  idk about ssd's though

Offline

#5 2020-10-27 21:39:52

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,599

Re: How to read smartctl?

Yes, you're right. it indicates the number of complete power on/off cycles.

Offline

#6 2020-10-27 21:58:01

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,697

Re: How to read smartctl?

School notebook that goes S3/S4 between classes?

Offline

Board footer

Powered by FluxBB