Problème disque dur

Bonjour,

depuis peu, j’ai des messages d’erreur qui laissent à croire qu’il y a un problème matériel du disque dur. Souvent, ça provoque le blocage de X et du shell. Parfois, ça ne démarre même pas. Et après, je suis obligé de lancer un livecd pour faire un fsck sur les partitions concernées.

Ce qui est bizarre, c’est que j’ai windows en dual boot et cela marche parfaitement. J’ai essayé de réinstaller debian (wheezy) plusieurs fois mais cela ne change rien.

Voici le type de messages d’erreur dont j’ai parlé (ils se répètent plusieurs fois):

[ 7.505057] ata1.00: exception Emask 0x0 SAct 0x1 SErr 0x0 action 0x0
[ 7.505146] ata1.00: irq_stat 0x40000008
[ 7.505230] ata1.00: failed command: READ FPDMA QUEUED
[ 7.505318] ata1.00: cmd 60/08:00:00:08:00/00:00:00:00:00/40 tag 0 ncq 4096 in
[ 7.505319] res 41/40:00:00:08:00/00:00:00:00:00/40 Emask 0x409 (media error)
[ 7.505498] ata1.00: status: { DRDY ERR }
[ 7.505580] ata1.00: error: { UNC }
[ 7.507297] ata1.00: configured for UDMA/100
[ 7.507304] ata1: EH complete

J’aimerais savoir si quelqu’un a déjà eu un problème similaire et si à votre avis
c’est un problème matériel ou non.

Je vous remercie d’avance.

hello,
http://packages.debian.org/sid/smartmontools
Self-Monitoring, Analysis and Reporting Technology

le disque integré un auto-diagnostique que tu peux interroger avec smartctl

https://fedoraproject.org/wiki/Smartctl

[quote=“dchost99”]hello,
http://packages.debian.org/sid/smartmontools
Self-Monitoring, Analysis and Reporting Technology

le disque integré un auto-diagnostique que tu peux interroger avec smartctl

https://fedoraproject.org/wiki/Smartctl[/quote]

Voici ce que j’ai eu comme sortie:

[code]smartctl 5.41 2011-06-09 r3365 [i686-linux-3.2.0-4-686-pae] (local build)
Copyright © 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA MK5056GSY
Serial Number: 502KT5M2T
LU WWN Device Id: 5 000039 2819808ed
Firmware Version: LH003C
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sat Mar 2 12:48:48 2013 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
See vendor-specific Attribute list for marginal Attributes.

General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
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: ( 120) seconds.
Offline data collection
capabilities: (0x51) SMART execute Offline immediate.
No Auto Offline data collection support.
Suspend Offline collection upon new
command.
No 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: (0x0033) 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 0x000f 100 100 050 Pre-fail Always - 0
2 Throughput_Performance 0x0007 100 100 050 Pre-fail Always - 0
3 Spin_Up_Time 0x0003 100 100 002 Pre-fail Always - 2192
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 5763
5 Reallocated_Sector_Ct 0x0033 089 089 010 Pre-fail Always - 235
7 Seek_Error_Rate 0x000f 100 100 050 Pre-fail Always - 0
8 Seek_Time_Performance 0x0005 100 100 050 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 088 088 000 Old_age Always - 5115
10 Spin_Retry_Count 0x0013 214 100 030 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 1073
183 Runtime_Bad_Block 0x0022 100 100 001 Old_age Always - 3
184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0
185 Unknown_Attribute 0x0032 100 100 001 Old_age Always - 65535
187 Reported_Uncorrect 0x0032 001 001 000 Old_age Always - 2442
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 0
189 High_Fly_Writes 0x003a 100 100 001 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 055 027 045 Old_age Always In_the_past 45 (Min/Max 26/45)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 7310
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 18153749
193 Load_Cycle_Count 0x0032 074 074 000 Old_age Always - 261980
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 210
197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 82
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0

