odchazejici disk? - delsi

JaFi newsy na filja.com
Pondělí Červen 13 18:52:16 CEST 2005


Vaclav Bilek napsal(a):
> doporucuji
> 
> 1.smartctl -t long /dev/hda
> 2.vymenit ksandu
> pravdepodobne jde o  vadny disk...
> 

tak jsem ten test pustil a po jeho ukonceni jsem pouzil tento prikaz: 
smartctl -a /dev/hda

smartctl version 5.21 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD800JB-00CRA1
Serial Number:    WD-WCA8E7531992
Firmware Version: 17.07W17
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   5
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Mon Jun 13 18:42:02 2005 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:  (0x85) Offline data collection activity was
                                         aborted 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:                 (3120) seconds.
Offline data collection
capabilities:                    (0x3b) 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.
                                         No 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.
                                         No General Purpose Logging support.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  58) minutes.
Conveyance self-test routine
recommended polling time:        (   5) 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   200   200   051    Pre-fail 
Always       -       0
   3 Spin_Up_Time            0x0007   103   094   021    Pre-fail 
Always       -       3941
   4 Start_Stop_Count        0x0032   100   100   040    Old_age 
Always       -       127
   5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail 
Always       -       0
   7 Seek_Error_Rate         0x000b   200   200   051    Pre-fail 
Always       -       0
   9 Power_On_Hours          0x0032   078   078   000    Old_age 
Always       -       16451
  10 Spin_Retry_Count        0x0013   100   100   051    Pre-fail 
Always       -       0
  11 Calibration_Retry_Count 0x0013   100   100   051    Pre-fail 
Always       -       0
  12 Power_Cycle_Count       0x0032   100   100   000    Old_age 
Always       -       108
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always 
       -       0
197 Current_Pending_Sector  0x0012   200   200   000    Old_age   Always 
       -       0
198 Offline_Uncorrectable   0x0012   200   200   000    Old_age   Always 
       -       0
199 UDMA_CRC_Error_Count    0x000a   200   253   000    Old_age   Always 
       -       0
200 Multi_Zone_Error_Rate   0x0009   200   200   051    Pre-fail 
Offline      -       0

SMART Error Log Version: 1
ATA Error Count: 17 (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]
Timestamp = decimal seconds since the previous disk power-on.
Note: timestamp "wraps" after 2^32 msec = 49.710 days.

Error 17 occurred at disk power-on lifetime: 13 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 80 2a cc 17 e0

   Commands leading to the command that caused the error were:
   CR FR SC SN CL CH DH DC   Timestamp  Command/Feature_Name
   -- -- -- -- -- -- -- --   ---------  --------------------
   c8 00 80 26 cc 17 e0 00     102.100  READ DMA
   c8 00 88 1e cc 17 e0 00      99.450  READ DMA
   c8 00 90 16 cc 17 e0 00      96.850  READ DMA
   c8 00 98 0e cc 17 e0 00      94.400  READ DMA
   c8 00 a0 06 cc 17 e0 00      91.900  READ DMA

Error 16 occurred at disk power-on lifetime: 13 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 88 2a cc 17 e0

   Commands leading to the command that caused the error were:
   CR FR SC SN CL CH DH DC   Timestamp  Command/Feature_Name
   -- -- -- -- -- -- -- --   ---------  --------------------
   c8 00 88 1e cc 17 e0 00      99.450  READ DMA
   c8 00 90 16 cc 17 e0 00      96.850  READ DMA
   c8 00 98 0e cc 17 e0 00      94.400  READ DMA
   c8 00 a0 06 cc 17 e0 00      91.900  READ DMA
   c8 00 a8 fe cb 17 e0 00      89.400  READ DMA

Error 15 occurred at disk power-on lifetime: 13 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 90 2a cc 17 e0

   Commands leading to the command that caused the error were:
   CR FR SC SN CL CH DH DC   Timestamp  Command/Feature_Name
   -- -- -- -- -- -- -- --   ---------  --------------------
   c8 00 90 16 cc 17 e0 00      96.850  READ DMA
   c8 00 98 0e cc 17 e0 00      94.400  READ DMA
   c8 00 a0 06 cc 17 e0 00      91.900  READ DMA
   c8 00 a8 fe cb 17 e0 00      89.400  READ DMA
   c8 00 b0 f6 cb 17 e0 00      86.800  READ DMA

