logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 19-09-2017 23:41:09

Caribou22
Br3izhG33k =)
Lieu : 22, Côtes d'Armor, Bretagne
Distrib. : Debian Stable
Noyau : Sans pépins
(G)UI : Xfce, Gnome
Inscription : 10-11-2014
Site Web

Mon disque dur est-il en bon état ? (SMART)

Bonsoir ! smile

Je n'ai jamais vraiment pigé les données SMART bien qu'ayant lu quelques tutos.
Et j'aimerais savoir si mon disque dur ici présent a encore de longues années devant lui, car j'ai la poisse avec les disques durs ces temps-ci... tongue

Merci la doc : https://debian-facile.org/doc:systeme:smartmontools

Voici ses données SMART :

smartctl -i /dev/sda



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

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Blue
Device Model:     WDC WD10EZEX-60ZF5A0
Serial Number:    WD-WMC1S2719914
LU WWN Device Id: 5 0014ee 003881a11
Firmware Version: 80.00A80
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 1.5 Gb/s)
Local Time is:    Wed Sep 20 00:36:29 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled



smartctl --smart=on --offlineauto=on --saveauto=on /dev/sda


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

=== START OF ENABLE/DISABLE COMMANDS SECTION ===
SMART Enabled.
SMART Attribute Autosave Enabled.
SMART Enable Automatic Offline failed: scsi error badly formed scsi parameters
 



