Smartctl Freebsd

Решение проблем связванных с работой железа. Проблемы программно-аппаратной совместимости.
Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
vadimka
проходил мимо
Сообщения: 3
Зарегистрирован: 2009-01-09 21:08:19

Smartctl Freebsd

Непрочитанное сообщение vadimka » 2010-05-09 20:38:39

После очередного вырубания света в логи посыпалось:

Код: Выделить всё

May  9 02:12:13 rrr smartd[59079]: Device: /dev/ad16, Self-Test Log error count increased from 5 to 6
May  9 02:12:13 rrr smartd[59079]: Device: /dev/ad16, 2 Currently unreadable (pending) sectors
May  9 02:12:13 rrr smartd[59079]: Device: /dev/ad16, 1 Offline uncorrectable sectors
May  9 02:12:13 rrr smartd[59079]: Device: /dev/ad16, previous self-test completed with error (read test element)
May  9 02:12:13 rrr smartd[59079]: Device: /dev/ad16, Self-Test Log error count increased from 5 to 6
May  9 02:20:34 rrr smartd[59079]: Device: /dev/ad16, 2 Currently unreadable (pending) sectors
May  9 02:20:34 rrr smartd[59079]: Device: /dev/ad16, 1 Offline uncorrectable sectors

Код: Выделить всё

uname -a
FreeBSD rrr 7.3-STABLE FreeBSD 7.3-STABLE #7: Fri Apr 23 22:09:48 EEST 2010

atacontrol list
ATA channel 7:
    Master: ad14 <WDC WD1002FBYS-01A6B0/03.00C05> SATA revision 2.x
    Slave:       no device present
ATA channel 8:
    Master: ad16 <WDC WD1002FBYS-01A6B0/03.00C05> SATA revision 2.x
    Slave:       no device present

 gmirror list data0
Geom name: data0
State: COMPLETE
Components: 1
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 1
SyncID: 1
ID: 1102301989
Providers:
1. Name: mirror/data0
   Mediasize: 1000204885504 (932G)
   Sectorsize: 512
   Mode: r1w1e2
Consumers:
1. Name: ad14
   Mediasize: 1000204886016 (932G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: DIRTY
   GenID: 1
   SyncID: 1
   ID: 954069909
сейчас ad16 отключен из рейда


smartctl -a /dev/ad16 выдает:

Код: Выделить всё

smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 7.3-STABLE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital RE3 Serial ATA family
Device Model:     WDC WD1002FBYS-01A6B0
Serial Number:    WD-WMATV0221468
Firmware Version: 03.00C05
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:  Exact ATA specification draft version not indicated
Local Time is:    Sun May  9 20:34:48 2010 EEST
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:  (0x84) Offline data collection activity
                                        was suspended by an interrupting command from host.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      ( 121) The previous self-test completed having
                                        the read element of the test failed.
Total time to complete Offline
data collection:                 (18600) 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:        ( 214) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x303f) 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     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   253   253   021    Pre-fail  Always       -       1100
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       79
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   098   000    Old_age   Always       -       98
 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       79
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       78
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       79
194 Temperature_Celsius     0x0022   116   086   000    Old_age   Always       -       34
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       2
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       1
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       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  Short offline       Completed: read failure       90%        79         1065486884
# 2  Extended offline    Completed: read failure       90%        56         1065486884
# 3  Short offline       Completed: read failure       90%        55         1065486884
# 4  Extended offline    Completed: read failure       90%        46         1065486884
# 5  Short offline       Completed: read failure       90%        31         1065486884
# 6  Short offline       Completed: read failure       90%         7         1065486884
# 7  Short offline       Completed without error       00%      1643         -
# 8  Short offline       Completed without error       00%      1619         -
# 9  Short offline       Completed without error       00%      1595         -
#10  Short offline       Completed without error       00%      1572         -
#11  Extended offline    Completed without error       00%      1552         -
#12  Short offline       Completed without error       00%      1547         -
#13  Short offline       Completed without error       00%      1523         -
#14  Short offline       Completed without error       00%      1500         -
#15  Short offline       Completed without error       00%      1476         -
#16  Short offline       Completed without error       00%      1452         -
#17  Short offline       Completed without error       00%      1428         -
#18  Short offline       Completed without error       00%      1404         -
#19  Extended offline    Completed without error       00%      1384         -
#20  Short offline       Completed without error       00%      1380         -
#21  Short offline       Completed without error       00%      1356         -

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.
вопрос: что делать с диском, отдавать на гарантийку или можно что-то самому сделать?

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35464
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: Smartctl Freebsd

Непрочитанное сообщение Alex Keda » 2010-05-09 23:19:45

