JP3782605B2 - Library controller - Google Patents
Library controller Download PDFInfo
- Publication number
- JP3782605B2 JP3782605B2 JP06440099A JP6440099A JP3782605B2 JP 3782605 B2 JP3782605 B2 JP 3782605B2 JP 06440099 A JP06440099 A JP 06440099A JP 6440099 A JP6440099 A JP 6440099A JP 3782605 B2 JP3782605 B2 JP 3782605B2
- Authority
- JP
- Japan
- Prior art keywords
- drive
- type
- cartridge
- recording medium
- magnetic tape
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Automatic Tape Cassette Changers (AREA)
- Automatic Disk Changers (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、磁気テープあるいは光ディスクなどの記録媒体を収納するセルを多数有する棚と、記録媒体にアクセスしてデータを読み書きするドライブと、記録媒体を移動させるアクセッサとを収容したライブラリ装置を制御するためのライブラリ制御装置に関する。
【0002】
【従来の技術】
極めて大量のデータを効率的に管理する装置として、磁気テープあるいは光ディスクなどを記録媒体として用いるライブラリ装置が存在する。
【0003】
このようなライブラリ装置においても、近年、保存すべきデータ量が飛躍的に増大しており、たとえば磁気テープライブラリ装置の場合、記録媒体として用いる磁気テープカートリッジが、36トラック仕様から128トラック仕様のものに移行する傾向にある。
【0004】
ところが、36トラック仕様の磁気テープカートリッジと128トラック仕様の磁気テープカートリッジとは、カートリッジタイプが互いに異なっており、それらを読み書きするドライブのドライブタイプも当然に互いに異なっている。しかも、新たに128トラック仕様の磁気テープカートリッジを導入した場合でも、既存の36トラック仕様の磁気テープカートリッジを使用できなくなるのは不便であるため、ドライブタイプの互いに異なるドライブをライブラリ装置の内部に混在させたいという要望がたいへん強い。
【0005】
しかし従来は、相互に異なるカートリッジタイプの磁気テープカートリッジ、および相互に異なるドライブタイプのドライブを1つのライブラリ装置に混在させたものは存在せず、対処不可能であった。
【0006】
【発明の開示】
本発明は、上記した事情のもとで考え出されたものであって、相互にタイプの異なる記録媒体およびドライブを混在させたライブラリ装置を適切に制御できるライブラリ制御装置を提供することを、その課題とする。
【0007】
上記の課題を解決するため、本発明では、次の技術的手段を講じている。
【0008】
本発明の第1の側面によれば、記録媒体の種類に対応してそれぞれ設置され、相互に異なる種類の記録媒体に対してデータを読み書きする、各種類毎に複数設置されているドライブと、記録媒体を収容する多数のセルを有する棚と、セルとドライブとの間で記録媒体を移動させるアクセッサとを有し、各記録媒体には、各記録媒体固有の識別情報と、各記録媒体の種類を表す種別情報とが、アクッセッサに設置されたセンサにより読み取ることが可能なように付加されているライブラリ装置を制御するライブラリ制御装置であって、各ドライブの種類や設置位置の情報を記憶するドライブ情報記憶装置と、センサによって読み取られた識別情報や種別情報を記憶する記録媒体情報記憶装置と、センサによって読み取られた各種情報やドライブ情報記憶装置および記録媒体情報記憶装置に記憶された各種情報を利用してアクセッサを制御する制御装置とを備え、前記制御装置は、オペレータにより識別情報を指定したマウント処理を実行すべき旨の指示がなされたときに、指定された識別情報に基づいて前記記録媒体情報記憶装置に記憶された種別情報を読み出し、その種別情報に適合する種類のドライブを前記ドライブ情報記憶装置から読み出して、そのドライブに指定された識別情報の記録媒体をマウントし、前記マウント処理において、ロードが成功せずにロードエラーが発生した場合、同じ種類の別のドライブに前記記録媒体をマウントし、ロードが成功した場合には、最初にマウントしたドライブに障害が発生していると判断し、ロードが成功しなかった場合には、さらに異なる種類のドライブに前記記録媒体を順次マウントし、ロードが成功した場合には、以前にマウントしたドライブの種類と前記記録媒体の種類とが不適合であったと判断し、ロードが成功しなかった場合には、前記記録媒体に障害が発生していると判断するライブラリ制御装置が提供される。
【0009】
好ましい実施の形態によれば、制御装置は、オペレータにより投入処理を実行すべき旨の指示がなされたときに、センサによって読み取られた種別情報とドライブ情報記憶装置に記憶されているドライブの種類とを比較して、ライブラリ装置に投入された記録媒体にアクセス可能なドライブが存在しなければ、アクセッサによるセルへの搬入動作を禁止する。
【0012】
他の好ましい実施の形態によれば、制御装置は、オペレータにより識別情報とドライブとを指定したマウント処理を実行すべき旨の指示がなされたときに、指定された識別情報に基づいて記録媒体情報記憶装置に記憶された種別情報を読み出すとともに、指定されたドライブの種類をドライブ情報記憶装置から読み出し、それらの種別情報とドライブの種類とが適合するか否かを判断して、適合しない場合にはアクセッサによる記録媒体のドライブへの移動を禁止する。
【0013】
他の好ましい実施の形態によれば、制御装置は、オペレータによりアンマウント処理を実行すべき旨の指示がなされたときに、ドライブから得られる記録媒体のトラック長やデータ圧縮形式などを、記録媒体の情報として記録媒体情報記憶装置に記憶させる。
【0014】
このように、本発明によれば、制御装置が、センサによって読み取られた各種情報やドライブ情報記憶装置および記録媒体情報記憶装置に記憶された各種情報を利用してアクセッサを制御するので、相互にタイプの異なる記録媒体およびドライブを混在させたライブラリ装置を適切に制御できる。
【0015】
本発明のその他の特徴および利点は、添付図面を参照して以下に行う詳細な説明によって、より明らかとなろう。
【0016】
【発明の実施の形態】
以下、本発明の好ましい実施の形態を、図面を参照して具体的に説明する。
【0017】
図1は、本発明に係るライブラリ制御装置およびそれによって制御されるライブラリ装置の概略構成図である。ライブラリ制御装置1は、コンピュータによって実現されており、CPU(central processing unit )やROM(read only memory)やRAM(random access memory)などを有する制御部2、CRT(cathode-ray tube)などを有する表示部3、キーボードなどを有する操作部4、およびハードディスクドライブなどを有する外部記憶装置5を備えている。
【0018】
ライブラリ装置11は、制御部12、アクセッサ13、ドライブ14、棚15、予備棚16、および投入/排出装置17を備えている。
【0019】
制御部12は、通信線21によりライブラリ制御装置1の制御部2に接続されており、制御部2からのコマンドに応じて、アクセッサ13、ドライブ14、および投入/排出装置17を制御する。
【0020】
アクセッサ13は、制御部12により制御されて、ドライブ14、と棚15と投入/排出装置17との間で記録媒体としての磁気テープカートリッジ18を搬送する。またアクセッサ13は、制御部12により制御されて、ドライブ14、と予備棚16と投入/排出装置17との間でクリーニングカートリッジ19を搬送する。またアクセッサ13には、センサ13aが設置されており、このセンサ13aは、磁気テープカートリッジ18に貼付されたラベルに記載されたデータを読み取る。
【0021】
ドライブ14は、制御部12により制御されて、磁気テープカートリッジ18に対してデータを読み書きする。ドライブ14には、128トラック仕様のドライブと、36トラック仕様のドライブとが存在する。
【0022】
棚15は、磁気テープカートリッジ18を収容する多数のセルを備えている。。
【0023】
予備棚16は、複数のクリーニングカートリッジ19を収容するとともに、搬送エラーが発生した場合などに磁気テープカートリッジ18を収容する。
【0024】
投入/排出装置17は、投入口および排出口を備えており、オペレータによって投入口に投入された磁気テープカートリッジ18やクリーニングカートリッジ19をアクセッサ13が受け取れる位置まで移動させ、また、アクセッサ13から受け取った磁気テープカートリッジ18あるいはクリーニングカートリッジ19を排出口に移動させる。
【0025】
磁気テープカートリッジ18は、各種のデータを記憶する。128トラック仕様の磁気テープカートリッジ18は128トラックの磁気テープを収容しており、36トラック仕様の磁気テープカートリッジ18は36トラックの磁気テープを収容している。128トラック仕様の磁気テープカートリッジ18と36トラック仕様の磁気テープカートリッジ18とは、互いにカートリッジタイプが若干異なっている。128トラック仕様の磁気テープカートリッジ18は、128トラック仕様のドライブ14に装填することによりロード可能であるが、36トラック仕様のドライブ14に装填してもロード不可能である。36トラック仕様の磁気テープカートリッジ18は、36トラック仕様のドライブ14に装填することによりロード可能であるが、128トラック仕様のドライブ14に装填してもロード不可能である。
【0026】
クリーニングカートリッジ19は、ドライブ14のヘッドをクリーニングするためのクリーニングテープを収容している。128トラック仕様のクリーニングカートリッジ19は、128トラック仕様のドライブ14に装填することにより使用可能であるが、36トラック仕様のドライブ14に装填しても使用不可能である。36トラック仕様のクリーニングカートリッジ19は、36トラック仕様のドライブ14に装填することにより使用可能であるが、128トラック仕様のドライブ14に装填しても使用不可能である。
【0027】
磁気テープカートリッジ18およびクリーニングカートリッジ19の背面には、図2に示すように、個々の磁気テープカートリッジ18および個々のクリーニングカートリッジ19を区別するためのカートリッジ識別子がバーコードの形式で記録されたIDラベル22と、カートリッジタイプがバーコードの形式で記録されたタイプラベル23とが貼付されている。もちろん、カートリッジ識別子とカートリッジタイプとを同一のラベルに記録してもよい。
【0028】
ライブラリ制御装置1の外部記憶装置5には、図3に示すように、環境ファイル25が記憶されている。環境ファイル25は、ライブラリ制御装置1によって制御されるライブラリ装置11の数だけ存在しており、各環境ファイル25には、各ライブラリ装置11固有のライブラリ識別子と、ドライブ14の設置数である搭載ドライブ数と、ドライブ14の情報であるドライブ情報とが含まれている。ドライブ情報には、個々のドライブ14の識別子と、各ドライブ14の設置位置と、各ドライブ14のドライブタイプと、各ドライブ14によって実行される最大のリトライ回数とが含まれている。
【0029】
また、ライブラリ制御装置1の外部記憶装置5には、図4に示すように、個々の磁気テープカートリッジ18およびクリーニングカートリッジ19の各種情報を整理したボリューム情報データベース26が記憶されている。ボリューム情報データベース26には、ライブラリ装置11に収容されている磁気テープカートリッジ18およびクリーニングカートリッジ19のカートリッジ識別子と、ライブラリと、棚15あるいは予備棚16への格納位置を表すセルアドレスと、カートリッジタイプと、テープ長と、データの圧縮形式とが含まれている。
【0030】
また、図示していないが、ボリューム情報データベース26には、非活性フラグと、クリーニングカートリッジフラグとが含まれており、ライブラリ制御装置1の外部記憶装置5には、スクラチプール用データベースが記憶されている。
【0031】
ライブラリ制御装置1の制御部2は、ライブラリ装置11の制御部12に各種のコマンドを発行し、そのコマンドに応じて制御部12がアクセッサ13やドライブ14や投入/排出装置17を制御する。これらのコマンドには、環境設定コマンド、投入コマンド、排出コマンド、スクラッチプール登録コマンド、第1マウントコマンド、第2マウントコマンド、アンマウントコマンド、クリーニングコマンド、表示コマンド、予備セルクリアーコマンド、再投入コマンド、および整合性確認コマンドなどが含まれる。
【0032】
環境設定コマンドは、ライブラリ装置11から装置構成情報を読み取り、搭載されているドライブ14の数や位置などのライブラリ装置11に関する情報をライブラリ制御装置1の外部記憶装置5の環境ファイル25に登録するためのコマンドである。
【0033】
投入コマンドは、ライブラリ装置11の投入/排出装置17の投入口にセットされた磁気テープカートリッジ18あるいはクリーニングカートリッジ19を、棚15あるいは予備棚16の所定のセルに収納させるコマンドである。すなわち、ライブラリ制御装置1の制御部2からライブラリ装置11の制御部12に投入コマンドが供給されると、制御部12が、アクセッサ13を制御して、投入/排出装置17によって受け渡された磁気テープカートリッジ18あるいはクリーニングカートリッジ19のIDラベル22に記載されているカートリッジ識別子を読み取り、磁気テープカートリッジ18あるいはクリーニングカートリッジ19を棚15あるいは予備棚16の空いているセルに搬入するとともに、そのセルのアドレスと読み取ったカートリッジ識別子とをボリューム情報データベース26に書き込む。
【0034】
排出コマンドは、棚15あるいは予備棚16に収納されている磁気テープカートリッジ18あるいはクリーニングカートリッジ19を投入/排出装置17の排出口に排出させるためのコマンドである。
【0035】
スクラッチプールコマンドは、磁気テープカートリッジ18をスクラッチプールに登録するためのコマンドである。すなわち、オペレータにより磁気テープカートリッジ18のカートリッジ識別子とスクラッチプールの識別子であるスクラッチプール名とが指定されると、ライブラリ制御装置1の制御部2が、指定された磁気テープカートリッジ18が指定されたスクラッチプールに属したことを、ボリューム情報データベース26に登録する。スクラッチプールとは、磁気テープカートリッジ18を論理的にグループ化したものであって、バックアップデータの世代管理に利用される。そして、スクラッチプール名を指定してライブラリ制御装置1の制御部2に第1マウントコマンドあるいは第2マウントコマンドを発行させると、ライブラリ装置11の制御部12が、アクセッサ13を制御して、指定されたスクラッチプールに属している磁気テープカートリッジ18をドライブ14にマウントさせる。
【0036】
第1マウントコマンドは、オペレータによって指定されたカートリッジ識別子を有する磁気テープカートリッジ18を、空いているドライブ14にロードして、読み書きできる状態にするためのコマンドである。ロードに成功した場合、ライブラリ制御装置1の制御部2が、ロードしたドライブ14の識別子を表示部3に表示させることにより、いずれのドライブ14にロードされたのかをオペータに知らせる。
【0037】
第2マウントコマンドは、オペレータによって指定されたカートリッジ識別子を有する磁気テープカートリッジ18を、オペレータによって指定された識別子を有するドライブ14にロードして、読み書きできる状態にするためのコマンドである。
【0038】
アンマウントコマンドは、ドライブ14によりイジェクト状態にされている磁気テープカートリッジ18を、棚15の所定のセルに戻すためのコマンドである。
【0039】
クリーニングコマンドは、予備棚16のセルに収納されているクリーニングカートリッジ19を1つ選択し、ドライブ14にマウントしてドライブ14をクリーニングした後、元のセルに戻すためのコマンドである。
【0040】
表示コマンドは、ボリューム情報データベース26の内容を表示部3に表示させるためのコマンドである。
【0041】
予備セルクリアコマンドは、予備棚16のセルに収納された磁気テープカートリッジ18のIDラベル22に記載されているカートリッジ識別子を読み込み、そのカートリッジ識別子をキーワードとしてボリューム情報データベース26を検索することにより、その磁気テープカートリッジ18の収納アドレスを判断して、棚15の元のセルに戻すためのコマンドである。
【0042】
再投入コマンドは、保守作業などによってライブラリ装置11の内部からアクセッサ13によらずに外部に持ち出された磁気テープカートリッジ18を、棚15の元のセルに戻すためのコマンドである。すなわち、ライブラリ制御装置1の制御部2により再投入コマンドが発行されると、ライブラリ装置11の制御部12が、アクセッサ13を制御して、投入/排出装置17から受け取った磁気テープカートリッジ18のカートリッジ識別子を読み取らせる。そして、読み取られたカートリッジ識別子をライブラリ制御装置1の制御部2に報告する。これにより制御部2が、報告されたカートリッジ識別子をキーワードとしてボリューム情報データベース26を検索し、磁気テープカートリッジ18を収納すべき棚15のセルを調べて、ライブラリ装置11の制御部12を制御することにより、アクセッサ13を介して磁気テープカートリッジ18をそのセルに収納させる。
【0043】
整合性確認コマンドは、棚15の所定のセルについて、そのセルに実際に収納されている磁気テープカートリッジ18のカートリッジ識別子と、ボリューム情報データベース26ではそのセルに収納されていることになっている磁気テープカートリッジ18のカートリッジ識別子とを比較して、両者が一致しない場合には、磁気テープカートリッジ18が入れ換えられたと判断して、ボリューム情報データベース26の内容を訂正するためのコマンドである。
【0044】
次に、ライブラリ制御装置1の制御部2によるコマンド発行時の動作について説明する。
【0045】
図5は、環境設定処理の手順を説明するフローチャートであって、先ず制御部2が、制御部12に装置構成情報獲得コマンドを送信する(S1)。
【0046】
次に制御部2が、制御部12からライブラリ装置11の構成情報を獲得する(S2)。
【0047】
次に制御部2が、制御部12からの構成情報に基づいて、環境ファイル25のライブラリ識別子にドライブ14のドライブ識別子、ドライブ位置、ドライブタイプなどを登録して(S3)、このルーチンを終了する。
【0048】
図6は、ライブラリ制御装置起動処理の手順を説明するフローチャートであって、先ず制御部2が、ライブラリ装置11の制御部12にライブラリ制御装置起動コマンドを送信する(S11)。
【0049】
次に制御部2が、ボリューム情報データベース26で管理されている、磁気テープカートリッジ18のカートリッジタイプと、ドライブ14のドライブタイプとを比較する(S12)。
【0050】
比較の結果、制御部2が、いずれのドライブ14にもロードできない磁気テープカートリッジ18が存在するか否かを判断する(S13)。
【0051】
いずれのドライブ14にもロードできない磁気テープカートリッジ18が存在すれば(S13:YES)、ライブラリ制御装置1を起動しても使用可能なドライブ14が搭載されていない旨の警告メッセージを表示部3に表示させる(S14)。
【0052】
次に制御部2が、ドライブ14にロードできない磁気テープカートリッジ18をライブラリ装置11から排出させるためのコマンドを制御部12に送信して(S15)、このルーチンを終了する。
【0053】
ステップS13において、いずれのドライブ14にもロードできない磁気テープカートリッジ18が存在しなければ(S13:NO)、このルーチンを終了する。
【0054】
図7は、投入処理の手順を説明するフローチャートであって、先ず制御部2が、投入/排出装置17の投入口に投入された磁気テープカートリッジ18あるいはクリーニングカートリッジ19のカートリッジ識別子とカートリッジタイプとを読み取るべき旨のコマンドを制御部12に送信する(S21)。
【0055】
これにより制御部12が、アクセッサ13を制御して、投入/排出装置17の投入口に投入された磁気テープカートリッジ18あるいはクリーニングカートリッジ19のカートリッジ識別子とカートリッジタイプとを読み取らせ、その結果を制御部2に送信する。
【0056】
次に制御部2が、制御部12からの読取データを獲得する(S22)。
【0057】
次に制御部2が、制御部12からのカートリッジタイプに基づいて、その磁気テープカートリッジ18あるいはクリーニングカートリッジ19をロードできるドライブタイプのドライブ14を見つけるために、環境ファイル25を検索する(S23)。
【0058】
次に制御部2が、環境ファイル25の検索結果に基づいて、投入された磁気テープカートリッジ18あるいはクリーニングカートリッジ19をロードできるドライブ14が存在しないか否かを判断する(S24)。
【0059】
投入された磁気テープカートリッジ18あるいはクリーニングカートリッジ19をロードできるドライブ14が存在すれば(S24:NO)、制御部2が、投入された磁気テープカートリッジ18あるいはクリーニングカートリッジ19のカートリッジ識別子、格納セル、カートリッジタイプ、テープ長、および圧縮型式をボリューム情報データベース26に登録する(S25)。ただし、テープ長および圧縮形式については、ドライブ14にローディングしなければ検出できないので、投入時には「認識不可」と登録しておく。
【0060】
次に制御部2が、棚15あるいは予備棚16の空きセルのうち、投入された磁気テープカートリッジ18あるいはクリーニングカートリッジ19をドライブ可能なドライブ14に最も近いセルを指定して、制御部12に投入/排出装置17からセルへの移動コマンドを送信し(S26)、このルーチンを終了する。
【0061】
ステップS24において、投入された磁気テープカートリッジ18あるいはクリーニングカートリッジ19をロードできるドライブ14が存在しなければ(S24:YES)、制御部2が、表示部3に警告メッセージを表示させて(S27)、このルーチンを終了する。
【0062】
なお、ステップS24において表示部3に警告メッセージを表示させる代りに、あるいは表示させると共に、投入/排出装置17の投入口に投入された磁気テープカートリッジ18あるいはクリーニングカートリッジ19を、アクセッサ13が受け取れる位置から投入/排出装置17の排出口に戻す旨のコマンドを制御部12に送信してもよい。
【0063】
図8は、スクラッチプール登録処理の手順を説明するフローチャートであって、先ず制御部2が、登録しようとしているスクラッチプールに既に属している磁気テープカートリッジ18のカートリッジタイプを、ボリューム情報データベース26を検索することにより調べる(S31)。
【0064】
次に制御部2が、ステップS31で調べたカートリッジタイプと登録しようとしている磁気テープカートリッジ18のカートリッジタイプとが一致しているか否かを判断する(S32)。
【0065】
ステップS31で調べたカートリッジタイプと登録しようとしている磁気テープカートリッジ18のカートリッジタイプとが一致していれば(S32:YES)、制御部2が、登録しようとしている磁気テープカートリッジ18をスクラッチプールに登録して(S33)、このルーチンを終了する。
【0066】
ステップS32において、ステップS31で調べたカートリッジタイプと登録しようとしている磁気テープカートリッジ18のカートリッジタイプとが一致していなければ(S32:NO)、登録しようとしている磁気テープカートリッジ18を希望のスクラッチプールに登録することができない旨を、表示部3に表示させて(S34)、このルーチンを終了する。
【0067】
図9および図10は、第1マウント処理の手順を説明するフローチャートであって、先ずオペレータにより、操作部4の操作によって、カートリッジ識別子を指定したマウント指示が入力される(S41)。
【0068】
これにより制御部2が、ドライブ14にマウントすべき磁気テープカートリッジ18をボリューム情報データベース26から検索し、そのカートリッジタイプを調べる(S42)。
【0069】
次に制御部2が、ステップS42で調べたカートリッジタイプの磁気テープカートリッジ18をロードできるドライブ14を環境ファイル25から検索する(S43)。
【0070】
次に制御部2が、マウント可能なドライブ14が搭載されていることが確認できたか否かを判断する(S44)。
【0071】
マウント可能なドライブ14が搭載されていることが確認できれば(S44:YES)、制御部2が、マウントしたい磁気テープカートリッジ18のカートリッジ識別子を指定して、棚15のセルからドライブ14への移動コマンドを制御部12に送信する(S45)。
【0072】
次に制御部2が、マウント時に指定されたカートリッジタイプとマウントしたドライブ14のドライブタイプとが一致しない「タイプエラー」が検出されたか否かを判断する(S46)。
【0073】
「タイプエラー」が検出されれば(S46:YES)、制御部2が、指定した磁気テープカートリッジ18について、ボリューム情報データベース26で管理しているカートリッジタイプが間違っていると認識する(S47)。
【0074】
次に制御部2が、ボリューム情報データベース26のカートリッジタイプを書き換えてよいか否かを表示部3によりオペレータに問い合わせる(S48)。
【0075】
次に制御部2が、オペレータが操作部4の操作によりボリューム情報データベース26のカートリッジタイプを書き換える旨の指示を入力したか否かを判断する(S49)。
【0076】
オペレータによりボリューム情報データベース26のカートリッジタイプを書き換える旨の指示が入力されれば(S49:YES)、制御部2が、ボリューム情報データベース26のカートリッジタイプを正しい情報に書き替えて(S50)、このルーチンを終了する。
【0077】
ステップS49において、オペレータによりボリューム情報データベース26のカートリッジタイプを書き換える旨の指示が入力されなければ(S49:NO)、このルーチンを終了する。
【0078】
ステップS46において、「タイプエラー」が検出されなければ(S46:NO)、制御部2が、ロードエラーが検出されたか否かを判断する(S51)。
【0079】
ロードエラーが検出されれば(S51:YES)、制御部2が、環境ファイル25を検索してそのドライブ14のドライブタイプを調べる(S52)。
【0080】
次に制御部2が、再びマウント処理を行い(S53)、このルーチンを終了する。この再マウント処理は、ドライブタイプ毎にあらかじめ環境ファイル25に設定されているリトライ回数だけ繰り返して行われる。もちろん、エラーが発生しなければ、それ以降は再マウント処理が行われることはない。
【0081】
ステップS51において、ロードエラーが検出されなければ(S51:NO)、このルーチンを終了する。
【0082】
ステップS44において、マウント可能なドライブ14が搭載されていることが確認できれなけば(S44:NO)、制御部2が、使用可能なドライブ14が搭載されていないことを表示部3に表示させて(S54)、このルーチンを終了する。
【0083】
図11は、別の実施形態における第1マウント処理の要部の手順を説明するフローチャートであって、図10のステップS52,S53の処理の代わりに、この図11の処理を行うように構成してもよい。先ず制御部2が、マウント処理がロードエラーになったことを認識する(S61)。
【0084】
次に制御部2が、同じドライブタイプの別のドライブ14に再び同じ磁気テープカートリッジ18をマウントし、ロードさせる(S62)。
【0085】
次に制御部2が、ロード処理が完了したか否かを判断する(S63)。
【0086】
ロード処理が完了しなければ(S63:NO)、異なるドライブタイプのドライブ14に再び同じ磁気テープカートリッジ18をマウントし、ロードさせる(S64)。
【0087】
次に制御部2が、ロード処理が完了したか否かを判断する(S65)。
【0088】
ロード処理が完了しなければ(S65:NO)、ステップS62,S64の処理によってロードできなかったことから、ロードされた磁気テープカートリッジ18に問題があると判断して、磁気テープカートリッジ18の障害である旨を表示部3に表示させ(S66)、このルーチンを終了する。
【0089】
ステップS65において、ロード処理が完了すれば(S65:YES)、ステップS62でロードできずステップS64でロードできたことから、制御部2が、カートリッジタイプと最初にマウントしたドライブ14のドライブタイプとが異なると判断して、その旨のエラーメッセージを表示部3に表示させる(S67)。
【0090】
次に制御部2が、ロードしようとした磁気テープカートリッジ18について、ボリューム情報データベース26の管理情報のカートリッジタイプを正しく書き換えて(S68)、このルーチンを終了する。
【0091】
ステップS63において、ロード処理が完了すれば(S63:YES)、ステップS62でロードできたことから、制御部2が、ステップS61で使用したドライブ14にドライブ障害が発生していると判断して、ドライブ障害である旨のエラーメッセージを表示部3に表示させて(S69)、このルーチンを終了する。
【0092】
図12は、第2マウント処理の手順を説明するフローチャートであって、先ずオペータにより、操作部4の操作によって、カートリッジ識別子およびドライブ識別子を指定したマウント指示が入力される(S71)。
【0093】
これにより制御部2が、ボリューム情報データベース26を検索することにより、指定されたドライブ14にマウントすべき磁気テープカートリッジ18のカートリッジタイプを調べる(S72)。
【0094】
次に制御部2が、調べたカートリッジタイプと指定されたドライブ14のドライブタイプとが一致するか否かを判断する(S73)。
【0095】
調べたカートリッジタイプと指定されたドライブ14のドライブタイプとが一致すれば(S73:YES)、指定された磁気テープカートリッジ18と指定されたドライブ14とを指示し、棚15のセルからドライブ14への磁気テープカートリッジ18の移動コマンドを制御部12に送信して(S74)、このルーチンを終了する。
【0096】
ステップS73において、調べたカートリッジタイプと指定されたドライブ14のドライブタイプとが一致しなければ(S73:NO)、制御部2が、指定された磁気テープカートリッジ18は指定されたドライブ14ではロードできない旨を表示部3に表示させて(S75)、このルーチンを終了する。
【0097】
図13は、アンマウント処理の手順を説明するフローチャートであって、先ずオペレータにより、操作部4の操作によって、アンマウント指示が入力される(S81)。
【0098】
さらに、オペレータにより、操作部4の操作によって、アンマウントしたい磁気テープカートリッジ18のカートリッジ識別子が指定され、制御部2が、そのカートリッジ識別子の磁気テープカートリッジ18をドライブ14から棚15のセルへ移動させるための移動コマンドを制御部12に送信する(S82)。
【0099】
これにより制御部12が、アクセッサ13を制御して、指定された磁気テープカートリッジ18をドライブ14から棚15のセルに移動させる(S83)。このとき、制御部12が、ドライブ14から磁気テープカートリッジ18のテープ長およびデータ圧縮形式を読み取る。
【0100】
次に制御部12が、アクセッサ13によってアンマウントされた磁気テープカートリッジ18のテープ長とデータ圧縮形式とを獲得する(S84)。
【0101】
次に制御部12が、アンマウントした磁気テープカートリッジ18について、ボリューム情報データベース26に登録されているテープ長および圧縮形式が「認識不可」になっているか否かを判断する(S85)。
【0102】
テープ長および圧縮形式が「認識不可」になっていれば(S85:YES)、制御部2が、アンマウントした磁気テープカートリッジ18のテープ長および圧縮形式をボリューム情報データベース26に登録して(S86)、このルーチンを終了する。
【0103】
ステップS85において、テープ長および圧縮形式が「認識不可」になっていなければ(S85:NO)、制御部2が、アンマウントした磁気テープカートリッジ18について、制御部12から送信された情報とボリューム情報データベース26に登録されている情報とが不一致であるか否かを判断する(S87)。
【0104】
制御部12から送信された情報とボリューム情報データベース26に登録されている情報とが不一致であれば(S87:YES)、制御部2が、不一致である情報について、制御部12から送信された情報をボリューム情報データベース26に書き込んで(S88)、このルーチンを終了する。
【0105】
ステップS87において、制御部12から送信された情報とボリューム情報データベース26に登録されている情報とが不一致でなければ(S87:NO)、このルーチンを終了する。
【0106】
図14は、クリーニング処理の手順を説明するフローチャートであって、先ずオペレータにより、操作部4の操作によって、クリーニング指示が入力される(S91)。
【0107】
これにより制御部2が、環境ファイル25を検索することにより、クリーニングしようとするドライブ14のドライブタイプを調べる(S92)。
【0108】
次に制御部2が、ボリューム情報データベース26を検索することにより、非活性フラグがオンしておらず、かつ、調べたドライブタイプに一致するカートリッジタイプのクリーニングカートリッジ19を選択する(S93)。
【0109】
次に制御部2が、選択したクリーニングカートリッジ19を指定して、予備棚16のセルからクリーニングしようとするドライブ14への移動コマンドを制御部12に送信する(S94)。
【0110】
かくして、選択されたクリーニングカートリッジ19により、指定されたドライブ14のクリーニングが実行され、クリーニングカートリッジ19が予備棚16のセルに戻されて、クリーニングが終了する(S95)。
【0111】
次に制御部2が、制御部12からの情報により、クリーニングにおいてタイプエラーあるいはロードエラーが発生したか否かを判断する(S96)。
【0112】
タイプエラーあるいはロードエラーが発生した場合(S96:YES)、制御部2が、選択されたクリーニングカートリッジ19について、ボリューム情報データベース26の非活性フラグをオンさせ(S97)、このルーチンを終了する。
【0113】
ステップS96において、タイプエラーあるいはロードエラーが発生しなかった場合(S96:NO)、このルーチンを終了する。
【0114】
図15は、予備セルクリアー処理の手順を説明するフローチャートであって、先ず制御部2が、予備棚16のセルに格納されている磁気テープカートリッジ18のカートリッジ識別子とカートリッジタイプとを読み取るためのコマンドを制御部12に送信する(S101)。
【0115】
これにより制御部12が、アクセッサ13を制御して、予備棚16のセルに格納されている磁気テープカートリッジ18のカートリッジ識別子とカートリッジタイプとを読み取らせ、それを制御部2に送信する。
【0116】
次に制御部2が、制御部12からのカートリッジ識別子とカートリッジタイプとを獲得する(S102)。
【0117】
次に制御部2が、制御部12からのカートリッジ識別子に基づいてボリューム情報データベース26を検索し、検索により得られたカートリッジタイプと制御部12からのカートリッジタイプとを比較する(S103)。
【0118】
次に制御部2が、比較結果が一致したか否かを判断する(S104)。
【0119】
比較結果が一致しなければ(S104:NO)、制御部2が、予備棚16のセルに格納されている磁気テープカートリッジ18のカートリッジタイプと、ボリューム情報データベース26に登録されているカートリッジタイプとが一致しない旨を表示部3に表示させて(S105)、このルーチンを終了する。
【0120】
ステップS104において、比較結果が一致すれば(S104:YES)、制御部2が、処理情報を表示部3に表示させて(S106)、磁気テープカートリッジ18を予備棚16のセルから棚15のセルに移動させ、このルーチンを終了する。
【0121】
図16は、再投入処理の手順を説明するフローチャートであって、先ず制御部2が、投入/排出装置17の投入口に投入された磁気テープカートリッジ18のカートリッジ識別子とカートリッジタイプとを読み取るためのコマンドを制御部12に送信する(S111)。
【0122】
これにより制御部12が、アクセッサ13を制御して、投入/排出装置17の投入口に投入された磁気テープカートリッジ18のカートリッジ識別子とカートリッジタイプとを読み取らせ、それを制御部2に送信する。
【0123】
次に制御部2が、制御部12からのカートリッジ識別子とカートリッジタイプとを獲得する(S112)。
【0124】
次に制御部2が、制御部12からのカートリッジ識別子に基づいてボリューム情報データベース26を検索し、そのカートリッジタイプと制御部12からのカートリッジタイプとが一致するかどうか比較する(S113)。
【0125】
次に制御部2が、比較結果が一致したか否かを判断する(S114)。
【0126】
比較結果が一致しなければ(S114:NO)、制御部2が、投入された磁気テープカートリッジ18は、カートリッジ識別子が一致するにも係わらず、ボリューム情報データベース26に登録さているカートリッジタイプと相違する旨のメッセージを表示部3に表示させて(S115)、このルーチンを終了する。
【0127】
ステップS114において、比較結果が一致すれば(S114:YES)、制御部2が、その旨を表示部3に表示させて(S116)、磁気テープカートリッジ18を棚15のセルに移動させ、このルーチンを終了する。
【0128】
図17は、整合性確認処理の手順を説明するフローチャートであって、先ず制御部2が、指定されたセルに格納されている磁気テープカートリッジ18のカートリッジ識別子およびカートリッジタイプを読み取るための読取コマンドを制御部12に送信する(S121)。
【0129】
これにより制御部12が、アクセッサ13を制御して、棚15のセルに収納されている磁気テープカートリッジ18のカートリッジ識別子およびカートリッジタイプを読み取らせ、それを制御部2に送信する。
【0130】
次に制御部2が、制御部12からのカートリッジ識別子およびカートリッジタイプを獲得する(S122)。
【0131】
次に制御部2が、制御部12からのカートリッジ識別子に基づいてボリューム情報データベース26を検索し、得られたカートリッジタイプと制御部12からのカートリッジタイプとを比較する(S123)。
【0132】
次に制御部2が、比較結果が一致したか否かを判断する(S124)。
【0133】
比較結果が一致しなければ(S124:NO)、制御部2が、ボリューム情報データベース26に登録されているカートリッジタイプと実際のカートリッジタイプとが相違する旨のメッセージを表示部3に表示させて(S125)、このルーチンを終了する。
【0134】
比較結果が一致すれば(S124:YES)、制御部2が、その旨を表示部3に表示させて(S126)、このルーチンを終了する。
【0135】
このように、環境設定処理において、ライブラリ装置11に搭載されているドライブ14の情報を環境ファイル25に登録するので、この環境ファイル25に登録されたドライブ14の情報に基づいて、磁気テープカートリッジ18やクリーニングカートリッジ19を適切なドライブ14にマウントするなどの制御を行うことができる。
【0136】
また、投入処理において、投入/排出装置17の投入口に投入された磁気テープカートリッジ18やクリーニングカートリッジ19のカートリッジ識別子およびカートリッジタイプをボリューム情報データベース26に登録するので、このカートリッジ識別子およびカートリッジタイプに基づいて、磁気テープカートリッジ18やクリーニングカートリッジ19のマウント、アンマウント、排出、クリーニングなどの各種制御を適切に行うことができる。
【0137】
また、第1マウント処理において、ボリューム情報データベース26からマウントすべき磁気テープカートリッジ18のカートリッジタイプを調べ、環境ファイル25からドライブ14のドライブタイプを調べて、磁気テープカートリッジ18を適切なドライブ14にマウントするので、異なるタイプのドライブ14が混在しているにも拘らず、オペレータはカートリッジタイプとドライブタイプとの整合性を意識することなく、磁気テープカートリッジ18が自動的に適切なドライブ14にマウントされる。
【0138】
また、アンマウント処理において、ドライブ情報に含まれる磁気テープカートリッジ18のテープ長や圧縮形式などの情報をボリューム情報データベース26に登録するので、オペレータが任意に磁気テープカートリッジ18の各種情報を参照可能になる。
【0139】
また、アンマウント処理において、ドライブ情報に含まれる磁気テープカートリッジ18のテープ長や圧縮形式などの情報が、ボリューム情報データベース26に既に登録されている場合、両者を比較するので、ライブラリ装置11の内部で磁気テープカートリッジ18が入れ替わったことを検出できる。すなわち、テープ長は本来不変のものであり、それが異なるということは、磁気テープカートリッジ18が入れ替わったと判断できるのである。
【0140】
また、投入処理において、投入/排出装置17の投入口に投入された磁気テープカートリッジ18を、そのカートリッジタイプに適合するドライブタイプのドライブ14に最も近い空きセルに収納するので、マウント時のアクセッサ13の移動時間を短縮でき、処理性能が向上する。
【0141】
また、第1マウント処理において、磁気テープカートリッジ18をドライブ14にロードさせたときに、タイプエラーが発生した場合、ボリューム情報データベース26に登録されているカートリッジタイプを書き換えるので、磁気テープカートリッジ18に誤ったタイプラベル23が貼付されているような場合でも、その磁気テープカートリッジ18を適切にドライブ14にマウントできるようになる。
【0142】
また、第1マウント処理において、タイプエラーが発生してボリューム情報データベース26に登録されているカートリッジタイプを書き換えるに際して、問い合わせメッセージを表示部3に表示させるので、ライブラリ装置11の内部で磁気テープカートリッジ18が入れ替わった可能性があることをオペレータに知らせて注意を喚起することができる。
【0143】
また、クリーニング処理において、ボリューム情報データベース26からクリーニングカートリッジ19のカートリッジタイプを調べ、環境ファイル25からドライブ14のドライブタイプを調べるので、オペレータはクリーニングカートリッジ19のカートリッジタイプを意識することなく、適切なクリーニングカートリッジ19によってドライブ14のヘッドをクリーニングできる。
【0144】
また、クリーニング処理において、タイプエラーあるいはロードエラーが発生した場合、そのクリーニングカートリッジ19について、ボリューム情報データベース26の非活性フラグをオンさせ、次回からは使用しないようにするので、クリーニング処理におけるタイプエラーあるいはロードエラーの発生を極力低減させることができる。
【0145】
また、再投入処理において、投入/排出装置17の投入口に投入された磁気テープカートリッジ18のカートリッジタイプを読み取り、ボリューム情報データベース26に登録されているカートリッジタイプと比較するので、比較結果が異なった場合に、表示部3に磁気テープカートリッジ18が入れ替わった可能性がある旨の警告表示を行うなどして、オペレータに注意を喚起することが可能になる。
【0146】
また、整合性確認処理において、棚15のセルに格納されている磁気テープカートリッジ18のカートリッジタイプを読み取り、ボリューム情報データベース26に登録されているカートリッジタイプと比較するので、比較結果が異なった場合に、表示部3にライブラリ装置11の内部で磁気テープカートリッジ18が入れ替わった可能性がある旨の表示を行うなどして、オペレータに通知することが可能になる。
【0147】
また、投入処理において、環境ファイル25およびボリューム情報データベース26を検索し、投入/排出装置17の投入口に投入された磁気テープカートリッジ18のカートリッジタイプに適合したドライブタイプのドライブ14がライブラリ装置11に搭載されていない場合、表示部3に警告メッセージを表示するので、オペレータは排出コマンドの発行を指示することにより投入/排出装置17の投入口に投入された磁気テープカートリッジ18を投入/排出装置17の排出口に排出させることができる。
【0148】
また、投入処理において、投入/排出装置17の投入口に投入された磁気テープカートリッジ18のカートリッジタイプに適合したドライブタイプのドライブ14がライブラリ装置11に搭載されていない場合、磁気テープカートリッジ18をアクセッサ13が受け取れる位置から投入/排出装置17の排出口に戻すので、オペータの操作を要することなく、ロード不可能な磁気テープカートリッジ18がライブラリ装置11の内部に収納されるのを回避できる。
【0149】
また、第2マウント処理において、環境ファイル25とボリューム情報データベース26とを検索して、指定された磁気テープカートリッジ18のカートリッジタイプと指定されたドライブ14のドライブタイプとが適合していなければ、エラーメッセージを表示部3に表示するとともに、磁気テープカートリッジ18を棚15のセルから取り出さないので、オペレーションミスにより誤ったドライブ14を指定したような場合に、無駄な処理時間を浪費することがない。
【0150】
また、ライブラリ制御装置1の起動処理において、環境ファイル25とボリューム情報データベース26とを検索し、磁気テープカートリッジ18をロード可能なドライブ14がライブラリ装置11に搭載されていない場合、表示部3に警告メッセージを表示するので、磁気テープカートリッジ18がライブラリ装置11に搬入される前に、オペレータは適切な処置を施すことができる。
【0151】
また、ライブラリ制御装置1の起動処理において、磁気テープカートリッジ18をロード可能なドライブ14がライブラリ装置11に搭載されていない場合、投入/排出装置17の投入口に投入された磁気テープカートリッジ18を、アクセッサ13が受け取れる位置から投入/排出装置17の排出口に移動させるので、オペータが排出コマンドを発行させるための操作を行うことなく、作業員が投入/排出装置17の排出口から磁気テープカートリッジ18を取り出すことができる。
【0152】
また、予備セルクリアー処理において、予備棚16のセルに格納されている磁気テープカートリッジ18のカートリッジタイプを読み取って、ボリューム情報データベース26に登録されているカートリッジタイプと比較するので、たとえば両者が一致しない場合に、表示部3にライブラリ装置11の内部で磁気テープカートリッジ18が入れ替わった可能性がある旨の警告メッセージを表示させるなどして、オペレータに通知することができる。
【0153】
また、スクラッチプール登録処理において、既にスクラッチプールに登録されている磁気テープカートリッジ18のカートリッジタイプと異なるカートリッジタイプの磁気テープカートリッジ18がスクラッチプールに登録されようとした場合、表示部3にエラーメッセージを表示して登録させないので、スクラッチプールの運用を適切に行うことができる。
【0154】
また、第1マウント処理において、ロードエラーが発生した場合、ドライブ14のドライブタイプによりリトライの最大回数を異ならせたので、ドライブタイプに応じた適切なリトライ回数を設定できる。すなわち、ロードエラーは、媒体障害あるいはドライブ障害のエラーであるが、ドライブタイプにより、異なるカートリッジタイプの磁気テープカートリッジ18がロードされたときに、ロードエラーになるドライブ14とタイプエラーになるドライブ14とが存在しており、ロードエラーの意味合いがドライブタイプによって異なることから、リトライの最大回数もドライブタイプに応じて適切に設定するのが好ましいのである。
【0155】
また、第1マウント処理において、ロードエラーが発生した場合、同一のドライブタイプでかつ別のドライブ14でロードし、さらにロードエラーが発生すれば、異なるドライブタイプのドライブ14でロードするので、オペレータの操作なしで、ロードエラーの原因を、ドライブ14の障害、カートリッジタイプとドライブタイプとの不適合、あるいは媒体障害に切り分けることができる。もちろん、3種類以上の磁気テープカートリッジを用い、それに応じて3種類以上のドライブが設置されている場合、ロードエラーが発生する限り、全ての種類のドライブに順次磁気テープカートリッジをマウントしていく。
【0156】
また、第1マウント処理において、カートリッジタイプとドライブタイプとが不適合である場合、ボリューム情報データベース26のカートリッジタイプを正しく書き換えるので、次回からは適切なドライブ14にマウントされることから、エラーの頻度を極力低減させることができる。
【0157】
なお、上記実施形態においては、記録媒体として磁気テープカートリッジ18を用いたが、このような構成に限定されるものではなく、記録媒体としてたとえば光ディスクあるいは光磁気ディスクなどを用いてもよい。
【0158】
また、上記実施形態においては、36トラック仕様の磁気テープカートリッジ18と128トラック仕様の磁気テープカートリッジ18との2種類の記録媒体を用い、それに応じて2種類のドライブ14を設置したが、3種類以上の記録媒体およびドライブを用いてもよい。
【0159】
また、上記実施形態においては、ライブラリ制御装置1をライブラリ装置11の外部に設置し、制御部2と制御部12とを通信線21により接続したが、ライブラリ制御装置1の制御部2および外部記憶装置5をライブラリ装置11の内部に設置し、ライブラリ制御装置1の表示部3および操作部4をライブラリ装置11の外面あるいはその近傍に設置してもよい。
【0160】
【発明の効果】
以上説明したように、本発明によれば、制御装置が、センサによって読み取られた各種情報やドライブ情報記憶装置および記録媒体情報記憶装置に記憶された各種情報を利用してアクセッサを制御するので、相互にタイプの異なる記録媒体およびドライブを混在させたライブラリ装置を適切に制御できる。
【図面の簡単な説明】
【図1】本発明に係るライブラリ制御装置およびそれによって制御されるライブラリ装置の概略構成図である。
【図2】磁気テープカートリッジの概略背面図である。
【図3】環境ファイルの説明図である。
【図4】ボリューム情報データベースの説明図である。
【図5】環境設定処理の手順を説明するフローチャートである。
【図6】ライブラリ制御装置起動処理の手順を説明するフローチャートである。
【図7】投入処理の手順を説明するフローチャートである。
【図8】スクラッチプール登録処理の手順を説明するフローチャートである。
【図9】第1マウント処理の手順を説明するフローチャートである。
【図10】第1マウント処理の手順を説明するフローチャートである。
【図11】別の実施形態における第1マウント処理の要部の手順を説明するフローチャートである。
【図12】第2マウント処理の手順を説明するフローチャートである。
【図13】アンマウント処理の手順を説明するフローチャートである。
【図14】クリーニング処理の手順を説明するフローチャートである。
【図15】予備セルクリアー処理の手順を説明するフローチャートである。
【図16】再投入処理の手順を説明するフローチャートである。
【図17】整合性確認処理の手順を説明するフローチャートである。
【符号の説明】
1 ライブラリ制御装置
2 制御部
3 表示部
4 操作部
5 外部記憶装置
11 ライブラリ装置
12 制御部
13 アクセッサ
13a センサ
14 ドライブ
15 棚
16 予備棚
17 投入/排出装置
18 磁気テープカートリッジ
19 クリーニングカートリッジ
22 IDラベル
23 タイプラベル
25 環境ファイル
26 ボリューム情報データベース[0001]
BACKGROUND OF THE INVENTION
The present invention controls a library apparatus containing a shelf having a large number of cells for storing a recording medium such as a magnetic tape or an optical disk, a drive for accessing the recording medium to read / write data, and an accessor for moving the recording medium. The present invention relates to a library control apparatus.
[0002]
[Prior art]
As a device for efficiently managing a very large amount of data, there is a library device that uses a magnetic tape or an optical disk as a recording medium.
[0003]
Even in such a library apparatus, the amount of data to be stored has increased dramatically in recent years. For example, in the case of a magnetic tape library apparatus, a magnetic tape cartridge used as a recording medium has a specification of 36 to 128 tracks. Tend to move on.
[0004]
However, the 36-track magnetic tape cartridge and the 128-track magnetic tape cartridge have different cartridge types, and the drive types of the drives for reading and writing them are naturally different from each other. In addition, even when a new 128-track magnetic tape cartridge is introduced, it is inconvenient that the existing 36-track magnetic tape cartridge cannot be used. Therefore, different drive types of drives are mixed in the library apparatus. There is a strong desire to make it happen.
[0005]
However, conventionally, there are no magnetic tape cartridges of different cartridge types and drives having different drive types mixed in one library apparatus, and cannot be dealt with.
[0006]
DISCLOSURE OF THE INVENTION
The present invention has been conceived under the circumstances described above, and provides a library control device capable of appropriately controlling a library device in which different types of recording media and drives are mixed. Let it be an issue.
[0007]
In order to solve the above problems, the present invention takes the following technical means.
[0008]
According to the first aspect of the present invention, data is read from and written to different types of recording media, which are installed corresponding to the types of recording media, respectively. Multiple installations for each type A drive, a shelf having a large number of cells for accommodating the recording medium, and an accessor for moving the recording medium between the cell and the drive. Each recording medium includes identification information unique to each recording medium, A library control device that controls a library device added so that the type information indicating the type of the recording medium can be read by a sensor installed in the accessor, and information on the type and installation position of each drive Is stored in a drive information storage device that stores information, a recording medium information storage device that stores identification information and type information read by a sensor, various information read by a sensor, a drive information storage device, and a recording medium information storage device. And a control device that controls the accessor using various information The control device reads the type information stored in the recording medium information storage device based on the specified identification information when the operator gives an instruction to execute the mount processing specifying the identification information. The drive of the type that matches the type information is read from the drive information storage device, the recording medium of the identification information specified for the drive is mounted, and the loading process does not succeed and a load error occurs. If the recording medium is mounted on another drive of the same type and loading is successful, it is determined that a failure has occurred in the first mounted drive, and if loading is not successful, In addition, if the recording media are mounted sequentially in different types of drives and loading is successful, the previously mounted drive Determining the type of type and the recording medium and were incompatible, determined that if the load is not successful, failure on the recording medium is occurring A library controller is provided.
[0009]
According to a preferred embodiment, the control device, when the operator gives an instruction to execute the loading process, the type information read by the sensor and the type of drive stored in the drive information storage device If there is no drive that can access the recording medium loaded into the library apparatus, the access operation to the cell by the accessor is prohibited.
[0012]
According to another preferred embodiment, the control device is configured to record the recording medium information based on the specified identification information when the operator gives an instruction to execute the mount process specifying the identification information and the drive. When the type information stored in the storage device is read out and the designated drive type is read out from the drive information storage device to determine whether or not the type information and the drive type match. Prohibits the accessor from moving the recording medium to the drive.
[0013]
According to another preferred embodiment, the control device determines the track length, data compression format, etc. of the recording medium obtained from the drive when the instruction to execute the unmount process is given by the operator. Information is stored in a recording medium information storage device.
[0014]
As described above, according to the present invention, the control device controls the accessor using various information read by the sensor and various information stored in the drive information storage device and the recording medium information storage device. It is possible to appropriately control a library apparatus in which different types of recording media and drives are mixed.
[0015]
Other features and advantages of the present invention will become more apparent from the detailed description given below with reference to the accompanying drawings.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.
[0017]
FIG. 1 is a schematic configuration diagram of a library control device according to the present invention and a library device controlled thereby. The library control apparatus 1 is realized by a computer, and includes a control unit 2 having a central processing unit (CPU), a read only memory (ROM), a random access memory (RAM), a CRT (cathode-ray tube), and the like. A
[0018]
The
[0019]
The
[0020]
The
[0021]
The
[0022]
The
[0023]
The
[0024]
The loading /
[0025]
The
[0026]
The cleaning
[0027]
As shown in FIG. 2, on the back surface of the
[0028]
As shown in FIG. 3, an
[0029]
Further, as shown in FIG. 4, the
[0030]
Although not shown, the
[0031]
The control unit 2 of the library control device 1 issues various commands to the
[0032]
The environment setting command reads apparatus configuration information from the
[0033]
The input command is a command for storing the
[0034]
The discharge command is a command for discharging the
[0035]
The scratch pool command is a command for registering the
[0036]
The first mount command is a command for loading the
[0037]
The second mount command is a command for loading the
[0038]
The unmount command is a command for returning the
[0039]
The cleaning command is a command for selecting one
[0040]
The display command is a command for causing the
[0041]
The spare cell clear command reads the cartridge identifier written on the
[0042]
The re-insertion command is a command for returning the
[0043]
The consistency check command includes a cartridge identifier of a
[0044]
Next, the operation when the command is issued by the control unit 2 of the library control apparatus 1 will be described.
[0045]
FIG. 5 is a flowchart for explaining the procedure of the environment setting process. First, the control unit 2 transmits a device configuration information acquisition command to the control unit 12 (S1).
[0046]
Next, the control unit 2 acquires configuration information of the
[0047]
Next, the control unit 2 registers the drive identifier, drive position, drive type, and the like of the
[0048]
FIG. 6 is a flowchart for explaining the procedure of the library control device activation process. First, the control unit 2 transmits a library control device activation command to the
[0049]
Next, the control unit 2 compares the cartridge type of the
[0050]
As a result of the comparison, the control unit 2 determines whether there is a
[0051]
If there is a
[0052]
Next, the control unit 2 transmits a command for ejecting the
[0053]
In step S13, if there is no
[0054]
FIG. 7 is a flowchart for explaining the procedure of the loading process. First, the control unit 2 determines the cartridge identifier and cartridge type of the
[0055]
As a result, the
[0056]
Next, the control unit 2 acquires read data from the control unit 12 (S22).
[0057]
Next, the control unit 2 searches the
[0058]
Next, the control unit 2 determines whether there is no
[0059]
If there is a
[0060]
Next, the control unit 2 designates a cell closest to the
[0061]
In step S24, if there is no
[0062]
In step S24, instead of displaying the warning message on the
[0063]
FIG. 8 is a flowchart for explaining the procedure of the scratch pool registration process. First, the control unit 2 searches the
[0064]
Next, the control unit 2 determines whether or not the cartridge type checked in step S31 matches the cartridge type of the
[0065]
If the cartridge type checked in step S31 matches the cartridge type of the
[0066]
In step S32, if the cartridge type checked in step S31 does not match the cartridge type of the
[0067]
FIGS. 9 and 10 are flowcharts for explaining the procedure of the first mounting process. First, the operator inputs a mount instruction specifying a cartridge identifier by operating the operation unit 4 (S41).
[0068]
As a result, the control unit 2 searches the
[0069]
Next, the control unit 2 searches the
[0070]
Next, the control unit 2 determines whether or not it is confirmed that the
[0071]
If it can be confirmed that the
[0072]
Next, the control unit 2 determines whether or not a “type error” in which the cartridge type specified at the time of mounting and the drive type of the mounted
[0073]
If a “type error” is detected (S46: YES), the controller 2 recognizes that the cartridge type managed in the
[0074]
Next, the control unit 2 inquires of the operator through the
[0075]
Next, the control unit 2 determines whether or not the operator inputs an instruction to rewrite the cartridge type in the
[0076]
If the operator inputs an instruction to rewrite the cartridge type in the volume information database 26 (S49: YES), the control unit 2 rewrites the cartridge type in the
[0077]
In step S49, if the operator does not input an instruction to rewrite the cartridge type in the volume information database 26 (S49: NO), this routine ends.
[0078]
If “type error” is not detected in step S46 (S46: NO), the control unit 2 determines whether or not a load error is detected (S51).
[0079]
If a load error is detected (S51: YES), the control unit 2 searches the
[0080]
Next, the control unit 2 performs the mounting process again (S53), and ends this routine. This remount process is repeated for the number of retries set in advance in the
[0081]
If no load error is detected in step S51 (S51: NO), this routine is terminated.
[0082]
If it is not confirmed in step S44 that the
[0083]
FIG. 11 is a flowchart for explaining the procedure of the main part of the first mount process in another embodiment, and is configured to perform the process of FIG. 11 instead of the processes of steps S52 and S53 of FIG. May be. First, the control unit 2 recognizes that the mounting process has caused a load error (S61).
[0084]
Next, the control unit 2 mounts and loads the same
[0085]
Next, the control unit 2 determines whether or not the loading process is completed (S63).
[0086]
If the loading process is not completed (S63: NO), the same
[0087]
Next, the control unit 2 determines whether or not the loading process is completed (S65).
[0088]
If the loading process is not completed (S65: NO), it was determined that there was a problem with the loaded
[0089]
In step S65, if the loading process is completed (S65: YES), the control unit 2 determines that the cartridge type and the drive type of the
[0090]
Next, the control unit 2 correctly rewrites the cartridge type of the management information in the
[0091]
If the load process is completed in step S63 (S63: YES), the control unit 2 determines that a drive failure has occurred in the
[0092]
FIG. 12 is a flowchart for explaining the procedure of the second mount process. First, the mount instruction specifying the cartridge identifier and the drive identifier is input by the operator through the operation of the operation unit 4 (S71).
[0093]
Thereby, the control unit 2 searches the
[0094]
Next, the control unit 2 determines whether or not the checked cartridge type matches the drive type of the designated drive 14 (S73).
[0095]
If the checked cartridge type matches the drive type of the designated drive 14 (S73: YES), the designated
[0096]
In step S73, if the checked cartridge type does not match the drive type of the designated drive 14 (S73: NO), the control unit 2 cannot load the designated
[0097]
FIG. 13 is a flowchart for explaining the procedure of unmount processing. First, an unmount instruction is input by an operation of the operation unit 4 by the operator (S81).
[0098]
Further, the operator designates the cartridge identifier of the
[0099]
Thereby, the
[0100]
Next, the
[0101]
Next, the
[0102]
If the tape length and compression format are “unrecognizable” (S85: YES), the control unit 2 registers the tape length and compression format of the unmounted
[0103]
If the tape length and the compression format are not “unrecognizable” in step S85 (S85: NO), the control unit 2 sends information sent from the
[0104]
If the information transmitted from the
[0105]
In step S87, if the information transmitted from the
[0106]
FIG. 14 is a flowchart for explaining the procedure of the cleaning process. First, the operator inputs a cleaning instruction by operating the operation unit 4 (S91).
[0107]
Thereby, the control unit 2 searches the
[0108]
Next, the control unit 2 searches the
[0109]
Next, the control unit 2 designates the selected cleaning
[0110]
Thus, the cleaning of the designated
[0111]
Next, the control unit 2 determines whether a type error or a load error has occurred in the cleaning based on information from the control unit 12 (S96).
[0112]
When a type error or a load error has occurred (S96: YES), the control unit 2 turns on the inactive flag of the
[0113]
If no type error or load error has occurred in step S96 (S96: NO), this routine ends.
[0114]
FIG. 15 is a flowchart for explaining the procedure of the spare cell clear process. First, the control unit 2 reads a cartridge identifier and a cartridge type of the
[0115]
As a result, the
[0116]
Next, the control unit 2 acquires the cartridge identifier and the cartridge type from the control unit 12 (S102).
[0117]
Next, the control unit 2 searches the
[0118]
Next, the control unit 2 determines whether or not the comparison results match (S104).
[0119]
If the comparison results do not match (S104: NO), the controller 2 determines the cartridge type of the
[0120]
In step S104, if the comparison results match (S104: YES), the control unit 2 displays the processing information on the display unit 3 (S106), and the
[0121]
FIG. 16 is a flowchart for explaining the procedure of the re-loading process. First, the control unit 2 reads the cartridge identifier and cartridge type of the
[0122]
As a result, the
[0123]
Next, the control unit 2 acquires a cartridge identifier and a cartridge type from the control unit 12 (S112).
[0124]
Next, the control unit 2 searches the
[0125]
Next, the control unit 2 determines whether or not the comparison results match (S114).
[0126]
If the comparison result does not match (S114: NO), the
[0127]
In step S114, if the comparison results match (S114: YES), the control unit 2 displays the fact on the display unit 3 (S116), moves the
[0128]
FIG. 17 is a flowchart for explaining the procedure of the consistency check process. First, the control unit 2 issues a read command for reading the cartridge identifier and the cartridge type of the
[0129]
As a result, the
[0130]
Next, the control unit 2 acquires a cartridge identifier and a cartridge type from the control unit 12 (S122).
[0131]
Next, the control unit 2 searches the
[0132]
Next, the control unit 2 determines whether or not the comparison results match (S124).
[0133]
If the comparison results do not match (S124: NO), the control unit 2 causes the
[0134]
If the comparison results match (S124: YES), the control unit 2 displays that fact on the display unit 3 (S126), and the routine is terminated.
[0135]
As described above, in the environment setting process, the information on the
[0136]
In addition, in the loading process, the cartridge identifier and cartridge type of the
[0137]
In the first mounting process, the cartridge type of the
[0138]
In addition, in the unmount process, information such as the tape length and compression format of the
[0139]
In addition, when information such as the tape length and compression format of the
[0140]
In the loading process, the
[0141]
In addition, if a type error occurs when the
[0142]
In the first mount process, when a type error occurs and the cartridge type registered in the
[0143]
In the cleaning process, the cartridge type of the cleaning
[0144]
Further, when a type error or a load error occurs in the cleaning process, the deactivation flag of the
[0145]
In the re-loading process, the cartridge type of the
[0146]
In the consistency check process, the cartridge type of the
[0147]
Further, in the loading process, the
[0148]
In addition, in the loading process, when the
[0149]
In the second mount process, the
[0150]
Further, in the startup process of the library control device 1, the
[0151]
In addition, in the startup process of the library control device 1, when the
[0152]
In the spare cell clear process, the cartridge type of the
[0153]
In addition, when a
[0154]
Further, when a load error occurs in the first mount process, the maximum number of retries is varied depending on the drive type of the
[0155]
In the first mount process, if a load error occurs, the load is loaded with the same drive type and another
[0156]
In addition, if the cartridge type and the drive type are incompatible in the first mounting process, the cartridge type in the
[0157]
In the above embodiment, the
[0158]
In the above embodiment, two types of recording media, ie, a 36-track
[0159]
In the above embodiment, the library control device 1 is installed outside the
[0160]
【The invention's effect】
As described above, according to the present invention, the control device controls the accessor using various information read by the sensor and various information stored in the drive information storage device and the recording medium information storage device. It is possible to appropriately control a library apparatus in which different types of recording media and drives are mixed.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of a library control device according to the present invention and a library device controlled by the library control device.
FIG. 2 is a schematic rear view of the magnetic tape cartridge.
FIG. 3 is an explanatory diagram of an environment file.
FIG. 4 is an explanatory diagram of a volume information database.
FIG. 5 is a flowchart illustrating a procedure of environment setting processing.
FIG. 6 is a flowchart for explaining a procedure of library controller start processing;
FIG. 7 is a flowchart for explaining a procedure of input processing.
FIG. 8 is a flowchart for explaining a procedure of a scratch pool registration process.
FIG. 9 is a flowchart illustrating a procedure of first mount processing.
FIG. 10 is a flowchart illustrating a procedure of first mount processing.
FIG. 11 is a flowchart illustrating a procedure of a main part of a first mount process in another embodiment.
FIG. 12 is a flowchart for explaining a procedure of second mount processing;
FIG. 13 is a flowchart for explaining a procedure of unmount processing;
FIG. 14 is a flowchart illustrating a cleaning process procedure;
FIG. 15 is a flowchart for explaining a procedure of a spare cell clear process.
FIG. 16 is a flowchart illustrating a procedure of re-input processing.
FIG. 17 is a flowchart illustrating a procedure of consistency check processing.
[Explanation of symbols]
1 Library controller
2 Control unit
3 Display section
4 Operation part
5 External storage device
11 Library device
12 Control unit
13 Accessor
13a sensor
14 drive
15 shelves
16 Spare shelf
17 Input / output device
18 Magnetic tape cartridge
19 Cleaning cartridge
22 ID label
23 Type label
25 Environment file
26 Volume information database
Claims (4)
前記記録媒体を収容する多数のセルを有する棚と、
前記セルと前記ドライブとの間で前記記録媒体を移動させるアクセッサとを有し、
前記各記録媒体には、各記録媒体固有の識別情報と、各記録媒体の種類を表す種別情報とが、前記アクッセッサに設置されたセンサにより読み取ることが可能なように付加されているライブラリ装置を制御するライブラリ制御装置であって、
前記各ドライブの種類や設置位置の情報を記憶するドライブ情報記憶装置と、
前記センサによって読み取られた前記識別情報や前記種別情報を記憶する記録媒体情報記憶装置と、
前記センサによって読み取られた各種情報や前記ドライブ情報記憶装置および前記記録媒体情報記憶装置に記憶された各種情報を利用して前記アクセッサを制御する制御装置とを備え、
前記制御装置は、オペレータにより識別情報を指定したマウント処理を実行すべき旨の指示がなされたときに、指定された識別情報に基づいて前記記録媒体情報記憶装置に記憶された種別情報を読み出し、その種別情報に適合する種類のドライブを前記ドライブ情報記憶装置から読み出して、そのドライブに指定された識別情報の記録媒体をマウントし、
前記マウント処理において、ロードが成功せずにロードエラーが発生した場合、同じ種類の別のドライブに前記記録媒体をマウントし、ロードが成功した場合には、最初にマウントしたドライブに障害が発生していると判断し、ロードが成功しなかった場合には、さらに異なる種類のドライブに前記記録媒体を順次マウントし、ロードが成功した場合には、以前にマウントしたドライブの種類と前記記録媒体の種類とが不適合であったと判断し、ロードが成功しなかった場合には、前記記録媒体に障害が発生していると判断する、ライブラリ制御装置。A plurality of drives installed for each type, each set corresponding to the type of recording medium and reading / writing data from / to different types of recording media,
A shelf having a number of cells containing the recording medium;
An accessor for moving the recording medium between the cell and the drive;
Each recording medium is provided with a library device to which identification information unique to each recording medium and type information indicating the type of each recording medium are added so that they can be read by a sensor installed in the accessor. A library controller for controlling,
A drive information storage device for storing information on the type and installation position of each drive;
A recording medium information storage device for storing the identification information and the type information read by the sensor;
A controller for controlling the accessor using various information read by the sensor and various information stored in the drive information storage device and the recording medium information storage device ;
The control device reads the type information stored in the recording medium information storage device based on the specified identification information when an instruction to execute the mount process specifying the identification information is made by the operator, Read the type of drive that matches the type information from the drive information storage device, mount the recording medium of the identification information specified in the drive,
In the mounting process, if a load error occurs without a successful load, the recording medium is mounted on another drive of the same type, and if the load is successful, the first mounted drive fails. If the loading is not successful, the recording media are sequentially mounted on different types of drives. If the loading is successful, the type of the previously mounted drive and the recording media A library control device that determines that the type is incompatible and determines that a failure has occurred in the recording medium if the loading is not successful .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP06440099A JP3782605B2 (en) | 1999-03-11 | 1999-03-11 | Library controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP06440099A JP3782605B2 (en) | 1999-03-11 | 1999-03-11 | Library controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000260089A JP2000260089A (en) | 2000-09-22 |
JP3782605B2 true JP3782605B2 (en) | 2006-06-07 |
Family
ID=13257243
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP06440099A Expired - Fee Related JP3782605B2 (en) | 1999-03-11 | 1999-03-11 | Library controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3782605B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6127242B1 (en) * | 2016-04-04 | 2017-05-17 | 株式会社ユニテックス | Magnetic tape storage device |
-
1999
- 1999-03-11 JP JP06440099A patent/JP3782605B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000260089A (en) | 2000-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6031798A (en) | Library control of media capacity scaling and library component attributes | |
US7219273B2 (en) | Method for testing media in a library without inserting media into the library database | |
CN100543667C (en) | Disk drive | |
US5377121A (en) | Automated storage library having inventory at picker level | |
EP1324331B1 (en) | System and method for securing drive access to data storage media based on medium identifiers | |
US20050063089A1 (en) | Robotic Data Storage Library With the Ability to Reduce the Transition Time to Reach an Operational State After a Transition From a Power-Off State to a Power-On State | |
CN101154410A (en) | Tracking error events relating to data storage drives and/or media of automated data storage library subsystems | |
EP2317428B1 (en) | Automatically linking partitions on a tape media device | |
US6237109B1 (en) | Library unit with spare media and it's computer system | |
US6404707B1 (en) | Storage apparatus using removable media and its read/write control method | |
US7516250B2 (en) | Apparatus and method for managing component identifiers in a data storage system | |
JP3782605B2 (en) | Library controller | |
JP2005149699A (en) | Storage structure and associated method | |
JPH07111007A (en) | Auto-changer device | |
US20070127322A1 (en) | Apparatus system and method for managing control path commands in an automated data storage library | |
GB2146812A (en) | Optical storage system | |
US6064635A (en) | Changeable storage device of plural optical recording media of same physical form and different logical formats | |
US7159140B2 (en) | Method to transfer information between data storage devices | |
JP2626396B2 (en) | Cell address information updating method for mass storage device | |
JPH08249867A (en) | Auto-changer and its medium control method | |
JP3501169B2 (en) | Information recording / reproducing device | |
JPH10254630A (en) | Library system and feed/discharge method for logic volume | |
JP2005158175A (en) | Magnetic tape library device and medium management method therefor | |
JP3855550B2 (en) | Library apparatus and recording medium processing method in library apparatus | |
JP2810823B2 (en) | Library apparatus and method of controlling cartridge exchange information in the apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051130 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20051213 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060207 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20060307 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060310 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100317 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100317 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110317 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110317 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120317 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130317 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130317 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140317 Year of fee payment: 8 |
|
LAPS | Cancellation because of no payment of annual fees |