JP2004086251A - Duplex controller for information record reproduction device, method and duplex control program - Google Patents

Duplex controller for information record reproduction device, method and duplex control program Download PDF

Info

Publication number
JP2004086251A
JP2004086251A JP2002242503A JP2002242503A JP2004086251A JP 2004086251 A JP2004086251 A JP 2004086251A JP 2002242503 A JP2002242503 A JP 2002242503A JP 2002242503 A JP2002242503 A JP 2002242503A JP 2004086251 A JP2004086251 A JP 2004086251A
Authority
JP
Japan
Prior art keywords
medium
drive
information recording
data
reproducing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2002242503A
Other languages
Japanese (ja)
Inventor
Tadashi Hanagata
花形 匡
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2002242503A priority Critical patent/JP2004086251A/en
Publication of JP2004086251A publication Critical patent/JP2004086251A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To shorten a period of time for exchanging a medium in an information record reproduction device. <P>SOLUTION: Concerning a magnetic tape library device 3 having a medium warehouse 34 which permits the storage of a plurality of media separately and has cell numbers, drives 31, 32 which record/reproduce data on/from the medium and accessor 33 which carries the medium between the cell numbers and the drives 31, 32, a duplex controller 1 controls the recording/reproducing of the drives 31, 32 and the transporting with the accessor 33 on the basis of an instruction from a host device 2, and makes the drives 31, 32 record the same data. In addition, the duplex controller 11 has a function which, in exchanging the medium, for instance, exchanges the medium for the drive 31, subsequently notifies the host device 2 of the completion of the medium exchange, and subsequently exchanges the medium for the drive 32. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、情報記録再生装置の二重化制御装置等に関し、詳しくは、二台の物理ドライブを一台の論理ドライブに見せかけることによって、各々の物理ドライブにマウントした情報記録媒体に同じデータを記録するミラーリング情報記録再生システムに用いられる二重化制御装置等に関する。
【0002】
磁気テープ装置は、コンピュータシステムのバックアップ装置として欠かせない存在となっている。特に近年の情報化社会の進展により、電子データ情報の重要性が増してきているが、磁気テープ装置によってバックアップデータを作成する場合、通常は同じデータを記録した磁気テープ媒体を2セット作成し、これらの磁気テープ媒体を別々の場所で管理している。2セットのバックアップデータを作成する場合、従来は、まず磁気テープ媒体に1セットのバックアップデータを作成した後に、そのバックアップデータを更に別の磁気テープ媒体にコピーして、2セットのバックアップデータを作成している。
【0003】
しかし、1セットのバックアップデータをもう1セット作成するには、2倍の時間がかかることになり、またデータのコピー処理は手順が多いため、ミスやエラーが起きる可能性が高い。
【0004】
この問題を解決するために、本出願人は、二つの物理ドライブを一つの論理ドライブにみせかけ、それぞれの物理ドライブに装着した二つの情報記録媒体を一つの情報記録媒体として取り扱い、二つの情報記録媒体に同じデータを記録することによって、バックアップデータを容易に作成することのできる情報記録再生システムを、既に考え出している(特開2002−132559号公報)。
【0005】
図8は、上記公報に開示された情報記録再生システムを示すブロック図である。以下、この図面に基づき説明する。なお、以下の説明では、「磁気テープドライブ」及び「磁気テープ媒体」を、単に「ドライブ」及び「媒体」と呼ぶことにする。
【0006】
従来の情報記録再生システムは、ホストコンピュータ等の上位装置101と、二重化制御装置102と、磁気テープライブラリ装置105とから構成されている。二重化制御装置102内の記憶部124が、磁気テープライブラリ装置105の媒体保管庫153のセル番号を二つのグループに分けて、仮想的に二つのマガジンがあるようにして、このグループ分けの規則を記憶部124に設けた変換テーブル129に記憶させておく。例えば、セル0からセル11までを仮想マガジンAのセル0からセル11として扱い、セル12からセル23までを仮想マガジンBのセル0からセル11として扱う。媒体選択手段128は、変換テーブル129に記憶された変換規則に基づいて、媒体の格納されているセルを選択する。
【0007】
磁気テープライブラリ装置105は、媒体を装着し読み書きを行う二台のドライブ151a,151bと、ドライブ151a,151bと媒体保管庫153との間で媒体を搬送するアクセッサ152と、媒体を格納しておく媒体保管庫153とから構成されている。
【0008】
二重化制御装置102は、上位装置101とデータの送受信を行う入出力部121と、プログラム制御で動作する制御部123と、RAMなどを用いて一時的にデータを記憶しておく記憶部124と、制御部123を制御するためのプログラムを記憶しておくプログラム記憶媒体125と、磁気テープライブラリ装置105に対してデータの送受信を行う入出力部126と、制御部123と他の回路間で通信をするための制御信号線122とを備えている。また、制御部123は、後述するミラーリング制御手段127と、媒体選択手段128とを有する。
【0009】
入出力部121は、上位装置101に対して二重化制御装置102に対して何らかの入力を受け付けたり、何らかの出力を送り出したりするところである。例えば、上位装置101からの命令やデータが入ってきたり、上位装置101へ報告を返したりする。一方、入出力部126は、磁気テープライブラリ装置105に対し何らかの命令を発行したり、磁気テープライブラリ装置105からデータを受信したりする。
【0010】
制御信号線122は、二重化制御装置102内に実装されている制御部123が、他の回路と通信するための信号線である。制御部123は、プログラム制御で動作するマイクロプロセッサであり、プログラム記憶媒体125に記憶されたプログラムにしたがって、入出力部121と入出力部126とを制御する。記憶部124は、制御部123を動作させるためのデータを記憶する。プログラム記憶媒体125には、制御部123を動作させるプログラムが格納されている。
【0011】
制御部123内にあるミラーリング制御手段127は、磁気テープライブラリ装置105が有するドライブ151a,151bに装着されている媒体に対して、同じデータの書き込む手段であり、基本的にはドライブ151a,151bに対して同じ命令を発行する。ただし、いずれかのドライブに何らかのエラーが発生した場合は、そのドライブに対してリカバリ処理を行い、両ドライブで同じデータが書き込めるようにする。例えば、一方のドライブでデータエラーが発生した場合、データエラーが発生したドライブだけ位置決めをやり直し、再度書き込み処理を行う。なお、両ドライブに装着した媒体の長さが異なる場合に備えて、一方のドライブだけ、EOT(End of Tape:媒体終端)を検出した場合、他方のドライブでもEOTを検出したことにして、両方のドライブにおいて媒体を交換する。
【0012】
媒体選択手段128は、媒体を媒体保管庫153から取り出し、ドライブ151a,151bに装着する場合に指定するセル番号を決めたり、ドライブ151a,151bから媒体を取り出して媒体保管庫153へ格納する際のセル番号を決めたりする手段である。
【0013】
ドライブ151a,151bは、二重化制御装置102の入出力部126からの命令に従って媒体を走行させ、データの記録再生を行う。アクセッサ132は、入出力部126からの命令に従って指定されたセルから媒体を取り出し、ドライブ151a,151bへ挿入したり、逆にドライブ151a,151bから媒体を取り出して指定されたセルへ格納したりする。媒体保管庫153は、セル0からセル23までのセルに媒体を格納するための棚を備えている。
【0014】
図9は、図8の情報記録再生システムの動作の流れを説明するためのフローチャートである。以下、図8及び図9に基づき、従来の情報記録再生システムの動作について説明する。
【0015】
上位装置101から媒体にデータを書き込む場合、媒体のマウント、媒体への書き込み、及び媒体デマウントの三つの動作がある。これらの動作について以下に説明する。
【0016】
まず、媒体のマウント動作について説明する。入出力部121は、上位装置101より、例えばセル0からのマウント命令を受け取る(ステップS02,S03「YES」)。すると、制御部123は、媒体選択手段128を用いて該当するセル番号(すなわち仮想マガジンAのセル0及び仮想マガジンBのセル12)を求め、入出力部126を介して磁気テープライブラリ装置105に対し、該当セルからのマウント命令を発行する(ステップS04,S05)。これを受けて、アクセッサ152がセル0,12から媒体を取り出して各ドライブ151a,151bに搬送する。次いで、入出力部126がドライブ151a,151bからのマウント終了報告を受け付け、終了状態のチェックを行う(ステップS06)。正常終了であれば、入出力部121は、上位装置101に対して動作終了報告を行う(ステップS07「NO」,S09)。一方、異常終了であれば、何らかのリカバリ処理を行った後に、入出力部121は上位装置101に対し動作終了報告を行う(ステップS07「YES」,S08,S09)。
【0017】
次に、媒体へのデータの書き込み動作について説明する。まず入出力部121は、上位装置101からデータの書き込み命令を受け取る(ステップS02,S03「NO」)。すると、入出力部126は、ミラーリング制御手段127を用いて同じデータを同じブロック長で、磁気テープライブラリ装置105のドライブ151a,151bに対して書き込み命令を発行する(ステップS05)。その後、ドライブ151a,151bからの終了報告を待つ(ステップS06)。ここで、書き込み動作において何らかのエラーが発生した場合、必要に応じてリカバリ処理を行う(ステップS07「YES」,S08)。書き込みエラーが発生した場合は、エラーの発生したドライブだけに、再書き込みを行ったり、位置決めをやり直したり、Eraseマークを書き込んでだりして、再度データの書き込みを行う。一方、書き込みを続け、どちらかのドライブでEOT(媒体終端)を検出した場合、上位装置101に対しEOT報告を行う。
【0018】
なお、いずれかの(例えばドライブ151aの)媒体にEOTを検出した場合、もう一方の(ドライブ151bの)媒体でもEOTを検出したことにして、上位装置101から媒体を交換する命令が発行される。ここで、新たに装着される媒体は、媒体保管庫153の仮想マガジンA,B間で対応するセル番号を有する媒体が選択される。すなわち本例の場合、例えばドライブ151bの媒体に書き込める領域が残されていたとしても、ドライブ151aにおける媒体の交換と同時にドライブ151bでも媒体を交換し、その後に上述した書き込み処理を行う。このため、仮想マガジンA,B格納されている媒体内のデータは、仮想マガジンA,B間で対応することになるので、マガジンごとにデータを管理することができる。
【0019】
次に、媒体のデマウント動作について説明する。上位装置101は、書き込むべきデータを全て書き込み終った時や、まだ書き込むべきデータが残っているにも関わらずドライブ151a,151bからEOT報告を受け取った時、入出力部126がデマウント命令を発行する。入出力部121は、上位装置101からドライブ151a,151bのセル0,12への媒体の排出命令(デマウント命令)を受け取る(ステップS02,S03「YES」)。すると、入出力部126は、媒体選択手段128を用いて該当するセル番号を求め、ドライブ151a,151bに対し、該当セル(ここではセル0,12)へのデマウント命令を発行する(ステップS04,S05)。入出力部126が、両方のドライブ151a,151bからのデマウント終了報告を受け付けたら、終了状態のチェックを行う(ステップS06)。正常終了であれば、入出力部121が、上位装置101に対し動作終了報告をする(ステップS07「NO」,S09)。一方、異常終了であればリカバリ処理を行った上で、上位装置101に対し、動作終了報告をする(ステップS07「YES」,S08,S09)。
【0020】
なお、セル0,12へのデマウント動作が完了した後も、まだ書き込むべきデータが残っている場合は、上位装置101は次いでセル1からのマウント命令を発行する。入出力部121が上位装置101よりセル1からのマウント命令を受け取った場合、上述のセル0からのマウント動作と同様に、媒体選択手段128を用いて該当するセル番号(すなわち仮想マガジンAのセル1及び仮想マガジンBのセル13)を求め、磁気テープライブラリ装置105に対し、該当セルからのマウント命令を発行する。
【0021】
その後は、上述したような書き込み、デマウント動作処理を繰り返す。このとき、マウント動作、書き込み動作、デマウント動作等において媒体選択手段128が、変換テーブル129の有する変換規則に基づいて、指定されたセル番号から二つの媒体を取り出し、ドライブ151a,151bに装着する。また、媒体を管理するセルをグループ分けするための変換テーブル129を設けて、ここに記憶されている変換規則を媒体選択手段128が参照することによって、仮想的に二つのマガジンがあるように設定できる。
【0022】
以上説明したように、この情報記録再生システムによれば、二台のドライブ151a,151bで二つの媒体に同じデータを同時に書き込むことによって、正副二つの媒体を同時に作成することができる。
【0023】
【発明が解決しようとする課題】
図10は、従来の情報記録再生システムにおける媒体交換時の動作を示すタイムチャートである。以下、図8及び図10に基づき説明する。
【0024】
まず、ドライブ151aから媒体を出し、その媒体を媒体保管庫153に入れ、同様にドライブ151bから媒体を出し、その媒体を媒体保管庫153に入れる。続いて、媒体保管庫153から新しい媒体を出し、その媒体をドライブ151aに入れ、同様に媒体保管庫153から新しい媒体を出し、その媒体をドライブ151bに入れる。そのため、ドライブ151aから媒体を出してから、新しい媒体をドライブ151bに入れるまでの時間が、上位装置101から見た媒体交換時間となる。この媒体交換時間は、次の処理を待機させることになるので、できるだけ短いことが望ましい。
【0025】
このように、従来の情報記録再生システムでは、複数のドライブでアクセッサ(媒体搬送機構)を共有することになるので、データを二重化しない場合に比べて、媒体交換に二倍以上の時間がかかってしまうという問題があった。
【0026】
【発明の目的】
そこで、本発明の目的は、媒体交換時間を短縮できる情報記録再生装置の二重化制御装置等を提供することにある。
【0027】
【課題を解決するための手段】
本発明に係る二重化制御装置は、複数個の情報記録媒体を別々に格納可能な媒体格納位置を有する媒体格納手段と、情報記録媒体にデータの記録再生を行う複数台の媒体ドライブと、媒体格納位置と媒体ドライブとの間で情報記録媒体の搬送を行う媒体搬送手段とを備えた情報記録再生装置に対して、上位装置の指令に基づき媒体ドライブの記録再生及び媒体搬送手段の搬送を制御するとともに、複数台の媒体ドライブのいずれかの二台である第一及び第二の媒体ドライブに同一のデータを二重化しながら記録させるものであり、下記の機能を有することを特徴としている。
【0028】
二重化されたデータの再生時に、第一の媒体ドライブに当該データを再生させるとともに第一の媒体ドライブの再生位置に第二の媒体ドライブの再生位置を追随させ、第一の媒体ドライブに再生エラーが発生したときにのみ第二の媒体ドライブに当該データを再生させる二重化データ再生機能(特願2002−60419号[未公開]参照)。第一の媒体ドライブの再生位置に、第二の媒体ドライブの再生位置が追随している。そのため、あるデータの再生時に第一の媒体ドライブにエラーが発生したとき、第二の媒体ドライブの再生位置が当該データの直近にあるので、第二の媒体ドライブによって当該データを迅速に復元できる。
【0029】
二重化されたデータの再生時に情報記録媒体を交換する場合に、第一の媒体ドライブに対して前記情報記録媒体を交換し、続いて情報記録媒体の交換が完了したことを上位装置へ通知し、続いて第二の媒体ドライブに対して情報記録媒体を交換する媒体交換機能(請求項1)。上位装置から見れば、情報記録媒体の交換に要する時間は、二台の媒体ドライブの一方に対して情報記録媒体を交換する時間に等しいので、従来の約半分に短縮される。
【0030】
二重化されたデータの再生時に情報記録媒体を交換する場合、第二の媒体ドライブが当該データを再生していなければ、第二の媒体ドライブに対して情報記録媒体を交換し、続いて情報記録媒体の交換が完了したことを上位装置へ通知し、続いて第二の媒体ドライブにデータを再生させるとともに第一のドライブに対して情報記録媒体を交換することにより、二重化データ再生機能における第一及び第二の媒体ドライブの関係を逆にする媒体交換機能(請求項2)。上位装置から見れば、情報記録媒体の交換に要する時間は、二台の媒体ドライブの一方に対して情報記録媒体を交換した後の一瞬であるので、ほとんど無視できる時間にまで短縮される。
【0031】
二重化されたデータの再生時に情報記録媒体を交換する場合、第二の媒体ドライブが当該データを再生していれば、これを中止させて第二の媒体ドライブに対して情報記録媒体を交換し、続いて情報記録媒体の交換が完了したことを上位装置へ通知し、続いて第二の媒体ドライブにデータを再生させるとともに第一のドライブに対して情報記録媒体を交換することにより、二重化データ再生機能における第一及び第二の媒体ドライブの関係を逆にする媒体交換機能(請求項3)。上位装置から見れば、情報記録媒体の交換に要する時間は、二台の媒体ドライブの一方に対して情報記録媒体を交換した後の一瞬であるので、ほとんど無視できる時間にまで短縮される。
【0032】
請求項4記載の二重化制御装置は、情報記録媒体、媒体格納位置、媒体格納手段、媒体ドライブ、媒体搬送手段及び情報記録再生装置が、それぞれ磁気テープ媒体、セル番号、媒体保管庫、磁気テープドライブ、媒体搬送ロボット及び磁気テープライブラリ装置である、というものである。磁気テープ媒体は、交換時に巻き戻し等の操作が必要になるので、交換に要する時間も長くなる。したがって、本発明による効果が顕著になる。
【0033】
請求項5乃至8記載の二重化制御方法は、請求項1乃至3記載の二重化制御装置をそれぞれ方法として表現したものであるので、請求項1乃至3記載の二重化制御装置と同等の作用及び効果を奏する。請求項9乃至12記載の二重化制御プログラムは、請求項1乃至3記載の二重化制御装置をそれぞれコンピュータ・プログラムとして表現したものであるので、請求項1乃至3記載の二重化制御装置と同等の作用及び効果を奏する。
【0034】
換言すると、本発明は、磁気テープのような交換可能なシーケンシャルアクセス媒体を扱う周辺装置を組み合わせて、複数の物理ドライブを一台の論理ドライブに見せかけミラーリングする二重化磁気テープドライブと、磁気テープドライブと媒体保管庫との間で媒体を搬送するアクセッサとを含む二重化磁気テープライブラリ装置において、媒体交換時に一時的に縮退状態となることで、媒体交換にかかる時間を短縮し、高速に処理を継続できることを特徴とする。上位装置から媒体交換命令を受けた場合、マスタドライブの処理を先に行い、マスタドライブの処理が終わり、上位装置に終了報告を上げた後、スレーブドライブの処理を行うことにより、上位装置から見える媒体交換時間を短縮することができ、性能の向上を図ることができる。
【0035】
また、本発明は、次のように言い換えることもできる。
【0036】
1.複数の物理ドライブがホストコンピュータから一台の論理ドライブとして認識される、そして複数の物理セルがホストコンピュータから一つの論理セルとして認識される、そのような磁気テープドライブを備えた二重化磁気テープライブラリ装置において、媒体交換時は一時的に冗長構成を止め、常用系の媒体交換のみが完了した時点で、ホストコンピュータに媒体交換が完了したと通知し、その後で待機系の媒体交換を行い、位置付けし直して冗長構成にする機能を含む二重化磁気テープライブラリ装置、及び、その制御方法。
【0037】
2.上記1.の二重化磁気テープライブラリ装置で、事前に待機系の媒体交換を行うことで、常用系の媒体交換が完了するのを待たずに、常用系と待機系の切り替えで媒体交換が完了したことにする機能を含む二重化磁気テープライブラリ装置、及び、その制御方法。
【0038】
3.上記2.の二重化磁気テープライブラリ装置で、待機系の先読みデータを保持したまま、事前に待機系の媒体交換を行う機能を含む二重化磁気テープライブラリ装置、及び、その制御方法。
【0039】
4.上記方法を使用した、二重化磁気テープライブラリ装置のための制御プログラム(プログラム記憶媒体)。
【0040】
【発明の実施の形態】
本発明の実施形態を説明するにあたり、特許請求の範囲における「情報記録媒体」「媒体格納位置」「媒体格納手段」「媒体ドライブ」「媒体搬送手段」及び「情報記録再生装置」を、それぞれ「磁気テープ媒体」「セル番号」「媒体保管庫」「磁気テープドライブ」「アクセッサ(媒体搬送ロボット)」及び「磁気テープライブラリ装置」と具体化して言い換えるものとする。また、「磁気テープ媒体」及び「磁気テープドライブ」は、それぞれ「媒体」及び「ドライブ」と略称する。更に、「マスタ側のドライブ」、「スレーブ側のドライブ」、「マスタ側のドライブの媒体」及び「スレーブ側のドライブの媒体」を、それぞれ「マスタドライブ」、「スレーブドライブ」、「主媒体」及び「副媒体」と呼ぶことにする。
【0041】
図1は、本発明に係る二重化制御装置の第一実施形態を示すブロック図である。以下、この図面に基づき説明する。
【0042】
本実施形態の二重化制御装置1は、複数個の媒体を別々に格納可能なセル番号を有する媒体保管庫34と、媒体にデータの記録再生を行うドライブ31,32と、セル番号とドライブ31,32との間で媒体の搬送を行うアクセッサ33とを備えた磁気テープリイブラリ装置3に対して、上位装置2の指令に基づきドライブ31,32の記録再生及びアクセッサ33の搬送を制御するとともに、ドライブ31,32に同一のデータを二重化しながら記録させるものであり、次の二つの機能を有することを特徴としている。
【0043】
▲1▼.二重化されたデータの再生時に、例えばドライブ31に当該データを再生させるとともにドライブ31の再生位置にドライブ32の再生位置を追随させ、ドライブ31に再生エラーが発生したときにのみドライブ32に当該データを再生させる二重化データ再生機能。▲2▼.二重化されたデータの再生時に媒体を交換する場合に、例えばドライブ31に対して媒体を交換し、続いて媒体の交換が完了したことを上位装置2へ通知し、続いてドライブ32に対して媒体を交換する媒体交換機能。上位装置2から見れば、媒体の交換に要する時間は、ドライブ31のみに対して媒体を交換する時間に等しいので、従来の約半分に短縮される。
【0044】
換言すると、二重化制御装置1は、二台の物理ドライブの一方をマスタ、他方をスレーブとして扱うためのマスタ/スレーブ管理部22と、それぞれの物理ドライブの使用可否を管理する物理資源管理部24を設け、接続されている物理ドライブの状態を管理するように構成される。上位装置2から媒体交換命令を受けた場合、マスタドライブの処理を先に行い、マスタドライブの処理が終わり、上位装置2に終了報告を上げた後、スレーブドライブの処理を行うことにより、上位装置2から見える媒体交換時間を短縮することができるので、性能の向上を図ることができる。以下に、更に詳しく説明する。
【0045】
本実施形態における情報記録再生システムは、ドライブ31,32及びアクセッサ33を含む磁気テープライブラリ装置3と、磁気テープライブラリ装置3に対して媒体の交換を指示したりドライブ31,32に対して書き込み及び読み出しなどを指示したりするホストコンピュータ等の上位装置2と、上位装置2に対して二台のドライブ31,32を一台のドライブに見せかけたり二つの物理的なセルを一つの仮想的なセルに見せかけたりする二重化制御装置1と、上位装置2と二重化制御装置1とを接続する信号線4と、磁気テープライブラリ装置3と二重化制御装置1とを接続する信号線5とから構成される。
【0046】
二重化制御装置1は、上位装置2との間で命令やデータの送受信を行う入出力部10と、磁気テープライブラリ装置3との間で命令やデータの送受信を行う入出力部16と、上位装置2と磁気テープライブラリ装置3との間で受け渡すデータを一次的に格納するバッファメモリ11と、マイクロプログラムでこれらの各機能ブロックの動作を統合及び制御する制御部13と、制御部13が制御するのに必要な情報を記憶しておく記憶部14と、制御部13で動作するマイクロプログラムを記憶しておくプログラム記憶媒体15と、これらを互いに接続するための内部バス12とから構成される。
【0047】
磁気テープライブラリ装置3は、ドライブ31,32と、媒体を保管するセルからなる媒体保管庫34と、ドライブ31,32と媒体保管庫34との間で媒体を搬送するアクセッサ33とから構成される。ここでは説明を簡潔にするため、磁気テープライブラリ装置3内のドライブ31,32を二台としているが、それ以上多いドライブを含んでいても構わない。
【0048】
次に、以上の各構成要素について更に詳述する。
【0049】
入出力部10及び信号線4は、上位装置2との間をファイバ・チャネル(Fibre Channel)で接続しようとすれば、それぞれファイバ・チャネル・プロトコルコントローラ及びファイバ・チャネル・ケーブルとなり、SCSI(Small Computer System Interface)で接続しようとすれば、それぞれSCSIコントローラ及びSCSIケーブルとなる。同様に、入出力部16及び信号線5は、磁気テープライブラリ装置3との間をファイバ・チャネルで接続しようとすれば、それぞれでファイバ・チャネル・プロトコルコントローラとファイバ・チャネル・ケーブルであり、SCSIで接続しようとすれば、それぞれSCSIコントローラ及びSCSIケーブルである。
【0050】
上位装置2及び入出力部10のインタフェースと、入出力部16及び磁気テープライブラリ装置3のインタフェースとは、同じ種類のインタフェースであっても構わないし、違う種類のインタフェースであっても構わない。また、入出力部16はドライブ31,32及びアクセッサ33に接続するようになっているが、入出力部16と同じものを3つ用意し、各入出力部とドライブ31,32及びアクセッサ33とが1対1で接続する構成でも構わない。内部バス12は、二重化制御装置1の中に実装されている制御部13が他の回路と通信するための信号線であり、一般にはCPUのローカルバスやPCIバスなどである。
【0051】
制御部13は、プログラム制御で動作するマイクロプロセッサ(CPU、MPU等)であり、プログラム記憶媒体15に記憶されたプログラムに従って、入出力部10や入出力部16などを制御する。このとき、プログラム記憶媒体15から内部バス12を通してプログラムを直接読み出しながら動作させてもいいし、プログラム記憶媒体15から内部バス12を通してプログラムを記憶部14にコピーし、記憶部14に格納されたプログラムを内部バス12で読み出しながら動作させても構わない。
【0052】
記憶部14は、制御部13を動作させるためのデータを記憶する。そのため、読み出しと書き込みができる必要があり、一般にはRAM(Random Access Memory)が用いられる。また、記憶部14は,どのドライブ31,32がマスタ又はスレーブに対応するか管理するマスタ/スレーブ管理部22と、ドライブ31,32の状態を記憶する物理資源管理部24とを含む。
【0053】
プログラム記憶媒体15は、制御部13を動作させるプログラムを格納している。また、プログラム記憶媒体15は、制御部13によってプログラムの読み出しが行えればよいため、読み出し専用媒体がよい。一般には、フラッシュメモリやROM(Read Only Memory)などの不揮発性メモリ、FD(Floppy Disk)、CD−ROMなどがあげられる。
【0054】
次に、ドライブ31,32から上位装置2へのデータの読み出しにおける、二重化制御装置1の動作を説明する。
【0055】
まず、ドライブ31,32にそれぞれ同一データが記録された媒体を装着する。上位装置2から発行された読み出し命令は、入出力部10で受信及び解釈される。制御部13は、マスタ/スレーブ管理部22のマスタドライブ番号23に記憶されている値が例えば‘1’ならば、入出力部16を通してドライブ31に対し読み出し命令を発行し、データ及び終了報告を待つ。
【0056】
読み出したデータは、入出力部16から内部バス12を通してバッファメモリ11に一度格納される。正常に読み出しが完了したならば、バッファメモリ11に格納したデータを内部バス12を通して、入出力部10から上位装置2へ転送し、正常終了の報告を行う。同時に、スレーブドライブに位置決めを行う。ここで、マスタドライブ番号23に‘1’が記憶されているとすると、‘2’に相当するドライブ32に対し、入出力部16を通して1ブロック進ませる位置決め命令を発行する。
【0057】
もしも読み出しに失敗したならば、スレーブドライブをマスタドライブに変更し、同様に読み出し動作を行う。このようにして、二本の媒体からの読み出し動作が行われる。
【0058】
物理資源管理部24は、ドライブ31,32が読み出し動作可能か否かを管理している、例えば、テープが装着されていないときは「使用不可」にし、テープが装着され読み出しができるようになったときに「使用可能」に変更する。また、読み出しや位置決めでエラーが発生し、読み出しができなくなったときに「使用可能」から「使用不可」に変更する。
【0059】
次に、ドライブ31,32の媒体交換における、二重化制御装置1の動作の概要を説明する。
【0060】
ドライブ31,32に装着されている媒体において記録されているデータが終了した場合、上位装置2は媒体の交換命令を発行する。媒体の交換命令は、細かく分けると、ドライブ31,32に対する媒体の巻き取り及び排出命令と、アクセッサ33に対するドライブ31,32から媒体保管庫34への媒体の搬送命令と、アクセッサ33に対する媒体保管庫34からドライブ31,32への新しい媒体の搬送命令とからなる。それら命令は、入出力部10で受信及び解釈される。
【0061】
上位装置2は、媒体一本の媒体交換命令のため、制御部13の媒体選択手段21を用いて、指定された媒体に対応する実際の正媒体及び副媒体の保管場所を選択し、ドライブ31から媒体保管庫34への媒体の搬送命令及びドライブ32から媒体保管庫34への媒体の搬送命令を、ミラーリング制御手段20を用いてアクセッサ33に発行する。媒体の搬送が終わったら、媒体保管庫34からドライブ31への媒体の搬送命令、及び媒体保管庫34からドライブ32への媒体の搬送命令を発行する。交換が完了したら上位装置2に終了報告を上げる。
【0062】
図2及び図3は二重化制御装置1における媒体交換時の動作の詳細を示し、図2はタイムチャート、図3はフローチャートである。以下、図1乃至図3に基づき、二重化制御装置1の媒体交換時の動作について詳細に説明する。
【0063】
まず、ドライブ31,32には、同一データが記録された媒体が装着されている。上位装置2から発行された読み出し命令に対し、媒体の終了を上位装置2へ報告すると、上位装置2は媒体を交換するため、ドライブ31,32に媒体の巻き取り(Rewind)命令、及び排出(Unload/Demount)命令を発行する(時間t0)。
【0064】
入出力部10で受信された命令は、制御部13で解釈される(ステップS1)。媒体交換命令であるので、「縮退」状態に遷移し(ステップS2)、まずマスタドライブの媒体を排出する(ステップS3)。ここでは、マスタ/スレーブ管理部22のマスタドライブ番号23に記憶されている値が‘1’であるとする。このとき、入出力部16を通して、ドライブ31に対し媒体の巻き取り命令及び排出命令を発行する。続いて、スレーブドライブの媒体を排出する(ステップS4)。このとき、マスタ/スレーブ管理部15のマスタドライブ番号23に記憶されている値とは違う値、すなわち‘1’が記憶されているので‘2’に対応するドライブ32(逆に‘2’が記憶されていたら‘1’のドライブ31)に対し、媒体の巻き取り命令及び排出命令を発行する。
【0065】
ドライブ31で媒体の排出動作が完了したのであれば、マスタドライブからセルへ媒体の搬送命令(Moveコマンド)をアクセッサ33に発行する(ステップS5,時間t1)。搬送先のセルは媒体選択手段21を用いて判断する。媒体選択手段21は、ライブラリ内部のセルを半分の数の仮想的なセルに見せかける手段であり、指定された仮想的セル番号を対応する正媒体のセル番号及び副媒体のセル番号に変換する手段である。ここで、仮想的セル番号をa、セルの総数を2nとすると、正媒体のセル番号を2×a、副媒体のセル番号を2×a+1として変換してもよいし、正媒体のセル番号をa、副媒体のセル番号をa+nとして変換してもよい。
【0066】
続いて、上位装置2から指定された次の媒体をドライブへ搬送する。媒体選択手段21を用いて該当するセル番号を求め、そのセルからドライブ31への媒体搬送命令をアクセッサ33へ発行する(ステップS6、時間t2)。このとき、ドライブ31は、マスタドライブ番号23に記憶されている値に対応する。ドライブ31への装着が完了したところで、上位装置2に終了報告を上げる(ステップS7、時間t3)。
【0067】
続いて、スレーブドライブの媒体交換を行う。ドライブ32からセルへ媒体の搬送命令をアクセッサ33に発行する(ステップS8)。搬送先のセルは媒体選択手段21を用いて判断する。続いて、上位装置2から指定された次の媒体をドライブ32へ搬送する。すなわち、媒体選択手段21を用いて該当するセル番号を求め、そのセルからドライブ32への媒体搬送命令をアクセッサ33へ発行する(ステップS9、時間t4)。ドライブ32は、マスタドライブ番号23に記憶されている値とは異なる値に対応する。
【0068】
スレーブドライブへの装着が完了したら、マスタドライブの現在のテープの位置まで、高速位置決め命令(Locateコマンドなど)で、高速に位置付けを行う(ステップS10、時間t5)。スレーブドライブのあるべき位置、つまり、マスタドライブの1ブロック後に位置付けが完了したら、縮退状態から冗長状態に遷移させる(ステップS11、時間t6)。
【0069】
以上説明したように、ミラーリングされた二つの媒体を用いて、冗長性を持たせて読み出している二重化磁気テープライブラリ装置において、媒体を交換するときは一時的に縮退状態とし、常用系の媒体交換が終わった時点で交換が終了したことにし、その後で、待機系の媒体交換、及び常用系のテープ位置への高速位置付けを行い、自動的に冗長性を復活させることにより、上位装置やオペレータなどによる複雑な処理を行うことなく、媒体交換時の性能低下なしに、磁気テープを二重化し、冗長性を持たせることができる。
【0070】
図4は本発明に係る二重化制御装置の第二実施形態を示すブロック図である。以下、この図面に基づき説明する。ただし、図1と同じ部分は同じ符号を付すことにより説明を省略する。
【0071】
二重化制御装置1’は、二重化されたデータの再生時に媒体を交換する場合、ドライブ32が当該データを再生していなければ、ドライブ32に対して媒体を交換し、続いて媒体の交換が完了したことを上位装置2’へ通知し、続いてドライブ32にデータを再生させるとともにドライブ31に対して媒体を交換することにより、二重化データ再生機能における媒体ドライブ31,32の関係を逆にする媒体交換機能、を備えたことを特徴とする。上位装置2’から見れば、媒体の交換に要する時間は、ドライブ32に対して媒体を交換した後の一瞬であるので、ほとんど無視できる時間にまで短縮される。
【0072】
換言すると、第一実施形態は常用系の媒体を先に交換した後に待機系の媒体を交換するのに対して、本実施形態は待機系の媒体を先に交換する。すなわち、本実施形態では、現在の媒体の処理が終わる前に次に必要な媒体を通知する次媒体通知手段25を上位装置2’に設け、データの終端が近いことを検出するデータ終端予告検出手段26を二重化制御装置1’の制御部13’に設けている。その他の構成については第一実施形態と同じであるため説明を省略する。
【0073】
図5乃至図7は二重化制御装置1’の媒体交換時の動作を示し、図5はタイムチャート、図6及び図7はフローチャートである。以下、図4乃至図7に基づき、二重化制御装置1’の媒体交換時の動作について説明する。
【0074】
説明を簡略化するため、この処理の開始時には、マスタドライブ番号を1、スレーブドライブ番号を2であるとする。まず、上位装置2’から発行された読み出し命令を処理している中で、データ終端予告検出手段26が、媒体の物理的な位置や、書き込まれているデータなどにより、データの終端が近いことを検出したとする(ステップS101)。
【0075】
この場合、マスタ/スレーブ管理部22と物理資源管理部24との情報を確認し、マスタドライブ番号23のドライブ番号と違うドライブ(スレーブドライブ)のドライブ状態が使用不可ならば(ステップS102,Yes)、入出力部10を経由し、上位装置2’に対し、次に使う媒体を問い合わせる(ステップS103)。上位装置2’は、次媒体通知手段25によって次に使う媒体が判り通知できれば、次に使う媒体を通知する。
【0076】
制御部13’では、上位装置2’からの次の媒体の通知を待っており、通知が来たら(ステップS104,Yes)、スレーブドライブであるドライブ32に対し、媒体の巻き取り及び排出命令を発行する(ステップS105)。媒体選択手段21を用いて、現在の媒体の格納先を確認したら、アクセッサ33に対し、ドライブ32からセルへの媒体の搬送命令を発行する(ステップS106)。移動が終了したら、次の媒体に対応するセルを媒体選択手段21を用いて確認し、アクセッサ33に対し、セルからドライブ32への媒体の搬送命令を発行する(ステップS107)。ドライブ32への媒体の装着が完了したところで、物理資源管理部24のドライブ32の状態を使用不可から待機状態に変更する(ステップS108)。
【0077】
マスタドライブであるドライブ31の処理が進み、ドライブ31でデータの終端を検出し、上位装置2から媒体の交換指示が来た場合(ステップS120)、その媒体が、次媒体通知手段25で通知された媒体と同じならば(ステップS121,Yes)、現在のスレーブドライブであるドライブ32の状態を使用可能に変更し、マスタ/スレーブ管理部22のマスタドライブ番号を‘1’から‘2’に変更し、新たなスレーブドライブとなったドライブ31の状態を使用不可に変更する(ステップS122)。そして、すぐに上位装置2’に対し媒体交換の終了報告を行う(ステップS123)。
【0078】
その後、スレーブドライブであるドライブ31に対し、媒体の巻き取り及び排出命令を発行する(ステップS124)。媒体選択手段21を用いて、現在の媒体の格納先を確認したら、アクセッサ33に対し、ドライブ31からセルへの媒体の搬送命令を発行する(ステップS125)。移動が終了したら、次の媒体に対応するセルを媒体選択手段21を用いて確認し、アクセッサ33に対し、セルからドライブ31への媒体の搬送命令を発行する(ステップS126)。ドライブ31への装着が完了したら、マスタドライブであるドライブ32の現在のテープの位置まで、高速位置決め命令で高速に位置付けを行う(ステップS127)。スレーブドライブのあるべき位置、つまり、マスタドライブの1ブロック後に位置付けが完了したら、ドライブ31の状態を使用不可から待機状態に変更し、システムとしては縮退状態から冗長状態に遷移させる(ステップS128)。
【0079】
なお、ステップS102,S104,S121で期待と異なった場合、この処理方法ではなく、第一実施形態と同じ方法で媒体交換を行う。
【0080】
本実施形態によれば、データの終端を予告する終端予告検出手段26を二重化制御装置1’内に追加し、次に使う予定の媒体を事前に通知する次媒体通知手段25を上位装置2’に追加することにより、データ終端近くで縮退していて、待機系として役に立っていないドライブの媒体を事前に次の媒体に交換して、待機させることができる。常用系で、データの終端予告を検出してからデータの終端を検出するまでの間に媒体交換が完了するように、データの終端予告を出力できるようにしておくと、媒体交換にかかる時間をほぼ0にすることができる。このようにして、従来と同じ冗長性を保ちながら、媒体の交換時間を大幅に短縮することができる。
【0081】
次に、本発明に係る二重化制御装置の第三実施形態について説明する。本実施形態の構成は第二実施形態と同じであるので、図4乃至図7に基づき説明する。
【0082】
本実施形態の二重化制御装置1’は、二重化されたデータの再生時に媒体を交換する場合、ドライブ32が当該データを再生していれば、これを中止させてドライブ32に対して媒体を交換し、続いて媒体の交換が完了したことを上位装置2’へ通知し、続いてドライブ32にデータを再生させるとともにドライブ31に対して媒体を交換することにより、二重化データ再生機能におけるドライブ31,32の関係を逆にする媒体交換機能、を備えたことを特徴とする。上位装置2’から見れば、媒体の交換に要する時間は、ドライブ32に対して媒体を交換した後の一瞬であるので、ほとんど無視できる時間にまで短縮される。
【0083】
換言すると、第二実施形態では、データの終端予告を検出したときに、縮退状態であったときのみ、上位装置2’に次の媒体を問い合わせ、媒体を事前に交換していた。これに対し、本実施形態では、縮退状態でなくても、その時点で、強制的に縮退状態にして、同様の処理を行う。また、縮退させる前に、バッファメモリ11に先読みできるだけ先読みをさせてもよい。又は、データの終端予告を検出した時点で待機系はバッファメモリ11を使って先読みを行い、先読みでデータの終端を検出した時点で、先読みデータを保持したまま、媒体の交換を行っても良い。
【0084】
第二実施形態ではデータの終端近くで縮退しているときに限られていたが、本実施形態によれば、縮退していないときにも強制的に縮退させ、媒体を事前に交換してしまうことにより、常に上位装置2’から見える媒体交換の時間を短縮できる。先読みできるだけ、先読みをさせる場合は、バッファメモリ11に先読みしていた分だけ冗長性を残すことができる。また、先読みでデータ終端を検出してから、媒体の交換を行う方法では、冗長性を失うことなく、上位装置2’に見える媒体交換の時間を短縮できる。
【0085】
なお、本発明は、言うまでもなく、上記実施形態に限定されない。例えば、上記実施形態では、磁気テープ媒体及び磁気テープドライブを例にとって説明したが、本発明は磁気ディスク媒体及び磁気ディスクドライブ、光ディスク媒体及び光ディスクドライブ、その他の情報記録再生装置にも適用することが可能である。
【0086】
【発明の効果】
請求項1,5,12に係る発明によれば、二重化されたデータの再生時に情報記録媒体を交換する場合に、第一の媒体ドライブに対して前記情報記録媒体を交換し、続いて情報記録媒体の交換が完了したことを上位装置へ通知し、続いて第二の媒体ドライブに対して前記情報記録媒体を交換することにより、上位装置から見た情報記録媒体の交換時間を、二台の媒体ドライブの一方に対して情報記録媒体を交換する時間に等しくできるで、従来の約半分に短縮できる。
【0087】
媒体交換機能(請求項3)。上位装置から見れば、情報記録媒体の交換に要する時間は、二台の媒体ドライブの一方に対して情報記録媒体を交換した後の一瞬であるので、ほとんど無視できる時間にまで短縮される。
【0088】
請求項2,6,13に係る発明によれば、二重化されたデータの再生時に情報記録媒体を交換する場合、第二の媒体ドライブが当該データを再生していなければ、第二の媒体ドライブに対して情報記録媒体を交換し、続いて情報記録媒体の交換が完了したことを上位装置へ通知し、続いて第二の媒体ドライブにデータを再生させるとともに第一のドライブに対して情報記録媒体を交換し、二重化データ再生機能における第一及び第二の媒体ドライブの関係を逆にすることにより、上位装置から見た情報記録媒体の交換時間を、二台の媒体ドライブの一方に対して情報記録媒体を交換した後の一瞬にできるので、ほとんど無視できる時間にまで短縮できる。
【0089】
請求項3,7,14に係る発明によれば、 二重化されたデータの再生時に情報記録媒体を交換する場合、第二の媒体ドライブが当該データを再生していれば、これを中止させて第二の媒体ドライブに対して情報記録媒体を交換し、続いて情報記録媒体の交換が完了したことを上位装置へ通知し、続いて第二の媒体ドライブにデータを再生させるとともに第一のドライブに対して情報記録媒体を交換し、二重化データ再生機能における第一及び第二の媒体ドライブの関係を逆にすることにより、上位装置から見れた情報記録媒体の交換時間を、二台の媒体ドライブの一方に対して情報記録媒体を交換した後の一瞬にできるので、ほとんど無視できる時間にまで短縮できる。
【0090】
請求項4,8,15に係る発明によれば、磁気テープ媒体用としたことにより、磁気テープ媒体特有の交換時間が長くなるという問題を、顕著に解決できる。
【図面の簡単な説明】
【図1】本発明に係る二重化制御装置の第一実施形態を示すブロック図である。
【図2】図1の二重化制御装置における媒体交換時の動作を示すタイムチャートである。
【図3】図1の二重化制御装置における媒体交換時の動作を示すフローチャートである。
【図4】本発明に係る二重化制御装置の第二実施形態を示すブロック図である。
【図5】図4の二重化制御装置における媒体交換時の動作を示すタイムチャートである。
【図6】図4の二重化制御装置における媒体交換時の動作を示すフローチャート(前半)である。
【図7】図4の二重化制御装置における媒体交換時の動作を示すフローチャート(後半)である。
【図8】従来の情報記録再生システムを示すブロック図である。
【図9】図8の情報記録再生システムの動作を示すフローチャートである。
【図10】図8の情報記録再生システムにおける媒体交換時の動作を示すタイムチャートである。
【符号の説明】
1,1’  二重化制御装置
2,2’  上位装置
3 磁気テープライブラリ装置
4、5 信号線
10,16 入出力部
11 バッファメモリ
12  内部バス
13,13’ 制御部
14  記憶部
15  プログラム記憶媒体
20 ミラーリング制御手段
21 媒体選択手段
22 マスタ/スレーブ管理部
23 マスタドライブ番号
24 物理資源管理部
25 次媒体通知手段
26 終端予告検出手段
31,32 ドライブ
33 アクセッサ
34 媒体保管庫
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a dual control device for an information recording / reproducing device and the like, and in particular, records the same data on an information recording medium mounted on each physical drive by imitating two physical drives as one logical drive. The present invention relates to a duplex control device and the like used in a mirroring information recording / reproducing system.
[0002]
Magnetic tape devices have become indispensable as backup devices for computer systems. In particular, the importance of electronic data information has been increasing with the progress of the information society in recent years. However, when creating backup data using a magnetic tape device, usually two sets of magnetic tape media recording the same data are created. These magnetic tape media are managed in different places. Conventionally, when two sets of backup data are created, one set of backup data is first created on a magnetic tape medium, and then the backup data is copied to another magnetic tape medium to create two sets of backup data. are doing.
[0003]
However, it takes twice as much time to create another set of backup data, and there is a high possibility that an error or an error occurs because the data copying process involves many procedures.
[0004]
In order to solve this problem, the present applicant considers two physical drives to be one logical drive, treats two information recording media mounted on each physical drive as one information recording medium, and records two information recording media. An information recording / reproducing system capable of easily creating backup data by recording the same data on a medium has already been devised (Japanese Patent Application Laid-Open No. 2002-132559).
[0005]
FIG. 8 is a block diagram showing the information recording / reproducing system disclosed in the above publication. Hereinafter, description will be made based on this drawing. In the following description, the “magnetic tape drive” and “magnetic tape medium” will be simply referred to as “drive” and “medium”.
[0006]
A conventional information recording / reproducing system includes a host device 101 such as a host computer, a duplex control device 102, and a magnetic tape library device 105. The storage unit 124 in the duplex control device 102 divides the cell numbers of the media storage 153 of the magnetic tape library device 105 into two groups so that there are virtually two magazines. It is stored in the conversion table 129 provided in the storage unit 124. For example, cells 0 to 11 are treated as cells 0 to 11 of the virtual magazine A, and cells 12 to 23 are treated as cells 0 to 11 of the virtual magazine B. The medium selection unit 128 selects a cell storing a medium based on the conversion rules stored in the conversion table 129.
[0007]
The magnetic tape library device 105 has two drives 151a, 151b for mounting and reading / writing media, an accessor 152 for transporting the media between the drives 151a, 151b and the media storage 153, and stores the media. And a medium storage 153.
[0008]
The redundant control device 102 includes an input / output unit 121 that transmits and receives data to and from the host device 101, a control unit 123 that operates under program control, a storage unit 124 that temporarily stores data using a RAM or the like, A program storage medium 125 for storing a program for controlling the control unit 123, an input / output unit 126 for transmitting and receiving data to and from the magnetic tape library device 105, and communication between the control unit 123 and other circuits. And a control signal line 122 for performing the operation. The control unit 123 includes a mirroring control unit 127 and a medium selection unit 128 described below.
[0009]
The input / output unit 121 is to receive some input to the redundant control device 102 with respect to the higher-level device 101 or to send out some output. For example, a command or data from the higher-level device 101 is received, or a report is returned to the higher-level device 101. On the other hand, the input / output unit 126 issues some command to the magnetic tape library device 105 and receives data from the magnetic tape library device 105.
[0010]
The control signal line 122 is a signal line for the control unit 123 mounted in the redundant control device 102 to communicate with other circuits. The control unit 123 is a microprocessor that operates under program control, and controls the input / output unit 121 and the input / output unit 126 according to a program stored in the program storage medium 125. The storage unit 124 stores data for operating the control unit 123. A program for operating the control unit 123 is stored in the program storage medium 125.
[0011]
The mirroring control unit 127 in the control unit 123 is a unit that writes the same data to the medium mounted on the drives 151a and 151b of the magnetic tape library device 105, and basically writes the same data to the drives 151a and 151b. Issue the same instruction. However, if any error occurs in any of the drives, recovery processing is performed on that drive so that the same data can be written to both drives. For example, when a data error occurs in one of the drives, the positioning is performed again only for the drive in which the data error has occurred, and the writing process is performed again. In addition, in preparation for a case where the lengths of the media mounted on both drives are different, when EOT (End of Tape: media end) is detected only in one drive, it is determined that EOT is detected in the other drive, and both drives are detected. Change the media in the drive.
[0012]
The medium selection unit 128 takes out the medium from the medium storage 153 and determines a cell number to be specified when the medium is attached to the drives 151a and 151b, or takes out the medium from the drives 151a and 151b and stores the medium in the medium storage 153. This is a means for determining a cell number.
[0013]
The drives 151a and 151b allow the medium to run in accordance with an instruction from the input / output unit 126 of the duplex control device 102, and record and reproduce data. The accessor 132 takes out the medium from the designated cell according to the instruction from the input / output unit 126 and inserts the medium into the drives 151a and 151b, or conversely takes out the medium from the drives 151a and 151b and stores it in the designated cell. . The medium storage 153 includes shelves for storing media in cells 0 to 23.
[0014]
FIG. 9 is a flowchart for explaining the operation flow of the information recording / reproducing system of FIG. Hereinafter, the operation of the conventional information recording / reproducing system will be described with reference to FIGS.
[0015]
When writing data from the higher-level device 101 to a medium, there are three operations: mounting the medium, writing to the medium, and demounting the medium. These operations will be described below.
[0016]
First, the mounting operation of the medium will be described. The input / output unit 121 receives, for example, a mount command from the cell 0 from the host device 101 (steps S02 and S03 “YES”). Then, the control unit 123 obtains the corresponding cell numbers (that is, the cell 0 of the virtual magazine A and the cell 12 of the virtual magazine B) by using the medium selecting unit 128 and sends the cell numbers to the magnetic tape library device 105 via the input / output unit 126. On the other hand, a mount command is issued from the corresponding cell (steps S04 and S05). In response to this, the accessor 152 takes out the medium from the cells 0 and 12 and transports the medium to the drives 151a and 151b. Next, the input / output unit 126 receives the mount end report from the drives 151a and 151b, and checks the end state (step S06). If the operation ends normally, the input / output unit 121 reports an operation end to the host device 101 ("NO" in step S07, S09). On the other hand, if the termination is abnormal, after performing some recovery processing, the input / output unit 121 reports an operation termination to the host device 101 (step S07 “YES”, S08, S09).
[0017]
Next, an operation of writing data to a medium will be described. First, the input / output unit 121 receives a data write command from the host device 101 (Steps S02 and S03 “NO”). Then, the input / output unit 126 issues a write command to the drives 151a and 151b of the magnetic tape library device 105 with the same block length using the mirroring control unit 127 (step S05). Thereafter, it waits for an end report from the drives 151a and 151b (step S06). Here, if any error occurs in the write operation, recovery processing is performed as necessary (“YES” in step S07, S08). When a write error occurs, data is written again by rewriting, re-positioning, or writing an erase mark only in the drive in which the error has occurred. On the other hand, if writing is continued and EOT (end of medium) is detected in one of the drives, an EOT report is sent to the host device 101.
[0018]
When the EOT is detected in any one of the media (for example, the drive 151a), it is determined that the EOT has been detected in the other medium (for the drive 151b), and a command to exchange the medium is issued from the host device 101. . Here, as the newly mounted medium, a medium having a corresponding cell number between the virtual magazines A and B in the medium storage 153 is selected. That is, in the case of the present example, for example, even if an area that can be written on the medium of the drive 151b remains, the medium is also changed in the drive 151b at the same time when the medium is changed in the drive 151a, and then the above-described writing process is performed. For this reason, the data in the medium stored in the virtual magazines A and B corresponds between the virtual magazines A and B, so that data can be managed for each magazine.
[0019]
Next, the demounting operation of the medium will be described. When the host device 101 has finished writing all the data to be written, or has received an EOT report from the drives 151a and 151b even though there is still data to be written, the input / output unit 126 issues a demount command. . The input / output unit 121 receives a command to eject the medium to the cells 0 and 12 of the drives 151a and 151b (demount command) from the host device 101 (steps S02 and S03 “YES”). Then, the input / output unit 126 obtains the corresponding cell number using the medium selection unit 128, and issues a demount command to the drives 151a and 151b for the corresponding cells (here, the cells 0 and 12) (step S04, S05). When the input / output unit 126 receives the demount end report from both the drives 151a and 151b, the end state is checked (step S06). If the operation ends normally, the input / output unit 121 reports an operation end to the host device 101 ("NO" in step S07, S09). On the other hand, if the operation has been abnormally terminated, a recovery process is performed, and then an operation end report is made to the host device 101 (step S07 “YES”, S08, S09).
[0020]
If data to be written still remains after the demount operation on the cells 0 and 12 is completed, the host device 101 then issues a mount command from the cell 1. When the input / output unit 121 receives the mount command from the cell 1 from the higher-level device 101, the corresponding cell number (that is, the cell of the virtual magazine A) is 1 and the cell 13) of the virtual magazine B, and issues a mount command from the cell to the magnetic tape library device 105.
[0021]
Thereafter, the above-described write and demount operation processing is repeated. At this time, in the mounting operation, the writing operation, the demounting operation, and the like, the medium selection unit 128 extracts two media from the designated cell number based on the conversion rule of the conversion table 129, and mounts them on the drives 151a and 151b. Also, a conversion table 129 for grouping cells for managing the medium is provided, and the conversion rules stored therein are referred to by the medium selection means 128, so that there is virtually two magazines. it can.
[0022]
As described above, according to this information recording / reproducing system, two drives 151a and 151b write the same data to two media at the same time, whereby two primary and secondary media can be created at the same time.
[0023]
[Problems to be solved by the invention]
FIG. 10 is a time chart showing an operation at the time of medium exchange in a conventional information recording / reproducing system. Hereinafter, description will be made with reference to FIGS.
[0024]
First, a medium is taken out from the drive 151a, the medium is put into the medium storage 153, and similarly, a medium is taken out from the drive 151b, and the medium is put into the medium storage 153. Subsequently, a new medium is ejected from the medium storage 153, and the medium is put into the drive 151a. Similarly, a new medium is ejected from the medium storage 153, and the medium is put into the drive 151b. Therefore, the time from when the medium is ejected from the drive 151a to when a new medium is inserted into the drive 151b is the medium exchange time as viewed from the host device 101. It is desirable that the medium exchange time be as short as possible because the next processing is to be put on standby.
[0025]
As described above, in the conventional information recording / reproducing system, since the accessor (medium transport mechanism) is shared by a plurality of drives, it takes twice or more times to exchange the medium as compared with a case where the data is not duplicated. There was a problem that it would.
[0026]
[Object of the invention]
SUMMARY OF THE INVENTION It is an object of the present invention to provide a dual control device for an information recording / reproducing device which can reduce the medium exchange time.
[0027]
[Means for Solving the Problems]
A duplication control device according to the present invention includes: a medium storage unit having a medium storage position capable of separately storing a plurality of information recording media; a plurality of medium drives for recording and reproducing data on the information recording medium; For an information recording / reproducing apparatus having a medium transport means for transporting an information recording medium between a position and a medium drive, the recording / reproduction of the medium drive and the transport of the medium transport means are controlled based on a command from a higher-level device. In addition, the same data is duplicatedly recorded in the first and second media drives, which are any two of the plurality of media drives, and has the following functions.
[0028]
At the time of reproducing the duplicated data, the first medium drive reproduces the data and makes the reproduction position of the second medium drive follow the reproduction position of the first medium drive. A duplicated data reproduction function that reproduces the data on the second medium drive only when the data is generated (see Japanese Patent Application No. 2002-60419 [undisclosed]). The playback position of the second medium drive follows the playback position of the first medium drive. Therefore, when an error occurs in the first medium drive during reproduction of certain data, the reproduction position of the second medium drive is immediately adjacent to the data, so that the data can be quickly restored by the second medium drive.
[0029]
When replacing the information recording medium at the time of reproducing the duplicated data, replace the information recording medium with the first medium drive, and then notify the host device that the exchange of the information recording medium is completed, Subsequently, a medium exchange function for exchanging the information recording medium with the second medium drive (Claim 1). From the viewpoint of the host device, the time required for exchanging the information recording medium is equal to the time required for exchanging the information recording medium for one of the two media drives, and is therefore reduced to about half of the conventional one.
[0030]
When exchanging the information recording medium at the time of reproducing the duplicated data, if the second medium drive is not reproducing the data, the information recording medium is exchanged with the second medium drive. The completion of the exchange is notified to the upper-level device, and then the data is reproduced by the second medium drive and the information recording medium is exchanged for the first drive. A medium exchange function for reversing the relationship of the second medium drive (claim 2). From the viewpoint of the host device, the time required for exchanging the information recording medium is a moment after exchanging the information recording medium with one of the two media drives, and is therefore reduced to almost negligible time.
[0031]
When exchanging the information recording medium at the time of reproducing the duplicated data, if the second medium drive is reproducing the data, stop this, replace the information recording medium for the second medium drive, Subsequently, by notifying the higher-level device that the exchange of the information recording medium has been completed, and subsequently causing the second medium drive to reproduce the data and exchanging the information recording medium with the first drive, the duplicated data reproduction is performed. A medium exchange function for reversing the relationship between the first and second media drives in function (claim 3). From the viewpoint of the host device, the time required for exchanging the information recording medium is a moment after exchanging the information recording medium with one of the two media drives, and is therefore reduced to almost negligible time.
[0032]
The duplication control device according to claim 4, wherein the information recording medium, the medium storage position, the medium storage means, the medium drive, the medium transport means, and the information recording / reproducing apparatus are respectively a magnetic tape medium, a cell number, a medium storage, and a magnetic tape drive. , A media transport robot and a magnetic tape library device. The magnetic tape medium requires an operation such as rewinding at the time of replacement, so that the time required for replacement becomes longer. Therefore, the effect of the present invention becomes remarkable.
[0033]
The redundant control method according to claims 5 to 8 expresses the redundant control devices according to claims 1 to 3 as methods, respectively, so that the same operations and effects as those of the redundant control devices according to claims 1 to 3 are obtained. Play. The duplication control program according to claims 9 to 12 expresses the duplication control device according to claims 1 to 3 as a computer program, respectively. It works.
[0034]
In other words, the present invention combines a peripheral device that handles replaceable sequential access media such as a magnetic tape, a dual magnetic tape drive that mirrors a plurality of physical drives as a single logical drive, and a magnetic tape drive. In a duplex magnetic tape library device including an accessor that conveys a medium to and from a media storage, the time required for medium exchange can be shortened and processing can be continued at high speed by temporarily becoming in a degenerate state at the time of medium exchange. It is characterized by. When a medium exchange command is received from a higher-level device, processing of the master drive is performed first, processing of the master drive ends, a completion report is sent to the higher-level device, and then processing of the slave drive is performed. The medium exchange time can be shortened, and the performance can be improved.
[0035]
Further, the present invention can be paraphrased as follows.
[0036]
1. A dual magnetic tape library device equipped with such a magnetic tape drive, wherein a plurality of physical drives are recognized as one logical drive from a host computer, and a plurality of physical cells are recognized as one logical cell from a host computer. In the case of media exchange, the redundant configuration is temporarily stopped, and when only the normal media exchange is completed, the host computer is notified that the media exchange is completed, and then the standby media exchange is performed and positioned. A dual magnetic tape library apparatus including a function of correcting a redundant configuration and a control method thereof.
[0037]
2. The above 1. In the dual magnetic tape library device, by exchanging the media in the standby system in advance, it is assumed that the media exchange is completed by switching between the ordinary system and the standby system without waiting for the exchange of the medium in the ordinary system to be completed. A dual magnetic tape library device including a function and a control method thereof.
[0038]
3. 2 above. A dual magnetic tape library apparatus including a function of performing standby medium exchange in advance while holding standby read-ahead data, and a control method therefor.
[0039]
4. A control program (program storage medium) for a duplex magnetic tape library device using the above method.
[0040]
BEST MODE FOR CARRYING OUT THE INVENTION
In describing the embodiments of the present invention, the terms "information recording medium", "medium storage position", "medium storage means", "medium drive", "medium transport means", and "information recording / reproducing apparatus" in the claims are referred to as "information recording / reproducing apparatus", respectively. The terms "magnetic tape medium", "cell number", "medium storage", "magnetic tape drive", "accessor (medium transport robot)", and "magnetic tape library apparatus" will be specifically described. Further, “magnetic tape medium” and “magnetic tape drive” are abbreviated as “medium” and “drive”, respectively. Further, "master drive", "slave drive", "master drive medium" and "slave drive medium" are referred to as "master drive", "slave drive", and "main medium", respectively. And "sub-medium".
[0041]
FIG. 1 is a block diagram showing a first embodiment of a redundant control device according to the present invention. Hereinafter, description will be made based on this drawing.
[0042]
The duplex control device 1 of the present embodiment includes a medium storage 34 having a cell number capable of separately storing a plurality of media, drives 31 and 32 for recording and reproducing data on the medium, a cell number and a drive 31, For the magnetic tape library device 3 having an accessor 33 for transferring a medium to and from the drive 32, the recording and reproduction of the drives 31 and 32 and the transfer of the accessor 33 are controlled based on a command from the host device 2. The same data is recorded in the drives 31 and 32 while being duplicated, and has the following two functions.
[0043]
▲ 1 ▼. At the time of reproducing the duplicated data, for example, the drive 31 reproduces the data and causes the reproduction position of the drive 31 to follow the reproduction position of the drive 31 so that the data is transferred to the drive 32 only when a reproduction error occurs in the drive 31. Duplicated data playback function to play. ▲ 2 ▼. When exchanging the medium at the time of reproducing the duplicated data, for example, the medium is exchanged to the drive 31, then the completion of the exchange of the medium is notified to the host device 2, and then the medium is notified to the drive 32. To replace the medium exchange function. From the point of view of the host device 2, the time required for medium exchange is equal to the time for medium exchange for only the drive 31, so that it is reduced to about half the conventional time.
[0044]
In other words, the redundant control device 1 includes a master / slave management unit 22 for treating one of the two physical drives as a master and the other as a slave, and a physical resource management unit 24 for managing availability of each physical drive. And is configured to manage the state of the connected physical drive. When a medium exchange command is received from the host device 2, the master drive process is performed first, the master drive process is completed, a completion report is sent to the host device 2, and the slave drive process is performed. 2, the medium exchange time can be shortened, so that the performance can be improved. The details will be described below.
[0045]
The information recording / reproducing system according to the present embodiment includes a magnetic tape library device 3 including drives 31 and 32 and an accessor 33, and instructs the magnetic tape library device 3 to exchange media, and writes and writes to the drives 31 and 32. An upper device 2 such as a host computer for instructing reading, etc .; two drives 31 and 32 appearing to the upper device 2 as one drive; and two physical cells as one virtual cell. , A signal line 4 connecting the higher-level device 2 and the redundancy control device 1, and a signal line 5 connecting the magnetic tape library device 3 and the redundancy control device 1.
[0046]
The redundant control device 1 includes an input / output unit 10 for transmitting and receiving commands and data to and from the host device 2, an input / output unit 16 for transmitting and receiving commands and data to and from the magnetic tape library device 3, Buffer memory 11 for temporarily storing data to be transferred between the magnetic tape library device 3 and the magnetic tape library device 3, a control unit 13 for integrating and controlling the operation of each of these functional blocks by a microprogram, and control by the control unit 13. And a program storage medium 15 for storing a microprogram operated by the control unit 13 and an internal bus 12 for connecting these to each other. .
[0047]
The magnetic tape library device 3 includes drives 31 and 32, a medium storage 34 composed of cells for storing the medium, and an accessor 33 that transports the medium between the drives 31 and 32 and the medium storage 34. . Here, for simplicity of description, the number of drives 31 and 32 in the magnetic tape library device 3 is two, but more drives may be included.
[0048]
Next, each of the above components will be described in more detail.
[0049]
If the input / output unit 10 and the signal line 4 are to be connected to the higher-level device 2 via a fiber channel (Fibre Channel), they become a fiber channel protocol controller and a fiber channel cable, respectively, and are SCSI (Small Computer). If an attempt is made to connect via a system interface, a SCSI controller and a SCSI cable are used, respectively. Similarly, if the input / output unit 16 and the signal line 5 are to be connected to the magnetic tape library device 3 by a fiber channel, they are respectively a fiber channel protocol controller and a fiber channel cable. If they are to be connected by a SCSI controller and a SCSI cable, respectively.
[0050]
The interface between the host device 2 and the input / output unit 10 and the interface between the input / output unit 16 and the magnetic tape library device 3 may be the same type of interface or different types of interfaces. The input / output unit 16 is connected to the drives 31 and 32 and the accessor 33. However, the same three units as the input / output unit 16 are prepared, and each input / output unit is connected to the drive 31, 32 and the accessor 33. May be connected one-to-one. The internal bus 12 is a signal line for the control unit 13 mounted in the redundant control device 1 to communicate with other circuits, and is generally a local bus of a CPU, a PCI bus, or the like.
[0051]
The control unit 13 is a microprocessor (CPU, MPU, or the like) that operates under program control, and controls the input / output unit 10 and the input / output unit 16 according to a program stored in the program storage medium 15. At this time, the program may be operated while directly reading the program from the program storage medium 15 through the internal bus 12, or the program may be copied from the program storage medium 15 to the storage unit 14 through the internal bus 12, and the program stored in the storage unit 14 may be copied. May be operated while reading out on the internal bus 12.
[0052]
The storage unit 14 stores data for operating the control unit 13. Therefore, it is necessary to be able to read and write, and a RAM (Random Access Memory) is generally used. Further, the storage unit 14 includes a master / slave management unit 22 that manages which drives 31 and 32 correspond to a master or a slave, and a physical resource management unit 24 that stores the status of the drives 31 and 32.
[0053]
The program storage medium 15 stores a program for operating the control unit 13. The program storage medium 15 is preferably a read-only medium, as long as the program can be read by the control unit 13. Generally, a nonvolatile memory such as a flash memory and a ROM (Read Only Memory), an FD (Floppy Disk), a CD-ROM, and the like can be given.
[0054]
Next, an operation of the redundant control device 1 in reading data from the drives 31 and 32 to the host device 2 will be described.
[0055]
First, the media on which the same data is recorded are mounted on the drives 31 and 32, respectively. The read command issued from the host device 2 is received and interpreted by the input / output unit 10. If the value stored in the master drive number 23 of the master / slave management unit 22 is, for example, “1”, the control unit 13 issues a read command to the drive 31 through the input / output unit 16 and sends data and an end report. wait.
[0056]
The read data is once stored in the buffer memory 11 from the input / output unit 16 through the internal bus 12. When the reading is completed normally, the data stored in the buffer memory 11 is transferred from the input / output unit 10 to the higher-level device 2 through the internal bus 12, and a report of the normal end is made. At the same time, positioning is performed on the slave drive. Here, assuming that "1" is stored in the master drive number 23, a positioning command to advance one block through the input / output unit 16 is issued to the drive 32 corresponding to "2".
[0057]
If the read fails, the slave drive is changed to the master drive, and the read operation is performed similarly. In this way, the read operation from the two media is performed.
[0058]
The physical resource management unit 24 manages whether or not the drives 31 and 32 can perform a read operation. For example, when a tape is not mounted, it is set to “unusable”, and a tape can be mounted and read. Change to "Available" when Further, when an error occurs in reading or positioning and reading cannot be performed, the status is changed from “usable” to “unusable”.
[0059]
Next, an outline of the operation of the redundant control device 1 in exchanging the media of the drives 31 and 32 will be described.
[0060]
When the data recorded on the media mounted on the drives 31 and 32 ends, the host device 2 issues a medium exchange command. The medium exchange command can be subdivided into: a medium take-up / discharge command to the drives 31 and 32; a medium transfer command to the accessor 33 from the drives 31 and 32 to the medium storage 34; 34, and a command for transporting a new medium to the drives 31 and 32. These commands are received and interpreted by the input / output unit 10.
[0061]
The host device 2 uses the medium selection unit 21 of the control unit 13 to select the actual storage location of the primary medium and the sub-media corresponding to the specified medium for the medium exchange command for one medium, and The mirroring control unit 20 issues a command to transfer the medium from the storage medium to the medium storage 34 and a command to transfer the medium from the drive 32 to the medium storage 34. When the transport of the medium is completed, an instruction to transport the medium from the medium storage 34 to the drive 31 and an instruction to transport the medium from the medium storage 34 to the drive 32 are issued. When the replacement is completed, a completion report is sent to the host device 2.
[0062]
2 and 3 show the details of the operation at the time of medium exchange in the redundant control device 1, FIG. 2 is a time chart, and FIG. 3 is a flowchart. Hereinafter, based on FIG. 1 to FIG. 3, the operation of the duplex control device 1 at the time of medium exchange will be described in detail.
[0063]
First, a medium on which the same data is recorded is mounted on the drives 31 and 32. When the end of the medium is reported to the high-order apparatus 2 in response to the read command issued from the high-order apparatus 2, the high-order apparatus 2 exchanges the medium with the drives 31 and 32 for rewinding the medium and ejecting the medium (Rewind). Unload / Demount) instruction is issued (time t0).
[0064]
The command received by the input / output unit 10 is interpreted by the control unit 13 (step S1). Since it is a medium exchange command, the state transits to the "degenerate" state (step S2), and first, the medium in the master drive is ejected (step S3). Here, it is assumed that the value stored in the master drive number 23 of the master / slave management unit 22 is “1”. At this time, a command to take up and eject the medium is issued to the drive 31 through the input / output unit 16. Subsequently, the medium in the slave drive is ejected (step S4). At this time, since a value different from the value stored in the master drive number 23 of the master / slave management unit 15, that is, “1” is stored, the drive 32 corresponding to “2” (conversely, “2” If it is stored, it issues a medium take-up instruction and a discharge instruction to the drive 31) of '1'.
[0065]
If the drive 31 has completed the medium discharging operation, the master drive issues a medium transfer command (Move command) to the cell to the accessor 33 (step S5, time t1). The cell of the transfer destination is determined using the medium selection unit 21. The medium selection unit 21 is a unit that makes cells in the library look like half the number of virtual cells, and converts a specified virtual cell number into a corresponding primary medium cell number and sub-medium cell number. It is. Here, assuming that the virtual cell number is a and the total number of cells is 2n, the cell number of the main medium may be converted to 2 × a, the cell number of the sub medium may be converted to 2 × a + 1, or the cell number of the main medium may be converted. May be converted as a and the cell number of the sub-medium as a + n.
[0066]
Subsequently, the next medium specified by the host device 2 is transported to the drive. The corresponding cell number is obtained by using the medium selection means 21, and a medium transfer command from the cell to the drive 31 is issued to the accessor 33 (step S6, time t2). At this time, the drive 31 corresponds to the value stored in the master drive number 23. When the attachment to the drive 31 is completed, an end report is sent to the host device 2 (step S7, time t3).
[0067]
Subsequently, the medium of the slave drive is exchanged. The drive 32 issues a medium transfer command to the cell to the accessor 33 (step S8). The cell of the transfer destination is determined using the medium selection unit 21. Subsequently, the next medium specified by the host device 2 is transported to the drive 32. That is, the corresponding cell number is obtained by using the medium selection means 21, and a medium transfer command from the cell to the drive 32 is issued to the accessor 33 (step S9, time t4). The drive 32 corresponds to a value different from the value stored in the master drive number 23.
[0068]
When the mounting to the slave drive is completed, high-speed positioning is performed by a high-speed positioning command (such as a Locate command) to the current tape position of the master drive (step S10, time t5). When the position where the slave drive should be, that is, the positioning is completed one block after the master drive, the state is changed from the degenerated state to the redundant state (step S11, time t6).
[0069]
As described above, in a duplex magnetic tape library apparatus that reads data with redundancy using two mirrored media, when the media is replaced, the media is temporarily set in a degenerate state, and a normal media replacement is performed. When the exchange is completed, it is determined that the exchange has been completed. After that, the standby medium is exchanged and the high-speed positioning to the tape position of the regular system is performed, and the redundancy is automatically restored. The magnetic tape can be duplexed and redundancy can be provided without performing complicated processing due to the above and without deteriorating performance at the time of medium exchange.
[0070]
FIG. 4 is a block diagram showing a second embodiment of the redundant control device according to the present invention. Hereinafter, description will be made based on this drawing. However, the same parts as those in FIG.
[0071]
When the medium is exchanged at the time of reproducing the duplicated data, if the drive 32 is not reproducing the data, the duplication control device 1 'exchanges the medium with the drive 32, and then the exchange of the medium is completed. Is notified to the host device 2 ', and subsequently, the data is reproduced by the drive 32 and the medium is exchanged with the drive 31 to thereby reverse the relation between the medium drives 31 and 32 in the duplicated data reproduction function. Function. From the viewpoint of the host device 2 ', the time required for medium exchange is a moment after the medium is exchanged for the drive 32, and is therefore reduced to almost negligible time.
[0072]
In other words, in the first embodiment, the medium of the standby system is exchanged first, and then the medium of the standby system is exchanged, whereas in the present embodiment, the medium of the standby system is exchanged first. That is, in the present embodiment, the next medium notification means 25 for notifying the next required medium before the processing of the current medium is completed is provided in the higher-level device 2 ', and the data end notice detection for detecting that the end of data is near is performed. The means 26 is provided in the control unit 13 'of the redundant control device 1'. The other configuration is the same as that of the first embodiment, and the description is omitted.
[0073]
5 and 7 show the operation of the duplex control device 1 'at the time of medium exchange. FIG. 5 is a time chart, and FIGS. 6 and 7 are flow charts. Hereinafter, based on FIGS. 4 to 7, the operation of the duplex control device 1 'when exchanging media will be described.
[0074]
To simplify the description, it is assumed that the master drive number is 1 and the slave drive number is 2 at the start of this processing. First, during processing of a read command issued from the higher-level device 2 ′, the data end notice detection unit 26 determines that the end of data is near due to the physical position of the medium or the written data. Is detected (step S101).
[0075]
In this case, the information of the master / slave management unit 22 and the physical resource management unit 24 is checked, and if the drive status of the drive (slave drive) different from the drive number of the master drive number 23 is unusable (Yes at step S102). The host device 2 'is inquired about the next medium to be used via the input / output unit 10 (step S103). If the next medium notifying unit 25 can determine and notify the next medium to be used, the higher-level device 2 'notifies the next medium to be used.
[0076]
The control unit 13 'is waiting for the notification of the next medium from the higher-level device 2', and when the notification is received (step S104, Yes), it issues a medium take-up and discharge command to the drive 32 which is a slave drive. Issue (step S105). After confirming the current storage location of the medium using the medium selection unit 21, the drive 32 issues a command to transport the medium from the drive 32 to the cell to the accessor 33 (step S106). When the movement is completed, the cell corresponding to the next medium is confirmed by using the medium selection means 21, and a command to transfer the medium from the cell to the drive 32 is issued to the accessor 33 (step S107). When the mounting of the medium on the drive 32 is completed, the state of the drive 32 of the physical resource management unit 24 is changed from unusable to the standby state (step S108).
[0077]
The process of the drive 31 which is the master drive proceeds, the drive 31 detects the end of the data, and when a medium replacement instruction is received from the host device 2 (step S120), the medium is notified by the next medium notification means 25. If it is the same as the medium (step S121, Yes), the status of the drive 32, which is the current slave drive, is changed to usable, and the master drive number of the master / slave management unit 22 is changed from "1" to "2". Then, the status of the drive 31 that has become the new slave drive is changed to unusable (step S122). Then, it immediately reports the completion of the medium exchange to the host device 2 '(step S123).
[0078]
Thereafter, a command to take up and discharge the medium is issued to the drive 31 which is a slave drive (step S124). After confirming the current storage location of the medium using the medium selection unit 21, the drive 31 issues a command to transport the medium from the drive 31 to the cell to the accessor 33 (step S125). When the movement is completed, the cell corresponding to the next medium is confirmed by using the medium selecting means 21, and a command to transfer the medium from the cell to the drive 31 is issued to the accessor 33 (step S126). When the mounting to the drive 31 is completed, high-speed positioning is performed by the high-speed positioning command to the current tape position of the drive 32, which is the master drive (step S127). When the position where the slave drive should be located, that is, when the positioning is completed one block after the master drive, the state of the drive 31 is changed from unavailable to the standby state, and the system transitions from the degraded state to the redundant state (step S128).
[0079]
If the expected values are not satisfied in steps S102, S104, and S121, the medium is replaced by the same method as in the first embodiment, instead of this processing method.
[0080]
According to the present embodiment, the termination notice detecting means 26 for notifying the end of data is added in the duplex control device 1 ', and the next medium notifying means 25 for notifying the medium to be used next in advance is set in the host device 2'. In this case, the medium of a drive that has been degenerated near the end of data and is not serving as a standby system can be exchanged for the next medium in advance, and can be put on standby. If it is possible to output the end-of-data notice so that the medium exchange is completed between the detection of the end-of-data notice and the end-of-data detection, the time required for medium exchange can be reduced. It can be almost zero. In this way, the medium exchange time can be significantly reduced while maintaining the same redundancy as in the prior art.
[0081]
Next, a third embodiment of the redundant control device according to the present invention will be described. Since the configuration of the present embodiment is the same as that of the second embodiment, it will be described with reference to FIGS.
[0082]
When the medium is exchanged at the time of reproducing the duplicated data, if the drive 32 is reproducing the data, the duplication control device 1 ′ of the present embodiment stops the operation and exchanges the medium with the drive 32. Then, the completion of the exchange of the medium is notified to the higher-level device 2 ', and the data is reproduced by the drive 32 and the medium is exchanged with the drive 31. And a medium exchange function for reversing the relationship. From the viewpoint of the host device 2 ', the time required for medium exchange is a moment after the medium is exchanged for the drive 32, and is therefore reduced to almost negligible time.
[0083]
In other words, in the second embodiment, when the end-of-data notice is detected, only when the data is in the degenerated state, the host device 2 'is inquired about the next medium and the medium is exchanged in advance. On the other hand, in the present embodiment, even if it is not in the degenerate state, at the time, the degenerate state is forcibly set and the same processing is performed. Further, before the degeneration, the buffer memory 11 may be prefetched as much as possible. Alternatively, the standby system may perform read-ahead using the buffer memory 11 at the time of detecting the end-of-data notice, and may exchange the medium while holding the pre-read data at the time of detecting the end of the data by the read-ahead. .
[0084]
In the second embodiment, the data is limited only when the data is degenerated near the end of the data. However, according to the present embodiment, the data is forcibly reduced even when the data is not degenerated, and the medium is replaced in advance. Thus, the time for medium exchange always visible from the host device 2 'can be reduced. When prefetching is performed as much as possible, it is possible to leave redundancy in the buffer memory 11 for the prefetching. Further, in the method of exchanging the medium after detecting the end of data by pre-reading, it is possible to reduce the time of exchanging the medium as seen by the host device 2 'without losing redundancy.
[0085]
It is needless to say that the present invention is not limited to the above embodiment. For example, in the above embodiment, a magnetic tape medium and a magnetic tape drive have been described as examples, but the present invention can be applied to a magnetic disk medium and a magnetic disk drive, an optical disk medium and an optical disk drive, and other information recording / reproducing devices. It is possible.
[0086]
【The invention's effect】
According to the first, fifth, and twelfth aspects of the present invention, when exchanging the information recording medium at the time of reproducing the duplicated data, exchanging the information recording medium with the first medium drive, and subsequently exchanging the information recording medium By notifying the higher-level device that the exchange of the medium has been completed, and subsequently exchanging the information recording medium with the second medium drive, the exchange time of the information recording medium as viewed from the upper-level device is reduced by two units. The time required for exchanging the information recording medium for one of the medium drives can be equalized, and can be reduced to about half of the conventional one.
[0087]
Media exchange function (Claim 3). From the viewpoint of the host device, the time required for exchanging the information recording medium is a moment after exchanging the information recording medium with one of the two media drives, and is therefore reduced to almost negligible time.
[0088]
According to the invention according to claims 2, 6, and 13, when exchanging the information recording medium at the time of reproducing the duplicated data, if the second medium drive is not reproducing the data, the second medium drive transmits to the second medium drive. The information recording medium is exchanged for the information recording medium, and then the completion of the exchange of the information recording medium is notified to the host device. Then, the data is reproduced by the second medium drive and the information recording medium is transmitted to the first drive. By exchanging the relationship between the first and second media drives in the duplicated data reproducing function, the exchange time of the information recording medium as viewed from the higher-level device can be changed for one of the two media drives. Since the operation can be performed instantaneously after the recording medium is replaced, the time can be reduced to almost negligible time.
[0089]
According to the invention according to claims 3, 7, and 14, when exchanging the information recording medium at the time of reproducing the duplicated data, if the second medium drive reproduces the data, the second medium drive stops the reproduction, and The information recording medium is exchanged for the second medium drive, and then the completion of the exchange of the information recording medium is notified to the higher-level device. By exchanging the information recording medium and reversing the relationship between the first and second medium drives in the duplicated data reproduction function, the exchange time of the information recording medium viewed from the host device can be reduced by two media drives. On the other hand, since the operation can be performed in an instant after the information recording medium is replaced, the time can be reduced to almost negligible time.
[0090]
According to the fourth, eighth, and fifteenth aspects of the present invention, the problem that the exchange time peculiar to the magnetic tape medium becomes long can be remarkably solved by using the magnetic tape medium.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a first embodiment of a redundant control device according to the present invention.
FIG. 2 is a time chart showing an operation at the time of medium exchange in the redundant control device of FIG. 1;
FIG. 3 is a flowchart showing an operation at the time of medium exchange in the redundant control device of FIG. 1;
FIG. 4 is a block diagram showing a second embodiment of the duplex control device according to the present invention.
FIG. 5 is a time chart showing an operation at the time of medium exchange in the duplex control device of FIG. 4;
FIG. 6 is a flowchart (first half) showing an operation at the time of medium exchange in the redundant control device of FIG. 4;
FIG. 7 is a flowchart (second half) showing an operation at the time of medium exchange in the redundant control device of FIG. 4;
FIG. 8 is a block diagram showing a conventional information recording / reproducing system.
FIG. 9 is a flowchart showing an operation of the information recording / reproducing system of FIG. 8;
FIG. 10 is a time chart showing an operation at the time of medium exchange in the information recording / reproducing system of FIG. 8;
[Explanation of symbols]
1,1 'Redundant control device
2,2 'host device
3 Magnetic tape library device
4, 5 signal lines
10, 16 input / output unit
11 Buffer memory
12 Internal bus
13, 13 'control unit
14 Storage unit
15 Program storage medium
20 Mirroring control means
21 Medium selection means
22 Master / Slave Management Unit
23 Master drive number
24 Physical Resource Management Department
25th medium notification means
26 Termination notice detection means
31, 32 drives
33 Accessor
34 Media Storage

