"Self Monitoring Analysis and Reporting Technology System"에 해당되는 글 1건

  1. 2010/02/17 Linux HDD SMART (Self-Monitoring, Analysis, and Reporting Technology)

Linux 에서 HDD의 SMART 정보를 보는 방법이다.

smartmontools
Home :  http://sourceforge.net/apps/trac/smartmontools/wiki 
Download : http://sourceforge.net/projects/smartmontools/files/

에서 다운로드를 받는다. 일반적인 컴파일 방식으로 컴파일을 한다. [./configure;make;make install]

S.M.A.R.T 정보를 얻기위해 데몬을 실행시킨다.
# /etc/init.d/smartd start

정보 보기
# smartctl --all /dev/[장치명]

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi Deskstar 7K1000.B
Device Model:     Hitachi HDT721032SLA360
Serial Number:    STF202ML1AYLJP
Firmware Version: ST2OA31B
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 4
Local Time is:    Wed Feb 17 12:38:35 2010 KST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

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   129   129   054    Pre-fail  Offline      -       124
  3 Spin_Up_Time            0x0007   112   112   024    Pre-fail  Always       -       223 (Average 222)
  4 Start_Stop_Count        0x0012   100   100   000    Old_age   Always       -       19
  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   123   123   020    Pre-fail  Offline      -       34
  9 Power_On_Hours          0x0012   100   100   000    Old_age   Always       -       6144
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       19
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       27
193 Load_Cycle_Count        0x0012   100   100   000    Old_age   Always       -       27
194 Temperature_Celsius     0x0002   146   146   000    Old_age   Always       -       41 (Lifetime Min/Max 25/54)
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   200   000    Old_age   Always       -       0

위와 같이 나온다
Windows에서는 HD Tune 으로 볼 수 있다.

"Linux" 카테고리의 다른 글