Re: différence entre fsck et é2fsck

Page principale

Répondre à ce message
Auteur: anne.guilde@free.fr
Date:  
À: guilde
Sujet: Re: différence entre fsck et é2fsck
Le 27/11/2018 à 22:39, Olivier Allard-Jacquin a écrit :
>     Bonsoir,

>
> Le 27/11/2018 à 22:07, Haricophile a écrit :
>> Le Tue, 27 Nov 2018 13:39:18 +0100,
>> "anne.guilde@???" <anne.guilde@???> a écrit :
>>
>>
>>> - Je me demande la différence entre e2fsck et fsck.
>>
>> fsck appelle normalement le bon programme selon le type de système de
>> fichier. Mais appeler le bon programme fonctionne aussi.
>>
>>> - Lors de la commande fsck j'ai mis les options -yfv trouvé sur ubuntu
>>> Bonne idée ou pas ?
>>
>> Je me méfie beaucoup de forcer "yes" (-y) pour vérifier un système de
>> fichier... il y a des logs mais bon.
>>
>>> - Le disque commence a avoir des vrais soucis ou pas?
>>
>> Tant que c'est un problème de système de fichier c'est du logique, mais erreur
>> entrée-sortie ça sent moins bon, c'est du physique. A surveiller de près. smart
>> peut effectivement donner des infos utiles.
>
>     Le
> Device: /dev/sda [SAT], 24 Currently unreadable (pending) sectors

>
> sent mauvais.
>
>     Il faudrait avoir le tableau "smartctrl -a" en intégralité.

>
>     Quelque chose du genre :

>
> SMART Attributes Data Structure revision number: 10
> Vendor Specific SMART Attributes with Thresholds:
> ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE
> UPDATED  WHEN_FAILED RAW_VALUE
>    1 Raw_Read_Error_Rate     0x000f   115   081   006    Pre-fail  Always
>        -       92749407
>    3 Spin_Up_Time            0x0003   096   095   000    Pre-fail  Always
>        -       0
>    4 Start_Stop_Count        0x0032   096   096   020    Old_age   Always
>        -       4911
>    5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always
>        -       0
>    7 Seek_Error_Rate         0x000f   056   043   030    Pre-fail  Always
>        -       6735238099890
>    9 Power_On_Hours          0x0032   082   082   000    Old_age   Always
>        -       16194
>   10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always
>        -       0
>   12 Power_Cycle_Count       0x0032   096   096   020    Old_age   Always
>        -       5047
> 187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always
>        -       0
> 189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always
>        -       0
> 190 Airflow_Temperature_Cel 0x0022   070   060   045    Old_age   Always
>        -       30 (Min/Max 20/31)
> 194 Temperature_Celsius     0x0022   030   040   000    Old_age   Always
>        -       30 (0 16 0 0 0)
> 195 Hardware_ECC_Recovered  0x001a   063   054   000    Old_age   Always
>        -       119878279
> 197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always
>        -       0
> 198 Offline_Uncorrectable   0x0010   100   100   000    Old_age
> Offline      -       0
> 199 UDMA_CRC_Error_Count    0x003e   200   197   000    Old_age   Always
>        -       242
> 200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age
> Offline      -       0
> 202 Data_Address_Mark_Errs  0x0032   100   253   000    Old_age   Always
>        -       0

>

le dernier smartctl avec sda démonté fait tout à l'heure.

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

=== START OF INFORMATION SECTION ===
Model Family:     HGST Travelstar 7K1000
Device Model:     HGST HTS721010A9E630
Serial Number:    JR10004M1RN3VE
LU WWN Device Id: 5 000cca 8a8d86336
Firmware Version: JB0OA3U0
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:      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 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Nov 28 00:40:26 2018 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:  (0x82)    Offline data collection activity
                    was completed without error.
                    Auto Offline Data Collection: Enabled.
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:         (   45) 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:      ( 170) 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   160   160   040    Pre-fail 
Offline      -       100
   3 Spin_Up_Time            0x0007   153   153   033    Pre-fail 
Always       -       2
   4 Start_Stop_Count        0x0012   100   100   000    Old_age 
Always       -       438
   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   138   138   040    Pre-fail 
Offline      -       34
   9 Power_On_Hours          0x0012   075   075   000    Old_age 
Always       -       11094
  10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail 
Always       -       0
  12 Power_Cycle_Count       0x0032   100   100   000    Old_age 
Always       -       185
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 
       -       18
193 Load_Cycle_Count        0x0012   099   099   000    Old_age   Always 
       -       17322
