JP2001297541A - Magnetic tape device - Google Patents

Magnetic tape device

Info

Publication number
JP2001297541A
JP2001297541A JP2000109743A JP2000109743A JP2001297541A JP 2001297541 A JP2001297541 A JP 2001297541A JP 2000109743 A JP2000109743 A JP 2000109743A JP 2000109743 A JP2000109743 A JP 2000109743A JP 2001297541 A JP2001297541 A JP 2001297541A
Authority
JP
Japan
Prior art keywords
retry
time
circuit
drive
retries
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.)
Granted
Application number
JP2000109743A
Other languages
Japanese (ja)
Other versions
JP3389917B2 (en
Inventor
Hiroaki Nakada
浩章 中田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Ibaraki Ltd
Original Assignee
NEC Ibaraki 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 NEC Ibaraki Ltd filed Critical NEC Ibaraki Ltd
Priority to JP2000109743A priority Critical patent/JP3389917B2/en
Publication of JP2001297541A publication Critical patent/JP2001297541A/en
Application granted granted Critical
Publication of JP3389917B2 publication Critical patent/JP3389917B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To prevent the destruction of important data by a medium defect by detecting the medium having a possibility of the medium defect and instructing the exchange of the medium. SOLUTION: This device has a drive control circuit 1 which performs I/O control to a drive 2, a timer 3 which measures the execution time of the write operation of the drive 2, a retry time storage circuit 4 which stores the retry time assigned from a host, a write operation time storage circuit 5 which stores the execution time of the measured write operation, a retry time comparison circuit 6 which compares the retry time and the write operation time, a number- of-retry times holding circuit 8 which holds the number of retry times from the retry time assigned from the host and the result obtained from the retry time comparison circuit 6, a numberof-retry times storage circuit 7 which stores the number of retry times assigned from the host and a number-of-retry times comparison circuit 9 which compares the number of retry times obtained from the number-of-retry times holding circuit 8 and the number of retry times assigned from the host.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は磁気テープ装置に関
し、特に媒体不良によるデータ破壊防止機能を有する磁
気テープ装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic tape device, and more particularly to a magnetic tape device having a function of preventing data destruction due to a medium defect.

【0002】[0002]

【従来の技術】従来、磁気テープ装置における磁気テー
プ媒体(以下媒体という)の不良は、エラーが発生して
はじめて検出されるというものであり、エラー発生によ
り重要なデータが破壊されてしまうという問題があっ
た。
2. Description of the Related Art Conventionally, a defect in a magnetic tape medium (hereinafter, referred to as a medium) in a magnetic tape device is detected only when an error occurs, and important data is destroyed by the occurrence of the error. was there.

【0003】この対策に1つとして、例えば、ある媒体
に対するデータ書き込み時またはデータ読み出し時に生
じたデータエラーに対して実行された再試行(以下リト
ライという)回数および走行距離等を基に、媒体1本当
たりの走行距離に対するリトライ率を算出するととも
に、複数本の媒体のリトライ率の平均値を算出し、この
平均値が予め設定された閾値を超えると媒体のクリーニ
ングを行うという技術が開示されている(特許第298
0040号)。
One of the countermeasures is, for example, based on the number of retries (hereinafter referred to as “retry”) performed for a data error that has occurred when writing or reading data to or from a certain medium and the running distance. A technique is disclosed in which a retry rate for a traveling distance per book is calculated, an average value of retry rates of a plurality of media is calculated, and when the average value exceeds a preset threshold, the medium is cleaned. (Japanese Patent No. 298
0040).

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
た技術は塵埃や汚れ等の付着に起因するデータエラーを
低減するための一般的な予防保全としてしは好ましい方
法であるが、媒体不良によるデータ破壊を未然に防止す
るには、よりきめの細かい対応が必要と考えられる。
However, the above-described technique is a preferable method as a general preventive maintenance for reducing data errors caused by adhesion of dust and dirt, etc. In order to prevent this from happening, it is necessary to take more detailed measures.

【0005】本発明は、リトライによるライト成功回数
をカウントする機能を有し、リトライによる書き込み成
功回数が多い媒体に対する媒体交換要求を行うことによ
り、リトライオーバーでの媒体不良によるデータ破壊を
未然に防止する手段を実現するものであって、媒体不良
によるデータ破壊防止機能を有する磁気テープ装置を提
供することにある。
The present invention has a function of counting the number of successful writes by retry, and by requesting a medium exchange for a medium having a large number of successful writes by retry, prevents data destruction due to a medium failure at retry over. It is an object of the present invention to provide a magnetic tape device having a function of preventing data destruction due to a medium defect.

【0006】[0006]

【課題を解決するための手段】本発明は、媒体に対して
ライト/リードを行うドライブと、このドライブに対す
るI/O制御を行うドライブ制御回路と、前記ドライブ
のライト動作の実行時間を計測するタイマーと、上位か
ら指定されたリトライ時間を格納するリトライ時間格納
回路と、前記タイマーが計測したライト動作の実行時間
を格納するライト動作時間格納回路と、前記リトライ時
間格納回路から得たリトライ時間と前記ライト動作時間
格納回路から得たライト動作時間とを比較するリトライ
時間比較回路と、前記ドライブ制御回路を介して上位か
ら指定されたリトライ時間と前記リトライ時間比較回路
から得た結果からリトライ回数を保持するリトライ回数
保持回路と、上位から指定されたリトライ回数を格納す
るリトライ回数格納回路と、前記リトライ回数保持回路
から得たリトライ回数と前記リトライ回数格納回路から
得た上位より指定されたリトライ回数とを比較するリト
ライ回数比較回路とを備えることを特徴とする。
According to the present invention, a drive for writing / reading a medium, a drive control circuit for performing I / O control on the drive, and an execution time of a write operation of the drive are measured. A timer, a retry time storage circuit that stores a retry time specified from a higher order, a write operation time storage circuit that stores a write operation execution time measured by the timer, and a retry time obtained from the retry time storage circuit. A retry time comparison circuit that compares the write operation time obtained from the write operation time storage circuit; and a retry time specified from a higher order via the drive control circuit and the number of retries from the result obtained from the retry time comparison circuit. Retry count holding circuit to hold, and retry count table to store the retry count specified from the top A circuit, characterized in that it comprises a number of retries comparator circuit for comparing the number of retries specified from the host to obtain a retry count obtained from the retry count holding circuit from the retry count storage circuit.

【0007】そして、リトライ回数保持回路は、ライト
動作の実行時間が上位から指定されたリトライ時間より
も長い場合、保持しているリトライ回数に“+1”を加
算することを特徴とする。また、リトライ回数比較回路
は、前記リトライ回数保持回路が保持しているリトライ
回数が上位より指定されたリトライ回数よりも大きい場
合、ドライブ制御回路に対してドライブに装てんされて
いる媒体の交換要求を行うことを特徴とする。
The retry count holding circuit is characterized in that when the execution time of the write operation is longer than the retry time specified from the top, "+1" is added to the held retry count. When the number of retries held by the number of retries holding circuit is larger than the number of retries specified by the host, the retry number comparison circuit sends a request to the drive control circuit to replace the medium mounted on the drive. It is characterized by performing.

【0008】続いて、本発明は、媒体に対してライト/
リードを行うドライブと、このドライブに対するI/O
制御を行うドライブ制御回路と、前記ドライブのリード
動作の実行時間を計測するタイマーと、上位から指定さ
れたリトライ時間を格納するリトライ時間格納回路と、
前記タイマーが計測したリード動作の実行時間を格納す
るリード動作時間格納回路と、前記リトライ時間格納回
路から得たリトライ時間と前記リード動作時間格納回路
から得たリード動作時間とを比較するリトライ時間比較
回路と、前記ドライブ制御回路を介して上位から指定さ
れたリトライ時間と前記リトライ時間比較回路から得た
結果からリトライ回数を保持するリトライ回数保持回路
と、上位から指定されたリトライ回数を格納するリトラ
イ回数格納回路と、前記リトライ回数保持回路から得た
リトライ回数と前記リトライ回数格納回路から得た上位
より指定されたリトライ回数とを比較するリトライ回数
比較回路とを備えることを特徴とする。
Subsequently, the present invention provides a method for writing /
Read drive and I / O to this drive
A drive control circuit that performs control, a timer that measures an execution time of a read operation of the drive, a retry time storage circuit that stores a retry time specified from a higher order,
A read operation time storage circuit for storing an execution time of the read operation measured by the timer; and a retry time comparison for comparing a retry time obtained from the retry time storage circuit with a read operation time obtained from the read operation time storage circuit. A retry count holding circuit for holding a retry count specified from a higher order via the drive control circuit and a result obtained from the retry time comparison circuit, and a retry for storing a retry count specified from a higher order. A retry count storage circuit, and a retry count comparison circuit that compares the retry count obtained from the retry count holding circuit with the retry count specified from the higher order obtained from the retry count storage circuit.

【0009】そして、リトライ回数保持回路は、リード
動作の実行時間が上位から指定されたリトライ時間より
も長い場合、保持しているリトライ回数に“+1”を加
算することを特徴とする。また、リトライ回数比較回路
は、前記リトライ回数保持回路が保持しているリトライ
回数が上位より指定されたリトライ回数よりも大きい場
合、ドライブ制御回路に対してドライブに装てんされて
いる媒体の交換要求を行うことを特徴とする。
The retry count holding circuit is characterized in that when the execution time of the read operation is longer than the retry time specified from the top, "+1" is added to the held retry count. When the number of retries held by the number of retries holding circuit is larger than the number of retries specified by the host, the retry number comparison circuit sends a request to the drive control circuit to replace the medium mounted on the drive. It is characterized by performing.

【0010】[0010]

【発明の実施の形態】次ぎに、本発明について図面を参
照して説明する。図1は、本発明の一実施の形態を示す
ブロック図である。図1を参照すると、本発明の磁気テ
ープ装置は、装てんされている媒体に対して書き込み/
読み出し(ライト/リード)を行うドライブ2と、この
ドライブ2に対するI/O(入出力)制御を行うドライ
ブ制御回路1と、前記ドライブ2のライト動作の実行時
間を計測するタイマー3と、上位から指定されたリトラ
イ時間を格納するリトライ時間格納回路4と、前記タイ
マー3が計測したライト動作の実行時間を格納するライ
ト動作時間格納回路5と、前記リトライ時間格納回路4
から得たリトライ時間と前記ライト動作時間格納回路5
から得たライト動作時間とを比較するリトライ時間比較
回路6と、前記ドライブ制御回路1を介して上位から指
定されたリトライ時間と前記リトライ時間比較回路6か
ら得た結果からリトライ回数を保持するリトライ回数保
持回路8と、上位から指定されたリトライ(再試行)回
数を格納するリトライ回数格納回路7と、前記リトライ
回数保持回路8から得たリトライ回数と前記リトライ回
数格納回路7から得た上位より指定されたリトライ回数
とを比較するリトライ回数比較回路9とを含んで構成さ
れている。
Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention. Referring to FIG. 1, the magnetic tape device of the present invention writes / writes data on a loaded medium.
A drive 2 for reading (write / read), a drive control circuit 1 for performing I / O (input / output) control on the drive 2, a timer 3 for measuring the execution time of the write operation of the drive 2, A retry time storage circuit 4 for storing a designated retry time; a write operation time storage circuit 5 for storing the execution time of a write operation measured by the timer 3;
Retry time obtained from and write operation time storage circuit 5
A retry time comparing circuit 6 for comparing the write operation time obtained from the retry time, and a retry for holding the number of retries from the retry time specified from the higher order via the drive control circuit 1 and the result obtained from the retry time comparing circuit 6. A number-of-times holding circuit 8, a number-of-retries storage circuit 7 for storing the number of retries (retry) specified from the top, a number of retries obtained from the number-of-retries holding circuit 8, and a number It is configured to include a retry number comparison circuit 9 for comparing the specified retry number.

【0011】ここで、ドライブ制御回路1は、上位から
ドライブ2に対するI/Oの制御を行うとともに、上位
から媒体不良を判断するためのライト動作におけるリト
ライ時間、リトライ回数を指定する。
Here, the drive control circuit 1 controls the I / O of the drive 2 from the upper level, and specifies the retry time and the number of retries in the write operation for determining a medium failure from the upper level.

【0012】例えば、ライト動作におけるドライブの内
部リトライ処理に5分以上かかるようなケースが3回以
上発生した時、その媒体は不良と判断するような場合に
は、上位よりリトライ時間5分、リトライ回数3回を指
定する。上位より指定されたリトライ時間はリトライ時
間格納回路4に格納され、また、上位より指定されたリ
トライ回数はリトライ回数格納回路7にそれぞれ格納さ
れる。
For example, when the case where the internal retry processing of the drive in the write operation takes 5 minutes or more occurs three or more times, if the medium is determined to be defective, the retry time is 5 minutes from the higher order and the retry time is 5 minutes. Specify 3 times. The retry time specified from the higher order is stored in the retry time storage circuit 4, and the number of retries specified from the higher order is stored in the retry number storage circuit 7.

【0013】ここで、上位よりドライブ2に対するライ
ト系のI/Oが発行されると、ドライブ制御回路1は、
ドライブ2に対してライト動作を指示するとともにタイ
マー3を起動させ、ドライブ2でのライト動作完了を待
つ。そして、ドライブ制御回路1は、ドライブ2からの
ライト動作完了を受けるとタイマー3を停止させる。
When a write I / O to the drive 2 is issued from the host, the drive control circuit 1
The write operation is instructed to the drive 2 and the timer 3 is started, and the completion of the write operation in the drive 2 is waited. Then, upon receiving the write operation completion from the drive 2, the drive control circuit 1 stops the timer 3.

【0014】タイマー3は、ドライブ制御回路1からタ
イマー停止要求を受けると、ドライブ2のライト動作の
実行時間をライト動作時間格納回路5に格納する。そし
て、ライト動作時間格納回路5は、格納したドライブ2
のライト動作の実行時間をリトライ時間比較回路6に通
知する。
When the timer 3 receives the timer stop request from the drive control circuit 1, the timer 3 stores the execution time of the write operation of the drive 2 in the write operation time storage circuit 5. The write operation time storage circuit 5 stores the stored drive 2
The execution time of the write operation is notified to the retry time comparison circuit 6.

【0015】リトライ時間比較回路6は、ライト動作時
間格納回路5からライト動作の実行時間を受けとると、
リトライ時間格納回路4に格納されている上位より指定
されたリトライ時間との比較を行う。その結果、リトラ
イ時間よりもライト動作の実行時間の方が長かった場
合、リトライ時間比較回路6は、リトライ回数保持回路
8に対してライト動作のリトライ時間オーバーを通知す
る。
Upon receiving the execution time of the write operation from the write operation time storage circuit 5, the retry time comparison circuit 6
The retry time is compared with a higher retry time stored in the retry time storage circuit 4. As a result, if the execution time of the write operation is longer than the retry time, the retry time comparison circuit 6 notifies the retry count holding circuit 8 that the retry time of the write operation is over.

【0016】リトライ回数保持回路8は、リトライ時間
比較回路6よりライト動作のリトライ時間オーバーの通
知を受け取ると、保持しているリトライ回数に“+1”
を加算するとともに、リトライ回数比較回路9に対して
リトライ回数の比較要求を行う。そして、リトライ回数
比較回路9は、リトライ回数保持回路8よりリトライ回
数の比較要求を受けると、リトライ回数格納回路7に格
納されている上位より指定されたリトライ回数とリトラ
イ回数保持回路8で保持されているリトライ回数との比
較を行う。
When the retry count holding circuit 8 receives from the retry time comparison circuit 6 a notification indicating that the retry time of the write operation has exceeded, the held retry count is incremented by "+1".
And requests the retry number comparison circuit 9 to compare the number of retries. When the retry count comparison circuit 9 receives the retry count comparison request from the retry count holding circuit 8, the retry count holding circuit 8 stores the retry count specified by the higher order stored in the retry count storage circuit 7. The number of retries is compared with the number of retries.

【0017】その結果、上位より指定されたリトライ回
数よりも内部でカウントしているリトライ回数が大きい
場合、リトライ回数比較回路9は、ドライブ制御回路1
に対してリトライ回数オーバーを通知する。そうする
と、リトライ回数比較回路9からリトライ回数オーバー
の通知を受けたドライブ制御回路1は、上位に対して媒
体交換を要求する。
As a result, when the number of retries counted internally is larger than the number of retries specified from the higher order, the retry number comparison circuit 9 sets the drive control circuit 1
Is notified of the retry count over. Then, the drive control circuit 1 that has received the notification of the retry count over from the retry count comparison circuit 9 requests the medium exchange to the host.

【0018】続いて、このように構成された本発明の磁
気テープ装置の処理動作について詳細に説明する。図2
は、本発明の磁気テープ装置の処理動作の流れを示すフ
ローチャートである。
Next, the processing operation of the magnetic tape device of the present invention thus configured will be described in detail. FIG.
5 is a flowchart showing a flow of a processing operation of the magnetic tape device of the present invention.

【0019】図2を参照すると、まず、上位より指定さ
れた媒体不良を判断するため基準として、予めリトライ
時間格納回路4、およびリトライ回数格納回路7には、
リトライ時間、およびリトライ回数がそれぞれ格納され
ている。ここで、上位よりドライブ制御回路1に対する
コマンドがドライブ2に対する媒体排出(デマウント)
の要求である場合(S1)、ドライブ制御回路はリトラ
イ回数保持回路に対し、保持しているリトライ回数のリ
セットを指示する。
Referring to FIG. 2, first, a retry time storage circuit 4 and a retry number storage circuit 7 are previously stored in the retry time storage circuit 4 and the retry number storage circuit 7 as criteria for judging a medium defect specified from a higher order.
The retry time and the number of retries are stored. Here, the command for the drive control circuit 1 is sent from the host to the drive 2 to eject the medium (demount).
(S1), the drive control circuit instructs the retry count holding circuit to reset the held retry count.

【0020】ドライブからの媒体排出時に保持している
リトライ回数をリセットし(S2)、次の媒体装てん時
には保持しているリトライ回数を“0”とすることによ
り、ドライブに媒体が装てんされてから排出されるまで
の間に発生したリトライ時間オーバーのリトライ回数を
カウントし、媒体ごとのリトライ時間オーバーを監視す
ることが可能となる。
The number of retries held when the medium is ejected from the drive is reset (S2), and the number of retries held is set to "0" at the time of the next medium loading, so that the medium is loaded into the drive after the medium is loaded. It is possible to count the number of retries over the retry time that has occurred before ejection, and monitor the retry time over for each medium.

【0021】次ぎに、上位よりドライブ制御回路1に対
するコマンドがライト系動作である場合(S3)、ドラ
イブ制御回路1はドライブ2に対するライト動作実行前
にタイマー3を起動させ(S4)、ドライブに対するラ
イト動作を実施する(S5)。ドライブ2でのライト動
作が完了すると、ドライブ制御回路1はタイマー3を停
止させる(S6)。そして、ドライブ制御回路1からの
タイマー停止により、タイマー3は起動から停止までの
時間をライト動作時間格納回路5に通知する。タイマー
3で計測されたライト動作時間は、リトライ時間比較回
路6において上位より指定されたリトライ時間と比較す
る(S7)。その結果、ライト動作時間がリトライ時間
を上回った場合(S8)、リトライ時間比較回路6は、
リトライ回数保持回路8に対してリトライ回数のカウン
トを指示する。リトライ回数保持回路8は、リトライ時
間比較回路6からリトライ回数のカウントを指示される
と、保持していたリトライ回数に“+1”を加算し、そ
れをリトライ回数比較回路9に通知する(S9)。
Next, when the command to the drive control circuit 1 from the host is a write operation (S3), the drive control circuit 1 activates the timer 3 before executing the write operation to the drive 2 (S4), and writes to the drive. The operation is performed (S5). When the write operation in the drive 2 is completed, the drive control circuit 1 stops the timer 3 (S6). When the drive control circuit 1 stops the timer, the timer 3 notifies the write operation time storage circuit 5 of the time from start to stop. The write operation time measured by the timer 3 is compared with the retry time specified by the higher order in the retry time comparison circuit 6 (S7). As a result, when the write operation time exceeds the retry time (S8), the retry time comparison circuit 6
It instructs the retry count holding circuit 8 to count the number of retries. When the retry count holding circuit 8 is instructed to count the number of retries from the retry time comparison circuit 6, the retry count holding circuit 8 adds "+1" to the held retry count, and notifies the retry count comparison circuit 9 of this (S9). .

【0022】リトライ回数比較回路9は、リトライ回数
保持回路8からリトライ回数の通知を受け取ると、リト
ライ回数格納回路7に格納されている上位から指定され
たリトライ回数と内部でカウントしているリトライ回数
とを比較する。その結果、上位から指定されたリトライ
回数より内部でカウントしているリトライ回数の方が大
きい場合(S10)、リトライ回数比較回路9はドライ
ブ制御回路に対してリトライ回数オーバーを通知する。
Upon receiving the notification of the number of retries from the retry number holding circuit 8, the retry number comparison circuit 9 stores the number of retries specified from the top stored in the retry number storage circuit 7 and the number of retries counted internally. Compare with As a result, if the number of retries counted internally is larger than the number of retries specified from the top (S10), the retry number comparison circuit 9 notifies the drive control circuit that the number of retries has been exceeded.

【0023】ドライブ制御回路1は、リトライ回数比較
回路9よりリトライ回数オーバーを通知されると、上位
に対して現在使用中の媒体は不良の可能性があるとし
て、媒体の交換(他の媒体へのデータのコピー)を指示
し(S11)、ドライブ2に対して媒体交換を行う。
When the drive control circuit 1 is notified of the retry count over by the retry count comparison circuit 9, the drive control circuit 1 determines that the medium currently in use may be defective and replaces the medium (to another medium). Is performed (S11), and the medium is exchanged with the drive 2.

【0024】次ぎに、本発明の他の実施の形態について
説明する。前述した実施例はドライブに対するライト系
動作の実行時間を計測し、リトライ時間と比較すること
によって、ライト時におけるドライブでのリトライが多
発した場合の媒体不良を検出する方法であるが、一方、
本実施例では、ドライブ制御回路がドライブに対するリ
ード(読み出し)系動作開始時にタイマーを起動させ、
ドライブに対するリード系動作完了時にタイマーを停止
させる。
Next, another embodiment of the present invention will be described. The above-described embodiment measures the execution time of the write operation for the drive and compares the retry time with the retry time to detect a medium defect when the drive retry frequently occurs at the time of writing.
In this embodiment, the drive control circuit starts a timer when a read (read) system operation for the drive is started,
Stop the timer when the read operation for the drive is completed.

【0025】すなわち、リード系動作時の実行時間を計
測するというものである。これにより、媒体に対するリ
ード時にドライブのリトライが多発した場合でも、媒体
不良を検出することが可能となる。
That is, the execution time during the read operation is measured. As a result, it is possible to detect a medium defect even when the drive frequently retries when reading the medium.

【0026】[0026]

【発明の効果】以上説明したように、本発明の磁気テー
プ装置は、上位より媒体不良を判断するためのリトライ
時間、リトライ回数を指定し、ドライブに対するライト
動作(もしくはリード動作)の実行時間を計測して、リ
トライ時間とリトライ回数とを比較することにより、ド
ライブのリトライによってライト動作(もしくはリード
動作)に成功するような媒体、すなわち、媒体不良の可
能性のある媒体を検出し、通知することが可能である。
As described above, according to the magnetic tape device of the present invention, the retry time and the number of retries for judging a medium defect are designated from the upper level, and the execution time of the write operation (or read operation) for the drive is specified. By measuring and comparing the retry time and the number of retries, a medium that succeeds in a write operation (or a read operation) due to drive retry, that is, a medium with a possibility of a medium failure is detected and notified. It is possible.

【0027】また、媒体不良の可能性のある媒体を検出
し、媒体の交換(もしくは新しい媒体へのコピー)を指
示することにより、媒体不良による重要なデータの破壊
を未然に防止することができる。
Further, by detecting a medium having a possibility of a medium failure and instructing the medium to be replaced (or copied to a new medium), it is possible to prevent destruction of important data due to the medium failure. .

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施の形態を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】本発明の処理動作の流れを示すフローチャート
である。
FIG. 2 is a flowchart showing a flow of a processing operation of the present invention.

【符号の説明】[Explanation of symbols]

1 ドライブ制御回路 2 ドライブ 3 タイマー 4 リトライ時間格納回路 5 ライト動作時間格納回路 6 リトライ時間比較回路 7 リトライ回数格納回路 8 リトライ回数保持回路 9 リトライ回数比較回路 REFERENCE SIGNS LIST 1 drive control circuit 2 drive 3 timer 4 retry time storage circuit 5 write operation time storage circuit 6 retry time comparison circuit 7 retry count storage circuit 8 retry count holding circuit 9 retry count comparison circuit

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 磁気テープ媒体に書き込み/読み出し
(ライト/リード)を行うドライブと、このドライブに
対するI/O(入出力)制御を行うドライブ制御回路
と、前記ドライブのライト動作の実行時間を計測するタ
イマーと、上位から指定されたリトライ時間を格納する
リトライ時間格納回路と、前記タイマーが計測したライ
ト動作の実行時間を格納するライト動作時間格納回路
と、前記リトライ時間格納回路から得たリトライ時間と
前記ライト動作時間格納回路から得たライト動作時間と
を比較するリトライ時間比較回路と、前記ドライブ制御
回路を介して上位から指定されたリトライ時間と前記リ
トライ時間比較回路から得た結果からリトライ回数を保
持するリトライ回数保持回路と、上位から指定されたリ
トライ(再試行)回数を格納するリトライ回数格納回路
と、前記リトライ回数保持回路から得たリトライ回数と
前記リトライ回数格納回路から得た上位より指定された
リトライ回数とを比較するリトライ回数比較回路とを備
えることを特徴とする磁気テープ装置。
1. A drive for writing / reading (write / read) to / from a magnetic tape medium, a drive control circuit for performing I / O (input / output) control on the drive, and measuring an execution time of a write operation of the drive. Timer, a retry time storage circuit for storing a retry time specified from a higher order, a write operation time storage circuit for storing a write operation execution time measured by the timer, and a retry time obtained from the retry time storage circuit. And a retry time comparison circuit for comparing the write operation time obtained from the write operation time storage circuit with the retry time specified from the higher order via the drive control circuit and the number of retries from the result obtained from the retry time comparison circuit. The number of retries that holds the number of retries And a retry count comparing circuit for comparing the number of retries obtained from the retry count holding circuit with the number of retries specified from the higher order obtained from the retry count storing circuit. Magnetic tape device.
【請求項2】 リトライ回数保持回路は、ライト動作の
実行時間が上位から指定されたリトライ時間よりも長い
場合、保持しているリトライ回数に“+1”を加算する
ことを特徴とする請求項1記載の磁気テープ装置。
2. The retry count holding circuit according to claim 1, wherein when the execution time of the write operation is longer than a retry time specified from a higher level, the retry count holding circuit adds “+1” to the held retry count. The magnetic tape device according to claim 1.
【請求項3】 リトライ回数比較回路は、前記リトライ
回数保持回路が保持しているリトライ回数が上位より指
定されたリトライ回数よりも大きい場合、ドライブ制御
回路に対してドライブに装てんされている磁気テープ媒
体の交換要求を行うことを特徴とする請求項1記載の磁
気テープ装置。
3. A magnetic tape mounted on a drive for a drive control circuit when a retry count held by the retry count holding circuit is larger than a retry count specified from a higher order. 2. The magnetic tape device according to claim 1, wherein a request for replacing the medium is made.
【請求項4】 磁気テープ媒体にライト/リードを行う
ドライブと、このドライブに対するI/O制御を行うド
ライブ制御回路と、前記ドライブのリード動作の実行時
間を計測するタイマーと、上位から指定されたリトライ
時間を格納するリトライ時間格納回路と、前記タイマー
が計測したリード動作の実行時間を格納するリード動作
時間格納回路と、前記リトライ時間格納回路から得たリ
トライ時間と前記リード動作時間格納回路から得たリー
ド動作時間とを比較するリトライ時間比較回路と、前記
ドライブ制御回路を介して上位から指定されたリトライ
時間と前記リトライ時間比較回路から得た結果からリト
ライ回数を保持するリトライ回数保持回路と、上位から
指定されたリトライ回数を格納するリトライ回数格納回
路と、前記リトライ回数保持回路から得たリトライ回数
と前記リトライ回数格納回路から得た上位より指定され
たリトライ回数とを比較するリトライ回数比較回路とを
備えることを特徴とする磁気テープ装置。
4. A drive for writing / reading to / from a magnetic tape medium, a drive control circuit for performing I / O control on the drive, a timer for measuring an execution time of a read operation of the drive, and a timer designated from the host. A retry time storage circuit for storing a retry time; a read operation time storage circuit for storing a read operation execution time measured by the timer; a retry time obtained from the retry time storage circuit; A retry time comparison circuit that compares the read operation time with the read operation time, a retry number holding circuit that holds the number of retries from the retry time specified from the higher order via the drive control circuit and the result obtained from the retry time comparison circuit, A retry count storage circuit for storing a retry count specified from a higher order; A magnetic tape device comprising: a retry number comparison circuit that compares the number of retries obtained from the number-of-times holding circuit with the number of retries specified from the higher order obtained from the retry number storage circuit.
【請求項5】 リトライ回数保持回路は、リード動作の
実行時間が上位から指定されたリトライ時間よりも長い
場合、保持しているリトライ回数に“+1”を加算する
ことを特徴とする請求項4記載の磁気テープ装置。
5. The retry count holding circuit adds "+1" to the held retry count when the execution time of the read operation is longer than the retry time specified from the top. The magnetic tape device according to claim 1.
【請求項6】 リトライ回数比較回路は、前記リトライ
回数保持回路が保持しているリトライ回数が上位より指
定されたリトライ回数よりも大きい場合、ドライブ制御
回路に対してドライブに装てんされている磁気テープ媒
体の交換要求を行うことを特徴とする請求項4記載の磁
気テープ装置。
6. A retry count comparison circuit, wherein when a retry count held by the retry count holding circuit is larger than a retry count specified from a higher order, a magnetic tape mounted on a drive with respect to a drive control circuit. 5. The magnetic tape device according to claim 4, wherein a request for replacing the medium is made.
JP2000109743A 2000-04-11 2000-04-11 Magnetic tape unit Expired - Fee Related JP3389917B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000109743A JP3389917B2 (en) 2000-04-11 2000-04-11 Magnetic tape unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000109743A JP3389917B2 (en) 2000-04-11 2000-04-11 Magnetic tape unit

Publications (2)

Publication Number Publication Date
JP2001297541A true JP2001297541A (en) 2001-10-26
JP3389917B2 JP3389917B2 (en) 2003-03-24

Family

ID=18622384

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000109743A Expired - Fee Related JP3389917B2 (en) 2000-04-11 2000-04-11 Magnetic tape unit

Country Status (1)

Country Link
JP (1) JP3389917B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002101744A1 (en) * 2001-05-11 2002-12-19 Matsushita Electric Industrial Co., Ltd. Disk memory device, disk memory device defect detecting method, and program recording medium
KR100513353B1 (en) * 2002-07-12 2005-09-07 엘지전자 주식회사 Method for detecting a recording fail on a optical disc

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002101744A1 (en) * 2001-05-11 2002-12-19 Matsushita Electric Industrial Co., Ltd. Disk memory device, disk memory device defect detecting method, and program recording medium
US7134051B2 (en) 2001-05-11 2006-11-07 Matsushita Electric Industrial Co., Ltd. Disk memory device, disk memory device defect detecting method, and program recording medium
KR100513353B1 (en) * 2002-07-12 2005-09-07 엘지전자 주식회사 Method for detecting a recording fail on a optical disc

Also Published As

Publication number Publication date
JP3389917B2 (en) 2003-03-24

Similar Documents

Publication Publication Date Title
JP2006164445A (en) Monitoring device
US5751947A (en) Magnetic disk apparatus having inspection function of recording medium and method of inspecting recording medium in magnetic disk apparatus
JPH09274541A (en) Storage device, control method for the same, storage system and control method for the same
US7206151B2 (en) System, method and computer program product for tape failure detection
JP2007241897A (en) Data recorder, and method for evaluating host data transfer performance of data recorder
JP2006085592A (en) Storage medium controller, storage medium control method and storage medium control program
US7633695B2 (en) Medium scan method for use in disk device
JP2976780B2 (en) Information recording / reproducing device
US20080209281A1 (en) Storage device and control device
JP2001297541A (en) Magnetic tape device
JP2002149500A (en) Hard disk device
JP3431582B2 (en) Desk storage device and processing method when hang-up occurs applied to the device
JPH07182250A (en) Automatic substituting processing system for magnetic disk
JP2001266464A (en) Data recording and reproducing unit
JP2003228925A (en) Write data guaranteeing method for magnetic disk device
JP3684199B2 (en) Computer system
JP3598910B2 (en) Information recording / reproducing device
JPH0581789A (en) Optical disk device
JP2635342B2 (en) Replacement processing equipment
JPH0581786A (en) Automatic tape exchanging device
JPH04285772A (en) Abnormal medium deciding system for magnetic tape storage device
JPH09161415A (en) Control method for magnetic tape apparatus
KR100305309B1 (en) Data reading method and data storage device
JPH11242802A (en) System and method for managing deteriorating area of magnetic tape and record medium stored with magnetic tape device control program
JPH03122872A (en) Information processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20021217

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080117

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090117

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100117

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees