ログイン
編集不可のページディスカッション情報添付ファイル
ytoku/daily-record/2011-02-15

MMA

smartctl

coreのSMART情報を確認しようとしたら動いていない。

[ytoku@core ~]$ sudo smartctl -a /dev/da2
smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-PRERELEASE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net


Probable ATA device behind a SAT layer
Try an additional '-d ata' or '-d sat' argument.

-d ata-d satをつけてもこの通りである。

[ytoku@core ~]$ sudo smartctl -d ata -a /dev/da2
smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-PRERELEASE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

[ytoku@core ~]$ sudo smartctl -d sat -a /dev/da2
smartctl 5.40 2010-10-16 r3189 [FreeBSD 8.2-PRERELEASE amd64] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

Smartctl: Device Read Identity Failed (not an ATA/ATAPI device)

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

[ytoku@core ~]$ dmesg | grep da2
da2 at mpt0 bus 0 scbus1 target 4 lun 0
da2: <ATA Hitachi HDS72202 A28A> Fixed Direct Access SCSI-5 device
da2: 300.000MB/s transfers
da2: Command Queueing enabled
da2: 1907729MB (3907029168 512 byte sectors: 255H 63S/T 243201C)}

ntpd: step mode / slew mode

ntpdには一気に時刻を変えるstep modeと、1秒あたり最大0.5ms程度しか変更せずに連続的に時間を調整するslew modeがあることを学んだ。

昨日、coreの時刻がntpdによって再設定されてdovecotが自殺するという残念な自体が発生したので、coreのntpdをslew modeに変更した。

ytoku/daily-record/2011-02-15 (最終更新日時 2011-02-15 16:53:34 更新者 ytoku)