Claims (12)

複数個の情報記録媒体を別々に格納可能な媒体格納位置を有する媒体格納手段と、前記情報記録媒体にデータの記録再生を行う複数台の媒体ドライブと、前記媒体格納位置と前記媒体ドライブとの間で前記情報記録媒体の搬送を行う媒体搬送手段とを備えた情報記録再生装置に対して、上位装置の指令に基づき前記媒体ドライブの記録再生及び前記媒体搬送手段の搬送を制御するとともに、前記複数台の媒体ドライブのいずれかの二台である第一及び第二の媒体ドライブに同一のデータを二重化しながら記録させる二重化制御装置において、
前記二重化されたデータの再生時に、前記第一の媒体ドライブに当該データを再生させるとともに当該第一の媒体ドライブの再生位置に前記第二の媒体ドライブの再生位置を追随させ、当該第一の媒体ドライブに再生エラーが発生したときにのみ当該第二の媒体ドライブに当該データを再生させる二重化データ再生機能と、
前記二重化されたデータの再生時に前記情報記録媒体を交換する場合に、前記第一の媒体ドライブに対して前記情報記録媒体を交換し、続いて前記情報記録媒体の交換が完了したことを前記上位装置へ通知し、続いて前記第二の媒体ドライブに対して前記情報記録媒体を交換する媒体交換機能と、
を備えたことを特徴とする二重化制御装置。
A medium storage unit having a medium storage position capable of separately storing a plurality of information recording media; a plurality of medium drives for recording and reproducing data on the information recording medium; For an information recording / reproducing apparatus having a medium transporting means for transporting the information recording medium between, while controlling the recording / reproducing of the medium drive and the transporting of the medium transporting means based on a command of a higher-level device, In a duplexing control device for recording the same data in a duplicated manner in the first and second media drives, which are any two of a plurality of media drives,
At the time of reproduction of the duplicated data, the first medium drive reproduces the data and causes the reproduction position of the second medium drive to follow the reproduction position of the first medium drive. A duplicated data reproduction function for reproducing the data on the second medium drive only when a reproduction error occurs in the drive;
When exchanging the information recording medium at the time of reproducing the duplicated data, exchanging the information recording medium with the first medium drive, and subsequently, the completion of the exchange of the information recording medium is indicated by the upper Notifying the device, and subsequently a medium exchange function of exchanging the information recording medium for the second medium drive,
A duplex control device comprising:
複数個の情報記録媒体を別々に格納可能な媒体格納位置を有する媒体格納手段と、前記情報記録媒体にデータの記録再生を行う複数台の媒体ドライブと、前記媒体格納位置と前記媒体ドライブとの間で前記情報記録媒体の搬送を行う媒体搬送手段とを備えた情報記録再生装置に対して、上位装置の指令に基づき前記媒体ドライブの記録再生及び前記媒体搬送手段の搬送を制御するとともに、前記複数台の媒体ドライブのいずれかの二台である第一及び第二の媒体ドライブに同一のデータを二重化しながら記録させる二重化制御装置において、
前記二重化されたデータの再生時に、前記第一の媒体ドライブに当該データを再生させるとともに当該第一の媒体ドライブの再生位置に前記第二の媒体ドライブの再生位置を追随させ、当該第一の媒体ドライブに再生エラーが発生したときにのみ当該第二の媒体ドライブに当該データを再生させる二重化データ再生機能と、
前記二重化されたデータの再生時に前記情報記録媒体を交換する場合、前記第二の媒体ドライブが当該データを再生していなければ、当該第二の媒体ドライブに対して前記情報記録媒体を交換し、続いて前記情報記録媒体の交換が完了したことを前記上位装置へ通知し、続いて前記第二の媒体ドライブにデータを再生させるとともに前記第一のドライブに対して前記情報記録媒体を交換することにより、前記二重化データ再生機能における前記第一及び第二の媒体ドライブの関係を逆にする媒体交換機能と、
を備えたことを特徴とする二重化制御装置。
A medium storage unit having a medium storage position capable of separately storing a plurality of information recording media; a plurality of medium drives for recording and reproducing data on the information recording medium; For an information recording / reproducing apparatus having a medium transporting means for transporting the information recording medium between, while controlling the recording / reproducing of the medium drive and the transporting of the medium transporting means based on a command of a higher-level device, In a duplexing control device for recording the same data in a duplicated manner in the first and second media drives, which are any two of a plurality of media drives,
At the time of reproduction of the duplicated data, the first medium drive reproduces the data and causes the reproduction position of the second medium drive to follow the reproduction position of the first medium drive. A duplicated data reproduction function for reproducing the data on the second medium drive only when a reproduction error occurs in the drive;
When replacing the information recording medium at the time of reproduction of the duplicated data, if the second medium drive is not reproducing the data, replace the information recording medium for the second medium drive, Subsequently, notifying the higher-level device that the exchange of the information recording medium has been completed, and subsequently causing the second medium drive to reproduce data and exchanging the information recording medium with the first drive. By the medium exchange function to reverse the relationship between the first and second media drives in the duplicated data reproduction function,
A duplex control device comprising:
複数個の情報記録媒体を別々に格納可能な媒体格納位置を有する媒体格納手段と、前記情報記録媒体にデータの記録再生を行う複数台の媒体ドライブと、前記媒体格納位置と前記媒体ドライブとの間で前記情報記録媒体の搬送を行う媒体搬送手段とを備えた情報記録再生装置に対して、上位装置の指令に基づき前記媒体ドライブの記録再生及び前記媒体搬送手段の搬送を制御するとともに、前記複数台の媒体ドライブのいずれかの二台である第一及び第二の媒体ドライブに同一のデータを二重化しながら記録させる二重化制御装置において、
前記二重化されたデータの再生時に、前記第一の媒体ドライブに当該データを再生させるとともに当該第一の媒体ドライブの再生位置に前記第二の媒体ドライブの再生位置を追随させ、当該第一の媒体ドライブに再生エラーが発生したときにのみ当該第二の媒体ドライブに当該データを再生させる二重化データ再生機能と、
前記二重化されたデータの再生時に前記情報記録媒体を交換する場合、前記第二の媒体ドライブが当該データを再生していれば、これを中止させて当該第二の媒体ドライブに対して前記情報記録媒体を交換し、続いて前記情報記録媒体の交換が完了したことを前記上位装置へ通知し、続いて前記第二の媒体ドライブにデータを再生させるとともに前記第一のドライブに対して前記情報記録媒体を交換することにより、前記二重化データ再生機能における前記第一及び第二の媒体ドライブの関係を逆にする媒体交換機能と、
を備えたことを特徴とする二重化制御装置。
A medium storage unit having a medium storage position capable of separately storing a plurality of information recording media; a plurality of medium drives for recording and reproducing data on the information recording medium; For an information recording / reproducing apparatus having a medium transporting means for transporting the information recording medium between, while controlling the recording / reproducing of the medium drive and the transporting of the medium transporting means based on a command of a higher-level device, In a duplexing control device for recording the same data in a duplicated manner in the first and second media drives, which are any two of a plurality of media drives,
At the time of reproduction of the duplicated data, the first medium drive reproduces the data and causes the reproduction position of the second medium drive to follow the reproduction position of the first medium drive. A duplicated data reproduction function for reproducing the data on the second medium drive only when a reproduction error occurs in the drive;
When exchanging the information recording medium at the time of reproducing the duplicated data, if the second medium drive is reproducing the data, stop the operation and stop the information recording on the second medium drive. The medium is exchanged, and then the completion of the exchange of the information recording medium is notified to the higher-level device. Subsequently, the data is reproduced by the second medium drive, and the information recording is performed on the first drive. By exchanging media, a media exchange function for reversing the relationship between the first and second media drives in the duplicated data reproduction function,
A duplex control device comprising:
前記情報記録媒体、前記媒体格納位置、前記媒体格納手段、前記媒体ドライブ、前記媒体搬送手段及び前記情報記録再生装置は、それぞれ磁気テープ媒体、セル番号、媒体保管庫、磁気テープドライブ、媒体搬送ロボット及び磁気テープライブラリ装置である、
請求項1乃至3のいずれかに記載の二重化制御装置。
The information recording medium, the medium storage position, the medium storage means, the medium drive, the medium transport means, and the information recording / reproducing apparatus are respectively a magnetic tape medium, a cell number, a medium storage, a magnetic tape drive, and a medium transport robot. And a magnetic tape library device.
The duplex control device according to claim 1.
複数個の情報記録媒体を別々に格納可能な媒体格納位置を有する媒体格納手段と、前記情報記録媒体にデータの記録再生を行う複数台の媒体ドライブと、前記媒体格納位置と前記媒体ドライブとの間で前記情報記録媒体の搬送を行う媒体搬送手段とを備えた情報記録再生装置に対して、上位装置の指令に基づき前記媒体ドライブの記録再生及び前記媒体搬送手段の搬送を制御するとともに、前記複数台の媒体ドライブのいずれかの二台である第一及び第二の媒体ドライブに同一のデータを二重化しながら記録させる二重化制御方法において、
前記二重化されたデータの再生時に、前記第一の媒体ドライブに当該データを再生させるとともに当該第一の媒体ドライブの再生位置に前記第二の媒体ドライブの再生位置を追随させ、当該第一の媒体ドライブに再生エラーが発生したときにのみ当該第二の媒体ドライブに当該データを再生させるとともに、
前記二重化されたデータの再生時に前記情報記録媒体を交換する場合に、前記第一の媒体ドライブに対して前記情報記録媒体を交換し、続いて前記情報記録媒体の交換が完了したことを前記上位装置へ通知し、続いて前記第二の媒体ドライブに対して前記情報記録媒体を交換する、
ことを特徴とする二重化制御方法。
A medium storage unit having a medium storage position capable of separately storing a plurality of information recording media; a plurality of medium drives for recording and reproducing data on the information recording medium; For an information recording / reproducing apparatus having a medium transporting means for transporting the information recording medium between, while controlling the recording / reproducing of the medium drive and the transporting of the medium transporting means based on a command of a higher-level device, In a duplexing control method for recording the same data in duplicate in the first and second media drives, which are any two of a plurality of media drives,
At the time of reproduction of the duplicated data, the first medium drive reproduces the data and causes the reproduction position of the second medium drive to follow the reproduction position of the first medium drive. Only when a playback error occurs in the drive, the second medium drive plays the data, and
When exchanging the information recording medium at the time of reproducing the duplicated data, exchanging the information recording medium with the first medium drive, and subsequently, the completion of the exchange of the information recording medium is indicated by the upper Notifying the device, and subsequently exchanging the information recording medium for the second medium drive,
And a duplex control method.
複数個の情報記録媒体を別々に格納可能な媒体格納位置を有する媒体格納手段と、前記情報記録媒体にデータの記録再生を行う複数台の媒体ドライブと、前記媒体格納位置と前記媒体ドライブとの間で前記情報記録媒体の搬送を行う媒体搬送手段とを備えた情報記録再生装置に対して、上位装置の指令に基づき前記媒体ドライブの記録再生及び前記媒体搬送手段の搬送を制御するとともに、前記複数台の媒体ドライブのいずれかの二台である第一及び第二の媒体ドライブに同一のデータを二重化しながら記録させる二重化制御方法において、
前記二重化されたデータの再生時に、前記第一の媒体ドライブに当該データを再生させるとともに当該第一の媒体ドライブの再生位置に前記第二の媒体ドライブの再生位置を追随させ、当該第一の媒体ドライブに再生エラーが発生したときにのみ当該第二の媒体ドライブに当該データを再生させるとともに、
前記二重化されたデータの再生時に前記情報記録媒体を交換する場合、前記第二の媒体ドライブが当該データを再生していなければ、当該第二の媒体ドライブに対して前記情報記録媒体を交換し、続いて前記情報記録媒体の交換が完了したことを前記上位装置へ通知し、続いて前記第二の媒体ドライブにデータを再生させるとともに前記第一のドライブに対して前記情報記録媒体を交換することにより、前記二重化データを再生する際における前記第一及び第二の媒体ドライブの関係を逆にする、
ことを特徴とする二重化制御方法。
A medium storage unit having a medium storage position capable of separately storing a plurality of information recording media; a plurality of medium drives for recording and reproducing data on the information recording medium; For an information recording / reproducing apparatus having a medium transporting means for transporting the information recording medium between, while controlling the recording / reproducing of the medium drive and the transporting of the medium transporting means based on a command of a higher-level device, In a duplexing control method for recording the same data in duplicate in the first and second media drives, which are any two of a plurality of media drives,
At the time of reproduction of the duplicated data, the first medium drive reproduces the data and causes the reproduction position of the second medium drive to follow the reproduction position of the first medium drive. Only when a playback error occurs in the drive, the second medium drive plays the data, and
When replacing the information recording medium at the time of reproduction of the duplicated data, if the second medium drive is not reproducing the data, replace the information recording medium for the second medium drive, Subsequently, notifying the higher-level device that the exchange of the information recording medium has been completed, and subsequently causing the second medium drive to reproduce data and exchanging the information recording medium with the first drive. By reversing the relationship between the first and second media drives when reproducing the duplicated data,
And a duplex control method.
複数個の情報記録媒体を別々に格納可能な媒体格納位置を有する媒体格納手段と、前記情報記録媒体にデータの記録再生を行う複数台の媒体ドライブと、前記媒体格納位置と前記媒体ドライブとの間で前記情報記録媒体の搬送を行う媒体搬送手段とを備えた情報記録再生装置に対して、上位装置の指令に基づき前記媒体ドライブの記録再生及び前記媒体搬送手段の搬送を制御するとともに、前記複数台の媒体ドライブのいずれかの二台である第一及び第二の媒体ドライブに同一のデータを二重化しながら記録させる二重化制御方法において、
前記二重化されたデータの再生時に、前記第一の媒体ドライブに当該データを再生させるとともに当該第一の媒体ドライブの再生位置に前記第二の媒体ドライブの再生位置を追随させ、当該第一の媒体ドライブに再生エラーが発生したときにのみ当該第二の媒体ドライブに当該データを再生させるとともに、
前記二重化されたデータの再生時に前記情報記録媒体を交換する場合、前記第二の媒体ドライブが当該データを再生していれば、これを中止させて当該第二の媒体ドライブに対して前記情報記録媒体を交換し、続いて前記情報記録媒体の交換が完了したことを前記上位装置へ通知し、続いて前記第二の媒体ドライブにデータを再生させるとともに前記第一のドライブに対して前記情報記録媒体を交換することにより、前記二重化データを再生する際における前記第一及び第二の媒体ドライブの関係を逆にする、
ことを特徴とする二重化制御方法。
A medium storage unit having a medium storage position capable of separately storing a plurality of information recording media; a plurality of medium drives for recording and reproducing data on the information recording medium; For an information recording / reproducing apparatus having a medium transporting means for transporting the information recording medium between, while controlling the recording / reproducing of the medium drive and the transporting of the medium transporting means based on a command of a higher-level device, In a duplexing control method for recording the same data in duplicate in the first and second media drives, which are any two of a plurality of media drives,
At the time of reproduction of the duplicated data, the first medium drive reproduces the data and causes the reproduction position of the second medium drive to follow the reproduction position of the first medium drive. Only when a playback error occurs in the drive, the second medium drive plays the data, and
When exchanging the information recording medium at the time of reproducing the duplicated data, if the second medium drive is reproducing the data, stop the operation and stop the information recording on the second medium drive. The medium is exchanged, and then the completion of the exchange of the information recording medium is notified to the higher-level device. Subsequently, the data is reproduced by the second medium drive, and the information recording is performed on the first drive. By exchanging media, the relationship between the first and second media drives when reproducing the duplicated data is reversed,
And a duplex control method.
前記情報記録媒体、前記媒体格納位置、前記媒体格納手段、前記媒体ドライブ、前記媒体搬送手段及び前記情報記録再生装置は、それぞれ磁気テープ媒体、セル番号、媒体保管庫、磁気テープドライブ、媒体搬送ロボット及び磁気テープライブラリ装置である、
請求項5乃至7のいずれかに記載の二重化制御方法。
The information recording medium, the medium storage position, the medium storage means, the medium drive, the medium transport means, and the information recording / reproducing apparatus are respectively a magnetic tape medium, a cell number, a medium storage, a magnetic tape drive, and a medium transport robot. And a magnetic tape library device.
A duplex control method according to any one of claims 5 to 7.
複数個の情報記録媒体を別々に格納可能な媒体格納位置を有する媒体格納手段と、前記情報記録媒体にデータの記録再生を行う複数台の媒体ドライブと、前記媒体格納位置と前記媒体ドライブとの間で前記情報記録媒体の搬送を行う媒体搬送手段とを備えた情報記録再生装置に対して、上位装置の指令に基づき前記媒体ドライブの記録再生及び前記媒体搬送手段の搬送を制御するとともに、前記複数台の媒体ドライブのいずれかの二台である第一及び第二の媒体ドライブに同一のデータを二重化しながら記録させるコンピュータに用いられ、
前記二重化されたデータの再生時に、前記第一の媒体ドライブに当該データを再生させるとともに当該第一の媒体ドライブの再生位置に前記第二の媒体ドライブの再生位置を追随させ、当該第一の媒体ドライブに再生エラーが発生したときにのみ当該第二の媒体ドライブに当該データを再生させる二重化データ再生機能と、
前記二重化されたデータの再生時に前記情報記録媒体を交換する場合に、前記第一の媒体ドライブに対して前記情報記録媒体を交換し、続いて前記情報記録媒体の交換が完了したことを前記上位装置へ通知し、続いて前記第二の媒体ドライブに対して前記情報記録媒体を交換する媒体交換機能と、
を前記コンピュータに実現するための二重化制御プログラム。
A medium storage unit having a medium storage position capable of separately storing a plurality of information recording media; a plurality of medium drives for recording and reproducing data on the information recording medium; For an information recording / reproducing apparatus having a medium transporting means for transporting the information recording medium between, while controlling the recording / reproducing of the medium drive and the transporting of the medium transporting means based on a command of a higher-level device, Used in a computer to duplicate and record the same data in the first and second media drives that are any two of the plurality of media drives,
At the time of reproduction of the duplicated data, the first medium drive reproduces the data and causes the reproduction position of the second medium drive to follow the reproduction position of the first medium drive. A duplicated data reproduction function for reproducing the data on the second medium drive only when a reproduction error occurs in the drive;
When exchanging the information recording medium at the time of reproducing the duplicated data, exchanging the information recording medium with the first medium drive, and subsequently, the completion of the exchange of the information recording medium is indicated by the upper Notifying the device, and subsequently a medium exchange function of exchanging the information recording medium for the second medium drive,
Control program for realizing the above in the computer.
複数個の情報記録媒体を別々に格納可能な媒体格納位置を有する媒体格納手段と、前記情報記録媒体にデータの記録再生を行う複数台の媒体ドライブと、前記媒体格納位置と前記媒体ドライブとの間で前記情報記録媒体の搬送を行う媒体搬送手段とを備えた情報記録再生装置に対して、上位装置の指令に基づき前記媒体ドライブの記録再生及び前記媒体搬送手段の搬送を制御するとともに、前記複数台の媒体ドライブのいずれかの二台である第一及び第二の媒体ドライブに同一のデータを二重化しながら記録させるコンピュータに用いられ、
前記二重化されたデータの再生時に、前記第一の媒体ドライブに当該データを再生させるとともに当該第一の媒体ドライブの再生位置に前記第二の媒体ドライブの再生位置を追随させ、当該第一の媒体ドライブに再生エラーが発生したときにのみ当該第二の媒体ドライブに当該データを再生させる二重化データ再生機能と、
前記二重化されたデータの再生時に前記情報記録媒体を交換する場合、前記第二の媒体ドライブが当該データを再生していなければ、当該第二の媒体ドライブに対して前記情報記録媒体を交換し、続いて前記情報記録媒体の交換が完了したことを前記上位装置へ通知し、続いて前記第二の媒体ドライブにデータを再生させるとともに前記第一のドライブに対して前記情報記録媒体を交換することにより、前記二重化データ再生機能における前記第一及び第二の媒体ドライブの関係を逆にする媒体交換機能と、
を前記コンピュータに実現するための二重化制御プログラム。
A medium storage unit having a medium storage position capable of separately storing a plurality of information recording media; a plurality of medium drives for recording and reproducing data on the information recording medium; For an information recording / reproducing apparatus having a medium transporting means for transporting the information recording medium between, while controlling the recording / reproducing of the medium drive and the transporting of the medium transporting means based on a command of a higher-level device, Used in a computer to duplicate and record the same data in the first and second media drives that are any two of the plurality of media drives,
At the time of reproduction of the duplicated data, the first medium drive reproduces the data and causes the reproduction position of the second medium drive to follow the reproduction position of the first medium drive. A duplicated data reproduction function for reproducing the data on the second medium drive only when a reproduction error occurs in the drive;
When replacing the information recording medium at the time of reproduction of the duplicated data, if the second medium drive is not reproducing the data, replace the information recording medium for the second medium drive, Subsequently, notifying the higher-level device that the exchange of the information recording medium has been completed, and subsequently causing the second medium drive to reproduce data and exchanging the information recording medium with the first drive. By the medium exchange function to reverse the relationship between the first and second media drives in the duplicated data reproduction function,
Control program for realizing the above in the computer.
複数個の情報記録媒体を別々に格納可能な媒体格納位置を有する媒体格納手段と、前記情報記録媒体にデータの記録再生を行う複数台の媒体ドライブと、前記媒体格納位置と前記媒体ドライブとの間で前記情報記録媒体の搬送を行う媒体搬送手段とを備えた情報記録再生装置に対して、上位装置の指令に基づき前記媒体ドライブの記録再生及び前記媒体搬送手段の搬送を制御するとともに、前記複数台の媒体ドライブのいずれかの二台である第一及び第二の媒体ドライブに同一のデータを二重化しながら記録させるコンピュータに用いられ、
前記二重化されたデータの再生時に、前記第一の媒体ドライブに当該データを再生させるとともに当該第一の媒体ドライブの再生位置に前記第二の媒体ドライブの再生位置を追随させ、当該第一の媒体ドライブに再生エラーが発生したときにのみ当該第二の媒体ドライブに当該データを再生させる二重化データ再生機能と、
前記二重化されたデータの再生時に前記情報記録媒体を交換する場合、前記第二の媒体ドライブが当該データを再生していれば、これを中止させて当該第二の媒体ドライブに対して前記情報記録媒体を交換し、続いて前記情報記録媒体の交換が完了したことを前記上位装置へ通知し、続いて前記第二の媒体ドライブにデータを再生させるとともに前記第一のドライブに対して前記情報記録媒体を交換することにより、前記二重化データ再生機能における前記第一及び第二の媒体ドライブの関係を逆にする媒体交換機能と、
を前記コンピュータに実現するための二重化制御プログラム。
A medium storage unit having a medium storage position capable of separately storing a plurality of information recording media; a plurality of medium drives for recording and reproducing data on the information recording medium; For an information recording / reproducing apparatus having a medium transporting means for transporting the information recording medium between, while controlling the recording / reproducing of the medium drive and the transporting of the medium transporting means based on a command of a higher-level device, Used in a computer to duplicate and record the same data in the first and second media drives that are any two of the plurality of media drives,
At the time of reproduction of the duplicated data, the first medium drive reproduces the data and causes the reproduction position of the second medium drive to follow the reproduction position of the first medium drive. A duplicated data reproduction function for reproducing the data on the second medium drive only when a reproduction error occurs in the drive;
When exchanging the information recording medium at the time of reproducing the duplicated data, if the second medium drive is reproducing the data, stop the operation and stop the information recording on the second medium drive. The medium is exchanged, and then the completion of the exchange of the information recording medium is notified to the higher-level device. Subsequently, the data is reproduced by the second medium drive, and the information recording is performed on the first drive. By exchanging media, a media exchange function for reversing the relationship between the first and second media drives in the duplicated data reproduction function,
Control program for realizing the above in the computer.
前記情報記録媒体、前記媒体格納位置、前記媒体格納手段、前記媒体ドライブ、前記媒体搬送手段及び前記情報記録再生装置は、それぞれ磁気テープ媒体、セル番号、媒体保管庫、磁気テープドライブ、媒体搬送ロボット及び磁気テープライブラリ装置である、
請求項9乃至11のいずれかに記載の二重化制御プログラム。
The information recording medium, the medium storage position, the medium storage means, the medium drive, the medium transport means, and the information recording / reproducing apparatus are respectively a magnetic tape medium, a cell number, a medium storage, a magnetic tape drive, and a medium transport robot. And a magnetic tape library device.
A duplex control program according to any one of claims 9 to 11.
JP2002242503A 2002-08-22 2002-08-22 Duplex controller for information record reproduction device, method and duplex control program Pending JP2004086251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002242503A JP2004086251A (en) 2002-08-22 2002-08-22 Duplex controller for information record reproduction device, method and duplex control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002242503A JP2004086251A (en) 2002-08-22 2002-08-22 Duplex controller for information record reproduction device, method and duplex control program

