2006-03-14

λ 2chが「編集」しない理由

「一般のマスコミが怖がる裁判沙汰・警察沙汰もいとわない姿勢が2chの強み」という視点はあんまりなかったなあ。

λ バーチャルキーボード 到着

タッチタイピングは無理。そもそもホームポジションにずっと手を置いていられない。 やっぱ携帯とかPDAじゃないと常用する価値はないな。まあネタということで。

Bluetoothリンク作業でもパスキーの入力をバーチャルキーボードに向かってタイプ?するのが妙な気分だった。 パスキーなので当然どこにも表示されない。とはいえクリック音だけは出るので一発で成功した。

λ Opteron Dualマシン増強

VirtualServerを使っているとメモリ2GBで全然足りない。エンタープライズ構成の実験ネットワークとかだと [ドメインコントローラ+クラスタ構成のメンバサーバ(2台)+非クラスタ構成のメンバサーバ+クライアントマシン] それぞれに512MBぐらい割り当てたいのに。

VirtualServerの仮想マシン用メモリは(スワップするかどうかはともかくとして)実メモリ分しか使わしてくれず、 それを超えた容量を使おうとすると仮想マシンを起動させてくれない。

1枚2GBのメモリモジュールは昔に比べれば買えなくもない値段になってきたので8GBへの増強を検討中。 現在は1枚4GBが鼻血の出る値段。

λ [OSX] ルーティンのメンテナンスで使うUNIXコマンド

softwareupdate をかけたら update_prebinding で失敗した旨メッセージが出てきたので調査。 man update_prebinding も一応見たけど。

具体的には update_prebinding -root / をやるとシステム全体の prebinding を実行してくれる。

でまあこのXServeで dmesg 表示させると

disk0s11: I/O error.

とか出てきてディスクやばそう。まずはバックアップとってから。

fink で smartmontools をインストールしてディスクのチェックもしてみる。

=== START OF INFORMATION SECTION ===
Device Model:     IBM-IC35L060AVVA07-0
Serial Number:    VNC303A3L5S9GA
Firmware Version: VA3BA52A
User Capacity:    61,492,838,400 bytes
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   5
ATA Standard is:  ATA/ATAPI-5 T13 1321D revision 1
Local Time is:    Tue Mar 14 14:06:03 2006 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                 (1732) seconds.
Offline data collection
capabilities:                    (0x1b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        No Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        No General Purpose Logging support.
Short self-test routine 
recommended polling time:        (   1) minutes.
Extended self-test routine
recommended polling time:        (  29) minutes.

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   060    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0007   194   194   024    Pre-fail  Always       -       144 (Average 139)
  4 Start_Stop_Count        0x0012   098   098   000    Old_age   Always       -       10220
  5 Reallocated_Sector_Ct   0x0033   100   100   005    Pre-fail  Always       -       3
  7 Seek_Error_Rate         0x000b   100   100   067    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   020    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0012   097   097   000    Old_age   Always       -       23089
 10 Spin_Retry_Count        0x0013   100   100   060    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       529
192 Power-Off_Retract_Count 0x0032   091   091   050    Old_age   Always       -       11184
193 Load_Cycle_Count        0x0012   091   091   050    Old_age   Always       -       11184
194 Temperature_Celsius     0x0002   203   203   000    Old_age   Always       -       27 (Lifetime Min/Max 21/55)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       4
197 Current_Pending_Sector  0x0022   100   100   000    Old_age   Always       -       6
198 Offline_Uncorrectable   0x0008   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x000a   200   200   000    Old_age   Always       -       0

SMART Error Log Version: 1
ATA Error Count: 51 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 51 occurred at disk power-on lifetime: 23089 hours (962 days + 1 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 65 d0 3c 41 e2  Error: UNC 101 sectors at LBA = 0x02413cd0 = 37829840

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 6d c8 3c 41 e2 00      00:02:42.300  READ DMA
  ca 00 00 02 b5 00 e0 00      00:02:42.300  WRITE DMA
  c8 00 10 40 4f 03 e0 00      00:02:42.300  READ DMA
  c8 00 08 98 38 6e e0 00      00:02:42.300  READ DMA
  c8 00 08 88 c1 30 e2 00      00:02:42.300  READ DMA

Error 50 occurred at disk power-on lifetime: 23089 hours (962 days + 1 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 65 d0 3c 41 e2  Error: UNC 101 sectors at LBA = 0x02413cd0 = 37829840

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 6d c8 3c 41 e2 00      00:02:37.400  READ DMA
  ca 00 00 02 b4 00 e0 00      00:02:37.400  WRITE DMA
  c8 00 10 50 f2 00 e0 00      00:02:37.400  READ DMA
  c8 00 08 98 ef 3b e2 00      00:02:37.400  READ DMA
  c8 00 08 a0 38 6e e0 00      00:02:37.400  READ DMA

Error 49 occurred at disk power-on lifetime: 23089 hours (962 days + 1 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 65 d0 3c 41 e2  Error: UNC 101 sectors at LBA = 0x02413cd0 = 37829840

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 6d c8 3c 41 e2 00      00:02:32.500  READ DMA
  ca 00 00 02 b3 00 e0 00      00:02:32.500  WRITE DMA
  ca 00 09 70 0d 57 e0 00      00:02:32.500  WRITE DMA
  ca 00 04 a8 41 52 e0 00      00:02:32.500  WRITE DMA
  ca 00 07 48 86 30 e2 00      00:02:32.500  WRITE DMA

Error 48 occurred at disk power-on lifetime: 23089 hours (962 days + 1 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 65 d0 3c 41 e2  Error: UNC 101 sectors at LBA = 0x02413cd0 = 37829840

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 6d c8 3c 41 e2 00      00:02:27.700  READ DMA
  c8 00 10 00 70 01 e0 00      00:02:27.700  READ DMA
  c8 00 08 b0 38 6e e0 00      00:02:27.700  READ DMA
  c8 00 08 30 c0 30 e2 00      00:02:27.700  READ DMA
  c8 00 6d c8 3c 41 e2 00      00:02:22.700  READ DMA

Error 47 occurred at disk power-on lifetime: 23089 hours (962 days + 1 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 65 d0 3c 41 e2  Error: UNC 101 sectors at LBA = 0x02413cd0 = 37829840

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 6d c8 3c 41 e2 00      00:02:22.700  READ DMA
  c8 00 08 b8 38 6e e0 00      00:02:22.700  READ DMA
  c8 00 10 20 1e 01 e0 00      00:02:22.700  READ DMA
  c8 00 08 20 7d 24 e0 00      00:02:22.700  READ DMA
  c8 00 40 18 8f 3d e2 00      00:02:22.700  READ DMA

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: read failure       70%     23090         37753811
# 2  Short offline       Completed without error       00%     23089         -

いかにもセクター番号 37753811や37829840 のところがダメっぽい。

交換するのも時期的にどうかなあ。しばらくFirewireブートでがんばって、Intel XServe が出たらリプレースとかにしたい気がする。 (どっちかというと開発用マシンという位置付けなので予備ディスクのストックはしてない)

[]