smartctl(8) - 使い方

smartctl(8)の使い方の例。


概要
 
SMART Diskを制御、状態表示するコマンドツール。
 
使い方
 
ディスク情報の表示(SAS)
 
# smartctl -i /dev/sda

smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen

Home page is http://smartmontools.sourceforge.net/
Device: FUJITSU  MAY2073RC        Version: 5204

Serial number: XXXXXXXXXXXX

Device type: disk

Transport protocol: SAS

Local Time is: Thu Nov 25 15:04:50 2010 JST

Device supports SMART and is Enabled

Temperature Warning Disabled or Not Supported

#
エラー情報の表示
# smartctl -l error /dev/sda
smartctl version 5.38 [x86_64-redhat-linux-gnu] Copyright (C) 2002-8 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Error counter log:

           Errors Corrected by           Total   Correction     Gigabytes    Total

               ECC          rereads/    errors   algorithm      processed    uncorrected

           fast | delayed   rewrites  corrected  invocations   [10^9 bytes]  errors

read:          0        8         0         0          0       3385.351           0

write:         0       15         0         0          0       3385.824           0

verify:        0        2         0         0          0        574.408           0
Non-medium error count:        0 #
以上

コメント