если гарантийный - несите.
если нет - mhdd - включить смарт, стирать весь до полного просветления
Убей их всех! Бог потом рассортирует...

vadimka
проходил мимо
Сообщения: 3
Зарегистрирован: 2009-01-09 21:08:19

Re: Smartctl Freebsd

Непрочитанное сообщение vadimka » 2010-05-09 23:41:31

решил проверить еще один рейд, в одном из дисков ошибки :(

Код: Выделить всё

smartctl -a /dev/ad6
smartctl 5.39.1 2010-01-28 r3054 [FreeBSD 7.3-STABLE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital RE3 Serial ATA family
Device Model:     WDC WD1002FBYS-01A6B0
Serial Number:    WD-WMATV0270554
Firmware Version: 03.00C05
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:  Exact ATA specification draft version not indicated
Local Time is:    Sun May  9 23:35:04 2010 EEST
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:  (0x84) Offline data collection activity
                                        was suspended 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:                 (18000) 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:        ( 208) minutes.
Conveyance self-test routine
recommended polling time:        (   5) minutes.
SCT capabilities:              (0x303f) 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     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   253   253   021    Pre-fail  Always       -       1150
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       67
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   100   098   000    Old_age   Always       -       101
 10 Spin_Retry_Count        0x0032   100   253   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       67
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       66
193 Load_Cycle_Count        0x0032   200   200   000    Old_age   Always       -       67
194 Temperature_Celsius     0x0022   115   088   000    Old_age   Always       -       35
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline      -       0

SMART Error Log Version: 1
Warning: ATA error count 5 inconsistent with error log pointer 1

ATA Error Count: 5
        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 5 occurred at disk power-on lifetime: 1 hours (0 days + 1 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 81 6a 99 43  Error: UNC at LBA = 0x03996a81 = 60385921

  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 01 81 6a 99 03 00      01:08:54.342  READ DMA
  c8 00 01 80 6a 99 03 00      01:08:54.342  READ DMA
  c8 00 01 7f 6a 99 03 00      01:08:54.342  READ DMA

Error 4 occurred at disk power-on lifetime: 1 hours (0 days + 1 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 81 6a 99 43  Error: UNC at LBA = 0x03996a81 = 60385921

  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 20 7f 6a 99 03 00      01:08:52.024  READ DMA
  c8 00 20 bf ac 93 03 00      01:08:51.997  READ DMA

Error 3 occurred at disk power-on lifetime: 1 hours (0 days + 1 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 81 6a 99 43  Error: UNC at LBA = 0x03996a81 = 60385921

  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 01 81 6a 99 03 00      01:08:31.958  READ DMA
  c8 00 01 80 6a 99 03 00      01:08:31.956  READ DMA
  c8 00 01 7f 6a 99 03 00      01:08:31.955  READ DMA

Error 2 occurred at disk power-on lifetime: 1 hours (0 days + 1 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 81 6a 99 43  Error: UNC at LBA = 0x03996a81 = 60385921

  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 20 7f 6a 99 03 00      01:08:29.638  READ DMA
  c8 00 80 df b6 93 03 00      01:08:29.611  READ DMA

Error 1 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 81 6a 99 43  Error: UNC at LBA = 0x03996a81 = 60385921

  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 20 7f 6a 99 03 00      00:34:07.990  READ DMA
  c8 00 20 bf ac 93 03 00      00:34:07.972  READ DMA

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%        79         -
# 2  Extended offline    Completed without error       00%        60         -
# 3  Short offline       Completed without error       00%        55         -
# 4  Short offline       Completed without error       00%        31         -
# 5  Short offline       Completed without error       00%         7         -
# 6  Short offline       Completed without error       00%      1642         -
# 7  Short offline       Completed without error       00%      1618         -
# 8  Short offline       Completed without error       00%      1594         -
# 9  Short offline       Completed without error       00%      1570         -
#10  Extended offline    Completed without error       00%      1551         -
#11  Short offline       Completed without error       00%      1547         -
#12  Short offline       Completed without error       00%      1523         -
#13  Short offline       Completed without error       00%      1499         -
#14  Short offline       Completed without error       00%      1475         -
#15  Short offline       Completed without error       00%      1451         -
#16  Short offline       Completed without error       00%      1427         -
#17  Short offline       Completed without error       00%      1403         -
#18  Extended offline    Completed without error       00%      1384         -
#19  Short offline       Completed without error       00%      1379         -
#20  Short offline       Completed without error       00%      1355         -
#21  Short offline       Completed without error       00%      1331         -

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.
я так понимаю тоже в гарнтийку