linux

Total 136
Today 0
profile_image
몰라맨
16-03-31 09:49 0개 2,666회
linux hdd 체크하기 smartmontool








yum install smartmontools


뭐든 숫자 0 이 좋은 것인디...










[root@web24 ~]# smartctl -a /dev/sda


smartctl 5.43 2012-06-30 r3573 [x86_64-linux-2.6.32-573.22.1.el6.x86_64] (local build)


Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net




=== START OF INFORMATION SECTION ===


Model Family:     SAMSUNG SpinPoint T166


Device Model:     SAMSUNG HD501LJ


Serial Number:    S0MVJ1GP500347


LU WWN Device Id: 5 0000f0 01b500347


Firmware Version: CR100-10


User Capacity:    500,107,862,016 bytes [500 GB]


Sector Size:      512 bytes logical/physical


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:    Thu Mar 31 09:47:54 2016 KST


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:  (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: ( 8961) 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:  ( 153) minutes.


SCT capabilities:        (0x003f) SCT Status supported.


SCT Error Recovery Control 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   094   001   051    Pre-fail  Always   In_the_past 67890


데이터를 읽는 중 문제가 발생했던 횟수  

3 Spin_Up_Time            0x0007   100   100   015    Pre-fail  Always       -       7360


  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       227


  5 Reallocated_Sector_Ct   0x0033   097   097   010    Pre-fail  Always       -       32


  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       -       55855

==> 6년동안이나 켜져 있었다니. 교체할때가 된거 같다.


 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       -       170


187 Reported_Uncorrect      0x0032   001   001   000    Old_age   Always       -       3735671


188 Command_Timeout         0x0032   253   253   000    Old_age   Always       -       0


190 Airflow_Temperature_Cel 0x0022   080   046   000    Old_age   Always       -       20


194 Temperature_Celsius     0x0022   178   076   000    Old_age   Always       -       20


195 Hardware_ECC_Recovered  0x001a   100   100   000    Old_age   Always       -       606085980


196 Reallocated_Event_Count 0x0032   097   097   000    Old_age   Always       -       32


197 Total_Pending_Sectors   0x0012   089   089   000    Old_age   Always       -       103


==> 섹터에 문제가 있는 경우. 

198 Offline_Uncorrectable   0x0030   253   253   000    Old_age   Offline      -       0


==> 배드섹터

199 UDMA_CRC_Error_Count    0x003e   200   169   000    Old_age   Always       -       0


200 Multi_Zone_Error_Rate   0x000a   100   100   000    Old_age   Always       -       0


201 Soft_Read_Error_Rate    0x000a   097   097   000    Old_age   Always       -       1592


202 Data_Address_Mark_Errs  0x0032   100   100   000    Old_age   Always       -       1




SMART Error Log Version: 1


ATA Error Count: 91 (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 91 occurred at disk power-on lifetime: 55855 hours (2327 days + 7 hours)

댓글목록

등록된 댓글이 없습니다.