JP2004133845A - Tape library device - Google Patents

Tape library device Download PDF

Info

Publication number
JP2004133845A
JP2004133845A JP2002300090A JP2002300090A JP2004133845A JP 2004133845 A JP2004133845 A JP 2004133845A JP 2002300090 A JP2002300090 A JP 2002300090A JP 2002300090 A JP2002300090 A JP 2002300090A JP 2004133845 A JP2004133845 A JP 2004133845A
Authority
JP
Japan
Prior art keywords
tape
read
data
write
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.)
Pending
Application number
JP2002300090A
Other languages
Japanese (ja)
Inventor
Natsuki Sawada
澤田 夏樹
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002300090A priority Critical patent/JP2004133845A/en
Publication of JP2004133845A publication Critical patent/JP2004133845A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a tape library device capable of reproducing data with high reliability in reproducing data from a plurality of tapes subjected to mirrorring in the tape library device having a mirrorring function. <P>SOLUTION: Data to be recorded are written on a plurality of tapes via a read condition calculation circuit 115. The read condition calculation circuit 115 calculates an error rate from write/read data to find the reliability value of each of the tapes. A tape selection circuit 116 selects a tape with a high reliability value on the basis of the reliability value to make the tape be a master tape. This can improve the reliability of data. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は,1台の磁気テープ装置で2本以上の磁気テープを自動的に入れ替えるローダー機能と、1本の磁気テープの複製をその他の1本以上の磁気テープに作成するミラーリング機能を有するテープ・ライブラリ装置に関するものである。
【0002】
【従来の技術】
従来より,高い信頼性を要求される電子計算機システムにおいて,磁気ディスク装置,磁気テープ装置そして磁気テープ・ライブラリ装置等の記録装置に障害が発生した時に大切なデータを完全に失ってしまうことを防ぐ手段として,同一データを異なるハードディスク記録装置もしくはハードディスク記録媒体に格納するミラーリング技術が知られている(例えば、非特許文献1参照。)。
【0003】
また、磁気テープを用いた大容量データ記憶装置があり、信頼性を高めるために同一のデータを複数のテープストリーマに記録してデータの信頼性やバックアップ時間を短縮する技術が知られている(例えば、特許文献1を参照)。これらの磁気テープを使用したストリーマには、回転ヘッドによるヘリカルスキャン方式を採用した磁気テープ装置がある。データのミラーリングを、回転ヘッドを用いた磁気テープ装置に適用すると、 図5および図6に示すミラーリング機能を持つテープ・ライブラリ装置が出来る。
【0004】
このテープ・ライブラリ装置は,磁気テープ装置31と2本以上の磁気テープ,磁気テープA32,磁気テープB33,・・・を有し,使用する磁気テープはスロット314を介して磁気テープ装置31に接続される。また、コマンド制御回路313はホストI/F311を介してホストコンピュータと接続される。データバッファ312はホストコンピュータとテープ間で送受されるデータを一時保存する。磁気テープA32はホストコンピュータからのデータライト時,磁気テープB33に先んじてデータを記録し,また,ホストコンピュータからのデータリード時,対象となるマスターテープである。磁気テープB33は磁気テープA32と同一内容のデータを格納するミラーテープである。ホストコンピュータから磁気テープA32,磁気テープB33は同一論理ボリュームとして認識されている。以上のように構成されたミラーリング装置におけるデータライトとデータリードの動作を説明する。
【0005】
図5において,ホストコンピュータから前記論理ボリュームに対するデータライト要求は,コマンド制御回路313で解析される。磁気テープA32をスロット314に挿入し,コマンドで与えられたデータブロック数分のデータをデータバッファ312を介してマスターテープである磁気テープA32にライトする。ホストコンピュータからのデータライト要求終了後,磁気テープA32からライトされたデータをデータバッファ312にリードし,スロット314に挿入されている磁気テープA32を磁気テープB33に入れ替え,データバッファ312のデータをミラーテープである磁気テープB33にライトする。
【0006】
図6はホストコンピュータからのデータリード時のデータの流れを示したものである。図6において,ホストコンピュータから入力された前記論理ボリュームに対するデータリード要求は,コマンド制御回路313で解析される。マスターテープである磁気テープA32をスロット314に挿入し,磁気テープA32から要求されたデータをデータバッファ312に一時保存し,ホストI/Fはデータバッファ312のデータをホストコンピュータに転送する。
【0007】
【特許文献1】
特開2001−209501号公報(第2頁、第1図)
【非特許文献1】
David A. Patterson et al.:A Case for Redundant Arrays of Inexpensive Disks(RAID).Proceeding ACM SIGMOD p.109−116,May 1988
【0008】
【発明が解決しようとする課題】
前記従来のミラーリング機能を有するテープ・ライブラリ装置では、ホストコンピュータから論理ボリュームに対するデータのライト要求によって転送されるデータは,一度マスターテープにライトを行い,その後,マスターテープからミラーテープにデータをコピーする。また,ホストコンピュータから論理ボリュームに対するデータのリード要求によって転送されるデータはマスターテープからリードされる。磁気テープに対するデータのライト/リード開始時には,磁気テープをある程度逆方向に走行させた後に,再度,順方向に走行させライト/リードを行う位置を探す動作を行わなければならない。この動作をリポジショニングという。
【0009】
リポジショニング動作が繰り返し発生すると,テープ走行方向が頻繁に変わることになり,磁気ヘッドが磁気テープに接触した状態でドラムが回転する構造を持つ磁気テープ装置では,磁気テープが局所的に摩耗しやすくなるとともに,磁気テープの表面にゴミが堆積しやすくなる。
【0010】
その結果,磁気テープに対する記録再生処理が適正に行われなくなる可能性が高くなり,磁気テープ装置に対する信頼性が低下するという課題を有していた。
【0011】
本発明は,前記の課題を解決するもので,マスターテープにおけるリポジショニングを低減させ,信頼性の高い記録再生を行うミラーリング機能を有したテープ・ライブラリ装置を提供することを目的とする。
【0012】
【課題を解決するための手段】
前記課題を解決するために,本発明の2本以上の磁気テープを記録媒体とし,また,ホストからのデータを2本以上の磁気テープに記録するミラーリング機能を備えたテープ・ライブラリ装置は,前記ホストからのコマンド及びデータを制御するコマンド制御手段と,2本以上の前記テープから1本の磁気テープを選択するテープ選択手段を備え,テープ選択手段がミラーリングにより同一のデータが書かれた2本以上の前記磁気テープの中から信頼性の高い磁気テープを選択しアクセスすることを特徴とするものである。
【0013】
本発明によれば,信頼性の高い記録再生を行うミラーリング機能を有したテープ・ライブラリ装置を提供できる。
【0014】
【発明の実施の形態】
請求項1に記載の発明は、複数の磁気テープを記録媒体とし,前記複数の記録媒体にホストからのデータを記録するミラーリング機能を備えたテープ・ライブラリ装置において,前記ホストからのコマンドとデータを制御するコマンド制御手段と、前記記録媒体の信頼性を判断するリード条件算出回路を備え、前記ミラーリング記録された複数の記録媒体から所定の記録媒体を選択するテープ選択手段を備え,前記ミラーリング記録された複数の記録媒体の信頼性を前記リード条件算出回路により判断し、前記判断結果に基づき最も信頼性が高い記録媒体を前記テープ選択手段により選択して再生することを特徴とするテープ・ライブラリ装置であり、テープ選択手段がミラーリングにより同一のデータが書かれた2本以上の前記磁気テープの中から信頼性の高い磁気テープを選択しアクセスすることにより,磁気テープに対して信頼性の高い記録再生を実現しうるものである。
【0015】
請求項2に記載の発明は、前記リード条件算出回路は,前記コマンド制御回路の出力から前記記録媒体の信頼性を算出することを特徴とする請求項1に記載のテープ・ライブラリ装置であり、前記コマンド制御回路の出力から前記磁気テープの信頼性を算出することで,信頼性の高い磁気テープを判断することができる。
【0016】
請求項3に記載の発明は、前記リード条件算出回路は、前記ホストから前記記録媒体へのリード回数を計数するコマンド計数器と,前記計数結果を前記記録媒体の信頼性として計測することを特徴とする請求項2に記載のテープ・ライブラリ装置であり、前記ホストから前記磁気テープへのリード回数を計数し,前記磁気テープの信頼性を計測することを実現するものである。
【0017】
請求項4に記載の発明は、前記コマンド計数器は、前記ホストから前記コマンド制御回路に対して発行されたリードコマンドをリード回数として計数することを特徴とする請求項3に記載のテープ・ライブラリ装置であり、リード回数として前記ホストから前記コマンド制御回路に対して発行されリードコマンドを計数すること実現するものである。
【0018】
請求項5に記載の発明は、前記コマンド計数器は、前記ホストから前記コマンド制御回路に対して発行されたリワインドコマンドをリード回数として計数することを特徴とする請求項3に記載のテープ・ライブラリ装置であり、リード回数として前記ホストから前記コマンド制御回路に対して発行されたリワインドコマンドを計数することを実現するものである。
【0019】
請求項6に記載の発明は、前記リード条件算出回路は、リードデータ量計数器を備え,前記ホストから前記磁気テープへのリードデータ量を計数し,前記データリード量を前記記録媒体の信頼性として計測することを特徴とする請求項2に記載のテープ・ライブラリ装置であり、リード条件算出回路内部にリードデータ量計数器を備えたことにより,前記ホストから前記磁気テープへのリードデータ量を計数し,前記磁気テープの信頼性を計測することを実現するものである。
【0020】
請求項7に記載の発明は、前記リードデータ量計数器は、前記ホストから前記コマンド制御回路に対して発行されたリードコマンド内のリードブロック数をリードデータ量として計数することを特徴とする請求項6に記載のテープ・ライブラリ装置であり、リードデータ量として前記ホストから前記コマンド制御回路に対して発行されたリードコマンド内のリードブロック数を計数することを実現するものである。
【0021】
請求項8に記載の発明は、前記リード条件算出回路は、エラーレート計数器を備え,前記リードデータに含まれるエラーを計数して前記記録媒体の信頼性を計測することを特徴とする請求項2に記載のテープ・ライブラリ装置であり、リード条件算出回路内部にエラーレート計数器を備え,リードデータに含まれるエラーを計数し,前記磁気テープの信頼性を計測することを実現するものである。
【0022】
請求項9に記載の発明は、前記エラーレート計数器は、前記記録媒体に対してリードアフターライトによるデータからエラーレートを算出し計数することを特徴とする請求項8に記載のテープ・ライブラリ装置であり、磁気テープに対してリードアフターライトによるデータからエラーレートを算出し計数することを実現するものである。
【0023】
請求項10に記載の発明は、前記エラーレート計数器は、前記コマンド制御回路の処理が実行されていない期間に、前記記録媒体からリードしたデータのエラーレートを算出し計数することを特徴とする請求項8に記載のテープ・ライブラリ装置であり、前記コマンド制御回路の処理が空いている時間に前記磁気テープからリードしたデータからエラーレートを算出し計数することを実現するものである。
【0024】
請求項11に記載の発明は、複数の磁気テープを記録媒体とし,前記複数の記録媒体にホストからのデータを記録するミラーリング機能を備えたテープ・ライブラリ装置において,前記ホストからのコマンドとデータを制御するコマンド制御手段と、前記記録媒体の信頼性を判断するライト条件算出回路を備え、前記ミラーリング記録された複数の記録媒体から所定の記録媒体を選択するテープ選択手段を備え,前記ミラーリング記録された複数の記録媒体の信頼性を前記ライト条件算出回路により判断し、前記判断結果に基づき最も信頼性が高い記録媒体を前記テープ選択手段により選択して記録することを特徴とするテープ・ライブラリ装置であり、テープ選択手段がミラーリングにより同一のデータが書かれた2本以上の前記磁気テープの中から信頼性の高い磁気テープを選択しアクセスすることにより,磁気テープに対して信頼性の高い記録再生を実現しうるものである。
【0025】
請求項12に記載の発明は、前記ライト条件算出回路は、前記コマンド制御回路の出力から前記磁気テープの信頼性を算出することを特徴とする請求項11に記載のテープ・ライブラリ装置であり、前記コマンド制御回路の出力から前記磁気テープの信頼性を算出し,算出した結果に従って前記テープ選択手段がライトする磁気テープを選択することを実現するものである。
【0026】
請求項13に記載の発明は、前記ライト条件算出回路は、コマンド計数器を備え,前記ホストから前記記録媒体へのライト回数を計数して前記記録媒体の信頼性を計測することを特徴とする請求項12に記載のテープ・ライブラリ装置であり、ライト条件算出回路内部にコマンド計数器を備え,前記ホストから前記磁気テープへのライト回数を計数し,前記テープの信頼性を計測することを実現するのもである。
【0027】
請求項14に記載の発明は、前記コマンド計数器は、ライト回数として前記ホストから前記コマンド制御回路に対して発行されたライトコマンドを計数することを特徴とする請求項13に記載のテープ・ライブラリ装置であり、ライト回数として前記ホストから前記コマンド制御回路に対して発行されライトコマンドを計数することを実現するものである。
【0028】
請求項15に記載の発明は、前記コマンド計数器は、ライト回数として前記ホストから前記コマンド制御回路に対して発行されたリワインドコマンドを計数することを特徴とする請求項13に記載のテープ・ライブラリ装置であり、ライト回数として前記ホストから前記コマンド制御回路に対して発行されたリワインドコマンドを計数することを実現するものである。
【0029】
請求項16に記載の発明は、前記ライト条件算出回路は、ライトデータ量計数器を備え,前記ホストから前記記録媒体へのライトデータ量を計数して前記記録媒体の信頼性を計測することを特徴とする請求項12に記載のテープ・ライブラリ装置であり、ライト条件算出回路内部にライトデータ量計数器を備え,前記ホストから前記テープへのライトデータ量を計数し,前記テープの信頼性を計測することを実現するものである。
【0030】
請求項17に記載の発明は、前記ライトデータ量計数器は、ライトデータ量として前記ホストから前記コマンド制御回路に対して発行されたライトコマンド内のライトブロック数を計数することを特徴とする請求項16に記載のテープ・ライブラリ装置であり、ライトデータ量として前記ホストから前記コマンド制御回路に対して発行されたライトコマンド内のライトブロック数を計数することを実現するものである。
【0031】
請求項18に記載の発明は、前記ライト条件算出回路は、エラーレート計数器を備え,リードデータに含まれるエラーを計数して前記記録媒体の信頼性を計測することを特徴とする請求項12に記載のテープ・ライブラリ装置であり、ライト条件算出回路内部にエラーレート計数器を備え,リードデータに含まれるエラーを計数し,前記テープの信頼性を計測することを実現するものである。
【0032】
請求項19に記載の発明は、前記エラーレート計数器は、前記記録媒体のリードアフターライトによるデータからエラーレートを算出し計数することを特徴とする請求項18に記載のテープ・ライブラリ装置であり、磁気テープに対してリードアフターライトによるデータからエラーレートを算出し計数することを実現するものである。
【0033】
請求項20に記載の発明は、前記エラーレート計数器は、前記コマンド制御回路の処理が実行されていない期間に、前記記録媒体からリードしたデータのエラーレートを算出し計数することを特徴とする請求項18に記載のテープ・ライブラリ装置であり、前記コマンド制御回路の処理が空いている時間に前記磁気テープからリードしたデータからエラーレートを算出し計数することを実現するものである。
【0034】
(実施の形態1)
以下に,本発明の請求項1及び請求項2及び請求項3及び請求項4及び請求項5及び請求項6及び請求項7及び請求項8及び請求項9及び請求項10に記載された発明の実施の形態について,図1と図2を用いて説明する。
【0035】
図1と図2において,11は磁気テープA12及び磁気テープB13に対してデータの記録再生を行う磁気テープ装置である。12は磁気テープ装置11に接続してデータを記録再生する媒体となる磁気テープAである。13は磁気テープ装置11に接続してデータを記録再生する媒体となる磁気テープBである。111はホストコンピュータと磁気テープ装置11とを接続するホストI/Fである。112はホストコンピュータから磁気テープに対するライト・リードデータを一時的に保存するデータバッファである。113はホストI/F111からのコマンドを処理,データバッファ112の制御,そして磁気テープA12及び磁気テープBに対するライト/リード処理を行い,リード条件算出回路に対してパラメータを出力するコマンド制御回路である。114は磁気テープA12及び磁気テープB13を磁気テープ装置11に接続するスロットである。115はコマンド制御回路113から入力されたパラメータを元に磁気テープA12及び磁気テープB13のリードデータの信頼性を算出し,テープ選択回路116に出力するリード条件算出回路である。116はリード条件算出回路から入力された磁気テープA12と磁気テープB13の信頼性を比較し,コマンド制御回路113に出力するテープ選択回路である。
【0036】
図1において,コマンド制御回路113は磁気テープA12にデータをライトする時,磁気テープ装置の機能であるリードアフターライトを利用し,磁気テープA12にライトしたデータとリードしたデータを得る。コマンド制御回路113はライトデータとリードデータをリード条件算出回路115に出力する。リード条件算出回路115はコマンド制御回路113から入力されたライトデータとリードデータとを比較しエラーレートE1を算出する。エラーレートE1の算出は(数1)に従って行われ、D1とN1はそれぞれライトデータとリードデータ間で異なっているビットの数とライトデータの総数である。
【0037】
【数1】

