ページの先頭行へ戻る
Interstage Shunsaku Data Manager トラブルシューティング集

2.4.1 ディレクタデータファイルの入出力異常

【現象】

shundrecoverコマンドによるリカバリ処理中に、以下のメッセージが出力されリカバリがエラーとなる。


[出力メッセージ]

shn30318u : An I/O error has occurred with a director data file.errno=エラー番号 [shund1]

ディレクタデータファイルを配置したディスクに入出力障害が発生しています。


【確認方法】

directorの状態は、“RECOVER”(リカバリ中)のままとなっています。

また、ディレクタデータファイルの状態は、“IOERROR”となっています。

そのため、アプリケーションによる検索および更新はできない状態となっています。

shundstate -s shund1
Shunsaku shundstate 2006/09/01 13:00:00 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 13:00:00 RECOVER IOERROR 9.67MB 66 2006/08/31 22:00:00 NORMAL 20.8MB 10000 10000 0.829 9.78MB

【問題発生時の対処方法】

再度、ディスクを交換後、バックアップデータのリストアから実施します。

  1. ディレクタデータファイルを配置するディスクを交換します。

    ディスクの活性保守ができない場合は、Shunsakuシステムを停止し、ディスク交換後、Shunsakuシステムの再起動を行います。


  2. shundstateコマンドでdirectorの状態およびファイルの状態を確認します。


  3. directorの状態が“ACTIVE”の場合、shundrecoverコマンドでリカバリ開始宣言を行います。


    shundrecover -s shund1 -b
    shun: INFO: shn21001i: Starting process... [shund1] shun: INFO: shn30327i: Recovery start declaration processing has been completed. [shund1] shun: INFO: shn21002i: Processing has been completed. [shund1]

  4. 再度、ディレクタデータファイルのバックアップデータのリストアを行います。


  5. shundrecoverコマンドでリカバリを行います。

    以下は、最新状態までのリカバリを例としています。


    shundrecover -s shund1 -e
    shun: INFO: shn21001i: Starting process... [shund1]
    shun: INFO: shn30334i: Recovery end declaration processing is complete. [shund1]
    shun: INFO: shn21002i: Processing has been completed. [shund1]

  6. shundstateコマンドでdirectorの状態が“ACTIVE”、およびディレクタデータファイルの状態が“NORMAL”となっていることを確認します。


    shundstate -s shund1
    Shunsaku shundstate 2006/09/01 13:10:00 Time State DataFileStatus DataSize Fragments(%) LastBackedUp OperationLogStatus OperationLogSize Records ReadRecords ReadTime(sec) ReadSize 13:10:00 ACTIVE NORMAL 9.67MB 66 2006/08/31 22:00:00 NORMAL 20.8MB 10000 10000 0.829 9.78MB

  7. shundbackupコマンドでディレクタデータファイルをバックアップします。


  8. 運用を再開します。