smartctl --all /dev/sda



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

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Blue
Device Model:     WDC WD10EZEX-60ZF5A0
Serial Number:    WD-WMC1S2719914
LU WWN Device Id: 5 0014ee 003881a11
Firmware Version: 80.00A80
User Capacity:    1 000 204 886 016 bytes [1,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.0, 6.0 Gb/s (current: 1.5 Gb/s)
Local Time is:    Wed Sep 20 00:38:29 2017 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:  (0x82) Offline data collection activity
          was completed without error.
          Auto Offline Data Collection: Enabled.
Self-test execution status:      (  25) The self-test routine was aborted by
          the host.
Total time to complete Offline
data collection:    (10140) seconds.
Offline data collection
capabilities:        (0x5b) SMART execute Offline immediate.
          Auto Offline data collection on/off support.
          Suspend Offline collection upon new
          command.
          Offline surface scan supported.
          Self-test supported.
          No 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:    ( 117) minutes.
SCT capabilities:          (0x30bd) SCT Status supported.
          SCT Error Recovery Control 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   175   172   021    Pre-fail  Always       -       2241
  4 Start_Stop_Count        0x0032   098   098   000    Old_age   Always       -       2177
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002f   197   197   051    Pre-fail  Always       -       301
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       -       2993
 10 Spin_Retry_Count        0x0033   100   100   051    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       1624
184 End-to-End_Error        0x0033   100   100   097    Pre-fail  Always       -       0
187 Reported_Uncorrect      0x0032   030   030   000    Old_age   Always       -       76
188 Command_Timeout         0x0032   001   001   000    Old_age   Always       -       3221275082751
190 Airflow_Temperature_Cel 0x0022   065   063   040    Old_age   Always       -       35 (Min/Max 35/35)
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       586
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       1590
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   200   200   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

SMART Error Log Version: 1
ATA Error Count: 24102 (device log contains only the most recent five errors)
  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 24102 occurred at disk power-on lifetime: 2973 hours (123 days + 21 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 61 00 53 4f c2 e0  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  b0 d8 00 00 4f c2 e0 00      00:00:02.725  SMART ENABLE OPERATIONS
  ec 00 00 00 00 00 a0 00      00:00:02.725  IDENTIFY DEVICE

Error 24101 occurred at disk power-on lifetime: 2971 hours (123 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 61 00 00 00 00 00

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  e0 00 00 00 00 00 00 00      00:46:08.849  STANDBY IMMEDIATE
  ef 90 03 00 00 00 00 00      00:46:07.533  SET FEATURES [Disable SATA feature]
  ef 02 00 00 00 00 00 00      00:46:07.533  SET FEATURES [Enable write cache]
  ef 90 03 00 00 00 00 00      00:46:07.393  SET FEATURES [Disable SATA feature]

Error 24100 occurred at disk power-on lifetime: 2971 hours (123 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 61 03 00 00 00 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 90 03 00 00 00 00 00      00:46:07.533  SET FEATURES [Disable SATA feature]
  ef 02 00 00 00 00 00 00      00:46:07.533  SET FEATURES [Enable write cache]
  ef 90 03 00 00 00 00 00      00:46:07.393  SET FEATURES [Disable SATA feature]
  ef 02 00 00 00 00 00 00      00:46:07.392  SET FEATURES [Enable write cache]

Error 24099 occurred at disk power-on lifetime: 2971 hours (123 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 61 00 00 00 00 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 02 00 00 00 00 00 00      00:46:07.533  SET FEATURES [Enable write cache]
  ef 90 03 00 00 00 00 00      00:46:07.393  SET FEATURES [Disable SATA feature]
  ef 02 00 00 00 00 00 00      00:46:07.392  SET FEATURES [Enable write cache]

Error 24098 occurred at disk power-on lifetime: 2971 hours (123 days + 19 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  04 61 03 00 00 00 00  Device Fault; Error: ABRT

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 90 03 00 00 00 00 00      00:46:07.393  SET FEATURES [Disable SATA feature]
  ef 02 00 00 00 00 00 00      00:46:07.392  SET FEATURES [Enable write cache]
  ef 90 03 00 00 00 00 00      00:46:07.253  SET FEATURES [Disable SATA feature]
  ef 02 00 00 00 00 00 00      00:46:07.252  SET FEATURES [Enable write cache]

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               90%      2993         -
# 2  Short offline       Completed without error       00%      2976         -

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.

 



Malheureusement abstrait pour moi sad

Et GNOME-disk-utility semble donner des valeurs différentes :
1505861004.png

Si quelqu'un peut m'aider à interprêter tout ça, je le remercie d'avance ! smile

Dernière modification par Caribou22 (19-09-2017 23:43:58)

Hors ligne

#2 20-09-2017 02:09:18

otyugh
CA Debian-Facile
Lieu : Quimperlé/Arzano
Distrib. : Debian Stable
Inscription : 20-09-2016
Site Web

Re : Mon disque dur est-il en bon état ? (SMART)

Tant que t'es en "pré-fail" comme tu l'est, le constructeur considère que "ça va".

L'état SMART permet de confirmer qu'un disque dur est mort pour moi : c'est sensé prédire les pannes mais franchement...

Chaque constructeur de disque définit un ensemble d’attributs et détermine les valeurs de seuil qui ne devraient pas être dépassées dans des conditions normales de fonctionnement. Les valeurs des attributs s’échelonnent de 1 à 253 (1 représentant le pire cas et 253 le meilleur). En fonction du constructeur, une valeur comprise entre 100 et 200 est souvent choisie comme valeur « normale ». Les constructeurs suivants supportent un ou plusieurs attributs S.M.A.R.T dans leurs produits : Samsung, Seagate, IBM, Hitachi, Fujitsu, Maxtor, Western Digital. Ces constructeurs ne s’accordent pas obligatoirement ni sur une définition précise des attributs, ni sur leurs unités de mesure ; par conséquent, la liste suivante ne devrait être considérée que comme une référence assez générale.


>https://fr.wikipedia.org/wiki/Self-Monitoring,_Analysis_and_Reporting_Technology<

Sur les limites du SMART :

A field study at Google covering over 100,000 consumer-grade drives from December 2005 to August 2006 found correlations between certain SMART information and actual failure rates. [...]
     36% of drives failed without recording any S.M.A.R.T. error at all, except the temperature, meaning that S.M.A.R.T. data alone was of limited usefulness in anticipating failures.


>https://en.wikipedia.org/wiki/S.M.A.R.T.<

Dernière modification par otyugh (20-09-2017 02:39:25)


virtue_signaling.pngpalestine.png

Hors ligne

#3 20-09-2017 06:15:58

raleur
Membre
Inscription : 03-10-2014

Re : Mon disque dur est-il en bon état ? (SMART)

otyugh a écrit :

Tant que t'es en "pré-fail" comme tu l'est, le constructeur considère que "ça va".


[Modéré]"Pre-fail" est un type d'attribut, pas un état. Il ne change jamais. Il qualifie les attributs dont la valeur est censée permettre de prédire une panne. L'autre type, "Old_age", qualifie les attributs dont la valeur est associée au vieillissement du disque.

Rien d'anormal à signaler dans les valeurs de ce disque.


Il vaut mieux montrer que raconter.

Hors ligne

Pied de page des forums