Figure 2004133845
【0038】
この算出したエラーレートを磁気テープAの信頼値としてテープ選択回路に出力する。また、リード条件算出回路115は磁気テープB13についても同様にエラーレートE1を(数1)で算出し,磁気テープBの信頼値としてテープ選択回路116に出力する。テープ選択回路116は入力された磁気テープA12の信頼値と磁気テープB13の信頼値を比較し,より信頼値の高い磁気テープ名をコマンド制御回路113に出力する。図1においてテープ選択回路116は磁気テープB12より磁気テープA13の方が信頼性が高いと判断し,「磁気テープA」をコマンド制御回路116に出力する。ホストコンピュータが同一のデータが記録され一つの論理ボリュームと認識される磁気テープA12と磁気テープB13からデータをリードする時,コマンド制御回路113はテープ選択回路116からの入力である「磁気テープA」に従って,磁気テープA12をマスターと認識する。コマンド制御回路はマスターである磁気テープA12をスロットに挿入し,ホストコンピュータから要求されたデータをホストに転送する。
【0039】
図2はリード条件算出回路115からの出力である,磁気テープAの信頼値と磁気テープBの信頼値をテープ選択回路116で選択した結果が磁気テープBの場合を示したものである。ホストコンピュータが同一のデータが記録され一つの論理ボリュームと認識される磁気テープA12と磁気テープB13からデータをリードする時,コマンド制御回路113はテープ選択回路116からの入力である「磁気テープB」に従って,磁気テープB13をマスターと認識する。コマンド制御回路はマスターである磁気テープB13をスロットに挿入し,ホストコンピュータから要求されたデータをホストに転送する。
【0040】
(実施の形態2)
以下に,本発明の請求項11及び請求項12及び請求項13及び請求項14及び請求項15及び請求項16及び請求項17及び請求項18及び請求項19及び請求項20に記載された発明の実施の形態について,図3と図4を用いて説明する。
【0041】
図3と図4において,21は磁気テープA22及び磁気テープB23に対してデータの記録再生を行う磁気テープ装置である。22は磁気テープ装置21に接続してデータを記録再生する媒体となる磁気テープAである。23は磁気テープ装置21に接続してデータを記録再生する媒体となる磁気テープBである。211はホストコンピュータと磁気テープ装置21とを接続するホストI/Fである。212はホストコンピュータから磁気テープに対するライト・リードデータを一時的に保存するデータバッファである。213はホストI/F211からのコマンドを処理,データバッファ212の制御,そして磁気テープA22及び磁気テープBに対するライト・リード処理を行いライト条件算出回路に対してパラメータを出力するコマンド制御回路である。214は磁気テープA22及び磁気テープB23を磁気テープ装置21に接続するスロットである。215はコマンド制御回路213から入力されたパラメータを元に磁気テープA22及び磁気テープB23のリードデータの信頼性を算出し,テープ選択回路216に出力するライト条件算出回路である。216はライト条件算出回路から入力された磁気テープA22と磁気テープB23の信頼性を比較し,コマンド制御回路213に出力するテープ選択回路である。
【0042】
図3において,コマンド制御回路213は磁気テープA22にデータをライトする時,磁気テープ装置の機能であるリードアフターライトを利用し,磁気テープA22にライトしたデータとリードしたデータを得る。コマンド制御回路213はライトデータとリードデータをライト条件算出回路215に出力する。ライト条件算出回路215はコマンド制御回路213から入力されたライトデータとリードデータとを比較し,エラーレートE1を(数1)で算出する。算出したエラーレートE1を磁気テープAの信頼値としてテープ選択回路に出力する。また、ライト条件算出回路215は磁気テープB23についても同様にエラーレートE1を(数1)で算出し,磁気テープBの信頼値としてテープ選択回路216に出力する。テープ選択回路216は入力された磁気テープA22の信頼値と磁気テープB23の信頼値を比較し,より信頼値の高い磁気テープ名をコマンド制御回路213に出力する。
【0043】
図3においてテープ選択回路216は磁気テープB22より磁気テープA23の方が信頼性が高いと判断し,「磁気テープA」をコマンド制御回路216に出力する。ホストコンピュータが同一のデータが記録され一つの論理ボリュームと認識される磁気テープA22と磁気テープB23にデータをライトする時,コマンド制御回路213はテープ選択回路216からの入力である「磁気テープA」に従って,磁気テープA22をマスターと認識する。コマンド制御回路はマスターである磁気テープA22をスロットに挿入し,ホストコンピュータからのデータを磁気テープA22にライトする。そして,ホストコンピュータから要求されたデータを磁気テープA22にライトした後,磁気テープB23に同一のデータを記録するため,コマンド制御回路213は磁気テープA22からデータをリードし,データバッファ212に保存する。コマンド制御回路213はスロット214に挿入された磁気テープA22を磁気テープB23に入れ替え,データバッファ212に保存したデータを磁気テープB23にライトする。
【0044】
図4ライト条件算出回路215からの出力である,磁気テープAの信頼値と磁気テープBの信頼値をテープ選択回路216で選択した結果が磁気テープBの場合を示したものである。ホストコンピュータが同一のデータが記録され一つの論理ボリュームと認識される磁気テープA22と磁気テープB23にデータをライトする時,コマンド制御回路213はテープ選択回路216からの入力である「磁気テープB」に従って,磁気テープB23をマスターと認識する。コマンド制御回路はマスターである磁気テープB23をスロットに挿入し,ホストコンピュータからのデータを磁気テープB23にライトする。そして,ホストコンピュータから要求されたデータを磁気テープB23にライトした後,磁気テープA22に同一のデータを記録するため,コマンド制御回路213は磁気テープB23からデータをリードし,データバッファ212に保存する。コマンド制御回路213はスロット214に挿入された磁気テープB23を磁気テープA22に入れ替え,データバッファ212に保存したデータを磁気テープA22にライトする。
【0045】
【発明の効果】
本発明によれば,本発明のミラーリング機能を有するテープ・ライブラリ装置によれば,ミラーリングにより同一論理ボリュームとして認識される複数の磁気テープを数値化した信頼性によってマスターとなる磁気テープを変更することにより,信頼性の高い記録再生ができるテープ・ライブラリ装置を提供することが可能となる。
【図面の簡単な説明】
【図1】本発明の実施の形態1において磁気テープAをマスターとする場合のテープ・ライブラリ装置のブロック図
【図2】本発明の実施の形態1において磁気テープBをマスターとする場合のテープ・ライブラリ装置のブロック図
【図3】本発明の実施の形態2において磁気テープAをマスターとする場合のテープ・ライブラリ装置のブロック図
【図4】本発明の実施の形態2において磁気テープBをマスターとする場合のテープ・ライブラリ装置のブロック図
【図5】本発明の従来の技術におけるデータライト時のテープ・ライブラリ装置のブロック図
【図6】本発明の従来の技術におけるデータリード時のテープ・ライブラリ装置のブロック図
【符号の説明】
11 磁気テープ装置
12 磁気テープA
13 磁気テープB
21 磁気テープ装置
22 磁気テープA
23 磁気テープB
31 磁気テープ装置
32 磁気テープA
33 磁気テープB
111 ホストI/F
112 データバッファ
113 コマンド制御回路
114 スロット
115 リード条件算出回路
116 テープ選択回路
211 ホストI/F
212 データバッファ
213 コマンド制御回路
214 スロット
215 ライト条件算出回路
216 テープ選択回路
311 ホストI/F
312 データバッファ
313 コマンド制御回路
314 スロット[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a tape having a loader function for automatically replacing two or more magnetic tapes with one magnetic tape device and a mirroring function for creating a copy of one magnetic tape on one or more other magnetic tapes. -It relates to a library device.
[0002]
[Prior art]
Conventionally, in a computer system that requires high reliability, it is possible to prevent the loss of important data when a failure occurs in a recording device such as a magnetic disk device, a magnetic tape device, and a magnetic tape library device. As a means, a mirroring technique for storing the same data in different hard disk recording devices or different hard disk recording media is known (for example, see Non-Patent Document 1).
[0003]
In addition, there is a large-capacity data storage device using a magnetic tape, and a technique for recording the same data on a plurality of tape streamers to improve reliability and reduce data reliability and backup time is known (see, for example). For example, see Patent Document 1). Streamers using these magnetic tapes include a magnetic tape device that employs a helical scan method using a rotating head. When data mirroring is applied to a magnetic tape device using a rotating head, a tape library device having a mirroring function shown in FIGS. 5 and 6 can be obtained.
[0004]
This tape library device has a magnetic tape device 31 and two or more magnetic tapes, a magnetic tape A32, a magnetic tape B33,..., And a magnetic tape to be used is connected to the magnetic tape device 31 via a slot 314. Is done. The command control circuit 313 is connected to a host computer via a host I / F 311. The data buffer 312 temporarily stores data transmitted and received between the host computer and the tape. The magnetic tape A32 is a master tape to which data is recorded prior to the magnetic tape B33 when data is written from the host computer, and is a target tape when data is read from the host computer. The magnetic tape B33 is a mirror tape that stores data having the same contents as the magnetic tape A32. The magnetic tape A32 and the magnetic tape B33 are recognized from the host computer as the same logical volume. The operation of data writing and data reading in the mirroring device configured as described above will be described.
[0005]
In FIG. 5, a data write request from the host computer to the logical volume is analyzed by the command control circuit 313. The magnetic tape A32 is inserted into the slot 314, and data corresponding to the number of data blocks given by the command is written to the magnetic tape A32 as the master tape via the data buffer 312. After the data write request from the host computer is completed, the data written from the magnetic tape A32 is read into the data buffer 312, the magnetic tape A32 inserted in the slot 314 is replaced with the magnetic tape B33, and the data in the data buffer 312 is mirrored. Writing is performed on the magnetic tape B33 which is a tape.
[0006]
FIG. 6 shows the flow of data when data is read from the host computer. In FIG. 6, a data read request for the logical volume input from the host computer is analyzed by the command control circuit 313. The magnetic tape A32, which is the master tape, is inserted into the slot 314, the data requested from the magnetic tape A32 is temporarily stored in the data buffer 312, and the host I / F transfers the data in the data buffer 312 to the host computer.
[0007]
[Patent Document 1]
JP 2001-209501 A (Page 2, FIG. 1)
[Non-patent document 1]
David A. Patternson et al. : A Case for Redundant Arrays of Inexpensive Disks (RAID). Proceeding ACM SIGMOD p. 109-116, May 1988
[0008]
[Problems to be solved by the invention]
In the above-described conventional tape library apparatus having a mirroring function, data transferred by a data write request from a host computer to a logical volume is written once to a master tape, and then copied from the master tape to a mirror tape. . Data transferred from the host computer in response to a data read request for the logical volume is read from the master tape. At the start of writing / reading data to / from the magnetic tape, the magnetic tape must be run in the reverse direction to some extent, and then run again in the forward direction to search for a position for writing / reading. This operation is called repositioning.
[0009]
When the repositioning operation occurs repeatedly, the tape running direction changes frequently, and in a magnetic tape device having a structure in which the drum rotates while the magnetic head is in contact with the magnetic tape, the magnetic tape is easily worn locally. At the same time, dust easily accumulates on the surface of the magnetic tape.
[0010]
As a result, there is a high possibility that the recording / reproducing processing for the magnetic tape is not properly performed, and the reliability of the magnetic tape device is reduced.
[0011]
SUMMARY OF THE INVENTION It is an object of the present invention to provide a tape library device having a mirroring function for reducing the repositioning of a master tape and performing highly reliable recording and reproduction.
[0012]
[Means for Solving the Problems]
In order to solve the above-mentioned problems, a tape library device according to the present invention, which uses two or more magnetic tapes as a recording medium and has a mirroring function of recording data from a host onto two or more magnetic tapes, Command control means for controlling commands and data from the host; and tape selection means for selecting one magnetic tape from the two or more tapes, wherein the tape selection means has two identical data written by mirroring. A highly reliable magnetic tape is selected from the above magnetic tapes and accessed.
[0013]
According to the present invention, it is possible to provide a tape library device having a mirroring function for performing highly reliable recording and reproduction.
[0014]
BEST MODE FOR CARRYING OUT THE INVENTION
According to a first aspect of the present invention, in a tape library device having a plurality of magnetic tapes as recording media and a mirroring function of recording data from a host on the plurality of recording media, a command and data from the host are transmitted. A command control means for controlling the recording medium; a read condition calculating circuit for judging the reliability of the recording medium; and a tape selecting means for selecting a predetermined recording medium from the plurality of recording mediums on which the mirror recording is performed. A tape library device for judging the reliability of the plurality of recording media by the read condition calculating circuit, and selecting and reproducing the recording media having the highest reliability by the tape selecting means based on the judgment result. Wherein the tape selection means has two or more magnetic tapes on which the same data is written by mirroring. By selecting access reliable magnetic tape from being, those capable of realizing a highly reliable recording and reproduction on the magnetic tape.
[0015]
The invention according to claim 2 is the tape library device according to claim 1, wherein the read condition calculation circuit calculates reliability of the recording medium from an output of the command control circuit. By calculating the reliability of the magnetic tape from the output of the command control circuit, a highly reliable magnetic tape can be determined.
[0016]
The invention according to claim 3 is characterized in that the read condition calculation circuit measures a command counter for counting the number of times of reading from the host to the recording medium, and measures the count result as the reliability of the recording medium. 3. The tape library device according to claim 2, wherein the number of reads from the host to the magnetic tape is counted, and the reliability of the magnetic tape is measured.
[0017]
4. The tape library according to claim 3, wherein the command counter counts a read command issued from the host to the command control circuit as the number of reads. An apparatus for counting read commands issued from the host to the command control circuit as the number of times of reading.
[0018]
5. The tape library according to claim 3, wherein the command counter counts a rewind command issued from the host to the command control circuit as a read count. An apparatus for counting a rewind command issued from the host to the command control circuit as a read count.
[0019]
7. The read condition calculating circuit according to claim 6, wherein the read condition calculating circuit includes a read data amount counter, counts the amount of read data from the host to the magnetic tape, and uses the data read amount as the reliability of the recording medium. 3. The tape library device according to claim 2, wherein a read data amount counter from the host to the magnetic tape is provided by providing a read data amount counter inside the read condition calculation circuit. It counts and measures the reliability of the magnetic tape.
[0020]
The invention according to claim 7, wherein the read data amount counter counts the number of read blocks in a read command issued from the host to the command control circuit as a read data amount. Item 7. The tape library device according to Item 6, wherein counting of the number of read blocks in a read command issued from the host to the command control circuit as the amount of read data is realized.
[0021]
The invention according to claim 8, wherein the read condition calculating circuit includes an error rate counter, and counts errors included in the read data to measure the reliability of the recording medium. 3. The tape library device according to 2, wherein an error rate counter is provided inside the read condition calculation circuit, and the error included in the read data is counted, and the reliability of the magnetic tape is measured. .
[0022]
9. The tape library apparatus according to claim 8, wherein the error rate counter calculates and counts an error rate on the recording medium from data obtained by read-after-write. This realizes calculating and counting an error rate from data obtained by read-after-write on a magnetic tape.
[0023]
The invention according to claim 10 is characterized in that the error rate counter calculates and counts an error rate of data read from the recording medium during a period when the processing of the command control circuit is not executed. 9. The tape library device according to claim 8, wherein an error rate is calculated and counted from data read from the magnetic tape while the command control circuit is idle.
[0024]
According to an eleventh aspect of the present invention, in a tape library device having a plurality of magnetic tapes as recording media and a mirroring function of recording data from a host on the plurality of recording media, a command and data from the host are transmitted. A command control means for controlling the recording medium; a write condition calculating circuit for judging the reliability of the recording medium; and a tape selecting means for selecting a predetermined recording medium from the plurality of mirrored recorded recording media. A tape library device for determining the reliability of the plurality of recording media by the write condition calculation circuit, and selecting and recording the recording media having the highest reliability by the tape selecting means based on the determination result. And the tape selection means has two or more magnetic tapes on which the same data is written by mirroring. By selecting access reliable magnetic tape from the one in which can realize highly reliable recording and reproduction on the magnetic tape.
[0025]
The invention according to claim 12 is the tape library device according to claim 11, wherein the write condition calculation circuit calculates the reliability of the magnetic tape from an output of the command control circuit. The reliability of the magnetic tape is calculated from the output of the command control circuit, and the tape selecting unit selects the magnetic tape to be written according to the calculated result.
[0026]
The invention according to claim 13 is characterized in that the write condition calculating circuit includes a command counter, and measures the reliability of the recording medium by counting the number of times of writing from the host to the recording medium. 13. The tape library device according to claim 12, wherein a command counter is provided in a write condition calculation circuit, and the number of times of writing from the host to the magnetic tape is counted, and the reliability of the tape is measured. It is also to do.
[0027]
14. The tape library according to claim 13, wherein the command counter counts a write command issued from the host to the command control circuit as a write count. An apparatus for counting the number of write commands issued from the host to the command control circuit as the number of times of writing.
[0028]
15. The tape library according to claim 13, wherein the command counter counts a rewind command issued from the host to the command control circuit as a write count. An apparatus for counting the number of rewind commands issued from the host to the command control circuit as the number of writes.
[0029]
The invention according to claim 16, wherein the write condition calculation circuit includes a write data amount counter, and counts the amount of write data from the host to the recording medium to measure the reliability of the recording medium. 13. The tape library device according to claim 12, further comprising a write data amount counter inside a write condition calculation circuit, counting a write data amount from the host to the tape, and checking the reliability of the tape. This is to realize measurement.
[0030]
The invention according to claim 17, wherein the write data amount counter counts the number of write blocks in a write command issued from the host to the command control circuit as a write data amount. Item 18. The tape library device according to Item 16, wherein counting the number of write blocks in a write command issued from the host to the command control circuit as a write data amount is realized.
[0031]
The invention according to claim 18, wherein the write condition calculation circuit includes an error rate counter, and counts errors included in the read data to measure the reliability of the recording medium. And an error rate counter provided in the write condition calculation circuit to count errors contained in the read data and measure the reliability of the tape.
[0032]
The invention according to claim 19 is the tape library apparatus according to claim 18, wherein the error rate counter calculates and counts an error rate from data obtained by read-after-write of the recording medium. The present invention realizes calculating and counting an error rate from data obtained by read-after-write on a magnetic tape.
[0033]
The invention according to claim 20 is characterized in that the error rate counter calculates and counts an error rate of data read from the recording medium during a period when the processing of the command control circuit is not executed. 19. The tape library device according to claim 18, wherein an error rate is calculated and counted from data read from said magnetic tape during a time when said command control circuit is idle.
[0034]
(Embodiment 1)
Hereinafter, the invention described in claims 1, 2, 3, 4, 5, 5, 6, 7, 8, 9, and 10 of the present invention. The embodiment will be described with reference to FIGS. 1 and 2. FIG.
[0035]
1 and 2, reference numeral 11 denotes a magnetic tape device for recording and reproducing data on and from a magnetic tape A12 and a magnetic tape B13. Reference numeral 12 denotes a magnetic tape A which is connected to the magnetic tape device 11 and serves as a medium for recording and reproducing data. Reference numeral 13 denotes a magnetic tape B which is connected to the magnetic tape device 11 and serves as a medium for recording and reproducing data. Reference numeral 111 denotes a host I / F for connecting the host computer and the magnetic tape device 11. Reference numeral 112 denotes a data buffer for temporarily storing write / read data from the host computer to the magnetic tape. A command control circuit 113 processes commands from the host I / F 111, controls the data buffer 112, performs write / read processing on the magnetic tape A12 and the magnetic tape B, and outputs parameters to a read condition calculation circuit. . Reference numeral 114 denotes a slot for connecting the magnetic tape A12 and the magnetic tape B13 to the magnetic tape device 11. A read condition calculation circuit 115 calculates the reliability of the read data of the magnetic tape A12 and the magnetic tape B13 based on the parameters input from the command control circuit 113 and outputs the calculated data to the tape selection circuit 116. Reference numeral 116 denotes a tape selection circuit that compares the reliability of the magnetic tape A12 and the magnetic tape B13 input from the read condition calculation circuit and outputs the result to the command control circuit 113.
[0036]
In FIG. 1, when writing data to the magnetic tape A12, the command control circuit 113 uses the read-after-write function of the magnetic tape device to obtain the data written to the magnetic tape A12 and the read data. The command control circuit 113 outputs the write data and the read data to the read condition calculation circuit 115. The read condition calculation circuit 115 compares the write data input from the command control circuit 113 with the read data and calculates an error rate E1. The calculation of the error rate E1 is performed according to (Equation 1), where D1 and N1 are the number of bits different between the write data and the read data and the total number of the write data, respectively.
[0037]
(Equation 1)
Figure 2004133845
[0038]
The calculated error rate is output to the tape selection circuit as a reliability value of the magnetic tape A. Similarly, the read condition calculating circuit 115 calculates the error rate E1 of the magnetic tape B13 using (Equation 1) and outputs the error rate E1 to the tape selecting circuit 116 as the reliability value of the magnetic tape B. The tape selection circuit 116 compares the input reliability value of the magnetic tape A12 with the reliability value of the magnetic tape B13, and outputs a magnetic tape name having a higher reliability value to the command control circuit 113. In FIG. 1, the tape selection circuit 116 determines that the magnetic tape A13 has higher reliability than the magnetic tape B12, and outputs "magnetic tape A" to the command control circuit 116. When the host computer reads data from the magnetic tape A12 and the magnetic tape B13 in which the same data is recorded and recognized as one logical volume, the command control circuit 113 inputs the "magnetic tape A" which is an input from the tape selection circuit 116. , The magnetic tape A12 is recognized as the master. The command control circuit inserts the magnetic tape A12, which is the master, into the slot and transfers data requested by the host computer to the host.
[0039]
FIG. 2 shows the case where the result of the selection of the reliability value of the magnetic tape A and the reliability value of the magnetic tape B, which is the output from the read condition calculation circuit 115, by the tape selection circuit 116 is the magnetic tape B. When the host computer reads data from the magnetic tape A12 and the magnetic tape B13 in which the same data is recorded and recognized as one logical volume, the command control circuit 113 inputs the "magnetic tape B" which is an input from the tape selection circuit 116. , The magnetic tape B13 is recognized as the master. The command control circuit inserts the magnetic tape B13, which is the master, into the slot and transfers data requested by the host computer to the host.
[0040]
(Embodiment 2)
Hereinafter, the invention described in claim 11, claim 12, claim 13, claim 14, claim 15, claim 16, claim 17, claim 18, claim 19, and claim 20 of the present invention. The embodiment will be described with reference to FIGS. 3 and 4. FIG.
[0041]
3 and 4, reference numeral 21 denotes a magnetic tape device for recording and reproducing data on and from a magnetic tape A22 and a magnetic tape B23. Reference numeral 22 denotes a magnetic tape A which is connected to the magnetic tape device 21 and serves as a medium for recording and reproducing data. Reference numeral 23 denotes a magnetic tape B which is connected to the magnetic tape device 21 and serves as a medium for recording and reproducing data. A host I / F 211 connects the host computer and the magnetic tape device 21. A data buffer 212 temporarily stores write / read data from the host computer to the magnetic tape. Reference numeral 213 denotes a command control circuit that processes commands from the host I / F 211, controls the data buffer 212, performs write / read processing on the magnetic tape A22 and the magnetic tape B, and outputs parameters to the write condition calculation circuit. Reference numeral 214 denotes a slot for connecting the magnetic tape A22 and the magnetic tape B23 to the magnetic tape device 21. A write condition calculation circuit 215 calculates the reliability of the read data of the magnetic tape A22 and the magnetic tape B23 based on the parameters input from the command control circuit 213, and outputs the calculated data to the tape selection circuit 216. A tape selection circuit 216 compares the reliability of the magnetic tape A22 and the magnetic tape B23 input from the write condition calculation circuit and outputs the result to the command control circuit 213.
[0042]
In FIG. 3, when writing data to the magnetic tape A22, the command control circuit 213 uses a read-after-write function of the magnetic tape device to obtain the data written to the magnetic tape A22 and the read data. The command control circuit 213 outputs write data and read data to the write condition calculation circuit 215. The write condition calculation circuit 215 compares the write data and the read data input from the command control circuit 213, and calculates the error rate E1 by (Equation 1). The calculated error rate E1 is output to the tape selection circuit as a reliability value of the magnetic tape A. Similarly, the write condition calculation circuit 215 calculates the error rate E1 for the magnetic tape B23 using (Equation 1) and outputs the error rate E1 to the tape selection circuit 216 as a reliability value of the magnetic tape B. The tape selection circuit 216 compares the input reliability value of the magnetic tape A22 with the reliability value of the magnetic tape B23, and outputs a magnetic tape name having a higher reliability value to the command control circuit 213.
[0043]
In FIG. 3, the tape selection circuit 216 determines that the magnetic tape A23 has higher reliability than the magnetic tape B22, and outputs "magnetic tape A" to the command control circuit 216. When the host computer writes data to the magnetic tape A22 and the magnetic tape B23 in which the same data is recorded and recognized as one logical volume, the command control circuit 213 inputs the "magnetic tape A" which is an input from the tape selection circuit 216. , The magnetic tape A22 is recognized as the master. The command control circuit inserts the magnetic tape A22 as a master into the slot and writes data from the host computer to the magnetic tape A22. Then, after writing the data requested by the host computer to the magnetic tape A22, the command control circuit 213 reads the data from the magnetic tape A22 and stores it in the data buffer 212 in order to record the same data on the magnetic tape B23. . The command control circuit 213 replaces the magnetic tape A22 inserted in the slot 214 with the magnetic tape B23, and writes the data stored in the data buffer 212 to the magnetic tape B23.
[0044]
FIG. 4 shows a case where the result of the selection of the reliability value of the magnetic tape A and the reliability value of the magnetic tape B by the tape selection circuit 216, which is the output from the write condition calculation circuit 215, is for the magnetic tape B. When the host computer writes data to the magnetic tape A22 and the magnetic tape B23 in which the same data is recorded and recognized as one logical volume, the command control circuit 213 inputs "magnetic tape B" which is an input from the tape selection circuit 216. , The magnetic tape B23 is recognized as the master. The command control circuit inserts the magnetic tape B23, which is the master, into the slot, and writes data from the host computer to the magnetic tape B23. Then, after writing the data requested by the host computer to the magnetic tape B23, the command control circuit 213 reads the data from the magnetic tape B23 and stores it in the data buffer 212 in order to record the same data on the magnetic tape A22. . The command control circuit 213 replaces the magnetic tape B23 inserted in the slot 214 with the magnetic tape A22, and writes the data stored in the data buffer 212 to the magnetic tape A22.
[0045]
【The invention's effect】
According to the present invention, according to the tape library device having the mirroring function of the present invention, the magnetic tape to be the master is changed by the numerical reliability of a plurality of magnetic tapes recognized as the same logical volume by mirroring. Accordingly, it is possible to provide a tape library device capable of performing highly reliable recording and reproduction.
[Brief description of the drawings]
FIG. 1 is a block diagram of a tape library device when a magnetic tape A is used as a master according to a first embodiment of the present invention.
FIG. 2 is a block diagram of a tape library device when a magnetic tape B is used as a master according to the first embodiment of the present invention;
FIG. 3 is a block diagram of a tape library device when a magnetic tape A is used as a master according to the second embodiment of the present invention;
FIG. 4 is a block diagram of a tape library device when a magnetic tape B is used as a master according to the second embodiment of the present invention;
FIG. 5 is a block diagram of a tape library device at the time of data writing according to the conventional technique of the present invention.
FIG. 6 is a block diagram of a tape library device at the time of data reading according to the conventional technique of the present invention.
[Explanation of symbols]
11 Magnetic tape unit
12 magnetic tape A
13 Magnetic tape B
21 Magnetic tape unit
22 magnetic tape A
23 magnetic tape B
31 magnetic tape unit
32 magnetic tape A
33 magnetic tape B
111 @ Host I / F
112 data buffer
113 Command control circuit
114 slot
115 ° read condition calculation circuit
116 tape selection circuit
211 @ Host I / F
212 data buffer
213 Command control circuit
214 slot
215 Write condition calculation circuit
216 tape selection circuit
311 @ Host I / F
312 Data buffer
313 Command control circuit
314 slot

