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 07-06-2020 09:39:17

chalu
Modératrice
Lieu : Anjou
Distrib. : openSUSE Tumbleweed
Noyau : Linux 5.12
(G)UI : KDE 5.21.4
Inscription : 11-03-2016

[Résolu] ]vérification d'un disque dur

Bonjour,
Le PC portable que j'utilise avec Linux (actuellement openSUSE Leap 15.1) a 10 ans, j'ai retrouvé récemment la facture tongue
C'est un ACER Aspire 5740G Intel core i5 430M 2,26Ghz avec carte Ati mobility radeon HD 5470

Comme depuis mars, la bête fonctionne 12h par jour, je me suis dit que ce serait bien de vérifier l'état du disque.
J'ai donc trouvé sur le forum et le wiki la commande


sudo smartctl -i /dev/sda



smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.12.14-lp151.28.48-default] (SUSE RPM)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Travelstar 5K500.B
Device Model:     Hitachi HTS545032B9A300
Serial Number:    100214PBPC061DC8Y2UL
LU WWN Device Id: 5 000cca 5eec4102c
Firmware Version: PB3OC60F
User Capacity:    320 072 933 376 bytes [320 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Sun Jun  7 10:11:15 2020 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

chalu@linux-ietq:~> sudo smartctl --all /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.12.14-lp151.28.48-default] (SUSE RPM)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Travelstar 5K500.B
Device Model:     Hitachi HTS545032B9A300
Serial Number:    100214PBPC061DC8Y2UL
LU WWN Device Id: 5 000cca 5eec4102c
Firmware Version: PB3OC60F
User Capacity:    320 072 933 376 bytes [320 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Sun Jun  7 10:11:44 2020 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:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      ( 246) Self-test routine in progress...
                                        60% of test remaining.
Total time to complete Offline
data collection:                (  645) 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:        ( 106) minutes.
SCT capabilities:              (0x003d) 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     0x000b   100   100   062    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   040    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0007   141   141   033    Pre-fail  Always       -       2
  4 Start_Stop_Count        0x0012   089   089   000    Old_age   Always       -       18467
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   040    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   078   078   000    Old_age   Always       -       9868
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   097   097   000    Old_age   Always       -       6222
191 G-Sense_Error_Rate      0x000a   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       78
193 Load_Cycle_Count        0x0012   064   064   000    Old_age   Always       -       362059
194 Temperature_Celsius     0x0002   125   125   000    Old_age   Always       -       44 (Min/Max 11/48)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0
223 Load_Retry_Count        0x000a   100   100   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 37 (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 37 occurred at disk power-on lifetime: 5279 hours (219 days + 23 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
  -- -- -- -- -- -- --
  10 51 01 b0 ea 42 40  Error: IDNF at LBA = 0x0042eab0 = 4385456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 01 58 b0 ea 42 40 00      01:28:29.700  READ FPDMA QUEUED
  61 80 50 d8 ad 60 40 00      01:28:29.700  WRITE FPDMA QUEUED
  61 80 48 50 ba 61 40 00      01:28:29.700  WRITE FPDMA QUEUED
  61 2e 40 b8 fc 61 40 00      01:28:29.700  WRITE FPDMA QUEUED
  61 03 38 f8 d1 62 40 00      01:28:29.700  WRITE FPDMA QUEUED

Error 36 occurred at disk power-on lifetime: 5279 hours (219 days + 23 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
  -- -- -- -- -- -- --
  10 51 01 b0 ea 42 40  Error: IDNF at LBA = 0x0042eab0 = 4385456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 01 f0 b0 ea 42 40 00      01:28:29.600  READ FPDMA QUEUED
  60 80 e8 b8 10 b4 40 00      01:28:29.600  READ FPDMA QUEUED
  61 12 e0 38 ce 62 40 00      01:28:29.600  WRITE FPDMA QUEUED
  61 0e d8 d8 d1 62 40 00      01:28:29.600  WRITE FPDMA QUEUED
  61 03 d0 f8 d1 62 40 00      01:28:29.600  WRITE FPDMA QUEUED

Error 35 occurred at disk power-on lifetime: 5279 hours (219 days + 23 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
  -- -- -- -- -- -- --
  10 51 01 b0 ea 42 40  Error: IDNF at LBA = 0x0042eab0 = 4385456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 01 a0 b0 ea 42 40 00      01:28:29.500  READ FPDMA QUEUED
  60 80 98 b8 10 b4 40 00      01:28:29.500  READ FPDMA QUEUED
  2f 00 01 10 00 00 40 00      01:28:29.500  READ LOG EXT
  60 01 90 b0 ea 42 40 00      01:28:29.400  READ FPDMA QUEUED
  60 80 88 b8 10 b4 40 00      01:28:29.400  READ FPDMA QUEUED

Error 34 occurred at disk power-on lifetime: 5279 hours (219 days + 23 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
  -- -- -- -- -- -- --
  10 51 01 b0 ea 42 40  Error: IDNF at LBA = 0x0042eab0 = 4385456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 01 90 b0 ea 42 40 00      01:28:29.400  READ FPDMA QUEUED
  60 80 88 b8 10 b4 40 00      01:28:29.400  READ FPDMA QUEUED
  2f 00 01 10 00 00 40 00      01:28:29.400  READ LOG EXT
  60 01 80 b0 ea 42 40 00      01:28:29.300  READ FPDMA QUEUED
  60 80 78 b8 10 b4 40 00      01:28:29.300  READ FPDMA QUEUED

Error 33 occurred at disk power-on lifetime: 5279 hours (219 days + 23 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
  -- -- -- -- -- -- --
  10 51 01 b0 ea 42 40  Error: IDNF at LBA = 0x0042eab0 = 4385456

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  60 01 80 b0 ea 42 40 00      01:28:29.300  READ FPDMA QUEUED
  60 80 78 b8 10 b4 40 00      01:28:29.300  READ FPDMA QUEUED
  2f 00 01 10 00 00 40 00      01:28:29.300  READ LOG EXT
  60 01 70 b0 ea 42 40 00      01:28:29.200  READ FPDMA QUEUED
  60 80 68 b8 10 b4 40 00      01:28:29.200  READ FPDMA QUEUED

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%      9865         -
# 2  Short offline       Completed without error       00%      9855         -
# 3  Short offline       Completed without error       00%      9843         -
# 4  Short offline       Completed without error       00%      9832         -
# 5  Short offline       Completed without error       00%      9819         -
# 6  Short offline       Completed without error       00%      9814         -
# 7  Short offline       Completed without error       00%      9807         -
# 8  Short offline       Completed without error       00%      9805         -
# 9  Short offline       Completed without error       00%      9794         -
#10  Short offline       Completed without error       00%      9783         -
#11  Short offline       Completed without error       00%      9774         -
#12  Short offline       Completed without error       00%      9767         -
#13  Short offline       Completed without error       00%      9763         -
#14  Short offline       Completed without error       00%      9757         -
#15  Short offline       Completed without error       00%      9750         -
#16  Short offline       Completed without error       00%      9747         -
#17  Short offline       Completed without error       00%      9741         -
#18  Short offline       Completed without error       00%      9731         -
#19  Short offline       Completed without error       00%      9722         -
#20  Short offline       Completed without error       00%      9708         -
#21  Short offline       Completed without error       00%      9706         -

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.
 


Il me semble que ce n'est pas trop mal pour le disque ?
Les erreurs sont indiquées à 0 je crois d'après le tableau du wiki mais il n'y a pas dans le wiki toutes les lignes que l'on a dans le retour de la commande.
spin-up time à 2, je ne sais pas si c'est normal ou pas, de même que la température à 44, il chauffe mais c'est un portable alors est-ce normal ? Power-Off_Retract_Count est à 78 (et je ne comprends pas ce que c'est ?)

merci.gif à ceux qui connaissent bien cet outil de me confirmer que j'ai raison de penser que le disque dur est en bon état et que je ne dois pas m'inquiéter.

Hors ligne

#2 17-06-2020 01:40:14

kawer
Membre
Lieu : Earth
Distrib. : Debian Stable
Noyau : Current
(G)UI : Xfce
Inscription : 08-10-2013

Re : [Résolu] ]vérification d'un disque dur

Bonsoir,
Tu as déjà dû regarder à quoi correspondent les attributs mais au cas où, un petit rappel en cliquant sur le lien 'par ici' te téléportera vers le monde incroyable de wikipedia.

Egalement lût un thread sur le fofo DF relatant des valeurs incorrecte suivant la marque et le modèle de certains disques. Je n'ai pas le lien sous la main, faudra chercher

Dernière modification par kawer (17-06-2020 01:41:10)


Songez à ce que vous avez été, à ce que vous êtes, et à ce que vous serez un jour, et vous deviendrez humbles. Saint Vincent de Paul
La maladie la plus constante et la plus mortelle, mais aussi la plus méconnue de toute société, est l’indifférence. Abbé Pierre
Carpe diem, quam minimum credula postero. Horace

Hors ligne

#3 17-06-2020 08:22:34

chalu
Modératrice
Lieu : Anjou
Distrib. : openSUSE Tumbleweed
Noyau : Linux 5.12
(G)UI : KDE 5.21.4
Inscription : 11-03-2016

Re : [Résolu] ]vérification d'un disque dur

Merci smile
non je n'avais pas vu cette page wikipedia qui complète celle du wiki
Je vais regarder les points soulignés en rouge

Hors ligne

Pied de page des forums