« Smart error » : différence entre les versions

De Le Wiki du Forum-Debian.fr
Aller à la navigation Aller à la recherche
mAucun résumé des modifications
mAucun résumé des modifications
Ligne 65 : Ligne 65 :
194 Temperature_Celsius    0x0022  112  095  000    Old_age  Always      -      35
194 Temperature_Celsius    0x0022  112  095  000    Old_age  Always      -      35
196 Reallocated_Event_Count 0x0032  200  200  000    Old_age  Always      -      0
196 Reallocated_Event_Count 0x0032  200  200  000    Old_age  Always      -      0
197 Current_Pending_Sector  0x0032  200  200  000    Old_age  Always      -      16  <=== On retrouve bien les 16 secteurs en erreur
197 Current_Pending_Sector  0x0032  200  200  000    Old_age  Always      -      16  <=== On retrouve bien les 16 secteurs en attende de ré-allocation
198 Offline_Uncorrectable  0x0030  200  200  000    Old_age  Offline      -      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
199 UDMA_CRC_Error_Count    0x0032  200  200  000    Old_age  Always      -      0
Ligne 74 : Ligne 74 :
254 Free_Fall_Sensor        0x0032  200  200  000    Old_age  Always      -      0
254 Free_Fall_Sensor        0x0032  200  200  000    Old_age  Always      -      0
</pre>
</pre>
Voir : [https://fr.wikipedia.org/wiki/Self-Monitoring,_Analysis_and_Reporting_Technology#Attributs_S.M.A.R.T._connus Attributs S.M.A.R.T. connus]


[[Catégorie:Logiciels Divers]]
[[Catégorie:Logiciels Divers]]
[[Catégorie:Sécurité]]
[[Catégorie:Sécurité]]

Version du 15 avril 2017 à 07:17

Que faire en cas d'erreur SMART ?

Après avoir convenablement installé et configuré smartmontools, vous venez de recevoir un mail comme ci-dessous.

This email was generated by the smartd daemon running on:

  host name: Mon_nom_d-ordinateur
  DNS domain: [Unknown]
  NIS domain: (none)

The following warning/error was logged by the smartd daemon:

Device: /dev/sda [SAT], 16 Currently unreadable (pending) sectors


For details see host's SYSLOG.

You can also use the smartctl utility for further investigation.
The original email about this issue was sent at Sat Apr  1 06:31:52 2017 CEST
Another email message will be sent in 24 hours if the problem persists.

Et vous pensez que vous allez devoir remplacer le disque et de base c'est une bonne idée, car c'est un signe avant coureur d'une défaillance générale du disque. Cependant vous pouvez aussi faire en sorte de prolonger encore un peu la vie de ce disque mais pour cela il va falloir faire quelques manipulations assez délicates. Pour notre exemple nous supposons que le fichier de périphérique associé au disque concerné est «/dev/sda».

La première chose a faire est de lancer un examen approfondi du dit disque avec la commande suivante :

# smartctl -t long /dev/sda
smartctl 5.41 2011-06-09 r3365 [armv7l-linux-3.4.79-sun7i] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF OFFLINE IMMEDIATE AND SELF-TEST SECTION ===
Sending command: "Execute SMART Extended self-test routine immediately in off-line mode".
Drive command "Execute SMART Extended self-test routine immediately in off-line mode" successful.
Testing has begun.
Please wait 162 minutes for test to complete.
Test will complete after Wed Apr 12 01:51:37 2017

Use smartctl -X to abort test.

Le retour nous informe que les résultats de ce test seront disponible dans plus de 2h, la vitesse dépend de la capacité et de la vélocité de votre disque. Une fois terminé il faut exécuter la commande suivante :

~# smartctl -A /dev/sda
smartctl 5.41 2011-06-09 r3365 [armv7l-linux-3.4.79-sun7i] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
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   178   174   021    Pre-fail  Always       -       2091
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       232
  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   073   073   000    Old_age   Always       -       20035
 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   100   100   000    Old_age   Always       -       231
191 G-Sense_Error_Rate      0x0032   066   066   000    Old_age   Always       -       34
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       193
193 Load_Cycle_Count        0x0032   001   001   000    Old_age   Always       -       2574607
194 Temperature_Celsius     0x0022   112   095   000    Old_age   Always       -       35
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       16   <=== On retrouve bien les 16 secteurs en attende de ré-allocation
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
240 Head_Flying_Hours       0x0032   077   077   000    Old_age   Always       -       17034
241 Total_LBAs_Written      0x0032   200   200   000    Old_age   Always       -       6841653103
242 Total_LBAs_Read         0x0032   200   200   000    Old_age   Always       -       5361545871
254 Free_Fall_Sensor        0x0032   200   200   000    Old_age   Always       -       0

Voir : Attributs S.M.A.R.T. connus