Claims (20)

複数の磁気テープを記録媒体とし,前記複数の記録媒体にホストからのデータを記録するミラーリング機能を備えたテープ・ライブラリ装置において,前記ホストからのコマンドとデータを制御するコマンド制御手段と、前記記録媒体の信頼性を判断するリード条件算出回路を備え、前記ミラーリング記録された複数の記録媒体から所定の記録媒体を選択するテープ選択手段を備え,前記ミラーリング記録された複数の記録媒体の信頼性を前記リード条件算出回路により判断し、前記判断結果に基づき最も信頼性が高い記録媒体を前記テープ選択手段により選択して再生することを特徴とするテープ・ライブラリ装置。In a tape library device having a plurality of magnetic tapes as recording media and having a mirroring function of recording data from a host on the plurality of recording media, command control means for controlling commands and data from the host; A read condition calculating circuit for judging the reliability of the medium; and a tape selecting means for selecting a predetermined recording medium from the plurality of recording media on which the mirroring is recorded. A tape library device, wherein a judgment is made by the read condition calculation circuit, and a recording medium having the highest reliability is selected by the tape selecting means and reproduced based on the judgment result. 前記リード条件算出回路は,前記コマンド制御回路の出力から前記記録媒体の信頼性を算出することを特徴とする請求項1に記載のテープ・ライブラリ装置。2. The tape library device according to claim 1, wherein the read condition calculation circuit calculates the reliability of the recording medium from an output of the command control circuit. 前記リード条件算出回路は、前記ホストから前記記録媒体へのリード回数を計数するコマンド計数器と,前記計数結果を前記記録媒体の信頼性として計測することを特徴とする請求項2に記載のテープ・ライブラリ装置。3. The tape according to claim 2, wherein the read condition calculation circuit counts the number of times of reading from the host to the recording medium, and measures the count result as the reliability of the recording medium. -Library device. 前記コマンド計数器は、前記ホストから前記コマンド制御回路に対して発行されたリードコマンドをリード回数として計数することを特徴とする請求項3に記載のテープ・ライブラリ装置。4. The tape library apparatus according to claim 3, wherein the command counter counts a read command issued from the host to the command control circuit as a read count. 前記コマンド計数器は、前記ホストから前記コマンド制御回路に対して発行されたリワインドコマンドをリード回数として計数することを特徴とする請求項3に記載のテープ・ライブラリ装置。4. The tape library apparatus according to claim 3, wherein the command counter counts a rewind command issued from the host to the command control circuit as a read count. 前記リード条件算出回路は、リードデータ量計数器を備え,前記ホストから前記磁気テープへのリードデータ量を計数し,前記データリード量を前記記録媒体の信頼性として計測することを特徴とする請求項2に記載のテープ・ライブラリ装置。The read condition calculating circuit includes a read data amount counter, counts the amount of read data from the host to the magnetic tape, and measures the data read amount as reliability of the recording medium. Item 3. The tape library device according to Item 2. 前記リードデータ量計数器は、前記ホストから前記コマンド制御回路に対して発行されたリードコマンド内のリードブロック数をリードデータ量として計数することを特徴とする請求項6に記載のテープ・ライブラリ装置。7. The tape library apparatus according to claim 6, wherein the read data amount counter counts the number of read blocks in a read command issued from the host to the command control circuit as a read data amount. . 前記リード条件算出回路は、エラーレート計数器を備え,前記リードデータに含まれるエラーを計数して前記記録媒体の信頼性を計測することを特徴とする請求項2に記載のテープ・ライブラリ装置。3. The tape library apparatus according to claim 2, wherein the read condition calculating circuit includes an error rate counter, and measures an error included in the read data to measure the reliability of the recording medium. 前記エラーレート計数器は、前記記録媒体に対してリードアフターライトによるデータからエラーレートを算出し計数することを特徴とする請求項8に記載のテープ・ライブラリ装置。9. The tape library apparatus according to claim 8, wherein the error rate counter calculates and counts an error rate on the recording medium from data obtained by read-after-write. 前記エラーレート計数器は、前記コマンド制御回路の処理が実行されていない期間に、前記記録媒体からリードしたデータのエラーレートを算出し計数することを特徴とする請求項8に記載のテープ・ライブラリ装置。9. The tape library according to claim 8, wherein the error rate counter calculates and counts an error rate of data read from the recording medium during a period when the processing of the command control circuit is not executed. apparatus. 複数の磁気テープを記録媒体とし,前記複数の記録媒体にホストからのデータを記録するミラーリング機能を備えたテープ・ライブラリ装置において,前記ホストからのコマンドとデータを制御するコマンド制御手段と、前記記録媒体の信頼性を判断するライト条件算出回路を備え、前記ミラーリング記録された複数の記録媒体から所定の記録媒体を選択するテープ選択手段を備え,前記ミラーリング記録された複数の記録媒体の信頼性を前記ライト条件算出回路により判断し、前記判断結果に基づき最も信頼性が高い記録媒体を前記テープ選択手段により選択して記録することを特徴とするテープ・ライブラリ装置。In a tape library device having a plurality of magnetic tapes as recording media and having a mirroring function of recording data from a host on the plurality of recording media, command control means for controlling commands and data from the host; A write condition calculating circuit for judging the reliability of the medium; and a tape selecting means for selecting a predetermined recording medium from the plurality of mirrored recorded recording media. A tape library device, wherein the tape condition is determined by the write condition calculation circuit, and a recording medium having the highest reliability is selected and recorded by the tape selecting means based on the determination result. 前記ライト条件算出回路は、前記コマンド制御回路の出力から前記磁気テープの信頼性を算出することを特徴とする請求項11に記載のテープ・ライブラリ装置。The tape library device according to claim 11, wherein the write condition calculation circuit calculates reliability of the magnetic tape from an output of the command control circuit. 前記ライト条件算出回路は、コマンド計数器を備え,前記ホストから前記記録媒体へのライト回数を計数して前記記録媒体の信頼性を計測することを特徴とする請求項12に記載のテープ・ライブラリ装置。13. The tape library according to claim 12, wherein the write condition calculation circuit includes a command counter, and counts the number of times of writing from the host to the recording medium to measure the reliability of the recording medium. apparatus. 前記コマンド計数器は、ライト回数として前記ホストから前記コマンド制御回路に対して発行されたライトコマンドを計数することを特徴とする請求項13に記載のテープ・ライブラリ装置。14. The tape library device according to claim 13, wherein the command counter counts a write command issued from the host to the command control circuit as a write count. 前記コマンド計数器は、ライト回数として前記ホストから前記コマンド制御回路に対して発行されたリワインドコマンドを計数することを特徴とする請求項13に記載のテープ・ライブラリ装置。14. The tape library apparatus according to claim 13, wherein the command counter counts a rewind command issued from the host to the command control circuit as a write count. 前記ライト条件算出回路は、ライトデータ量計数器を備え,前記ホストから前記記録媒体へのライトデータ量を計数して前記記録媒体の信頼性を計測することを特徴とする請求項12に記載のテープ・ライブラリ装置。13. The write condition calculating circuit according to claim 12, wherein the write condition calculating circuit includes a write data amount counter, and measures the reliability of the recording medium by counting a write data amount from the host to the recording medium. Tape library device. 前記ライトデータ量計数器は、ライトデータ量として前記ホストから前記コマンド制御回路に対して発行されたライトコマンド内のライトブロック数を計数することを特徴とする請求項16に記載のテープ・ライブラリ装置。17. The tape library apparatus according to claim 16, wherein the write data amount counter counts the number of write blocks in a write command issued from the host to the command control circuit as a write data amount. . 前記ライト条件算出回路は、エラーレート計数器を備え,リードデータに含まれるエラーを計数して前記記録媒体の信頼性を計測することを特徴とする請求項12に記載のテープ・ライブラリ装置。13. The tape library device according to claim 12, wherein the write condition calculation circuit includes an error rate counter, and measures errors included in the read data to measure the reliability of the recording medium. 前記エラーレート計数器は、前記記録媒体のリードアフターライトによるデータからエラーレートを算出し計数することを特徴とする請求項18に記載のテープ・ライブラリ装置。19. The tape library apparatus according to claim 18, wherein the error rate counter calculates and counts an error rate from data obtained by read-after-write of the recording medium. 前記エラーレート計数器は、前記コマンド制御回路の処理が実行されていない期間に、前記記録媒体からリードしたデータのエラーレートを算出し計数することを特徴とする請求項18に記載のテープ・ライブラリ装置。19. The tape library according to claim 18, wherein the error rate counter calculates and counts an error rate of data read from the recording medium during a period when the processing of the command control circuit is not executed. apparatus.
JP2002300090A 2002-10-15 2002-10-15 Tape library device Pending JP2004133845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002300090A JP2004133845A (en) 2002-10-15 2002-10-15 Tape library device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002300090A JP2004133845A (en) 2002-10-15 2002-10-15 Tape library device