Publications (1)

Publication Number Publication Date
JP2004086251A true JP2004086251A (en) 2004-03-18

Family

ID=32051571

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002242503A Pending JP2004086251A (en) 2002-08-22 2002-08-22 Duplex controller for information record reproduction device, method and duplex control program

Country Status (1)

Country Link
JP (1) JP2004086251A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316967A (en) * 2006-05-26 2007-12-06 Fujitsu Ltd Hierarchy control device of hierarchical storage system and method and program for managing maintenance of duplicated media
JP2010507867A (en) * 2006-10-24 2010-03-11 エルエスアイ コーポレーション System and method for implementing a meta-disk aggregate model for a storage controller
US8494674B2 (en) 2011-08-24 2013-07-23 International Business Machines Corporation Fast-access self-repairing tape library using mobile robots
US9263082B2 (en) 2013-01-30 2016-02-16 International Business Machines Corporation High density hybrid storage system
WO2021171684A1 (en) * 2020-02-28 2021-09-02 富士フイルム株式会社 Information processing device, information processing method, and information processing program

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007316967A (en) * 2006-05-26 2007-12-06 Fujitsu Ltd Hierarchy control device of hierarchical storage system and method and program for managing maintenance of duplicated media
US7664914B2 (en) 2006-05-26 2010-02-16 Fujitsu Limited Hierarchical control apparatus of hierarchical storage system and method for maintaining and managing duplexed media
JP2010507867A (en) * 2006-10-24 2010-03-11 エルエスアイ コーポレーション System and method for implementing a meta-disk aggregate model for a storage controller
JP2013041606A (en) * 2006-10-24 2013-02-28 Lsi Corp System and method for implementing meta-disk aggregation model for storage controllers
US8666535B2 (en) 2011-08-24 2014-03-04 International Business Machines Corporation Fast-access self-repairing tape library using mobile robots
US8509946B2 (en) 2011-08-24 2013-08-13 International Business Machines Corporation Fast-access self-repairing tape library using mobile robots
US8494674B2 (en) 2011-08-24 2013-07-23 International Business Machines Corporation Fast-access self-repairing tape library using mobile robots
US8862265B2 (en) 2011-08-24 2014-10-14 International Business Machines Corporation Fast-access self-repairing tape library using mobile robots
US9418696B2 (en) 2011-08-24 2016-08-16 International Business Machines Corporation Fast-access self-repairing tape library using mobile robots
US9263082B2 (en) 2013-01-30 2016-02-16 International Business Machines Corporation High density hybrid storage system
US9858958B2 (en) 2013-01-30 2018-01-02 International Business Machines Corporation High density hybrid storage system
WO2021171684A1 (en) * 2020-02-28 2021-09-02 富士フイルム株式会社 Information processing device, information processing method, and information processing program
JP7289982B2 (en) 2020-02-28 2023-06-12 富士フイルム株式会社 Information processing device, information processing method, and information processing program

