Re: [LA-discussions] big pb d'accès disque dur

[ Thread Index | Date Index | More linuxarverne.org/discussions Archives ]


j'ai eu un remord ce matin, j'ai essayé de supprimer les partitions de ce 
disque qui m'a laché, puis en recréer une, et ça a marché...

j'ai quels outils pour  vérifier avec certitude que ce dd marche encore ou 
qu'il a vraiment des pbs ? Parce que j'arrive pas à comprendre que le 
filesystem ait pu disparaitre tout seul alors que je ne travaillais mm pas 
dessus, c'est qd la musique et le fond d'écron ont disparu que ça m'a fait 
drôle...

voici les tests que j'ai fait pour l'instant (en gros tous ceux que vous 
m'aviez dit de faire déjà), si qqun peut me donner son avis sur l'état du 
disque à partir de ça. J'ai aussi un badblock en cours mais ça ce sera plus 
long je le posterai ttaleur.

Si vous avez d'autres conseils de tests je suis preneur.

Merci

*****************************

sudo fsck /dev/sdc1
fsck de util-linux 2.20.1                                                                                                                                        
e2fsck 1.42.5 (29-Jul-2012)                                                                                                                                      
/dev/sdc1 : propre, 17/122101760 fichiers, 7713425/488378000 blocs 

*****************************

sudo smartctl -H /dev/sdc
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.8.0-26-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

*****************************

sudo smartctl -a /dev/sdc | grep -E "Realloc|Pending|Uncorr"
  5 Reallocated_Sector_Ct   0x0033   199   199   140    Pre-fail  Always       
-       33
196 Reallocated_Event_Count 0x0032   168   168   000    Old_age   Always       
-       32
197 Current_Pending_Sector  0x0032   197   197   000    Old_age   Always       
-       1164
198 Offline_Uncorrectable   0x0030   199   199   000    Old_age   Offline      
-       458

*****************************

plus complet mais nettement plus long :

sudo smartctl -a /dev/sdc
smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.8.0-26-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Caviar Green (Adv. Format)
Device Model:     WDC WD20EARS-00MVWB0
Serial Number:    WD-WCAZA3240608
LU WWN Device Id: 5 0014ee 2b00cdff7
Firmware Version: 51.0AB51
User Capacity:    2 000 398 934 016 bytes [2,00 TB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Tue Jul  9 10:54:36 2013 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:  (0x84) Offline data collection activity
                                        was suspended by an interrupting 
command from host.
                                        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:                (38760) 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.
                                        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:        ( 374) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x3035) 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   058   055   051    Pre-fail  Always       
-       40636
  3 Spin_Up_Time            0x0027   253   168   021    Pre-fail  Always       
-       1175
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       
-       207
  5 Reallocated_Sector_Ct   0x0033   199   199   140    Pre-fail  Always       
-       33
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       
-       0
  9 Power_On_Hours          0x0032   078   078   000    Old_age   Always       
-       16174
 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       
-       154
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       
-       84
193 Load_Cycle_Count        0x0032   088   088   000    Old_age   Always       
-       338531
194 Temperature_Celsius     0x0022   117   109   000    Old_age   Always       
-       33
196 Reallocated_Event_Count 0x0032   168   168   000    Old_age   Always       
-       32
197 Current_Pending_Sector  0x0032   197   197   000    Old_age   Always       
-       1164
198 Offline_Uncorrectable   0x0030   199   199   000    Old_age   Offline      
-       458
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       
-       0
200 Multi_Zone_Error_Rate   0x0008   069   069   000    Old_age   Offline      
-       35045

SMART Error Log Version: 1
ATA Error Count: 3641 (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 3641 occurred at disk power-on lifetime: 16082 hours (670 days + 2 
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 45 00 00 00 a0  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 03 45 00 00 00 a0 08      00:08:03.874  SET FEATURES [Set transfer 
mode]
  ec 00 00 00 00 00 a0 08      00:08:03.865  IDENTIFY DEVICE
  ec 00 00 00 00 00 a0 08      00:07:58.522  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 08      00:07:58.515  SET FEATURES [Set transfer 
mode]
  ec 00 00 00 00 00 a0 08      00:07:58.395  IDENTIFY DEVICE

Error 3640 occurred at disk power-on lifetime: 16082 hours (670 days + 2 
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 45 00 00 00 a0  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 03 45 00 00 00 a0 08      00:07:58.515  SET FEATURES [Set transfer 
mode]
  ec 00 00 00 00 00 a0 08      00:07:58.395  IDENTIFY DEVICE
  ec 00 00 00 00 00 a0 08      00:07:52.940  IDENTIFY DEVICE
  ef 03 45 00 00 00 a0 08      00:07:52.933  SET FEATURES [Set transfer 
mode]
  ec 00 00 00 00 00 a0 08      00:07:52.924  IDENTIFY DEVICE

Error 3639 occurred at disk power-on lifetime: 16082 hours (670 days + 2 
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 45 00 00 00 a0  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 03 45 00 00 00 a0 08      00:07:52.933  SET FEATURES [Set transfer 
mode]
  ec 00 00 00 00 00 a0 08      00:07:52.924  IDENTIFY DEVICE
  ec 00 00 00 00 00 a0 00      00:07:52.440  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:07:52.433  SET FEATURES [Set transfer 
mode]

Error 3638 occurred at disk power-on lifetime: 16082 hours (670 days + 2 
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 46 00 00 00 a0  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 03 46 00 00 00 a0 00      00:07:52.433  SET FEATURES [Set transfer 
mode]
  ec 00 00 00 00 00 a0 00      00:07:52.426  IDENTIFY DEVICE
  ec 00 00 00 00 00 a0 00      00:07:52.416  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:07:52.409  SET FEATURES [Set transfer 
mode]

Error 3637 occurred at disk power-on lifetime: 16082 hours (670 days + 2 
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 46 00 00 00 a0  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 03 46 00 00 00 a0 00      00:07:52.409  SET FEATURES [Set transfer 
mode]
  ec 00 00 00 00 00 a0 00      00:07:52.401  IDENTIFY DEVICE
  ca 00 01 1e 24 fd e1 00      00:07:52.401  WRITE DMA
  ec 00 00 00 00 00 a0 00      00:07:52.392  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 00      00:07:52.385  SET FEATURES [Set transfer 
mode]

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]


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.

*****************************

encore un truc long :

dmesg | grep -C5 sdc                                                                                                                            
[61999.341904] ata3.00: cmd 25/00:08:1c:24:41/00:00:75:00:00/e0 tag 0 dma 
4096 in                                                                                
[61999.341904]          res 51/40:08:1c:24:41/40:00:75:00:00/e0 Emask 0x9 
(media error)                                                                          
[61999.341907] ata3.00: status: { DRDY ERR }                                                                                                                     
[61999.341909] ata3.00: error: { UNC }                                                                                                                           
[61999.372782] ata3.00: configured for UDMA/133                                                                                                                  
[61999.372799] sd 2:0:0:0: [sdc] Unhandled sense code
[61999.372801] sd 2:0:0:0: [sdc]  
[61999.372803] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE                                                                                                   
[61999.372805] sd 2:0:0:0: [sdc]  
[61999.372806] Sense Key : Medium Error [current] [descriptor]                                                                                                   
[61999.372810] Descriptor sense data with sense descriptors (in hex):                                                                                            
[61999.372811]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00                                                                                           
[61999.372820]         75 41 24 1c                                                                                                                               
[61999.372824] sd 2:0:0:0: [sdc]  
[61999.372826] Add. Sense: Unrecovered read error - auto reallocate failed                                                                                       
[61999.372828] sd 2:0:0:0: [sdc] CDB: 
[61999.372830] Read(10): 28 00 75 41 24 1c 00 00 08 00                                                                                                           
[61999.372838] end_request: I/O error, dev sdc, sector 1967203356
[61999.372842] Buffer I/O error on device sdc5, logical block 1933836288
[61999.372845] Buffer I/O error on device sdc5, logical block 1933836289
[61999.372847] Buffer I/O error on device sdc5, logical block 1933836290
[61999.372849] Buffer I/O error on device sdc5, logical block 1933836291
[61999.372850] Buffer I/O error on device sdc5, logical block 1933836292
[61999.372853] Buffer I/O error on device sdc5, logical block 1933836293
[61999.372855] Buffer I/O error on device sdc5, logical block 1933836294
[61999.372856] Buffer I/O error on device sdc5, logical block 1933836295
[61999.372867] ata3: EH complete
[62002.147904] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[62002.147908] ata3.00: BMDMA stat 0x25
[62002.147911] ata3.00: failed command: READ DMA EXT
[62002.147916] ata3.00: cmd 25/00:07:1d:24:41/00:00:75:00:00/e0 tag 0 dma 
3584 in
[62002.147916]          res 51/40:07:1d:24:41/40:00:75:00:00/e0 Emask 0x9 
(media error)
[62002.147918] ata3.00: status: { DRDY ERR }
[62002.147920] ata3.00: error: { UNC }
[62002.178856] ata3.00: configured for UDMA/133
[62002.178872] sd 2:0:0:0: [sdc] Unhandled sense code
[62002.178875] sd 2:0:0:0: [sdc]  
[62002.178877] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[62002.178879] sd 2:0:0:0: [sdc]  
[62002.178880] Sense Key : Medium Error [current] [descriptor]
[62002.178884] Descriptor sense data with sense descriptors (in hex):
[62002.178885]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[62002.178893]         75 41 24 1d 
[62002.178897] sd 2:0:0:0: [sdc]  
[62002.178900] Add. Sense: Unrecovered read error - auto reallocate failed
[62002.178902] sd 2:0:0:0: [sdc] CDB: 
[62002.178903] Read(10): 28 00 75 41 24 1d 00 00 07 00
[62002.178911] end_request: I/O error, dev sdc, sector 1967203357
[62002.178914] Buffer I/O error on device sdc5, logical block 1933836289
[62002.178918] Buffer I/O error on device sdc5, logical block 1933836290
[62002.178933] ata3: EH complete
[62149.827576] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[62149.827580] ata3.00: BMDMA stat 0x24
[62149.827584] ata3.00: failed command: READ DMA EXT
[62149.827589] ata3.00: cmd 25/00:08:3f:00:40/00:00:d8:00:00/e0 tag 0 dma 
4096 in
[62149.827589]          res 51/40:00:40:00:40/40:00:d8:00:00/e0 Emask 0x9 
(media error)
[62149.827592] ata3.00: status: { DRDY ERR }
[62149.827594] ata3.00: error: { UNC }
[62149.856482] ata3.00: configured for UDMA/133
[62149.856500] sd 2:0:0:0: [sdc] Unhandled sense code
[62149.856503] sd 2:0:0:0: [sdc]  
[62149.856505] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[62149.856507] sd 2:0:0:0: [sdc]  
[62149.856508] Sense Key : Medium Error [current] [descriptor]
[62149.856511] Descriptor sense data with sense descriptors (in hex):
[62149.856513]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[62149.856521]         d8 40 00 40 
[62149.856525] sd 2:0:0:0: [sdc]  
[62149.856527] Add. Sense: Unrecovered read error - auto reallocate failed
[62149.856530] sd 2:0:0:0: [sdc] CDB: 
[62149.856531] Read(10): 28 00 d8 40 00 3f 00 00 08 00
[62149.856538] end_request: I/O error, dev sdc, sector 3628073024
[62149.856541] quiet_error: 5 callbacks suppressed
[62149.856543] Buffer I/O error on device sdc1, logical block 1814036480
[62149.856547] Buffer I/O error on device sdc1, logical block 1814036481
[62149.856549] Buffer I/O error on device sdc1, logical block 1814036482
[62149.856550] Buffer I/O error on device sdc1, logical block 1814036483
[62149.856565] ata3: EH complete
[62175.261503] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0
[62175.261508] ata3.00: BMDMA stat 0x25
[62175.261511] ata3.00: failed command: READ DMA EXT
[62175.261516] ata3.00: cmd 25/00:08:3f:00:00/00:00:d3:00:00/e0 tag 0 dma 
4096 in
[62175.261516]          res 51/40:08:3f:00:00/40:00:d3:00:00/e0 Emask 0x9 
(media error)
[62175.261518] ata3.00: status: { DRDY ERR }
[62175.261520] ata3.00: error: { UNC }
[62175.292386] ata3.00: configured for UDMA/133
[62175.292403] sd 2:0:0:0: [sdc] Unhandled sense code
[62175.292405] sd 2:0:0:0: [sdc]  
[62175.292407] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[62175.292408] sd 2:0:0:0: [sdc]  
[62175.292409] Sense Key : Medium Error [current] [descriptor]
[62175.292411] Descriptor sense data with sense descriptors (in hex):
[62175.292412]         72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00 
[62175.292418]         d3 00 00 3f 
[62175.292420] sd 2:0:0:0: [sdc]  
[62175.292423] Add. Sense: Unrecovered read error - auto reallocate failed
[62175.292424] sd 2:0:0:0: [sdc] CDB: 
[62175.292425] Read(10): 28 00 d3 00 00 3f 00 00 08 00
[62175.292430] end_request: I/O error, dev sdc, sector 3539992639
[62175.292433] Buffer I/O error on device sdc1, logical block 1769996288
[62175.292436] Buffer I/O error on device sdc1, logical block 1769996289
[62175.292438] Buffer I/O error on device sdc1, logical block 1769996290
[62175.292439] Buffer I/O error on device sdc1, logical block 1769996291
[62175.292458] ata3: EH complete
[62416.267424] EXT4-fs (sdc1): mounted filesystem with ordered data mode. 
Opts: (null)


-- 
Cordialement, Daniel Cartron
« Tu es responsable de ce que tu as apprivoisé. »
Antoine de Saint-Exupéry - Le petit prince


--
Liste de discussions de LinuxArverne
http://wiki.linuxarverne.org/listes_de_diffusion


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/