SMART Error Log Version: 1
ATA Error Count: 2917 (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 2917 occurred at disk power-on lifetime: 5115 hours (213 days + 3 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 41 02 00 08 00 40 Error: UNC at LBA = 0x00000800 = 2048

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 00 08 00 40 00 00:48:35.429 READ FPDMA QUEUED
ef 10 02 00 00 00 a0 00 00:48:35.429 SET FEATURES [Reserved for Serial ATA]
ec 00 00 00 00 00 a0 00 00:48:35.428 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 00 00:48:35.428 SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 a0 00 00:48:35.428 SET FEATURES [Reserved for Serial ATA]

Error 2916 occurred at disk power-on lifetime: 5115 hours (213 days + 3 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 41 02 00 08 00 40 Error: UNC at LBA = 0x00000800 = 2048

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 00 08 00 40 00 00:48:32.379 READ FPDMA QUEUED
ef 10 02 00 00 00 a0 00 00:48:32.379 SET FEATURES [Reserved for Serial ATA]
ec 00 00 00 00 00 a0 00 00:48:32.378 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 00 00:48:32.378 SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 a0 00 00:48:32.378 SET FEATURES [Reserved for Serial ATA]

Error 2915 occurred at disk power-on lifetime: 5115 hours (213 days + 3 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 41 02 00 08 00 40 Error: UNC at LBA = 0x00000800 = 2048

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 00 08 00 40 00 00:48:29.329 READ FPDMA QUEUED
ef 10 02 00 00 00 a0 00 00:48:29.329 SET FEATURES [Reserved for Serial ATA]
ec 00 00 00 00 00 a0 00 00:48:29.328 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 00 00:48:29.328 SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 a0 00 00:48:29.328 SET FEATURES [Reserved for Serial ATA]

Error 2914 occurred at disk power-on lifetime: 5115 hours (213 days + 3 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 41 02 00 08 00 40 Error: UNC at LBA = 0x00000800 = 2048

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 00 08 00 40 00 00:48:26.279 READ FPDMA QUEUED
ef 10 02 00 00 00 a0 00 00:48:26.278 SET FEATURES [Reserved for Serial ATA]
ec 00 00 00 00 00 a0 00 00:48:26.278 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 00 00:48:26.278 SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 a0 00 00:48:26.278 SET FEATURES [Reserved for Serial ATA]

Error 2913 occurred at disk power-on lifetime: 5115 hours (213 days + 3 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 41 02 00 08 00 40 Error: UNC at LBA = 0x00000800 = 2048

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 00 08 00 40 00 00:48:23.228 READ FPDMA QUEUED
ef 10 02 00 00 00 a0 00 00:48:23.227 SET FEATURES [Reserved for Serial ATA]
ec 00 00 00 00 00 a0 00 00:48:23.227 IDENTIFY DEVICE
ef 03 45 00 00 00 a0 00 00:48:23.227 SET FEATURES [Set transfer mode]
ef 10 02 00 00 00 a0 00 00:48:23.227 SET FEATURES [Reserved for Serial ATA]

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% 3 -

2 Short offline Completed without error 00% 2 -

3 Short offline Completed without error 00% 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.
[/code]

Les attributs SMART ne sont pas bons, il y a donc bien un problème matériel.

  • Reallocated_Sector_Ct : 235 secteurs défectueux déjà réalloués. Ce n’est pas foncièrement grave (pas de données perdues) mais c’est un signe que le disque n’est pas en parfait état.

  • Current_Pending_Sector : 82 secteur actuellement illisibles (et peut-être d’autres qui n’ont pas encore été détectés). Les données qu’ils contenaient sont perdues.

  • Airflow_Temperature_Cel : le seuil de température maximum a déjà été dépassé dans le passé, signe d’une surchauffe. C’est peut-être ce qui a causé les problèmes ci-dessus.

Si les secteurs défectueux ne se situent que dans les partitions Linux ou bien si Windows n’essaie pas d’y accéder, c’est normal.

Si le disque est sous garantie, retour au SAV après sauvegarde de ce qui peut l’être et qui vaut la peine.
EDIT: à la réflexion, si le disque a surchauffé la garantie ne jouera pas forcément.

[quote=“PascalHambourg”]Les attributs SMART ne sont pas bons, il y a donc bien un problème matériel.

  • Reallocated_Sector_Ct : 235 secteurs défectueux déjà réalloués. Ce n’est pas foncièrement grave (pas de données perdues) mais c’est un signe que le disque n’est pas en parfait état.

  • Current_Pending_Sector : 82 secteur actuellement illisibles (et peut-être d’autres qui n’ont pas encore été détectés). Les données qu’ils contenaient sont perdues.

  • Airflow_Temperature_Cel : le seuil de température maximum a déjà été dépassé dans le passé, signe d’une surchauffe. C’est peut-être ce qui a causé les problèmes ci-dessus.

Si les secteurs défectueux ne se situent que dans les partitions Linux ou bien si Windows n’essaie pas d’y accéder, c’est normal.

Si le disque est sous garantie, retour au SAV après sauvegarde de ce qui peut l’être et qui vaut la peine.[/quote]

Merci pour vois réponses.
Donc c’est un problème matériel.
Heureusement, il est toujours sous garantie.

Voir mon EDIT : si le disque a surchauffé la garantie ne jouera pas forcément.

Salut,

[quote]
Heureusement, il est toujours sous garantie.[/quote]

Ce qui veut dire que si tu leur retourne, il le mette à la poubelle et t’en renvoie un neuf.
N’oublies donc pas de sauver tout de suite ce qui peut encore l’être :slightly_smiling:

Ah d’accord je vois merci.

[quote=“ggoodluck47”]Salut,

[quote]
Heureusement, il est toujours sous garantie.[/quote]

Ce qui veut dire que si tu leur retourne, il le mette à la poubelle et t’en renvoie un neuf.
N’oublies donc pas de sauver tout de suite ce qui peut encore l’être :slightly_smiling:[/quote]

:slightly_smiling: En fait j’ai déjà eu des problèmes avec mes anciens disque durs. Depuis, je fais des sauvegardes régulièrement.

En complément, les fabricants de disques proposent généralement en téléchargement sur leur site web un utilitaire de diagnostic qui peut établir si le disque peut être renvoyé au SAV, avec un code de retour (RMA).

Dans tous les cas, il me semble opportun de s’interroger sur la cause de la surchauffe (ventilation insuffisante, poussière…), car cela pourrait se reproduire.