Similar Documents

Publication Publication Date Title
US6490648B1 (en) Virtual tape storage apparatus
US7587631B2 (en) RAID controller, RAID system and control method for RAID controller
US20100017573A1 (en) Storage system, copy control method of a storage system, and copy control unit of a storage system
US6952792B2 (en) Failover system for storage area network
US8725968B2 (en) Storage section controlling apparatus, storage section controlling system and computer-readable recording medium on or in which storage section controlling program is recorded
US7237056B2 (en) Tape mirror interface
JP2007265403A (en) Remote mirroring method between tiered storage systems
JP2010079588A (en) Storage control device having virtual volume
US20080019226A1 (en) Hierarchical storage apparatus and method for managing storage medium thereof
JPH09160727A (en) Information storage and library device
JPH10254631A (en) Computer system
US9342418B2 (en) Storage system, storage control device and data transfer method
WO2001082050A1 (en) Magnetic disc drive, method for recording data, and method for reproducing data
JP3778055B2 (en) Recording / reproducing apparatus and recording / reproducing method
JP2004086251A (en) Duplex controller for information record reproduction device, method and duplex control program
US8862846B2 (en) Control apparatus, control method, and storage apparatus
JPH10269026A (en) Library sub system
JP2007058816A (en) Data recorder reproducing device and its control method
JP6011125B2 (en) Storage device and storage system
US8730771B2 (en) Recording/reproducing device
JPH11212875A (en) Storage device subsystem and difference backup method for recording data
JP2004265548A (en) Tape library device and control method
JP3617239B2 (en) Data archiving system
JP2003050675A (en) Data multiplexing system
US20090063770A1 (en) Storage control apparatus, storage control program, and storage control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060830

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060912

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070515