/ Forside / Teknologi / Operativsystemer / Linux / Nyhedsindlæg
Login
Glemt dit kodeord?
Brugernavn

Kodeord


Reklame
Top 10 brugere
Linux
#NavnPoint
o.v.n. 11177
peque 7911
dk 4814
e.c 2359
Uranus 1334
emesen 1334
stone47 1307
linuxrules 1214
Octon 1100
10  BjarneD 875
smartctl
Fra : Ivar Madsen


Dato : 04-11-07 10:20

En anden tråd fik mig til at kikke på smartctl, og specielt min HDC skriver
den noget med fejl, men jeg forstår ikke regtigt hvad det er den fortæller,
er det noget jeg bør gøre noget ved?
Eller kan jeg bare læne mig tilbage, og slappe, den har det fint?



,----[ ]
| [root@localhost ~]# smartctl -a /dev/hdc
| smartctl version 5.37 [x86_64-mandriva-linux-gnu] Copyright (C) 2002-6
Bruce Allen
| Home page is http://smartmontools.sourceforge.net/
|
| === START OF INFORMATION SECTION ===
| Model Family: Maxtor DiamondMax 10 family (ATA/133 and SATA/150)
| Device Model: Maxtor 6L200P0
| Serial Number: L40DY1ZH
| Firmware Version: BAH41E00
| User Capacity: 203.928.109.056 bytes
| Device is: In smartctl database [for details use: -P show]
| ATA Version is: 7
| ATA Standard is: ATA/ATAPI-7 T13 1532D revision 0
| Local Time is: Sun Nov 4 09:57:04 2007 CET
| SMART support is: Available - device has SMART capability.
| SMART support is: Enabled
|
| Warning! SMART Attribute Thresholds Structure error: invalid SMART
checksum.
| === START OF READ SMART DATA SECTION ===
| SMART overall-health self-assessment test result: PASSED
|
| General SMART Values:
| Offline data collection status: (0x80) Offline data collection activity
| was never started.
| 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: (1622) 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: ( 82) minutes.
|
| 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
| 3 Spin_Up_Time 0x0027 205 204 063 Pre-fail
Always - 17336
| 4 Start_Stop_Count 0x0032 253 253 000 Old_age
Always - 187
| 5 Reallocated_Sector_Ct 0x0033 253 253 063 Pre-fail
Always - 0
| 6 Read_Channel_Margin 0x0001 253 253 100 Pre-fail
Offline - 0
| 7 Seek_Error_Rate 0x000a 253 252 000 Old_age
Always - 0
| 8 Seek_Time_Performance 0x0027 249 235 187 Pre-fail
Always - 51098
| 9 Power_On_Minutes 0x0032 206 206 000 Old_age
Always - 994h+16m
| 10 Spin_Retry_Count 0x002b 253 252 157 Pre-fail
Always - 0
| 11 Calibration_Retry_Count 0x002b 253 252 223 Pre-fail
Always - 0
| 12 Power_Cycle_Count 0x0032 253 253 000 Old_age
Always - 333
| 192 Power-Off_Retract_Count 0x0032 253 253 000 Old_age
Always - 0
| 193 Load_Cycle_Count 0x0032 253 253 000 Old_age
Always - 0
| 194 Temperature_Celsius 0x0032 047 253 000 Old_age
Always - 48
| 195 Hardware_ECC_Recovered 0x000a 252 251 000 Old_age
Always - 36216
| 196 Reallocated_Event_Count 0x0008 253 253 000 Old_age
Offline - 0
| 197 Current_Pending_Sector 0x0008 253 253 000 Old_age
Offline - 0
| 198 Offline_Uncorrectable 0x0008 253 253 000 Old_age
Offline - 0
| 199 UDMA_CRC_Error_Count 0x0008 199 199 000 Old_age
Offline - 0
| 200 Multi_Zone_Error_Rate 0x000a 253 252 000 Old_age
Always - 0
| 201 Soft_Read_Error_Rate 0x000a 253 252 000 Old_age
Always - 1
| 202 TA_Increase_Count 0x000a 253 252 000 Old_age
Always - 0
| 203 Run_Out_Cancel 0x000b 253 252 180 Pre-fail
Always - 1
| 204 Shock_Count_Write_Opern 0x000a 253 252 000 Old_age
Always - 0
| 205 Shock_Rate_Write_Opern 0x000a 253 252 000 Old_age
Always - 0
| 207 Spin_High_Current 0x002a 253 252 000 Old_age
Always - 0
| 208 Spin_Buzz 0x002a 253 252 000 Old_age
Always - 0
| 209 Offline_Seek_Performnce 0x0024 240 240 000 Old_age
Offline - 158
| 210 Unknown_Attribute 0x0032 253 252 000 Old_age
Always - 0
| 211 Unknown_Attribute 0x0032 253 252 000 Old_age
Always - 0
| 212 Unknown_Attribute 0x0032 253 252 000 Old_age
Always - 0
|
| Warning! SMART ATA Error Log Structure error: invalid SMART checksum.
| SMART Error Log Version: 1
| ATA Error Count: 1
| 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 1 occurred at disk power-on lifetime: 1117 hours (46 days + 13
hours)
| When the command that caused the error occurred, the device was in an
unknown state.
|
| After command completion occurred, registers were:
| ER ST SC SN CL CH DH
| -- -- -- -- -- -- --
| 04 00 01 ff 87 bd 00
|
| Commands leading to the command that caused the error were:
| CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
| -- -- -- -- -- -- -- -- ---------------- --------------------
| 00 00 00 ff 87 bd e7 00 00:00:45.988 NOP [Abort queued commands]
| 37 00 00 ff 87 bd e7 00 00:00:45.982 SET MAX ADDRESS EXT
| 27 00 00 00 00 00 e0 00 00:00:45.980 READ NATIVE MAX ADDRESS EXT
| 25 00 01 00 00 00 e0 00 00:00:43.977 READ DMA EXT
| b0 d9 00 00 4f c2 e0 00 00:00:43.935 SMART DISABLE OPERATIONS
|
| Error 0 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours)
| When the command that caused the error occurred, the device was in an
unknown state.
|
| After command completion occurred, registers were:
| ER ST SC SN CL CH DH
| -- -- -- -- -- -- --
| 00 00 00 00 00 00 00
|
| Commands leading to the command that caused the error were:
| CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name
| -- -- -- -- -- -- -- -- ---------------- --------------------
| 00 3b 00 00 00 00 00 00 00:00:00.000 NOP [Reserved subcommand]
|
| 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%
6613 -
| # 2 Extended offline Completed without error 00%
6446 -
| # 3 Extended offline Completed without error 00%
6279 -
| # 4 Extended offline Completed without error 00%
6112 -
| # 5 Extended offline Completed without error 00%
6040 -
| # 6 Short offline Completed without error 00%
6039 -
| # 7 Extended offline Completed without error 00%
5647 -
| # 8 Offline Aborted by host 70%
0 -
|
| 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.
|
| [root@localhost ~]#
`----









,----[ ]
| # smartctl -a /dev/hdd
| smartctl version 5.37 [x86_64-mandriva-linux-gnu] Copyright (C) 2002-6
Bruce Allen
| Home page is http://smartmontools.sourceforge.net/
|
| === START OF INFORMATION SECTION ===
| Model Family: Maxtor Fireball 541DX family
| Device Model: Maxtor 2B020H1
| Serial Number: B1H0YLPE
| Firmware Version: WAH21PB0
| User Capacity: 20.000.000.000 bytes
| Device is: In smartctl database [for details use: -P show]
| ATA Version is: 6
| ATA Standard is: ATA/ATAPI-6 T13 1410D revision 0
| Local Time is: Sun Nov 4 10:03:33 2007 CET
| SMART support is: Available - device has SMART capability.
| SMART support is: Enabled
|
| SMART Disabled. Use option -s with argument 'on' to enable it.
| [root@localhost ~]# smartctl
| smartctl version 5.37 [x86_64-mandriva-linux-gnu] Copyright (C) 2002-6
Bruce Allen
| Home page is http://smartmontools.sourceforge.net/
|
| ERROR: smartctl requires a device name as the final command-line argument.
|
|
| Use smartctl -h to get a usage summary
`----