Publications (1)

Publication Number Publication Date
JP2004133845A true JP2004133845A (en) 2004-04-30

Family

ID=32289038

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002300090A Pending JP2004133845A (en) 2002-10-15 2002-10-15 Tape library device

Country Status (1)

Country Link
JP (1) JP2004133845A (en)

Cited By (1)

* 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

Cited By (1)

* 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

Similar Documents

Publication Publication Date Title
US7107486B2 (en) Restore method for backup
US8041921B2 (en) Apparatus, system, and method for utilizing tape media segmentation
TWI515723B (en) Method, computer system and computer program product for determining access sequence of data stored on a tape medium
JP3714046B2 (en) Virtual tape storage
JPH05307440A (en) Data storage format conversion system and its conversion method, access controller and data access method
US9377969B2 (en) Information processing device, information processing method, and information storage medium, including storage of information indicating which medium among plural media has a recording failure area and a position in the medium of the recording failure area
US7818524B2 (en) Data migration systems and methods for independent storage device expansion and adaptation
US7965462B2 (en) Storing partial data sets to magnetic tape
WO2001082050A1 (en) Magnetic disc drive, method for recording data, and method for reproducing data
JP2006065999A (en) Magnetic tape control apparatus, and method and program therefor
US7656598B2 (en) Method and apparatus for setting storage capacity of recording media
US7143232B2 (en) Method, system, and program for maintaining a directory for data written to a storage medium
US20100058090A1 (en) Storage system and power saving method thereof
JP2007048017A (en) Storage system and storage control method
US8488265B2 (en) Tape storage processing
JP3637346B1 (en) Information recording apparatus, information recording method, and program
JP2004133845A (en) Tape library device
JP2004185477A (en) Optical storage medium array device and data transfer method
US8027120B2 (en) Magnetic tape device and data recording method
JP2004151945A (en) Mirroring device
JP3794322B2 (en) Data copy system
JPH01273262A (en) Storing medium exchange
JP2008181595A (en) Disk medium recording and reproducing device, multi-stream readout program, and multi-stream readout method
JP2003006981A (en) Information recording and reproducing apparatus
JPS61158069A (en) Recording system of information storage device