Quote:
Originally Posted by Arnulf
- Unplug all other drives from computer except an optical drive (CD|DVD|BD) if you cannot boot from USB.
- Boot a live linux into console. Your questionable SSD will become /dev/sda.
- smartctl -s on /dev/sda
- smartctl -a /dev/sda
- Post output of smartctl -a.
A check for bad blocks e.g. with badblocks -wsv is completely useless on SSDs.
|
kubuntu@kubuntu:~$
kubuntu@kubuntu:~$ sudo smartctl -s on /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-27-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke,
www.smartmontools.org
=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
kubuntu@kubuntu:~$
kubuntu@kubuntu:~$
kubuntu@kubuntu:~$ sudo smartctl -a /dev/sda
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-27-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke,
www.smartmontools.org
=== START OF INFORMATION SECTION ===
Device Model: Patriot Burst Elite 240GB
Serial Number: PBEEDBB210120067272
LU WWN Device Id: 5 000000 000000006
Firmware Version: SN07985
User Capacity: 240,057,409,536 bytes [240 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
Form Factor: 2.5 inches
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: ACS-2 (minor revision not indicated)
SATA Version is: SATA 3.2, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is: Wed Jun 7 14:16:20 2023 UTC
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: ( 33) 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: ( 2) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x0031) SCT Status supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 20
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
5 Reallocated_Sector_Ct 0x0013 100 100 050 Pre-fail Always - 8
9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 3465
12 Power_Cycle_Count 0x0012 100 100 000 Old_age Always - 173
167 Unknown_Attribute 0x0022 100 100 000 Old_age Always - 0
168 Unknown_Attribute 0x0012 100 100 000 Old_age Always - 2
169 Unknown_Attribute 0x0013 100 100 010 Pre-fail Always - 34361180207
171 Unknown_Attribute 0x0032 000 000 000 Old_age Always - 0
172 Unknown_Attribute 0x0032 000 000 000 Old_age Always - 0
173 Unknown_Attribute 0x0012 200 200 000 Old_age Always - 21486108770
175 Program_Fail_Count_Chip 0x0022 100 100 010 Old_age Always - 0
180 Unused_Rsvd_Blk_Cnt_Tot 0x0033 099 099 000 Pre-fail Always - 802
187 Reported_Uncorrect 0x0032 099 000 000 Old_age Always - 0
192 Power-Off_Retract_Count 0x0012 100 100 000 Old_age Always - 105
194 Temperature_Celsius 0x0022 028 028 000 Old_age Always - 28 (Min/Max 22/47)
196 Reallocated_Event_Count 0x0012 100 100 000 Old_age Always - 0
206 Unknown_SSD_Attribute 0x0032 200 200 000 Old_age Always - 5
207 Unknown_SSD_Attribute 0x0032 200 200 000 Old_age Always - 172
208 Unknown_SSD_Attribute 0x0032 200 200 000 Old_age Always - 98
209 Unknown_SSD_Attribute 0x0032 200 200 000 Old_age Always - 1
210 Unknown_Attribute 0x0032 200 200 000 Old_age Always - 2203
211 Unknown_Attribute 0x0032 200 200 000 Old_age Always - 1673
231 Temperature_Celsius 0x0023 094 094 005 Pre-fail Always - 6
233 Media_Wearout_Indicator 0x0032 100 100 000 Old_age Always - 33488804096
234 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 52013749644
241 Total_LBAs_Written 0x0032 100 100 000 Old_age Always - 3210174450
242 Total_LBAs_Read 0x0032 100 100 000 Old_age Always - 1148784003
243 Unknown_Attribute 0x0032 050 050 000 Old_age Always - 24707449
245 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 29
SMART Error Log Version: 1
ATA Error Count: 1
CR = Command Register [HEX]
FR = Features Register [HEX]
SC = Sector Count Register [HEX]
SN = Sector Number Register [HEX]
CL = Cylinder Low Register [HEX]
CH = Cylinder High Register [HEX]
DH = Device/Head Register [HEX]
DC = Device Command Register [HEX]
ER = Error register [HEX]
ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.
Error 1 occurred at disk power-on lifetime: 30 hours (1 days + 6 hours)
When the command that caused the error occurred, the device was in an unknown state.
After command completion occurred, registers were:
ER ST SC SN CL CH DH
-- -- -- -- -- -- --
84 41 50 f8 af 95 40
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
-- -- -- -- -- -- -- -- ---------------- --------------------
ec 00 01 00 00 00 00 80 00:02:42.000 IDENTIFY DEVICE
ef 10 02 00 00 00 a0 80 00:02:37.700 SET FEATURES [Enable SATA feature]
ec 00 00 00 00 00 a0 80 00:02:37.700 IDENTIFY DEVICE
ef 03 46 00 00 00 a0 80 00:02:37.700 SET FEATURES [Set transfer mode]
ef c3 01 00 00 00 a0 80 00:02:37.700 SET FEATURES [Sense Data Reporting]
SMART Self-test log structure revision number 1
No self-tests have been logged. [To run self-tests, use: smartctl -t]
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.
kubuntu@kubuntu:~$
Sorry to replay 1 by one, but i click on "multiquote" but nothing change...