⇤ ← 2011-02-15 14:49:55時点のリビジョン1
サイズ: 1488
コメント:
|
← 2011-02-15 16:53:34時点のリビジョン2 ⇥
サイズ: 1964
コメント:
|
削除された箇所はこのように表示されます。 | 追加された箇所はこのように表示されます。 |
行 41: | 行 41: |
= ntpd: step mode / slew mode = ntpdには一気に時刻を変えるstep modeと、1秒あたり最大0.5ms程度しか変更せずに連続的に時間を調整するslew modeがあることを学んだ。 * [[http://www.asahi-net.or.jp/~AA4T-NNGK/ntpd.html|Stray Penguin - Linux Memo (ntpd)]] 昨日、coreの時刻がntpdによって再設定されてdovecotが自殺するという残念な自体が発生したので、coreのntpdをslew modeに変更した。 |
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に変更した。