194 Temperature_Celsius     0x0002   171   171   000    Old_age   Always 
       -       35 (Min/Max 13/46)
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: 87 (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 87 occurred at disk power-on lifetime: 10982 hours (457 days + 14
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
-- -- -- -- -- -- --
40 51 08 48 10 c1 05 Error: UNC at LBA = 0x05c11048 = 96538696

   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 08 e0 48 10 c1 40 00      01:17:35.578  READ FPDMA QUEUED
   61 08 d0 00 08 84 40 00      01:17:35.578  WRITE FPDMA QUEUED
   ef 10 02 00 00 00 a0 00      01:17:35.578  SET FEATURES [Enable SATA 
feature]
   27 00 00 00 00 00 e0 00      01:17:35.578  READ NATIVE MAX ADDRESS 
EXT [OBS-ACS-3]
   ec 00 00 00 00 00 a0 00      01:17:35.577  IDENTIFY DEVICE


Error 86 occurred at disk power-on lifetime: 10982 hours (457 days + 14
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
-- -- -- -- -- -- --
40 51 08 48 10 c1 05 Error: UNC at LBA = 0x05c11048 = 96538696

   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 08 b0 48 10 c1 40 00      01:17:32.640  READ FPDMA QUEUED
   60 08 a8 40 10 c1 40 00      01:17:32.640  READ FPDMA QUEUED
   60 08 a0 38 10 c1 40 00      01:17:32.640  READ FPDMA QUEUED
   60 08 98 30 10 c1 40 00      01:17:32.640  READ FPDMA QUEUED
   60 08 90 28 10 c1 40 00      01:17:32.640  READ FPDMA QUEUED


Error 85 occurred at disk power-on lifetime: 10982 hours (457 days + 14
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
-- -- -- -- -- -- --
40 51 18 48 10 c1 05 Error: UNC at LBA = 0x05c11048 = 96538696

   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 08 00 70 2a 81 40 00      01:17:29.480  READ FPDMA QUEUED
   60 08 f0 68 2a 81 40 00      01:17:29.480  READ FPDMA QUEUED
   60 08 e8 60 2a 81 40 00      01:17:29.475  READ FPDMA QUEUED
   60 08 e0 58 2a 81 40 00      01:17:29.475  READ FPDMA QUEUED
   60 08 d8 50 2a 81 40 00      01:17:29.459  READ FPDMA QUEUED


Error 84 occurred at disk power-on lifetime: 10982 hours (457 days + 14
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
-- -- -- -- -- -- --
40 51 08 a0 08 c0 05 Error: UNC at LBA = 0x05c008a0 = 96471200

   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 08 e8 a0 08 c0 40 00      01:17:24.434  READ FPDMA QUEUED
   ef 10 02 00 00 00 a0 00      01:17:24.434  SET FEATURES [Enable SATA 
feature]
   27 00 00 00 00 00 e0 00      01:17:24.434  READ NATIVE MAX ADDRESS 
EXT [OBS-ACS-3]
   ec 00 00 00 00 00 a0 00      01:17:24.433  IDENTIFY DEVICE
   ef 03 46 00 00 00 a0 00      01:17:24.433  SET FEATURES [Set transfer 
mode]


Error 83 occurred at disk power-on lifetime: 10982 hours (457 days + 14
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
-- -- -- -- -- -- --
40 51 08 a0 08 c0 05 Error: UNC at LBA = 0x05c008a0 = 96471200

   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 08 60 a0 08 c0 40 00      01:17:21.494  READ FPDMA QUEUED
   60 10 58 30 08 c0 40 00      01:17:21.494  READ FPDMA QUEUED
   60 08 40 98 08 c0 40 00      01:17:21.454  READ FPDMA QUEUED
   60 10 30 a8 08 c0 40 00      01:17:21.454  READ FPDMA QUEUED
   ef 10 02 00 00 00 a0 00      01:17:21.454  SET FEATURES [Enable SATA 
feature]


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%     11070 
     -
# 2  Extended offline    Completed without error       00%     11054 
     -
# 3  Short offline       Completed without error       00%     11046 
     -
# 4  Short offline       Completed without error       00%     11022 
     -
# 5  Short offline       Completed without error       00%     10998 
     -
# 6  Short offline       Completed without error       00%     10995 
     -
# 7  Short offline       Completed without error       00%     10995 
     -
# 8  Short offline       Completed without error       00%     10989 
     -
# 9  Short offline       Completed without error       00%     10982 
     -
#10  Short offline       Completed without error       00%     10982 
     -
#11  Short offline       Completed without error       00%     10974 
     -
#12  Short offline       Completed without error       00%     10950 
     -
#13  Short offline       Completed without error       00%     10926 
     -
#14  Short offline       Completed without error       00%     10902 
     -
#15  Extended offline    Completed: read failure       80%     10881 
     364906504
#16  Short offline       Completed without error       00%     10878 
     -
#17  Short offline       Completed without error       00%     10854 
     -
#18  Short offline       Completed without error       00%     10830 
     -
#19  Short offline       Completed without error       00%     10806 
     -
#20  Short offline       Completed without error       00%     10782 
     -
#21  Short offline       Completed without error       00%     10758 
     -
1 of 1 failed self-tests are outdated by newer successful extended 
offline self-test # 2


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.


----

J'ai contacté WD après la réparation du disque avec fsck.

Il m'ont envoyé un mail pour tester le disque :
Vous pouvez teste le disque en utilisant le lien suivant : Tester un
disque dur à l’aide de Data Lifeguard Diagnostics pour Windows :
https://support.wdc.com/knowledgebase/answer.aspx?ID=4838&lang=fr

J'ai un disque windows 10 que j'ai mis dans un dock usb et j'ai booté avec.

Le test ne montre aucune erreur...

Que pensez vous du résultat de smartctl?

Merci
Anne