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

2.4.4 ディレクタデータファイルの容量不足

【現象】

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


[出力メッセージ]

shn30332u : There is not enough space in the data file folder. [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

【原因】

shundrecoverコマンドによるリカバリ処理中に、ディレクタデータファイルが配置されたディスクに空き領域がなくなったため、エラーメッセージを出力してリカバリ処理を終了しました。


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

ディレクタデータファイルを配置するディスクの空き領域を作成するか、または、容量の大きなディスクに交換後、リカバリを再度実行します。


  1. Shunsakuシステムを停止します。
    directorの状態が“RECOVER”であるため、システムを強制停止させます。


    shunsysstop -n shunsaku -e
    shun: INFO: shn30802i: Forced stop of Shunsaku system has started. [shunsaku] shun: INFO: shn30582i: Stopping conductor. [shunsaku] shun: INFO: shn30583i: Stopping sorter. [shunsaku] shun: INFO: shn30584i: Stopping director. [shunsaku] shun: INFO: shn30803i: Shunsaku system has been forcibly stopped. [shunsaku]

  2. ディレクタデータファイルを配置するディスクの空き領域を作成するか、または、容量の大きなディスクに交換します。


  3. Shunsakuシステムを再起動します。


    shunsysstart -n shunsaku (Shunsakuシステム名)
    shun: INFO: shn30567i: Activating Shunsaku system. [shunsaku] shun: INFO: shn30573i: Activating director. [shunsaku] shun: INFO: shn30572i: Activating sorter. [shunsaku] shun: INFO: shn30571i: Activating conductor. [shunsaku]

  4. shundstateコマンドでdirectorの状態およびファイルの状態を確認します。
    リカバリがエラーとなっているため、ディレクタデータファイルの状態は“IOERROR”となっています。


    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 IOERROR 9.67MB 66 2006/08/31 22:00:00 NORMAL 20.8MB 10000 10000 0.829 9.78MB

  5. 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]

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


  7. 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]

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


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

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


  10. 運用を再開します。