Désolé, je comprends toujours pas : il me dit que dans un fichier il doit y avoir quelque-chose (moi je l’ai pas ce fichier, je dois le créer et le remplir?), et ensuite il me poste le même fichier que moi j’ai trouvé avec la doc de debian. Le fichier, il faut le modifier à la main malgré le “Not recommanded”?
Y’a pas une doc complète de SMART avec des schémas pour expliquer les liaisons? Même en anglais… les dessins, ça devrait aller
.
D’après la doc debian mon smart a déjà l’air de marcher puisque j’ai fait comme elle dit
Mais j’ai fais aussi smartctl -s on -a /dev/sda
J’aurais pas dû?
et ensuite j’ai enlevé le # devant start_smartd=yes dans /etc/default/smartmontools
et relancé avec sudo /etc/init.d/smartmontools restart
Depuis ce moment là la commande test donne ça et je reviens au point de départ
[code]smartctl -a /dev/hda
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: MAXTOR STM3160215A
Serial Number: 9RX66FPE
Firmware Version: 3.AAD
User Capacity: 160 041 885 696 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Tue Jul 6 18:02:42 2010 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
See vendor-specific Attribute list for marginal Attributes.
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: ( 20) The self-test routine was aborted by
the host.
Total time to complete Offline
data collection: ( 430) 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: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 54) minutes.
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 118 099 006 Pre-fail Always - 179782040
3 Spin_Up_Time 0x0003 097 097 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 361
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 082 060 030 Pre-fail Always - 170205451
9 Power_On_Hours 0x0032 097 097 000 Old_age Always - 3388
10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 352
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 052 044 045 Old_age Always In_the_past 48 (Lifetime Min/Max 43/49)
194 Temperature_Celsius 0x0022 048 056 000 Old_age Always - 48 (0 15 0 0)
195 Hardware_ECC_Recovered 0x001a 069 061 000 Old_age Always - 131049417
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 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 TA_Increase_Count 0x0032 100 253 000 Old_age Always - 0
SMART Error Log Version: 1
ATA Error Count: 11 (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 11 occurred at disk power-on lifetime: 644 hours (26 days + 20 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
84 51 00 00 00 00 e0 Error: ICRC, ABRT at LBA = 0x00000000 = 0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
25 03 80 27 f8 98 e0 00 00:23:29.411 READ DMA EXT
25 03 80 a7 f7 98 e0 00 00:23:29.409 READ DMA EXT
25 03 80 27 f7 98 e0 00 00:23:29.404 READ DMA EXT
25 03 80 a7 f6 98 e0 00 00:23:29.402 READ DMA EXT
25 03 80 27 f6 98 e0 00 00:23:29.400 READ DMA EXT
Error 10 occurred at disk power-on lifetime: 644 hours (26 days + 20 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
84 51 00 00 00 00 e0 Error: ICRC, ABRT at LBA = 0x00000000 = 0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
25 03 80 af ef 37 e0 00 00:23:21.206 READ DMA EXT
25 03 80 2f ef 37 e0 00 00:23:21.204 READ DMA EXT
25 03 80 af ee 37 e0 00 00:23:21.202 READ DMA EXT
25 03 80 2f ee 37 e0 00 00:23:21.200 READ DMA EXT
25 03 80 af ed 37 e0 00 00:23:21.198 READ DMA EXT
Error 9 occurred at disk power-on lifetime: 644 hours (26 days + 20 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
84 51 00 00 00 00 e0 Error: ICRC, ABRT at LBA = 0x00000000 = 0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
25 03 80 87 5a 2f e0 00 00:22:33.947 READ DMA EXT
25 03 80 07 5a 2f e0 00 00:22:33.945 READ DMA EXT
25 03 80 87 59 2f e0 00 00:22:33.943 READ DMA EXT
25 03 80 07 59 2f e0 00 00:22:33.941 READ DMA EXT
25 03 80 87 58 2f e0 00 00:22:33.979 READ DMA EXT
Error 8 occurred at disk power-on lifetime: 644 hours (26 days + 20 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
84 51 00 00 00 00 e0 Error: ICRC, ABRT at LBA = 0x00000000 = 0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
25 03 80 87 b9 2d e0 00 00:22:30.405 READ DMA EXT
25 03 80 07 b9 2d e0 00 00:22:30.403 READ DMA EXT
25 03 80 87 b8 2d e0 00 00:22:30.401 READ DMA EXT
25 03 80 07 b8 2d e0 00 00:22:30.396 READ DMA EXT
25 03 80 87 b7 2d e0 00 00:22:30.394 READ DMA EXT
Error 7 occurred at disk power-on lifetime: 643 hours (26 days + 19 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
84 51 00 00 00 00 e0 Error: ICRC, ABRT at LBA = 0x00000000 = 0
Commands leading to the command that caused the error were:
CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
25 03 78 cd e1 66 e0 00 00:08:53.158 READ DMA EXT
25 03 10 c5 e5 66 e0 00 00:08:53.146 READ DMA EXT
25 03 80 45 e5 66 e0 00 00:08:53.135 READ DMA EXT
25 03 78 cd e1 66 e0 00 00:08:53.121 READ DMA EXT
25 03 10 45 21 68 e0 00 00:08:53.103 READ DMA EXT
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
1 Extended offline Aborted by host 40% 3197 -
2 Short offline Completed without error 00% 3196 -
3 Short offline Completed without error 00% 643 -
4 Extended offline Aborted by host 40% 3197 -
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.
Linux:/home/fv# 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 ===
Model Family: SAMSUNG SpinPoint T166 series
Device Model: SAMSUNG HD321KJ
Serial Number: S0MQJ1KP110412
Firmware Version: CP100-10
User Capacity: 320 072 933 376 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: Tue Jul 6 18:02:46 2010 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: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (5656) 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: ( 96) 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 100 100 051 Pre-fail Always - 0
3 Spin_Up_Time 0x0007 100 100 015 Pre-fail Always - 5504
4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 338
5 Reallocated_Sector_Ct 0x0033 253 253 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 253 253 051 Pre-fail Always - 0
8 Seek_Time_Performance 0x0025 253 253 015 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 2534
10 Spin_Retry_Count 0x0033 253 253 051 Pre-fail Always - 0
11 Calibration_Retry_Count 0x0012 253 253 000 Old_age Always - 0
12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 250
187 Reported_Uncorrect 0x0032 253 253 000 Old_age Always - 0
188 Unknown_Attribute 0x0032 253 253 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 058 055 000 Old_age Always - 42
194 Temperature_Celsius 0x0022 112 103 000 Old_age Always - 42
195 Hardware_ECC_Recovered 0x001a 100 100 000 Old_age Always - 2058341
196 Reallocated_Event_Count 0x0032 253 253 000 Old_age Always - 0
197 Current_Pending_Sector 0x0012 253 253 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 253 253 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 2
200 Multi_Zone_Error_Rate 0x000a 100 100 000 Old_age Always - 0
201 Soft_Read_Error_Rate 0x000a 253 100 000 Old_age Always - 0
202 TA_Increase_Count 0x0032 253 253 000 Old_age Always - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
1 Extended offline Completed without error 00% 2344 -
2 Short offline Completed without error 00% 2342 -
SMART Selective Self-Test Log Data Structure Revision Number (0) should be 1
SMART Selective self-test log data structure revision number 0
Warning: ATA Specification requires 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]
Comment savoir si ça marche et avoir un email en cas de problème?
Où avoir de l’aide sur les smartd_opts comme ="–interval=1800"?
Merci de votre patience