Bonjour à tous,
J’ai un serveur sous Debian Lenny installé sur un RAID0 logiciel.
Suite à un freeze de celui-ci j’ai trouvé ce type de messages dans mes logs :
Jun 1 09:23:46 ymir kernel: [665101.317420] res 51/40:00:37:61:af/40:00:3c:00:00/e0 Emask 0x9 (media error)
Jun 1 09:23:46 ymir kernel: [665102.292349] ata1.00: configured for UDMA/133
Jun 1 09:23:46 ymir kernel: [665102.292392] ata1: EH complete
Jun 1 09:23:47 ymir kernel: [665103.249763] res 51/40:00:37:61:af/40:00:3c:00:00/e0 Emask 0x9 (media error)
Jun 1 09:23:49 ymir kernel: [665104.312351] ata1.00: configured for UDMA/133
Jun 1 09:23:49 ymir kernel: [665104.312403] ata1: EH complete
Jun 1 09:23:49 ymir kernel: [665105.273297] res 51/40:00:37:61:af/40:00:3c:00:00/e0 Emask 0x9 (media error)
Jun 1 09:23:50 ymir kernel: [665106.288348] ata1.00: configured for UDMA/133
Jun 1 09:23:50 ymir kernel: [665106.288398] ata1: EH complete
Jun 1 09:23:51 ymir kernel: [665107.247159] res 51/40:00:37:61:af/40:00:3c:00:00/e0 Emask 0x9 (media error)
Jun 1 09:23:52 ymir kernel: [665108.236344] ata1.00: configured for UDMA/133
Jun 1 09:23:52 ymir kernel: [665108.236395] ata1: EH complete
Jun 1 09:23:53 ymir kernel: [665109.254226] res 51/40:00:37:61:af/40:00:3c:00:00/e0 Emask 0x9 (media error)
Jun 1 09:23:54 ymir kernel: [665110.252346] ata1.00: configured for UDMA/133
Jun 1 09:23:54 ymir kernel: [665110.252397] ata1: EH complete
Jun 1 09:23:55 ymir kernel: [665111.277839] res 51/40:00:37:61:af/40:00:3c:00:00/e0 Emask 0x9 (media error)
Jun 1 09:23:56 ymir kernel: [665112.268505] ata1.00: configured for UDMA/133
Jun 1 09:23:56 ymir kernel: [665112.268556] sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
Jun 1 09:23:56 ymir kernel: [665112.268605] sd 0:0:0:0: [sda] Sense Key : Medium Error [current] [descriptor]
Jun 1 09:23:56 ymir kernel: [665112.268655] Descriptor sense data with sense descriptors (in hex):
Jun 1 09:23:56 ymir kernel: [665112.268685] 72 03 11 04 00 00 00 0c 00 0a 80 00 00 00 00 00
Jun 1 09:23:56 ymir kernel: [665112.268737] 3c af 61 37
Jun 1 09:23:56 ymir kernel: [665112.268766] sd 0:0:0:0: [sda] Add. Sense: Unrecovered read error - auto reallocate failed
Jun 1 09:23:56 ymir kernel: [665112.268869] ata1: EH complete
Jun 1 09:23:56 ymir kernel: [665112.268952] sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
Jun 1 09:23:56 ymir kernel: [665112.269016] sd 0:0:0:0: [sda] Write Protect is off
Jun 1 09:23:56 ymir kernel: [665112.269077] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jun 1 09:23:56 ymir kernel: [665112.269156] sd 0:0:0:0: [sda] 1953525168 512-byte hardware sectors (1000205 MB)
Jun 1 09:23:56 ymir kernel: [665112.269217] sd 0:0:0:0: [sda] Write Protect is off
Jun 1 09:23:56 ymir kernel: [665112.269277] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Il semblerait que cela soit dû à un des disques du RAID. J’ai depuis remarqué que lors de gros transferts la charge montait jusqu’au plantage (>8 ; et oui c’est pas une grosse machine ).
Avec smartctl j’obtient ceci sur mon /dev/sda :
[code]# smartctl -l selftest /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright © 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF READ SMART DATA SECTION ===
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
1 Short offline Completed: read failure 20% 2769 151485589[/code]
Il semble donc que ce disque soit en phase terminale, qu’en pensez-vous ?
Voici les infos SMART du disque :
[code]# smartctl -a /dev/sda
smartctl version 5.38 [i686-pc-linux-gnu] Copyright © 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
=== START OF INFORMATION SECTION ===
Device Model: SAMSUNG HD103UJ
Serial Number: S13PJDWQC42659
Firmware Version: 1AA01113
User Capacity: 1 000 204 886 016 bytes
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: ATA-8-ACS revision 3b
Local Time is: Mon Jun 1 20:41:12 2009 CEST
==> WARNING: May need -F samsung or -F samsung2 enabled; see manual for details.
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: ( 114) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: (11756) 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: ( 197) minutes.
Conveyance self-test routine
recommended polling time: ( 21) minutes.
SCT capabilities: (0x003f) 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 099 099 051 Pre-fail Always - 20369
3 Spin_Up_Time 0x0007 080 080 011 Pre-fail Always - 6980
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 13
5 Reallocated_Sector_Ct 0x0033 100 100 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 253 253 051 Pre-fail Always - 0
8 Seek_Time_Performance 0x0025 100 100 015 Pre-fail Offline - 10172
9 Power_On_Hours 0x0032 099 099 000 Old_age Always - 2770
10 Spin_Retry_Count 0x0033 100 100 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0012 099 099 000 Old_age Always - 921
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 13
13 Read_Soft_Error_Rate 0x000e 099 099 000 Old_age Always - 17897
183 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
184 Unknown_Attribute 0x0033 100 100 000 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 17897
188 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 063 061 000 Old_age Always - 37 (Lifetime Min/Max 34/39)
194 Temperature_Celsius 0x0022 062 061 000 Old_age Always - 38 (Lifetime Min/Max 34/40)
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 18982081
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 098 098 000 Old_age Always - 95
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 1
199 UDMA_CRC_Error_Count 0x003e 100 100 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x000a 100 100 000 Old_age Always - 12
201 Soft_Read_Error_Rate 0x000a 206 001 000 Old_age Always - 19392
SMART Error Log Version: 1
ATA Error Count: 630 (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 630 occurred at disk power-on lifetime: 0 hours (0 days + 0 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
96 51 00 ac 96 07 e9 Error: ICRC, IDNF, ABRT, NM at LBA = 0x090796ac = 151492268
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
c8 00 08 a7 96 07 e9 08 32d+19:54:50.720 READ DMA
ec 00 00 00 00 00 a0 0a 32d+19:54:50.720 IDENTIFY DEVICE
ef 03 42 00 00 00 a0 0a 32d+19:54:50.720 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 0a 32d+19:54:49.320 IDENTIFY DEVICE
Error 629 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 00 ac 96 07 e9 Error: UNC at LBA = 0x090796ac = 151492268
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
c8 00 08 a7 96 07 e9 08 32d+19:54:47.790 READ DMA
ec 00 00 00 00 00 a0 0a 32d+19:54:47.770 IDENTIFY DEVICE
ef 03 42 00 00 00 a0 0a 32d+19:54:47.770 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 0a 32d+19:54:46.250 IDENTIFY DEVICE
Error 628 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 00 ac 96 07 e9 Error: UNC at LBA = 0x090796ac = 151492268
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
c8 00 08 a7 96 07 e9 08 32d+19:54:44.750 READ DMA
ec 00 00 00 00 00 a0 0a 32d+19:54:44.740 IDENTIFY DEVICE
ef 03 42 00 00 00 a0 0a 32d+19:54:44.740 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 0a 32d+19:54:43.220 IDENTIFY DEVICE
Error 627 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 00 ac 96 07 e9 Error: UNC at LBA = 0x090796ac = 151492268
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
c8 00 08 a7 96 07 e9 08 32d+19:54:41.700 READ DMA
ec 00 00 00 00 00 a0 0a 32d+19:54:41.680 IDENTIFY DEVICE
ef 03 42 00 00 00 a0 0a 32d+19:54:41.680 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 0a 32d+19:54:40.170 IDENTIFY DEVICE
Error 626 occurred at disk power-on lifetime: 0 hours (0 days + 0 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 00 ac 96 07 e9 Error: UNC at LBA = 0x090796ac = 151492268
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
c8 00 08 a7 96 07 e9 08 32d+19:54:38.500 READ DMA
ec 00 00 00 00 00 a0 0a 32d+19:54:38.490 IDENTIFY DEVICE
ef 03 42 00 00 00 a0 0a 32d+19:54:38.490 SET FEATURES [Set transfer mode]
ec 00 00 00 00 00 a0 0a 32d+19:54:36.850 IDENTIFY DEVICE
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
1 Short offline Completed: read failure 20% 2769 151485589
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]
Est-ce que cela nécessite un RMA/retour SAV ?
Est-ce qu’en formatant le tout et en réinstallant le système sur les même disque les erreurs peuvent disparaitre où est-ce un problème purement matériel ?
Merci pour vos réponses !