Alors le mieux pour smartctl c’est de faire smartctl -a. Exemple:
=== START OF INFORMATION SECTION ===
Model Family: Western Digital Scorpio Blue Serial ATA (AF)
Device Model: WDC WD5000BPVT-55A1YT0
Serial Number: WD-WX61C12L9665
LU WWN Device Id: 5 0014ee 6ad175f71
Firmware Version: 01.01A01
User Capacity: 500 107 862 016 bytes [500 GB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 5400 rpm
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS (minor revision not indicated)
SATA Version is: SATA 3.0, 3.0 Gb/s (current: 1.5 Gb/s)
Local Time is: Mon Dec 16 15:33:01 2024 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: (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: (10860) 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.
MART 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: ( 120) minutes.
Conveyance self-test routine
recommended polling time: ( 5) minutes.
SCT capabilities: (0x70b5) 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 200 200 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0027 184 182 021 Pre-fail Always - 1783
4 Start_Stop_Count 0x0032 095 095 000 Old_age Always - 5329
5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0
9 Power_On_Hours 0x0032 031 031 000 Old_age Always - 50643
10 Spin_Retry_Count 0x0032 100 100 000 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 095 095 000 Old_age Always - 5048
191 G-Sense_Error_Rate 0x0032 001 001 000 Old_age Always - 323102
192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 68
193 Load_Cycle_Count 0x0032 182 182 000 Old_age Always - 54652
194 Temperature_Celsius 0x0022 112 092 000 Old_age Always - 35 (Min/Max 28/47)
196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0
254 Free_Fall_Sensor 0x0032 001 001 000 Old_age Always - 705
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 Short offline Completed without error 00% 45437 -
# 2 Extended offline Completed without error 00% 14448 -
# 3 Short offline Completed without error 00% 2092 -
# 4 Short offline Completed without error 00% 1998 -
# 5 Short offline Completed without error 00% 1874 -
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.
- Reallocated_Sector_Ct → donne le nombre de secteurs réalloués, 0 est parfait, c’est un signe de soucis
- Raw_Read_Error_Rate, UDMA_CRC_Error_Count → nbre erreurs de lecture et nbre erreurs de port SATA (connectique). Là aussi, signe de pbms
*Pour avoir l’age, il faut regarder Power_On_Hours (>10 ans → soucis possibles), Power_Cycle_Count → nombre de démarrage, Load_Cycle_Count → peut être elevé, je crois que c’est le nombre de parquage des têtes de lectures, >= 50000 = beaucoup. Tu peux les empecher au prix d’une consommation + élevée
- Current Temperature → la temparature (si). Pbm possible si > 50-60°
- G-Sense_Error_Rate → nombre de chocs subi par le disque, sur un portable brutalisé chez moi, c’est 300000 ce qui est très (trop) gros
- Free_Fall_Sensor —> indicateur de chute libre (petite sinon le disque est mort). 705 chez moi, c’est beaucoup. Je dois être une brute.
- Tu peux enfin faire des tests et regarder les résultats sur ces lignes:
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 45437 -
# 2 Extended offline Completed without error 00% 14448 -
# 3 Short offline Completed without error 00% 2092 -
# 4 Short offline Completed without error 00% 1998 -
# 5 Short offline Completed without error 00% 1874 -
Tu les lances par
# smartctl -t short /dev/sda
smartctl 6.6 2017-11-05 r4594 [i686-linux-4.19.0-5-686-pae] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Short self-test routine immediately in off-line mode".
Drive command "Execute SMART Short self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 2 minutes for test to complete.
Test will complete after Mon Feb 17 22:10:44 2025
Use smartctl -X to abort test.
Rq: je viens de penser, à la limite tu peux coller la sortie sur Mistral et demander de faire un résumé.
Si tu as localisé les secteurs à problème, tu peux faire une partition bidon qui les isolera et utiliser le reste. Ça peut marcher si ça n’est pas l’usure du disque. Je précise avoir utiliser près de 10 ans un disque comme cela (il avait eu un choc un peu violent) sans souci.