Logo

하드디스크의 상태보기

[root@ns2 ~]# smartctl -a /dev/sda
smartctl version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: SEAGATE  ST373207LC       Version: 0003
Serial number: 3KT04Y9500007609MM1E
Device type: disk
Transport protocol: Parallel SCSI (SPI-4)
Local Time is: Thu Jul 17 19:47:11 2008 KST
Device supports SMART and is Enabled
Temperature Warning Enabled
SMART Health Status: OK

Current Drive Temperature:     28 C
Drive Trip Temperature:        68 C
Vendor (Seagate) cache information
  Blocks sent to initiator = 3138754649
  Blocks received from initiator = 1182413804
  Blocks read from cache and sent to initiator = 40205361
  Number of read and write commands whose size <= segment size = 1931501148
  Number of read and write commands whose size > segment size = 344679

Error counter log:
           Errors Corrected by           Total   Correction     Gigabytes    Total
               EEC          rereads/    errors   algorithm      processed    uncorrected
           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors
read:     497069        0         0    497069     497069        111.790           0
write:         0        0         0         0          0        329.737           0

Non-medium error count:        2

Error Events logging not supported

[GLTSD (Global Logging Target Save Disable) set. Enable Save with ‘-S on’]
No self-tests have been logged
Long (extended) Self Test duration: 1405 seconds [23.4 minutes]
[root@ns2 ~]#


HP cciss 디바이스 상태보는방법

[root@ns2 ~]# smartctl -a -d cciss,0 /dev/cciss/c0d0

[root@ns2 ~]# smartctl -a -d cciss,1 /dev/cciss/c0d1
smartctl version 5.36 [i686-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: ATA      ST3750330NS      Version: SN04
Serial number:             3QK04S5Z
Device type: disk
Local Time is: Fri Jul 18 21:17:32 2008 EDT
Device supports SMART and is Enabled
Temperature Warning Disabled or Not Supported
Log Sense failed, IE page [scsi response fails sanity test]
Read defect list: asked for grown list but didn’t get it

Error Counter logging not supported
Device does not support Self Test logging

상태가 잘 표시되지 않지만, 하드모델명정도는 알아낼 수 있다.



(주)웹호스트

Prev linux CPU,메모리 제조사, 슬롯,뱅크등 자세한 정보 알아내는 방법
Next find 명령으로 특정파일 특정문자열 찾아내기

Leave a comment