Error 14 occurred at disk power-on lifetime: 13 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 98 2a cc 17 e0

   Commands leading to the command that caused the error were:
   CR FR SC SN CL CH DH DC   Timestamp  Command/Feature_Name
   -- -- -- -- -- -- -- --   ---------  --------------------
   c8 00 98 0e cc 17 e0 00      94.400  READ DMA
   c8 00 a0 06 cc 17 e0 00      91.900  READ DMA
   c8 00 a8 fe cb 17 e0 00      89.400  READ DMA
   c8 00 b0 f6 cb 17 e0 00      86.800  READ DMA
   c8 00 b8 ee cb 17 e0 00      84.300  READ DMA

Error 13 occurred at disk power-on lifetime: 13 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 a0 2a cc 17 e0

   Commands leading to the command that caused the error were:
   CR FR SC SN CL CH DH DC   Timestamp  Command/Feature_Name
   -- -- -- -- -- -- -- --   ---------  --------------------
   c8 00 a0 06 cc 17 e0 00      91.900  READ DMA
   c8 00 a8 fe cb 17 e0 00      89.400  READ DMA
   c8 00 b0 f6 cb 17 e0 00      86.800  READ DMA
   c8 00 b8 ee cb 17 e0 00      84.300  READ DMA
   c8 00 c0 e6 cb 17 e0 00      81.700  READ DMA

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

Zde na konci je videt, ze test skoncil bez chyb. Kazdopadne jsou mi 
divne ty hlasky Error 13 apod. Nevim, co znamenaji. Kdyz totiz dam 
smartctl -a /dev/hdc , tak tam tyto hlasky nejsou. Vypis je takovyto:

smartctl version 5.21 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD800JB-00CRA1
Serial Number:    WD-WCA8E7531306
Firmware Version: 17.07W17
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   5
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Mon Jun 13 18:47:13 2005 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:  (0x82) Offline data collection activity was
                                         completed without error.
                                         Auto Offline Data Collection: 
Enabled.
Self-test execution status:      ( 248) Self-test routine in progress...
                                         80% of test remaining.
Total time to complete Offline
data collection:                 (3120) seconds.
Offline data collection
capabilities:                    (0x3b) 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.
                                         No 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.
                                         No General Purpose Logging support.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  58) minutes.
Conveyance self-test routine
recommended polling time:        (   5) 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   200   200   051    Pre-fail 
Always       -       0
   3 Spin_Up_Time            0x0007   097   095   021    Pre-fail 
Always       -       4233
   4 Start_Stop_Count        0x0032   100   100   040    Old_age 
Always       -       249
   5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail 
Always       -       0
   7 Seek_Error_Rate         0x000b   200   200   051    Pre-fail 
Always       -       0
   9 Power_On_Hours          0x0032   081   081   000    Old_age 
Always       -       14512
  10 Spin_Retry_Count        0x0013   100   100   051    Pre-fail 
Always       -       0
  11 Calibration_Retry_Count 0x0013   100   100   051    Pre-fail 
Always       -       0
  12 Power_Cycle_Count       0x0032   100   100   000    Old_age 
Always       -       165
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always 
       -       0
197 Current_Pending_Sector  0x0012   200   200   000    Old_age   Always 
       -       0
198 Offline_Uncorrectable   0x0012   200   200   000    Old_age   Always 
       -       0
199 UDMA_CRC_Error_Count    0x000a   200   253   000    Old_age   Always 
       -       1
200 Multi_Zone_Error_Rate   0x0009   200   200   051    Pre-fail 
Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [Use the smartctl -t option to run these.]

Myslite, ze je tedy problem v kablu? To se mi moc nezda. Ten server uz 
bezi 2 roky a zatim s nim zadny problem neni. Bohuzel je na druhem konci 
republiky, tak nejsem schopen ZKUSIT vymenu kabelu ani disku. A nez se k 
nemu vydam, rad bych zjistil, v cem je problem ... abych jel na jistotu.

Ale je pravda, ze od toho problemu se server chova nejak divne. Obcas 
nejsou dostupne nejake sluzby apod. Vzdy jenom na chvili.

Jeste se zeptam ... muzu na ten disk pouzit prikaz badblocks , kdyz je v 
poli? Neposkodim si tim to pole?

Diky

Jarda F.


Další informace o konferenci Linux