,----[ ]
| [root@localhost ~]# smartctl -a /dev/sda
| smartctl version 5.37 [x86_64-mandriva-linux-gnu] Copyright (C) 2002-6
Bruce Allen
| Home page is http://smartmontools.sourceforge.net/
|
| === START OF INFORMATION SECTION ===
| Model Family: Hitachi Deskstar T7K250 series
| Device Model: HDT722516DLA380
| Serial Number: VDB71ATCC9B7KA
| Firmware Version: V43OA80A
| User Capacity: 164.695.473.664 bytes
| Device is: In smartctl database [for details use: -P show]
| ATA Version is: 7
| ATA Standard is: ATA/ATAPI-7 T13 1532D revision 1
| Local Time is: Sun Nov 4 10:07:59 2007 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: (0x80) Offline data collection activity
| was never started.
| 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: (3385) 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: ( 57) minutes.
|
| 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 016 Pre-fail
Always - 0
| 2 Throughput_Performance 0x0005 100 100 050 Pre-fail
Offline - 0
| 3 Spin_Up_Time 0x0007 113 113 024 Pre-fail
Always - 312 (Average 30
| 5)
| 4 Start_Stop_Count 0x0012 100 100 000 Old_age
Always - 148
| 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 100 100 020 Pre-fail
Offline - 0
| 9 Power_On_Hours 0x0012 098 098 000 Old_age
Always - 17337
| 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail
Always - 0
| 12 Power_Cycle_Count 0x0032 100 100 000 Old_age
Always - 146
| 192 Power-Off_Retract_Count 0x0032 100 100 050 Old_age
Always - 868
| 193 Load_Cycle_Count 0x0012 100 100 050 Old_age
Always - 868
| 194 Temperature_Celsius 0x0002 117 117 000 Old_age
Always - 47 (Lifetime Mi n/Max 20/57)
| 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 253 000 Old_age
Always - 0
|
| SMART Error Log Version: 1
| No Errors Logged
|
| SMART Self-test log structure revision number 1
| No self-tests have been logged. [To run self-tests, use: smartctl -t]
|
|
| Warning! SMART Selective Self-Test Log Structure error: invalid SMART
checksum.
| 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.
|
| [root@localhost ~]#
`----











--
Med venlig hilsen

Ivar Madsen


 
 
Karl Erik (04-11-2007)
Kommentar
Fra : Karl Erik


Dato : 04-11-07 10:46

Den Sun, 04 Nov 2007 10:19:58 +0100 skrev Ivar Madsen:

> En anden tråd fik mig til at kikke på smartctl, og specielt min HDC
> skriver den noget med fejl, men jeg forstår ikke regtigt hvad det er den
> fortæller, er det noget jeg bør gøre noget ved? Eller kan jeg bare læne
> mig tilbage, og slappe, den har det fint?
>

LØB FOR SATAN - LØB - DEN SPRINGER I LUFTEN OM LIDT!!

| Warning! SMART Attribute Thresholds Structure error: invalid SMART
checksum.
| === START OF READ SMART DATA SECTION === | SMART overall-health
self-assessment test result: PASSED |

TEST RESULT: PASSED - er det ikke det der er vigtigt? Checksum kan den jo
ikke beregne når det er første gang du kører smartctl.

mvh.
Karl Erik.

Michael Rasmussen (04-11-2007)
Kommentar
Fra : Michael Rasmussen


Dato : 04-11-07 12:38

On Sun, 04 Nov 2007 10:19:58 +0100, Ivar Madsen <spam.news@milli.dk>
wrote:

>En anden tråd fik mig til at kikke på smartctl, og specielt min HDC skriver
>den noget med fejl, men jeg forstår ikke regtigt hvad det er den fortæller,
>er det noget jeg bør gøre noget ved?

>Eller kan jeg bare læne mig tilbage, og slappe, den har det fint?

Det vigtige i denne sammenhæng er at dine 'Extended Offline SelfTest'
er afviklet uden fejl - Og at disken klarer ' overall-health
self-assessment test'.

Jeg får samme warning om 'invalid SMART checksum' på mine Maxtor
diske. Det skyldes formentlig at de forskellige disk producenter
improviserer lidt med SMART og ikke altid følger standarden helt
slavisk - Og det beklager SmartMonTools sig sæ'følig over...

<mlr>


Søg
Reklame
Statistik
Spørgsmål : 177493
Tips : 31966
Nyheder : 719565
Indlæg : 6408479
Brugere : 218886

Månedens bedste
Årets bedste
Sidste års bedste