JP2001250340A - Magnetic recording and reproducing device and method for detecting bad spot - Google Patents

Magnetic recording and reproducing device and method for detecting bad spot

Info

Publication number
JP2001250340A
JP2001250340A JP2000065688A JP2000065688A JP2001250340A JP 2001250340 A JP2001250340 A JP 2001250340A JP 2000065688 A JP2000065688 A JP 2000065688A JP 2000065688 A JP2000065688 A JP 2000065688A JP 2001250340 A JP2001250340 A JP 2001250340A
Authority
JP
Japan
Prior art keywords
track
data
bad spot
bad
recording unit
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
JP2000065688A
Other languages
Japanese (ja)
Inventor
Tsutomu Nishio
強 西尾
Ichiro Inoue
一郎 井上
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP2000065688A priority Critical patent/JP2001250340A/en
Publication of JP2001250340A publication Critical patent/JP2001250340A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a magnetic recording and reproducing device and bad spot detecting method which are capable of detecting bad spots more surely than heretofore when applied to a tape streamer for backing up the data of, for example, a server, etc. SOLUTION: The data is recorded in such a manner that the bad spots may be specified by any tracks or track sets in the recording units succeeding to at least the bad spots and the bad spots are detected by the data recorded in the manner described above.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、磁気記録再生装置
及びバッドスポット検出方法に関し、例えばサーバー等
のデータをバックアップするテープストリーマーに適用
することができる。本発明は、少なくともバッドスポッ
トに続く記録単位において、何れのトラック又はトラッ
クセットによってもバッドスポットを特定可能にデータ
を記録することにより、またこのようにして記録したデ
ータによりバッドスポットを検出することにより、従来
に比して確実にバッドスポットを検出することができる
ようにする。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic recording / reproducing apparatus and a bad spot detecting method, and can be applied to, for example, a tape streamer for backing up data in a server or the like. According to the present invention, at least in a recording unit following a bad spot, data is recorded so that the bad spot can be specified by any track or track set, and a bad spot is detected by the data thus recorded. This makes it possible to detect a bad spot more reliably than in the past.

【0002】[0002]

【従来の技術】従来、テープストリーマーは、高い信頼
性により所望のデータを記録再生できるように、リード
アフターライトにより記録したデータを正しく再生でき
ない部位については、バットスポットとして記録再生に
使用しないようになされている。
2. Description of the Related Art Conventionally, in order to record and reproduce desired data with high reliability, a tape streamer is designed so that data recorded by read-after-write cannot be used as a bat spot for recording / reproduction. It has been done.

【0003】すなわちテープストリーマは、記録時、リ
ードアフターライトにより記録したデータを正しく再生
できるか否か判定し、正しく再生できない場合にはリト
ライの処理を実行する。さらにテープストリーマは、正
しく再生できない部位は、例えば磁気テープの傷等によ
る場合も考えられることにより、記録中にあってはバッ
ドスポットとしてこの部位の位置情報をメモリに記録し
て保持し、記録の処理が完了すると、磁気テープの所定
領域に記録する。テープストリーマは、この磁気テープ
に記録されたバッドスポットの位置情報に従って、この
バッドスポットの部分については記録再生に使用しない
ようにする。
That is, the tape streamer determines whether or not data recorded by read-after-write can be correctly reproduced at the time of recording, and executes a retry process if the data cannot be reproduced correctly. Furthermore, in the tape streamer, a part that cannot be correctly reproduced may be caused by, for example, a scratch on a magnetic tape. When the processing is completed, the data is recorded in a predetermined area of the magnetic tape. According to the position information of the bad spot recorded on the magnetic tape, the tape streamer does not use this bad spot portion for recording and reproduction.

【0004】またデータの記録を完了した後、磁気テー
プにバッドスポットの位置情報を記録しないうちに電源
が立ち下げられる場合も考えられることにより、必要に
応じていわゆるリカバリーの処理によりバッドスポット
を改めて検出して磁気テープに記録するようになされて
いる。
[0004] Further, after data recording is completed, the power may be turned off before the position information of the bad spot is recorded on the magnetic tape. Therefore, if necessary, the bad spot is renewed by so-called recovery processing. This is detected and recorded on a magnetic tape.

【0005】図33は、このリカバリーの処理における
バッドスポット検出の説明に供する図表である。テープ
ストリーマは、所定の処理単位である所定本数の斜めト
ラックにより1つのトラックセットを構成し、順次値の
増大する論理ID(すなわち論理トラックセットIDで
ある)を各トラックセットに割り当てる。またテープス
トリーマは、メモリのバンク管理により、所定数のトラ
ックセットを1つのバンクに割り当て、このバンクの先
頭トラックセットに所定のフラグ(Cフラグ)をセット
して識別可能とする。さらにリードアフタライトにより
誤り訂正困難なビット誤りが検出されると、このビット
誤りが検出されたバンクを構成する複数本のトラックセ
ットを全てバッドスポットBSに設定し、このバンクの
データを改めて記録し直し、これによりリトライの処理
を実行する。このときテープストリーマは、バッドスポ
ットBSの部分を飛び越して再生して論理IDが連続す
るように、バッドスポットBSのトラックセットと同様
一の論理IDの設定によりリトライの処理を実行する。
FIG. 33 is a chart for explaining the detection of bad spots in the recovery process. The tape streamer configures one track set by a predetermined number of diagonal tracks, which is a predetermined processing unit, and assigns a logical ID (that is, a logical track set ID) whose value sequentially increases to each track set. The tape streamer allocates a predetermined number of track sets to one bank by bank management of the memory, and sets a predetermined flag (C flag) in a head track set of this bank to enable identification. Further, when a bit error that is difficult to correct is detected by the read-after-write, a plurality of track sets constituting the bank where the bit error is detected are all set to the bad spot BS, and the data of this bank is recorded again. Then, the retry process is executed. At this time, the tape streamer executes a retry process by setting one logical ID similarly to the track set of the bad spot BS so that the tape streamer skips over the bad spot BS and reproduces the logical IDs so as to be continuous.

【0006】これにより図33に示す例にあっては、8
つのトラックセットにより1つのバンクが構成され、論
理ID00〜07のトラックセットによるバンクは正し
く記録再生できたものの、続く論理ID08〜15のト
ラックセットによるバンクは正しく再生することが困難
なことによりバッドスポットBSに設定されたものであ
る。また続く論理ID08〜15のトラックセットによ
るバンクは、このバッドスポットBSの設定によるリト
ライにおいても正しく再生することが困難なことにより
ここでもバッドスポットBSに設定され、3回目の記録
で正しく記録できたことが示されている。
Accordingly, in the example shown in FIG.
One bank is constituted by one track set, and the bank by the track set of logical ID 00 to 07 can be recorded and reproduced correctly, but the bank by the subsequent track set of logical ID 08 to 15 is difficult to reproduce correctly, so that a bad spot is formed. This is set in the BS. Further, the bank by the track set of the logical IDs 08 to 15 is set to the bad spot BS again because it is difficult to correctly reproduce even in the retry by setting the bad spot BS, and the bank was correctly recorded in the third recording. It has been shown.

【0007】リカバリーの処理におけるバッドスポット
検出において、テープストリーマは、磁気テープを順次
再生して誤り訂正困難なビット誤りを検出しながら、C
フラグがセットされているトラックセットの連続性によ
りバッドスポットBSを検出する。すなわち図33に示
す例においては、論理ID00〜07のトラックセット
を再生し、誤り訂正困難なビット誤りが検出されない場
合には、バッドスポットBSの可能性が低いことによ
り、これら論理ID00〜07のトラックセットについ
ては、データエリアに仮設定する(図33(1)におい
て、この仮設定を符号1により示す)。
In the detection of a bad spot in the recovery process, the tape streamer sequentially reproduces a magnetic tape to detect a bit error that is difficult to correct,
The bad spot BS is detected based on the continuity of the track set in which the flag is set. That is, in the example shown in FIG. 33, the track set of the logical IDs 00 to 07 is reproduced, and when a bit error that is difficult to correct is not detected, the possibility of the bad spot BS is low. The track set is provisionally set in the data area (in FIG. 33 (1), this provisional setting is indicated by reference numeral 1).

【0008】テープストリーマは、これら論理ID00
〜07のトラックセットのうち、Cフラグがセットされ
ているトラックセットの論理ID00を記憶し、続くト
ラックセットを再生する。この場合、続くCフラグがセ
ットされているトラックセットにおいては、論理IDが
値08であり、先に記憶したトラックセットの論理ID
と異なることにより、先に仮確定したトラックセットに
ついては、バッドスポットBSではないデータエリア
(符号Dにより示す)であると確定させる。またこの論
理ID08から続く論理ID15までのトラックセット
については、誤り訂正困難なビット誤りが検出されない
場合には、データエリアに仮設定する(図33
(2))。
The tape streamer uses these logical IDs 00
Of the track sets No. to 07, the logical ID 00 of the track set in which the C flag is set is stored, and the subsequent track set is reproduced. In this case, in the track set in which the following C flag is set, the logical ID is the value 08, and the logical ID of the previously stored track set is set.
Therefore, the track set temporarily provisionally determined is determined to be a data area (denoted by a symbol D) other than the bad spot BS. In addition, as for the track sets from the logical ID 08 to the logical ID 15 that follows, if a bit error that is difficult to correct is not detected, it is provisionally set in the data area (FIG. 33).
(2)).

【0009】テープストリーマは、さらにこれら論理I
D08から続く論理ID15までのトラックセットのう
ち、Cフラグがセットされているトラックセットの論理
ID08を記憶し、続くトラックセットを再生する。こ
の続くトラックセットの再生においては(図33
(3))、Cフラグがセットされているトラックセット
の論理IDが値08であり、先に記憶したトラックセッ
トの論理IDと一致することにより、先に仮確定したト
ラックセットについては、バッドスポットBSであった
と設定を変更する(符号B)。またこの論理ID08か
ら続く論理ID15までのトラックセットについては、
誤り訂正困難なビット誤りが検出されない場合には、デ
ータエリアに仮設定する。
[0009] The tape streamer further comprises these logic I
Of the track sets from D08 to the following logical ID 15, the logical ID 08 of the track set in which the C flag is set is stored, and the subsequent track set is reproduced. In the reproduction of the subsequent track set (see FIG. 33)
(3)) If the logical ID of the track set in which the C flag is set is 08 and matches the logical ID of the previously stored track set, the bad spot is set for the track set temporarily provisionally determined first. The setting is changed to BS (reference B). For the track sets from the logical ID 08 to the following logical ID 15,
If a bit error that is difficult to correct is not detected, a temporary setting is made in the data area.

【0010】さらにテープストリーマは、さらにこれら
論理ID08から続く論理ID15までのトラックセッ
トのうち、Cフラグがセットされているトラックセット
の論理ID08を記憶し、続くトラックセットを再生す
る。この続くトラックセットの再生においては(図33
(4))、Cフラグがセットされているトラックセット
の論理IDが値08であり、先に記憶したトラックセッ
トの論理IDと一致することにより、この場合もバッド
スポットBSであったと設定を変更する。またこの論理
ID08から続く論理ID15までのトラックセットに
ついては、誤り訂正困難なビット誤りが検出されない場
合には、データエリアに仮設定する。
The tape streamer further stores the logical ID 08 of the track set in which the C flag is set among the track sets from the logical ID 08 to the subsequent logical ID 15, and reproduces the subsequent track set. In the reproduction of the subsequent track set (see FIG. 33)
(4)) Since the logical ID of the track set in which the C flag is set is 08 and matches the logical ID of the previously stored track set, the setting is changed to the bad spot BS in this case as well. I do. In the case of a track set from the logical ID 08 to the subsequent logical ID 15, if a bit error that is difficult to correct is not detected, the track set is provisionally set in the data area.

【0011】テープストリーマは、続くCフラグがセッ
トされているトラックセットの論理IDが値16である
ことにより、この論理ID16のトラックセットの検出
により、直前の論理ID08から続く論理ID15まで
のトラックセットがデータエリアであることを確定させ
る。テープストリーマは、これらの処理を繰り返してバ
ッドスポットの位置情報を取得すると、この位置情報を
磁気テープの所定位置に記録し直し、これによりバッド
スポットに関するリカバリーの処理を完了する。
Since the logical ID of the track set in which the following C flag is set has the value 16, the tape streamer detects the track set of the logical ID 16 and detects the track set from the immediately preceding logical ID 08 to the following logical ID 15 Is a data area. When the tape streamer repeats these processes and obtains the position information of the bad spot, it re-records this position information at a predetermined position on the magnetic tape, thereby completing the recovery process for the bad spot.

【0012】[0012]

【発明が解決しようとする課題】ところがこのバッドス
ポットの検出方法にあっては、Cフラグを設定したトラ
ックセットの論理IDを必ず再生できること、さらにデ
ータエリアが必ず正しく再生できることを前提として処
理するものである。これに対してトラック密度を増大す
ると、このようなCフラグを設定したトラックセットの
論理IDを必ずしも再生できない場合もあり、またデー
タエリアを正しく再生できない場合も考えられる。
However, this method of detecting a bad spot is based on the premise that the logical ID of the track set with the C flag set can always be reproduced and that the data area can always be correctly reproduced. It is. On the other hand, when the track density is increased, the logical ID of the track set in which the C flag is set may not always be reproduced, or the data area may not be reproduced correctly.

【0013】これにより従来のバッドスポットの検出方
法にあっては、記録密度を向上した場合に、実用上未だ
不十分な問題があった。
As a result, the conventional method for detecting a bad spot has a practically insufficient problem when the recording density is improved.

【0014】すなわち図34に示すように、バッドスポ
ットBSに設定されてなるトラックセットを正しく再生
できない場合(図34(1)において、符号0により示
す)、バッドスポットBSが終了した直後の、Cフラグ
が設定されたトラックセットの論理ID08が検出され
たとしても(図34(2))、この場合、バッドスポッ
トに設定されたトラックセットがたまたま正しく再生さ
れ、これとは逆にデータエリアのトラックセットが正し
く再生されなかった場合もあり得ることにより、直前3
つのバンクのうち、何れのバンクによるトラックセット
がバッドスポットBSによるものか判定できなくなる。
That is, as shown in FIG. 34, when the track set set in the bad spot BS cannot be correctly reproduced (indicated by reference numeral 0 in FIG. 34 (1)), C is set immediately after the end of the bad spot BS. Even if the logical ID 08 of the track set to which the flag is set is detected (FIG. 34 (2)), in this case, the track set set to the bad spot happens to be correctly reproduced, and conversely, the track in the data area is It is possible that the set was not played correctly,
It becomes impossible to determine which of the banks has a track set based on the bad spot BS.

【0015】またこの図34との対比により図35に示
すように、バッドスポットBSが一部再生できた場合で
も、バッドスポットBSに続くトラックセットにおい
て、Cフラグが設定されたトラックセットを再生できな
い場合、同様にバッドスポットBSを正しく判定できな
い。
Also, as shown in FIG. 35 in comparison with FIG. 34, even if the bad spot BS can be partially reproduced, the track set with the C flag set cannot be reproduced in the track set following the bad spot BS. In this case, similarly, the bad spot BS cannot be correctly determined.

【0016】なお図36に示すように、従来の検出手法
においては、データエリアの一部トラックセットだけを
正しく再生できない場合には、バッドスポットBSにつ
いては、正しく検出することができる。
As shown in FIG. 36, in the conventional detection method, when only a part of the track set in the data area cannot be correctly reproduced, the bad spot BS can be correctly detected.

【0017】本発明は以上の点を考慮してなされたもの
で、従来に比して一段と確実にバッドスポットを検出す
ることができる磁気記録再生装置又はバッドスポットの
検出方法を提案しようとするものである。
The present invention has been made in view of the above points, and it is an object of the present invention to propose a magnetic recording / reproducing apparatus or a method of detecting a bad spot, which can more reliably detect a bad spot as compared with the related art. It is.

【0018】[0018]

【課題を解決するための手段】かかる課題を解決するた
め請求項1の発明においては、磁気記録再生装置に適用
して、リードアフタライトの処理により、所定のトラッ
ク数又はトラックセット数による記録単位を単位にして
リトライの処理を実行すると共に、正しく再生できなか
った領域をバッドスポットに設定し、何れのトラック又
はトラックセットによっても、バッドスポットを特定可
能なバッドスポットのデータを、少なくともリトライに
係るトラック又はトラックセットに記録する。
According to the first aspect of the present invention, the present invention is applied to a magnetic recording / reproducing apparatus, and a read-after-write process is used to perform a recording unit based on a predetermined number of tracks or a number of track sets. The retry process is executed in units of, and the area that could not be correctly reproduced is set as a bad spot, and the data of the bad spot that can specify the bad spot by any track or track set is at least related to the retry. Record on a track or track set.

【0019】また請求項7又は請求項11の発明におい
ては、磁気記録再生装置又はバッドスポットの検出方法
に適用して、トラック又はトラックセットより正しくデ
ータを再生できた場合には、該トラック又はトラックセ
ットをデータエリアに仮設定し、何れのトラック又はト
ラックセットによっても、バッドスポットを特定可能な
バッドスポットのデータである、少なくともリトライに
係るトラック又はトラックセットに記録されたバッドス
ポットのデータよりバッドスポットのトラック又はトラ
ックセットを特定し、仮設定及び又は特定により、従前
の記録単位に係る仮設定のトラック又はトラックセット
をデータエリアに設定する。
According to the seventh or eleventh aspect of the present invention, when data can be correctly reproduced from a track or a track set by applying to a magnetic recording / reproducing apparatus or a bad spot detecting method, the track or the track The set is provisionally set in the data area, and any track or track set is a bad spot data that can specify a bad spot, at least a bad spot based on the data of the bad spot recorded on the track or track set related to the retry. The track or track set of the previous recording unit is specified, and the temporarily set track or track set related to the previous recording unit is set in the data area by the provisional setting and / or specification.

【0020】請求項1の構成によれば、何れのトラック
又はトラックセットによっても、バッドスポットを特定
可能なバッドスポットのデータを、少なくともリトライ
に係るトラック又はトラックセットに記録することによ
り、何れのトラック又はトラックセットが正しく再生さ
れれば、バッドスポットを特定することができ、その分
従来に比して一段と確実にバッドスポットを検出するこ
とができる。
According to the first aspect of the present invention, the data of the bad spot that can specify the bad spot is recorded on at least the track or the track set related to the retry by any of the tracks or the track sets. Alternatively, if the track set is correctly reproduced, the bad spot can be specified, and the bad spot can be detected more reliably than before.

【0021】また請求項7又は請求項11の構成によれ
ば、トラック又はトラックセットより正しくデータを再
生できた場合には、該トラック又はトラックセットをデ
ータエリアに仮設定し、このトラック又はトラックセッ
トより得られるバッドスポットのデータよりバッドスポ
ットのトラック又はトラックセットを特定し、仮設定及
び又は特定により、従前の記録単位に係る仮設定のトラ
ック又はトラックセットをデータエリアに設定し、この
バッドスポットのデータが何れのトラック又はトラック
セットによっても、バッドスポットを特定可能であるこ
とにより、何れかのトラック又はトラックセットが正し
く再生されれば、バッドスポットを特定することがで
き、その分従来に比して一段と確実にバッドスポットを
検出することができる。
According to the seventh or eleventh aspect, when data can be correctly reproduced from a track or a track set, the track or the track set is provisionally set in the data area, and the track or the track set is set. The track or track set of the bad spot is specified from the data of the bad spot obtained, and a temporarily set track or track set related to the previous recording unit is set in the data area by provisional setting and / or specification. Since the data can identify the bad spot by any track or track set, if any track or track set is correctly reproduced, the bad spot can be identified, and the bad spot can be identified by that much. To more reliably detect bad spots. .

【0022】[0022]

【発明の実施の形態】以下、適宜図面を参照しながら本
発明の実施の形態を詳述する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0023】(1)第1の実施の形態の構成 (1−1)全体構成 図1は、本発明の第1の実施の形態に係るバックアップ
システムを示す斜視図である。このバックアップシステ
ム1は、大型のコンソール2にテープストリーマ3等を
配置して構成される。すなわちこのバックアップシステ
ム1は、正面の下側より順次テープストリーマ3、電源
ユニット4、CPUユニット5が配置され、背面側にテ
ープカセットの搬送機構6が配置される。
(1) Configuration of First Embodiment (1-1) Overall Configuration FIG. 1 is a perspective view showing a backup system according to a first embodiment of the present invention. The backup system 1 is configured by arranging a tape streamer 3 and the like on a large console 2. That is, in this backup system 1, a tape streamer 3, a power supply unit 4, and a CPU unit 5 are arranged in this order from the lower side of the front, and the transport mechanism 6 of the tape cassette is arranged on the back side.

【0024】ここで電源ユニット4は、このバックアッ
プシステム1の各部に電源を供給し、CPUユニット5
は、このバックアップシステム1全体の動作を制御す
る。テープストリーマ3は、搬送機構6により装填され
るテープカセットにホストコンピュータからのデータを
記録し、またこのテープカセットに記録されたデータを
再生してホストコンピュータに出力する。
The power supply unit 4 supplies power to each part of the backup system 1 and the CPU unit 5
Controls the operation of the entire backup system 1. The tape streamer 3 records data from a host computer on a tape cassette loaded by the transport mechanism 6, reproduces the data recorded on the tape cassette, and outputs the data to the host computer.

【0025】搬送機構6は、棚6Aに複数のテープカセ
ットを収納できるように構成され、CPUユニット5の
制御により、この棚6Aに保持されたテープカセットを
テープストリーマ3に搬送して装填し、またこれとは逆
にテープストリーマ3より排出されたテープカセットを
元の棚6Aに搬送する。このため搬送機構6は、このコ
ンソール2の上下方向に可動するエレベータ6Bと、こ
のエレベータ6Bに搭載されて、棚6Aとの間でテープ
カセットを出し入れし、またテープストリーマ3との間
でテープストリーマを出し入れするハンドブロック6C
とが配置されるようになされている。なおこの実施の形
態に係るテープストリーマ3に適用されるテープカセッ
トにおいては、背面に非接触型のICタグが配置され、
これら棚6A、エレベータ6BにはこのICタグをアク
セスするリーダライタが配置されるようになされてい
る。
The transport mechanism 6 is configured so that a plurality of tape cassettes can be stored in the shelf 6A. Under the control of the CPU unit 5, the tape cassette held in the shelf 6A is transported and loaded into the tape streamer 3. Conversely, the tape cassette discharged from the tape streamer 3 is transported to the original shelf 6A. For this reason, the transport mechanism 6 is provided with an elevator 6B which is movable in the vertical direction of the console 2, a tape cassette which is mounted on the elevator 6B, takes a tape cassette in and out of the shelf 6A, and a tape streamer which is in contact with the tape streamer 3. Hand block 6C for putting in and out
And are arranged. In the tape cassette applied to the tape streamer 3 according to this embodiment, a non-contact type IC tag is arranged on the back surface,
A reader / writer that accesses the IC tag is arranged on the shelf 6A and the elevator 6B.

【0026】図2は、CPUユニット5を周辺構成と共
に示すブロック図である。CPUユニット5において、
ホストコンピュータインターフェース(ホストコンピュ
ータIF)5Aは、例えばSCSI(Small Computer S
ystem Interface )によりホストコンピュータ8と接続
され、ホストコンピュータ8からのコマンド、記録に供
するデータを取り込んで内部バスBUSに出力し、また
これとは逆に内部バスBUSに出力されるホストコンピ
ュータ8へのステータスデータ、再生したデータ等をホ
ストコンピュータ8に出力する。
FIG. 2 is a block diagram showing the CPU unit 5 together with peripheral components. In the CPU unit 5,
The host computer interface (host computer IF) 5A is, for example, a SCSI (Small Computer S).
The host computer 8 is connected to the host computer 8 by a system interface, and takes in commands and data to be recorded from the host computer 8 and outputs them to the internal bus BUS. Status data, reproduced data, and the like are output to the host computer 8.

【0027】ストリーマインターフェース(ストリーマ
IF)5Bは、例えばSCSIによりテープストリーマ
3と接続され、バスBUSに出力される所定の制御コマ
ンド、記録に供するデータをテープストリーマ3に出力
し、またこれとは逆にテープストリーマ3より出力され
るステータスデータ、再生したデータ等をテープストリ
ーマ3より受信して内部バスBUSに出力する。
The streamer interface (streamer IF) 5B is connected to the tape streamer 3 by, for example, SCSI, and outputs a predetermined control command output to the bus BUS and data for recording to the tape streamer 3, and vice versa. The status data output from the tape streamer 3 and the reproduced data are received from the tape streamer 3 and output to the internal bus BUS.

【0028】コントロールパネル5Dは、コンソール2
の正面に配置されてオペレータによる各種操作を受け付
け、内部バスBUSを介して、オペレータによる操作を
CPU5Cに通知する。ドライバ5Eは、CPU5Cの
制御により、エレベータ6B、ハンドブロック6Cを駆
動する。
The control panel 5D is a console 2
And receives various operations by the operator, and notifies the CPU 5C of the operations by the operator via the internal bus BUS. The driver 5E drives the elevator 6B and the hand block 6C under the control of the CPU 5C.

【0029】CPU5Cは、メモリ5Fにワークエリア
を確保して所定の処理手順を実行することにより、ホス
トコンピュータ8からのコマンドに応動してバックアッ
プシステム1全体の動作を制御する。すなわちホストコ
ンピュータ8よりアクセスコマンドが入力されると、テ
ープストリーマ3にテープカセットの記録再生を指示す
る。このときホストコンピュータ8からのアクセスコマ
ンドがテープストリーマ3に装填されているテープカセ
ットと異なるテープカセットに対するものの場合、搬送
機構6を制御して対応するテープカセットをテープスト
リーマ3に装填する。またオペレータによりいわゆるバ
ージンテープのフォーマットが指示された場合、同様に
搬送機構6の制御によりテープカセットをテープストリ
ーマ3に装填し、テープストリーマ3に初期化の処理を
指示する。
The CPU 5C controls a whole operation of the backup system 1 in response to a command from the host computer 8 by securing a work area in the memory 5F and executing a predetermined processing procedure. That is, when an access command is input from the host computer 8, it instructs the tape streamer 3 to record and reproduce a tape cassette. At this time, if the access command from the host computer 8 is for a tape cassette different from the tape cassette loaded in the tape streamer 3, the transport mechanism 6 is controlled to load the corresponding tape cassette into the tape streamer 3. When a format of a so-called virgin tape is instructed by the operator, the tape cassette is loaded into the tape streamer 3 under the control of the transport mechanism 6, and the tape streamer 3 is instructed to perform an initialization process.

【0030】(1−2)テープストリーマの構成 図3は、テープストリーマ3を示す正面及び背面を示す
平面図である。テープストリーマ3は、正面に、挿入口
3Aが形成され(図3(A))、この挿入口3Aよりテ
ープカセットを挿入し、また排出できるようになされて
いる。またテープストリーマ3は、背面に各種接続用の
コネクタが配置され、例えばCPUユニット5を省略し
て直接ホストコンピュータ8と接続することもできるよ
うになされている。
(1-2) Configuration of Tape Streamer FIG. 3 is a plan view showing the front and back of the tape streamer 3. The tape streamer 3 has an insertion port 3A formed in the front (FIG. 3A) so that a tape cassette can be inserted into and discharged from the insertion port 3A. The tape streamer 3 is provided with connectors for various connections on the back surface, so that the tape streamer 3 can be directly connected to the host computer 8 without the CPU unit 5, for example.

【0031】(1−2−1)テープストリーマのフォー
マット 図4は、このテープストリーマ3による記録トラックの
フォーマットを示す略線図である。テープストリーマ3
においては、磁気テープ10の上下に長手トラックがそ
れぞれ形成され、この長手トラックの間に、斜めトラッ
クが形成される。ここで上下の長手トラックは、1つが
コントローラトラック10Aに割り当てられ、トラッキ
ング制御用のコントロール信号が記録されるようになさ
れている。また他方の長手トラックは、IDトラック1
0Bに割り当てられ、斜めトラックを管理する情報が管
理テーブルにより記録されるようになされている。
(1-2-1) Format of Tape Streamer FIG. 4 is a schematic diagram showing a format of a recording track by the tape streamer 3. Tape Streamer 3
In (2), longitudinal tracks are respectively formed above and below the magnetic tape 10, and oblique tracks are formed between the longitudinal tracks. Here, one of the upper and lower longitudinal tracks is assigned to the controller track 10A, and a control signal for tracking control is recorded. The other longitudinal track is ID track 1
0B, and information for managing the diagonal track is recorded in a management table.

【0032】これに対して斜めトラックは、正及び負の
アジマス角による1組の記録トラックを順次配置して形
成される。各斜めトラックは、ほぼ中央部分により2つ
に分断されるように形成され、1組の記録トラックのう
ちの、先行する側の記録トラックは、この中央の分断さ
れた部位に、トラッキング制御用のパイロット信号を記
録した領域TPが形成されるようになされている。
On the other hand, an oblique track is formed by sequentially arranging a set of recording tracks with positive and negative azimuth angles. Each diagonal track is formed so as to be divided into two by a substantially central portion, and a preceding recording track of a set of recording tracks has a tracking control part for tracking control at this central divided portion. An area TP in which a pilot signal is recorded is formed.

【0033】さらに斜めトラックは、2組、4本の記録
トラックで1つのトラックセットが形成され、このトラ
ックセットを単位として形成されるようになされてい
る。各トラックセットには、各トラックセットの識別に
使用するトラックセットIDが設定され、このトラック
セットIDがIDトラック10Bに記録する情報の一部
に割り当てられるようになされている。なおトラックセ
ットIDは、全てのトラックセットで単純増加する物理
トラックセットIDと、ダミー、EOD等を除いて単純
増加する論理トラックセットIDとがそれぞれ設定され
るようになされている。またトラックセットIDは、S
MPTEによるタイムコードに変換されてIDトラック
10Bに記録されるようになされている。
Further, as for the diagonal track, one track set is formed by two sets and four recording tracks, and the track set is formed as a unit. A track set ID used for identifying each track set is set in each track set, and this track set ID is assigned to a part of information to be recorded on the ID track 10B. As the track set ID, a physical track set ID that simply increases in all track sets and a logical track set ID that simply increases except for dummy, EOD, and the like are set. The track set ID is S
The time code is converted into a time code by MPTE and recorded on the ID track 10B.

【0034】各斜めトラックは、このトラックセットの
先行側より、それぞれ記録再生系の各チャンネルに対応
するAトラック、Bトラック、Cトラック、Dトラック
に割り当てられるようになされている。
Each diagonal track is allocated to the A track, B track, C track, and D track corresponding to each channel of the recording / reproducing system from the leading side of the track set.

【0035】トラックセットは、ユーザーデータの記録
に使用されるユーザートラックセット、ファイルの区切
りを示すテープマークに割り当てられるテープマークト
ラックセット、データの終了端を示すEOD(End Of D
ata )トラックセット、ダミートラックを形成するダミ
ートラックセット等に区別される。
The track set includes a user track set used for recording user data, a tape mark track set assigned to a tape mark indicating a file delimiter, and an EOD (End Of D) indicating an end of data.
ata) A distinction is made between a track set, a dummy track set forming a dummy track, and the like.

【0036】図5は、このようにして形成されるトラッ
クセットと誤り訂正処理単位であるECCブロックとの
関係を示す略線図である。テープストリーマ3は、記録
に供するユーザーデータ等を所定のブロック単位で区切
って誤り訂正符号を付加し、ECCブロックが形成され
る。テープストリーマ3は、8個のECCブロックのデ
ータが1トラックセットに割り当てられる。このとき数
字0〜7により示す各ECCブロックは、アウターパリ
ティーの方向にそれぞれ4等分されて各トラックに割り
当てられ、これによりトラック間インターリーブされて
記録される。また各トラックに割り当てられるデータに
おいては、配列が入れ換えられてワードインターリーブ
処理されて記録されるようになされている。
FIG. 5 is a schematic diagram showing the relationship between the track set thus formed and the ECC block which is an error correction processing unit. The tape streamer 3 divides user data or the like to be used for recording in predetermined block units and adds an error correction code to form an ECC block. In the tape streamer 3, data of eight ECC blocks is allocated to one track set. At this time, each of the ECC blocks indicated by the numerals 0 to 7 is divided into four equal parts in the direction of outer parity and assigned to each track, whereby the tracks are interleaved and recorded. In the data allocated to each track, the arrangement is changed and the data is subjected to word interleave processing and recorded.

【0037】図6は、このECCブロックを示す略線図
である。1つのECCブロックには、77×190バイ
トのユーザーデータ等が割り当てられ、77バイトのデ
ータ列に対して27バイトのアウターパリティか生成さ
れ、このアウターパリティがデータ列に付加される。さ
らに2×104バイトのブロックIDが付加された後、
このアウターパリティとは直交する方向の、ブロックI
Dを含む192バイトのデータ列に対して12バイトの
インナーパリティが生成され、このインナーパリティが
データ列に付加される。
FIG. 6 is a schematic diagram showing the ECC block. One ECC block is assigned user data of 77 × 190 bytes, and a 27-byte outer parity is generated for a 77-byte data string, and this outer parity is added to the data string. After an additional 2 × 104 byte block ID is added,
Block I in the direction orthogonal to the outer parity
A 12-byte inner parity is generated for a 192-byte data string including D, and the inner parity is added to the data string.

【0038】これによりECCブロックは、積符号形式
の誤り訂正符号が付加され、さらに4×104バイトの
同期パターンSYNCが付加されて形成される。なおこ
こでブロックIDは、ECCブロックの識別用IDであ
り、同期パターンSYNCは、ECCブロックの開始を
示す特定のパターンである。
As a result, the ECC block is formed by adding an error correction code in a product code format and further adding a 4 × 104 byte synchronization pattern SYNC. Here, the block ID is an identification ID of the ECC block, and the synchronization pattern SYNC is a specific pattern indicating the start of the ECC block.

【0039】これらによりテープストリーマ3では、7
7×190バイトのユーザーデータ等が割り当てられて
1つのECCブロックが形成され、さらに8個のECC
ブロックが1つのトラックセットに割り当てられること
により、結果的には、1つのトラックセットに1170
40バイトのユーザーデータ等を割り当てることができ
るようになされている。
Thus, in the tape streamer 3, 7
One ECC block is formed by allocating 7 × 190 bytes of user data and the like, and eight ECC blocks are further formed.
The assignment of blocks to one track set results in 1170 in one track set.
40 bytes of user data and the like can be assigned.

【0040】図7は、この1つのユーザートラックセッ
トに割り当てる117040バイトのデータ構成を示す
略線図である。1つのトラックセットは、先頭に4バイ
トによるフォーマットIDが配置される。ここでフォー
マットIDは、フォーマット識別用のIDであり、この
実施の形態では4トラックによるトラックセットでユー
ザーデータを記録したことを示す値FFFF0000h
の値が記述される。
FIG. 7 is a schematic diagram showing the data structure of 117040 bytes allocated to this one user track set. One track set has a format ID of 4 bytes at the beginning. Here, the format ID is an ID for format identification, and in this embodiment, a value FFFF0000h indicating that user data is recorded in a track set of four tracks.
Is described.

【0041】さらに続く136バイトにサブコードが割
り当てられ、後述するVSIT、VIT、BST等のテ
ーブル、ユーザーデータトラックセット、テープマーク
トラックセットの識別データ、論理トラックセットID
等が割り当てられてトラックセットの管理用のデータ、
論理トラックセットID等が記録される。
Subcodes are assigned to the following 136 bytes, tables such as VSIT, VIT, and BST to be described later, user data track sets, identification data of tape mark track sets, and logical track set IDs.
Etc. are assigned data for track set management,
A logical track set ID and the like are recorded.

【0042】さらに続く116884バイトからブロッ
ク管理テーブルのデータ長を除いたバイト数がユーザー
データ等の記録に割り当てられる。なおこの領域にユー
ザーデータを割り当てる場合に、ユーザーデータにより
満たすことができない場合、ダミーデータが割り当てら
れる。
The number of bytes obtained by subtracting the data length of the block management table from the subsequent 116884 bytes is allocated to recording of user data and the like. When assigning user data to this area, if the area cannot be filled with user data, dummy data is assigned.

【0043】ブロック管理テーブルは、最大4096バ
イトに設定される。ここでテープストリーマ3は、トラ
ックセットの集合によるブロックを単位にして記録再生
できるように構成され、ブロック管理テーブルは、これ
らブロックの管理に使用するテーブルが記録される。さ
らにトラックセットは、続く12バイトが予約に割り当
てられ、残り4バイトが1つのトラックセットの終了を
示すEOD(End Of Data )に割り当てられるようにな
されている。
The block management table is set to a maximum of 4096 bytes. Here, the tape streamer 3 is configured to be able to record and reproduce data in units of blocks of a set of track sets, and the block management table records a table used for managing these blocks. Further, in the track set, the next 12 bytes are allocated to reservation, and the remaining 4 bytes are allocated to EOD (End Of Data) indicating the end of one track set.

【0044】テープストリーマ3は、このようにしてト
ラックセットを基本の単位としてユーザーデータを記録
し、また各種管理用のデータを記録する。
The tape streamer 3 records user data using a track set as a basic unit in this way, and records various management data.

【0045】図8は、磁気テープ10の全体のレイアウ
トを示す略線図である。磁気テープ10は、リールに接
続されるリーダテープを除いた物理的な磁気テープ10
の始端PBOT(Physical Beginning Of Tape)より所
定距離だけ磁気テープ10を走行させた側に記録開始位
置LBOT(Logical Beginning Of Tape )が設定さ
れ、また同様の物理的な終端PEOT(Physical End O
f Tape)より磁気テープ10の走査開始端側に記録終了
位置LEOT(Logical End Of Tape )が設定される。
磁気テープ10は、これら記録開始位置LBOT及び記
録終了位置LEOT間に種々のデータが記録され、これ
によりリーダテープ近傍の比較的エラーレートの劣化し
易い領域を避けて使用されるようになされている。磁気
テープ10は、これら記録開始位置LBOT及び記録終
了位置LEOTの間が、1つの物理ボリュームを形成す
る。
FIG. 8 is a schematic diagram showing the overall layout of the magnetic tape 10. The magnetic tape 10 is a physical magnetic tape 10 excluding a leader tape connected to a reel.
A recording start position LBOT (Logical Beginning Of Tape) is set on the side on which the magnetic tape 10 has traveled a predetermined distance from the beginning PBOT (Physical Beginning Of Tape), and a similar physical end PEOT (Physical End Of Tape).
f Tape), a recording end position LEOT (Logical End Of Tape) is set on the scanning start end side of the magnetic tape 10.
Various data are recorded on the magnetic tape 10 between the recording start position LBOT and the recording end position LEOT, so that the magnetic tape 10 is used in a region near the leader tape where the error rate is relatively easy to deteriorate. . The magnetic tape 10 forms one physical volume between the recording start position LBOT and the recording end position LEOT.

【0046】磁気テープ10は、記録開始位置LBOT
より所定距離だけランアップエリアが形成され、このラ
ンアップエリアにて磁気テープ走行系をサーボロックで
きるようになされている。このため磁気テープ10は、
このランアップエリアより順次斜めトラックが形成され
る。
The magnetic tape 10 has a recording start position LBOT
A run-up area is formed for a predetermined distance, and the magnetic tape running system can be servo-locked in the run-up area. Therefore, the magnetic tape 10
Oblique tracks are sequentially formed from this run-up area.

【0047】磁気テープ10は、このランアップエリア
の続いてVSIT(Volume Set table)が記録され、こ
のVSITを記録する先頭の物理トラックセットIDが
0IDに設定される。ここでVSITは、記録開始位置
LBOT及び記録終了位置LEOTの間の論理ボリュー
ムを管理する種々のデータが記録される。すなわちVS
ITは、この磁気テープのボリューム名、磁気テープに
記録されたファイル名、各ファイルに割り当てられたV
ITの物理トラックセットID等が記録され、これによ
りテープストリーマ3では、このVSITをアクセスし
て磁気テープ10を判別できるようになされ、さらに磁
気テープ10に記録された各ファイル、各ファイルの記
録位置等を確認できるようになされている。ここでVS
ITは、1つが1トラックセット(1ID)により形成
され、同一の内容が10回、繰り返し記録されて高い信
頼性を確保できるようになされている。
On the magnetic tape 10, a VSIT (Volume Set Table) is recorded following the run-up area, and the first physical track set ID for recording the VSIT is set to 0ID. Here, in the VSIT, various data for managing the logical volume between the recording start position LBOT and the recording end position LEOT are recorded. That is, VS
IT is the volume name of this magnetic tape, the file name recorded on the magnetic tape, and the V assigned to each file.
The physical track set ID and the like of the IT are recorded, so that the tape streamer 3 can access the VSIT so that the magnetic tape 10 can be identified. Further, each file recorded on the magnetic tape 10 and the recording position of each file are recorded. And so on. Where VS
One IT is formed by one track set (1 ID), and the same content is repeatedly recorded ten times to ensure high reliability.

【0048】また磁気テープ10は、このVSITの記
録領域に続いて、90ID分、VSITのリトライエリ
アが形成され、これにより必要に応じてこのリトライエ
リアにVSITを記録し直してリカバーの処理等を実行
できるようになされている。
On the magnetic tape 10, a VSIT retry area for 90 IDs is formed following the VSIT recording area. As a result, if necessary, the VSIT is re-recorded in the retry area to perform a recovery process or the like. It has been made executable.

【0049】さらに磁気テープ10は、続いて位置余裕
バンドが所定ID分形成され、これによりVSITを更
新した場合でも、続く領域の記録済みのデータに何ら影
響を与えないようになされている。磁気テープ10は、
この位置余裕バンドから記録終了位置LEOTの間が論
理ボリュームのエリアに割り当てられる。
Further, the magnetic tape 10 is formed such that a position margin band is subsequently formed for a predetermined ID, so that even if the VSIT is updated, the recorded data in the subsequent area is not affected at all. The magnetic tape 10
The area between the position margin band and the recording end position LEOT is allocated to the area of the logical volume.

【0050】図9は、この論理ボリュームエリアに割り
当てられる論理ボリュームを示す略線図である。磁気テ
ープ10においては、ファイルのデリミタコードである
テープマークTMを間に挟んで、ファイル単位でデータ
が記録され(図9(A))、各ファイルは、ブロックに
より構成されるようになされている(図9(B)及び
(C))。
FIG. 9 is a schematic diagram showing logical volumes assigned to this logical volume area. In the magnetic tape 10, data is recorded in file units with a tape mark TM being a file delimiter code interposed therebetween (FIG. 9A), and each file is configured by blocks. (FIGS. 9 (B) and (C)).

【0051】テープストリーマ3では、この1つのファ
イルにDIT(Directory Information Table )及びE
OD(End Of Data )を含む単位が1つの論理ボリュー
ムを構成する。ここでDITは、DITが割り当てられ
てなる1つの論理ボリュームを管理するテーブルであ
り、1つの長さが40IDにより形成される。DIT
は、図9(D)により示すように、この40IDによる
同一の内容が繰り返し7回記録され、これにより高い信
頼性を確保できるようになされている。
In the tape streamer 3, the DIT (Directory Information Table) and E
A unit including an OD (End Of Data) constitutes one logical volume. Here, the DIT is a table for managing one logical volume to which the DIT is allocated, and one length is formed by 40 IDs. DIT
As shown in FIG. 9 (D), the same content by this 40 ID is repeatedly recorded seven times, so that high reliability can be ensured.

【0052】なお各DITは、それぞれ図8において上
述したランアップエリアが先頭に割り当てられ、これに
よりサーボ系をロックできるようになされている。また
続いて後ろ側に位置余裕バンドが配置され、これにより
VSITと同様に、更新した場合でも、続く領域の記録
済みのデータに何ら影響を与えないようになされてい
る。
Each of the DITs is assigned the run-up area described above with reference to FIG. 8, so that the servo system can be locked. Subsequently, a position margin band is arranged on the rear side so that, similarly to the VSIT, even if updated, the recorded data in the subsequent area is not affected at all.

【0053】DITは、図9(E)に示すように、1I
DによるVIT(Volume Information Table)、1ID
によるBST(Bad Spot Table)、1IDによるLID
T(Logical ID Table)、20IDによるFIT(File
Information Table)、1IDによるUIT(User Inf
ormation Table)が設定されるようになされている。な
おDITは、残り16ID分がリザーブに設定されるよ
うになされている。
DIT, as shown in FIG.
VIT (Volume Information Table) by D, 1ID
(Bad Spot Table) by LID, LID by 1ID
T (Logical ID Table), FIT by 20 ID (File
Information Table), 1ID UIT (User Inf)
ormation Table) is set. The DIT is set so that the remaining 16 IDs are reserved.

【0054】ここでVITは、その物理トラックセット
IDがVSITに記録され、これによりVSITの記録
を基準にしてこのVITをアクセスできるようになさ
れ、さらにはDIT全体をアクセスできるようになされ
ている。なおVITは、物理トラックセットIDと一致
するように論理トラックセットIDが設定される。VI
Tは、このDITが割り当てられた論理ボリュームのボ
リュームラベル、ユーザートラックセットの最初の物理
トラックセットID、最後の物理トラックセットIDが
割り当てられる。
In the VIT, the physical track set ID is recorded in the VSIT, whereby the VIT can be accessed with reference to the VSIT recording, and the entire DIT can be accessed. In the VIT, a logical track set ID is set so as to match the physical track set ID. VI
T is assigned the volume label of the logical volume to which the DIT is assigned, the first physical track set ID of the user track set, and the last physical track set ID.

【0055】BSTは、磁気テープ10における傷等に
よりテープストリーマ3により使用困難と設定された領
域(以下バットスポットと呼ぶ)の位置情報が割り当て
られる。すなわちテープストリーマ3においては、記録
時におけるリードアフタライト、リトライの処理によ
り、誤り訂正困難なビット誤りが発生した場合には、こ
の領域以降のデータについては、改めて磁気テープに記
録し直す。テープストリーマ3においては、このように
して改めて磁気テープに記録し直してなるデータに対し
て、このデータを本来記録すべき領域をバッドスポット
と定義する。BSTは、このようなバッドスポットの開
始端の物理トラックセットID、終了端の物理トラック
セットIDが記録される。
The BST is assigned position information of an area (hereinafter referred to as a bat spot) set to be unusable by the tape streamer 3 due to a scratch or the like on the magnetic tape 10. That is, in the tape streamer 3, when a bit error that is difficult to correct is generated by the read-after-write and retry processing at the time of recording, the data after this area is recorded again on the magnetic tape. In the tape streamer 3, for data newly recorded on the magnetic tape in this manner, an area where this data should be originally recorded is defined as a bad spot. In the BST, the physical track set ID at the start end and the physical track set ID at the end of such a bad spot are recorded.

【0056】LIDT(Logical ID Table)は、ブロッ
ク毎の高速検索に使用され、200論理トラックセット
ID毎に、ファイル番号、物理トラックセットID、ブ
ロック番号のデータが記録される。これによりテープス
トリーマ3では、アクセス対象であるブロックの位置を
大まかに検出して高速度で頭出しできるようになされて
いる。
The LIDT (Logical ID Table) is used for high-speed retrieval for each block, and data of a file number, a physical track set ID, and a block number is recorded for every 200 logical track set IDs. As a result, the tape streamer 3 can roughly detect the position of the block to be accessed and search for the head at a high speed.

【0057】FITは、テープマークの物理トラックセ
ットIDと各ブロックのブロック番号を記録して形成さ
れる。UTは、ボリュームが更新されたか否かを示す情
報であり、更新の有無を示すステータスデータが、更新
前はFFFFFFFFhとされ、更新後は000000
00hとされる。
The FIT is formed by recording a physical track set ID of a tape mark and a block number of each block. The UT is information indicating whether or not the volume has been updated. Status data indicating whether or not the volume has been updated is set to FFFFFFFFh before updating and 000000 after updating.
00h.

【0058】(1−2−1)テープストリーマの概略構
成 図10は、このようなフォーマットに係るテープストリ
ーマ3を示すブロック図である。テープストリーマ3に
おいて、SCSIインターフェース(SCSIIF)2
1は、SCSIインターフェースによりCPUユニット
5に接続され、またCPUユニットを使用しない場合に
は、直接ホストコンピュータに接続される。SCSIイ
ンターフェース21は、記録に供するユーザーデータを
入力してメモリコントローラ22に出力し、またメモリ
コントローラ22から出力される再生されたデータをホ
ストコンピュータに向けて出力する。またSCSIイン
ターフェース21は、CPUユニット5、ホストコンピ
ュータ8からのコマンドをメモリコントローラ22を介
してメインCPU部23に通知する。またこれとは逆に
メインCPUから出力されるステータス等をメモリコン
トローラ22を介して受け、このステータス等をホスト
コンピュータ8、CPUユニット5に出力する。
(1-2-1) Schematic Configuration of Tape Streamer FIG. 10 is a block diagram showing a tape streamer 3 according to such a format. In the tape streamer 3, the SCSI interface (SCSIIF) 2
1 is connected to the CPU unit 5 by a SCSI interface, and is directly connected to the host computer when the CPU unit is not used. The SCSI interface 21 inputs user data to be recorded and outputs it to the memory controller 22, and outputs reproduced data output from the memory controller 22 to the host computer. Further, the SCSI interface 21 notifies a command from the CPU unit 5 and the host computer 8 to the main CPU unit 23 via the memory controller 22. Conversely, it receives status and the like output from the main CPU via the memory controller 22 and outputs this status and the like to the host computer 8 and the CPU unit 5.

【0059】メモリコントローラ22は、SCSIイン
ターフェース21を介して入力されるユーザーデータを
バッファメモリ24に一時保持し、さらにこのバッファ
メモリ24に保持したデータを続くECCエンコーダ
(ECCENC)25の処理に応じたタイミングにより
出力する。なおメモリコントローラ22は、ブロック管
理テーブルのデータ、上述したDIT等ついては、メイ
ンCPU部23から対応するデータを入力してバッファ
メモリ24に一時保持し、ECCエンコーダ25に出力
する。またこれとは逆に再生時、メモリコントローラ2
2は、ECCデコーダ26の処理に同期したタイミング
により、これらECCデコーダ(ECCDEC)26よ
り出力されるユーザーデータ等をバッファメモリ24に
一時保持し、さらにこの保持したユーザーデータをSC
SIインターフェース21に出力する。また上述したD
IT等にあっては、ECCデコーダ26より出力される
データをメインCPU部23に出力する。またユーザー
データと共に入力されるエラー検出結果については、メ
インCPU部23のアクセスによりこのメインCPU部
23に通知する。
The memory controller 22 temporarily stores the user data input via the SCSI interface 21 in the buffer memory 24, and further stores the data stored in the buffer memory 24 in accordance with the processing of the subsequent ECC encoder (ECCENC) 25. Output according to timing. The memory controller 22 inputs the data of the block management table, the above-mentioned DIT, and the like corresponding data from the main CPU unit 23, temporarily stores the data in the buffer memory 24, and outputs the data to the ECC encoder 25. Conversely, during playback, the memory controller 2
2 temporarily stores the user data output from the ECC decoder (ECCDEC) 26 in the buffer memory 24 at a timing synchronized with the processing of the ECC decoder 26, and further stores the stored user data in the SC
Output to SI interface 21. In addition, D
In the case of IT or the like, data output from the ECC decoder 26 is output to the main CPU unit 23. The error detection result input together with the user data is notified to the main CPU unit 23 by accessing the main CPU unit 23.

【0060】なおバッファメモリ24は、上述した所定
個数のトラックセットに対応する容量を単位としたバン
ク構造により順次入力されるユーザーデータを処理し、
これによりバンクメモリを構成するようになされてい
る。これによりこのテープストリーマ3では、バッファ
メモリ24に構成される1つのバンクを処理の単位とし
て、記録再生の処理を実行し、さらにはリトライの処理
を実行するようになされている。これによりトラックセ
ットにおいては、1つのバンクに満たないデータ量によ
りユーザーデータを記録する場合には、ユーザーデータ
に代えてダーミーデータが記録されたダーミートラック
セットが形成されることになる。
The buffer memory 24 processes user data sequentially input in a bank structure in units of capacity corresponding to the above-mentioned predetermined number of track sets.
This constitutes a bank memory. As a result, in the tape streamer 3, the recording / reproducing process is executed and the retry process is executed using one bank configured in the buffer memory 24 as a processing unit. As a result, in a track set, when user data is recorded with a data amount less than one bank, a dermy track set in which dermy data is recorded instead of the user data is formed.

【0061】ECCエンコーダ25は、メモリコントロ
ーラ22より出力されるデータに誤り訂正符号を生成し
て付加することにより、また同期パターン等を付加する
ことにより、図6について上述したECCブロックを構
成する。さらにECCエンコーダ25は、このECCブ
ロックによるデータを磁気ヘッドの配置に対応する複数
系統により出力する。さらにこのときECCエンコーダ
25は、所定順序によりこれらのデータを出力し、これ
によりトラック間インターリーブ、ワードインターリー
ブの処理を実行する。
The ECC encoder 25 forms the ECC block described above with reference to FIG. 6 by generating and adding an error correction code to data output from the memory controller 22 and by adding a synchronization pattern and the like. Further, the ECC encoder 25 outputs the data of the ECC block by a plurality of systems corresponding to the arrangement of the magnetic heads. Further, at this time, the ECC encoder 25 outputs these data in a predetermined order, thereby executing inter-track interleaving and word interleaving processing.

【0062】イコライザ28は、記録用ヘッドの配列に
対応する複数系統によりECCエンコーダ25より出力
されるデータをシリアルデータ列に変換し、さらに磁気
テープ10の記録に適した方式により変調する。これに
よりイコライザ28は、記録用ヘッドの駆動に供する駆
動信号を生成し、この駆動信号により回転ドラム29に
搭載された記録用ヘッドを駆動する。
The equalizer 28 converts the data output from the ECC encoder 25 into a serial data string by a plurality of systems corresponding to the arrangement of the recording heads, and further modulates the data by a method suitable for recording on the magnetic tape 10. As a result, the equalizer 28 generates a drive signal for driving the recording head, and drives the recording head mounted on the rotating drum 29 with this drive signal.

【0063】回転ドラム29は、所定系統の記録用ヘッ
ド、この記録用ヘッドの走査軌跡を走査する再生用ヘッ
ドが配置され、サーボ回路31の制御により所定の回転
速度により回転する。これによりテープストリーマ3
は、所定速度により走行する磁気テープ10に順次斜め
トラックを形成し、ユーザーデータ等を記録するように
なされ、また再生用ヘッドにより記録結果をモニタでき
るようになされている。
The rotating drum 29 is provided with a recording head of a predetermined system and a reproducing head for scanning the scanning trajectory of the recording head, and rotates at a predetermined rotation speed under the control of the servo circuit 31. This enables Tape Streamer 3
Are formed so that diagonal tracks are sequentially formed on the magnetic tape 10 running at a predetermined speed to record user data and the like, and that the recording result can be monitored by a reproducing head.

【0064】イコライザ30は、記録時、再生時、回転
ドラム29に搭載された再生用ヘッドより再生信号を受
け、この再生信号を波形等化、復調処理することにより
磁気テープ10に記録されたデータを再生する。
The equalizer 30 receives a reproduction signal from a reproduction head mounted on the rotating drum 29 during recording and reproduction, and performs waveform equalization and demodulation processing on the reproduction signal to thereby record data recorded on the magnetic tape 10. To play.

【0065】ECCデコーダ26は、このイコライザ3
0の出力データを取り込み、記録時に付加した誤り訂正
符号により誤り訂正処理する。さらにECCデコーダ2
6は、このようにして誤り訂正処理して得られるユーザ
ーデータ等を誤り訂正処理結果であるエラー検出結果と
共にメモリコントローラ22に出力する。これによりテ
ープストリーマ3では、磁気テープ10に記録されたデ
ータをバッファメモリ24を介してホストコンピュータ
8に出力し、また必要に応じてVSIT等のデータをメ
インCPU部23で取得できるようになされている。
The ECC decoder 26 uses the equalizer 3
The output data of 0 is fetched, and error correction processing is performed using an error correction code added during recording. ECC decoder 2
6 outputs the user data and the like obtained by the error correction processing to the memory controller 22 together with the error detection result as the error correction processing result. This allows the tape streamer 3 to output data recorded on the magnetic tape 10 to the host computer 8 via the buffer memory 24, and to obtain data such as VSIT by the main CPU 23 as necessary. I have.

【0066】またECCデコーダ26は、このようにし
て得られるエラー検出結果をバッファメモリ24を介し
てメインCPU部23に通知し、これによりメインCP
U部23の制御により必要に応じてリトライ等の処理を
実行できるようになされている。なおECCデコーダ2
6は、ユーザーデータの記録時にあっては、単に誤り検
出の処理を実行し、その結果得られるエラー検出結果を
ユーザーデータ等と共にバッファメモリ24に記録し、
これによりリードアフタライトの処理において記録され
たデータを正しく再生できたか否か判断できるようにす
る。なおECCデコーダ26は、このようなエラー検出
結果を対応するエラーフラグのセットによりバッファメ
モリ24に格納する。
The ECC decoder 26 notifies the error detection result obtained in this way to the main CPU section 23 via the buffer memory 24.
Under the control of the U unit 23, processing such as retry can be executed as needed. ECC decoder 2
6 simply executes an error detection process at the time of recording user data, records the resulting error detection result together with the user data and the like in the buffer memory 24,
This makes it possible to determine whether or not the data recorded in the read-after-write processing has been correctly reproduced. The ECC decoder 26 stores such an error detection result in the buffer memory 24 by setting a corresponding error flag.

【0067】かくするにつきメインCPU部23は、ラ
ンダムアクセスメモリ(RAM)33にワークエリアを
確保して、SCSIインターフェース21を介して入力
されるコマンドに応動して所定の処理手順を実行する中
央処理ユニットを主に構成され、このテープストリーマ
3全体の動作を制御し、また必要に応じてホストコンピ
ュータ8にステータスを通知する。またこの処理におい
て、必要に応じてバッファメモリ24をアクセスして磁
気テープ10より再生したVSIT、DIT等の情報を
取得し、さらにこの情報を基準にして磁気テープ10の
駆動系等の動作を制御する。またユーザーデータを記録
した後においては、対応するDIT、VSITの書き換
えるように、全体の動作を制御する。
In doing so, the main CPU section 23 secures a work area in the random access memory (RAM) 33 and executes a predetermined processing procedure in response to a command input via the SCSI interface 21. The tape streamer 3 is mainly composed of a unit, controls the operation of the entire tape streamer 3, and notifies the host computer 8 of the status as required. In this process, the buffer memory 24 is accessed as necessary to obtain information such as VSIT and DIT reproduced from the magnetic tape 10, and further, based on this information, the operation of the drive system and the like of the magnetic tape 10 is controlled. I do. After recording the user data, the entire operation is controlled so that the corresponding DIT and VSIT are rewritten.

【0068】システムコントローラ(シスコン)34
は、デュアルポートRAM(DP−RAM)35を介し
て実行するメインCPU部23との間のデータ交換によ
り、テープストリーマ3のメカ系の動作を制御する。す
なわちテープストリーマ3において、センサ37は、カ
セット挿入口等に配置され、例えば磁気テープ10をロ
ーディング可能か否か等を検出してサーボ回路31に通
知する。キャプスタンモータ(M)36は、サーボ回路
31の制御により磁気テープ10を走行させる。固定ヘ
ッド38は、磁気テープ10の長手トラック10A及び
10Bを形成し、また長手トラック10A及び10Bの
再生信号をサーボ回路31に出力する。
System Controller (Syscon) 34
Controls the operation of the mechanical system of the tape streamer 3 by exchanging data with the main CPU unit 23 executed via a dual port RAM (DP-RAM) 35. That is, in the tape streamer 3, the sensor 37 is disposed at a cassette insertion port or the like, and detects, for example, whether or not the magnetic tape 10 can be loaded, and notifies the servo circuit 31 of the detection. The capstan motor (M) 36 runs the magnetic tape 10 under the control of the servo circuit 31. The fixed head 38 forms the longitudinal tracks 10A and 10B of the magnetic tape 10 and outputs a reproduction signal of the longitudinal tracks 10A and 10B to the servo circuit 31.

【0069】サーボ回路31は、センサ37によるテー
プカセットの検出結果に基づいて、所定の駆動系を駆動
してテープカセットの装填、排出等の処理を実行し、ま
た磁気テープ10のローディング、アンローディング等
の処理を実行する。またサーボ回路31は、回転ドラム
29を回転駆動し、この回転ドラム29の回転位相を基
準にしたCTLトラック10Aの再生結果の判定によ
り、キャプスタンモータ36の回転速度を制御し、これ
によりトラッキング制御の処理を実行する。なおサーボ
回路31は、再生時にあっては、磁気テープ10の斜め
トラックに割り当てられたトラッキング制御用のパイロ
ット信号を基準にしてこれらトラッキング制御の処理を
実行する。
The servo circuit 31 drives a predetermined drive system based on the detection result of the tape cassette by the sensor 37 to execute processing such as loading and unloading of the tape cassette, and loading and unloading of the magnetic tape 10. And the like. The servo circuit 31 drives the rotary drum 29 to rotate, and controls the rotation speed of the capstan motor 36 based on the determination of the reproduction result of the CTL track 10A based on the rotation phase of the rotary drum 29, thereby performing tracking control. Execute the processing of During reproduction, the servo circuit 31 executes these tracking control processes with reference to a tracking control pilot signal assigned to an oblique track of the magnetic tape 10.

【0070】これに対して磁気テープ10を初期化する
場合、サーボ回路31は、磁気テープ10を所定の走行
速度で走行させた状態で固定ヘッド38を駆動すること
により、磁気テープ10に長手トラック10A及び10
Bを形成する。またサーボ回路31は、固定ヘッド38
より得られる再生信号を処理して、管理用データを再生
し、この管理用データをシステムコントローラ34に出
力する。なおこの管理用データに割り当てられたタイム
コードについては、タイムコードレコーダ(TCR)4
0に出力する。
On the other hand, when the magnetic tape 10 is initialized, the servo circuit 31 drives the fixed head 38 while the magnetic tape 10 is running at a predetermined running speed, so that the magnetic tape 10 10A and 10
Form B. The servo circuit 31 includes a fixed head 38
The obtained reproduction signal is processed to reproduce the management data, and the management data is output to the system controller 34. The time code assigned to the management data is obtained from a time code recorder (TCR) 4.
Output to 0.

【0071】タイムコードレコーダ40は、この初期化
の処理において、順次タイムコードを生成してサーボ回
路31に出力し、サーボ回路31は、このタイムコード
により、またシステムコントローラ34より出力される
各種データにより管理用データを生成して固定ヘッド3
8を駆動する。これに対して記録時、再生時、サーボ回
路31より得られるタイムコードをトラックセットID
に変換して出力する。
In this initialization process, the time code recorder 40 sequentially generates a time code and outputs it to the servo circuit 31. The servo circuit 31 uses the time code and various data output from the system controller 34. The management data is generated by the fixed head 3
8 is driven. On the other hand, at the time of recording and reproduction, the time code obtained from the servo circuit 31 is replaced with the track set ID.
And output.

【0072】システムコントローラ34は、このサーボ
回路31の動作を制御する他に、メインCPU部23を
介してタイムコードレコーダ40から出力されるトラッ
クセットIDをECCエンコーダ25等に出力する。
The system controller 34 controls the operation of the servo circuit 31 and also outputs the track set ID output from the time code recorder 40 via the main CPU 23 to the ECC encoder 25 and the like.

【0073】インターフェースCPU(IFCPU)4
1は、DP−RAM42を介してメインCPU部23と
の間でデータ交換し、これにより棚6A、エレベータ6
Bにおいてテープカセットの情報を取得できるようにな
され、さらには他のコンピュータシステムとデータ通信
できるようになされている。
Interface CPU (IFCPU) 4
1 exchanges data with the main CPU unit 23 via the DP-RAM 42, thereby the shelf 6A, the elevator 6
In B, information on the tape cassette can be obtained, and further, data communication with another computer system is possible.

【0074】すなわちテープストリーマ3において、棚
6A等に配置されたリーダライタは、アンテナ(AN
T)44からテープカセット45の背面に配置されたI
Cタグ46に電波を送信し、この電波によりICタグ4
6から応答が得られると、このICタグとの間でテープ
カセット45に関する種々の情報を送受する。
That is, in the tape streamer 3, the reader / writer arranged on the shelf 6A or the like uses the antenna (AN
T) 44 to I located on the back of the tape cassette 45
A radio wave is transmitted to the C tag 46, and this radio wave
When a response is obtained from the IC tag 6, various information relating to the tape cassette 45 is transmitted to and received from the IC tag.

【0075】ディスプレイCPU49は、メモリラベル
インターフェース47を介してこのICタグの間で送受
するデータをインターフェースCPU41との間で入出
力する。またディスプレイCPU49は、インターフェ
ースCPU41を介して入力されるデータに応じて所定
の表示画面に種々のデータを表示する。なおこの表示と
しては、テープストリーマ3に装填されたテープカセッ
トの情報の表示等である。
The display CPU 49 inputs and outputs data transmitted and received between the IC tags via the memory label interface 47 to and from the interface CPU 41. The display CPU 49 displays various data on a predetermined display screen according to data input via the interface CPU 41. This display is, for example, display of information on a tape cassette loaded in the tape streamer 3.

【0076】SIO50は、たとえばRS−232C、
RS−422等のシリアルインターフェースであり、メ
ンテナンス用の情報を外部機器との間で送受する。イー
サIOは、イーサネット(登録商標)のインターフェー
スであり、所定のネットワークに接続して種々の情報を
送受できるようになされている。
The SIO 50 is, for example, RS-232C,
It is a serial interface such as RS-422, and transmits and receives maintenance information to and from external devices. The Ethernet IO is an Ethernet (registered trademark) interface, and is connected to a predetermined network so that various information can be transmitted and received.

【0077】(1−2−1)バッドスポット検出処理 図11は、図7との対比によりバッドスポットの処理に
係る構成を詳細に示す図表である。この実施の形態にお
いて、各トラックセットは、サブコードデータに誤り訂
正符号CRC(Cyclic Redundancy Check )が付加され
て記録され、これにより誤り訂正困難なビットエラーが
ユーザーデータに発生した場合でも、サブコードデータ
については、正しく再生できるようになされている。
(1-2-1) Bad Spot Detection Processing FIG. 11 is a table showing in detail the configuration relating to the processing of bad spots in comparison with FIG. In this embodiment, each track set is recorded with an error correction code CRC (Cyclic Redundancy Check) added to the subcode data, so that even if a bit error that is difficult to correct is generated in the user data, the subcode data is recorded. The data can be correctly reproduced.

【0078】さらに図12に示すように、各トラックセ
ットは、上述した論理トラックセットID等に加えて、
バッドスポットID数(BSID数)、ID番号(ID
番号)のデータ、バンクIDがサブコードデータに設定
される。
Further, as shown in FIG. 12, each track set includes, in addition to the above-described logical track set ID and the like,
Bad spot ID number (BSID number), ID number (ID
No.) data and bank ID are set in the subcode data.

【0079】ここでバッドスポットID数は、所定の位
置を基準にして直前のバッドスポットに係るトラックセ
ット数を示すデータであり、この実施の形態では、この
リトライの開始位置を基準にしてこのリトライされたバ
ンクについてのみ有為な数値が設定され、リトライされ
ていないバンクにおいては値0に設定される。これによ
りバッドスポットID数は、各バンクにおいて、直前の
バッドスポットに係るトラックセット数を示すことにな
る。
Here, the number of bad spot IDs is data indicating the number of track sets related to the immediately preceding bad spot with reference to a predetermined position. In this embodiment, the number of bad spot IDs is determined based on the start position of the retry. A significant value is set only for the bank that has been retried, and the value is set to 0 for a bank that has not been retried. Thus, the number of bad spot IDs indicates the number of track sets related to the immediately preceding bad spot in each bank.

【0080】これに対してID番号は、1つのバンクの
構成するトラックセットの数を示し、バンクIDは、各
バンクにおけるトラックセットの順番を示す。これによ
りこの実施の形態では、このバンクIDにより各バンク
で1つでもサブコードが正しく再生されると、このトラ
ックセットの属するバンクの先頭トラックセットを検出
できるようになされている。またこの正しく再生された
トラックセットがバッドスポット直後のバンクに属する
ものの場合、バッドスポットID数に基づいて、このバ
ンクの先頭トラックセットからバッドスポットのトラッ
クセットを検出できるようになされている。
On the other hand, the ID number indicates the number of track sets included in one bank, and the bank ID indicates the order of the track sets in each bank. Thus, in this embodiment, if at least one subcode is correctly reproduced in each bank by the bank ID, the head track set of the bank to which this track set belongs can be detected. When the correctly reproduced track set belongs to the bank immediately after the bad spot, the track set of the bad spot can be detected from the head track set of the bank based on the number of bad spot IDs.

【0081】これにより図12に示す例においては、論
理ID00〜07のトラックセットによるバンクについ
ては正しく再生でき、この場合、各トラックセットのバ
ッドスポットID数に値00、ID番号に値8が設定さ
れ、さらに論理ID00〜07のトラックセットに値0
〜値7のバンクIDが順次設定されることになる。また
続く論理ID08〜15のトラックセットによるバンク
については、各トラックセットのバッドスポットID
数、ID番号が、値00、値8にそれぞれ設定され、さ
らに論理ID08〜15のトラックセットに値0〜値7
のバンクIDが順次設定されることになる。このときこ
の論理ID08〜15のトラックセットに誤り訂正困難
なビットエラーが発生した場合、この論理ID08〜1
5のトラックセットがバッドスポットに設定されて、リ
トライの処理によりこれらのトラックセットが再び記録
され、この再び記録されるトラックセットにおいては、
バッドスポットID数が直前のバッドスポットに係るト
ラックセット数である値8に設定される。またこの再び
記録したトラックセットに誤り訂正困難なビットエラー
が発生した場合、さらなるリトライの処理によりこの再
び記録した論理ID08〜15のトラックセットが再度
バッドスポットに設定されて再び記録され、この再び記
録されるトラックセットにおいては、バッドスポットI
D数が直前のバッドスポットに係るトラックセット数で
ある値16に設定される。さらにこのようにして論理I
D08〜15のトラックセットを繰り返し記録して正し
く記録を完了すると、続く論理ID16〜23のトラッ
クセットによるバンクについては、各トラックセットの
バッドスポットID数、ID番号が、値00、値8にそ
れぞれ設定されることになる。
Thus, in the example shown in FIG. 12, the bank by the track sets of the logical IDs 00 to 07 can be correctly reproduced. In this case, the value 00 is set to the number of bad spot IDs and the value 8 is set to the ID number of each track set. In addition, the value 0 is added to the track set of the logical IDs 00 to 07.
The bank IDs of value to 7 are sequentially set. For the banks by the track sets of the following logical IDs 08 to 15, the bad spot ID of each track set is used.
The number and the ID number are set to the value 00 and the value 8, respectively.
Are sequentially set. At this time, if a bit error for which error correction is difficult occurs in the track set of the logical IDs 08 to 15, the logical IDs 08 to 1 are set.
Track set No. 5 is set as a bad spot, these track sets are recorded again by the retry process, and in this re-recorded track set,
The number of bad spot IDs is set to a value of 8, which is the number of track sets related to the immediately preceding bad spot. If a bit error that is difficult to correct is generated in the re-recorded track set, the re-recorded track set of the logical IDs 08 to 15 is set as a bad spot again and recorded again. Track set, the bad spot I
The number D is set to a value 16, which is the number of track sets related to the immediately preceding bad spot. Further, the logic I
When the recording is completed correctly by repeatedly recording the track sets D08 to D15, the number of bad spot IDs and ID numbers of the track sets of the subsequent logical set 16 to 23 are set to 00 and 8, respectively. Will be set.

【0082】メインCPU23は、このようにしてセッ
トしたサブコードを基準にしてバッドスポットを検出す
る。さらにこのバッドスポット検出結果により必要に応
じてリカバリーの処理を実行し、この処理においてこの
ようにしてセットしたサブコードを基準にしてバッドス
ポットを検出する。
The main CPU 23 detects a bad spot on the basis of the subcode set in this way. Further, a recovery process is executed as necessary based on the bad spot detection result, and in this process, a bad spot is detected based on the subcode thus set.

【0083】すなわちメインCPU23は、CPUユニ
ット5、ホストコンピュータ等の指示により磁気テープ
10へのアクセスを開始する場合、シスコン34を介し
てサーボ回路37の動作を制御することにより、磁気テ
ープ10をローディングし、VSITを事前に再生して
取得する。さらにこのVSITに従ってホストコンピュ
ータ8により指示されたファイルをアクセス可能に磁気
テープ10を走行させる。
That is, when starting access to the magnetic tape 10 according to an instruction from the CPU unit 5, the host computer, or the like, the main CPU 23 controls the operation of the servo circuit 37 via the system controller 34 to load the magnetic tape 10. Then, the VSIT is reproduced and acquired in advance. Further, the magnetic tape 10 is run so that the file specified by the host computer 8 can be accessed according to the VSIT.

【0084】すなわち磁気テープ10に初めてのファイ
ルを記録する場合には、VSITから所定の間隔を開け
てDITを記録し、続いてホストコンピュータ8より出
力されるデータを順次磁気テープ10に記録する。また
以前に記録したファイルに追記する場合、VSITの記
録を基準にして対応するファイルのDITを再生し、こ
のDITより最後のブロックの終了端を検出し、この終
了端より順次ホストコンピュータ8より入力されるデー
タを記録する。さらに記録の後においては、DIT等を
記録する。またホストコンピュータ8よりデータの再生
が指示された場合、対応するファイルの位置をVSIT
より検出してDITをアクセスし、このDITの記録に
従って磁気テープ10に記録されたデータを再生する。
That is, when the first file is recorded on the magnetic tape 10, the DIT is recorded at a predetermined interval from the VSIT, and then the data output from the host computer 8 is sequentially recorded on the magnetic tape 10. In addition, when appending to a previously recorded file, the DIT of the corresponding file is reproduced with reference to the VSIT recording, the end of the last block is detected from this DIT, and input from the host computer 8 is sequentially performed from this end. Record the data to be recorded. Further, after recording, DIT or the like is recorded. When data reproduction is instructed from the host computer 8, the position of the corresponding file is set to VSIT.
Then, the DIT is accessed and the data recorded on the magnetic tape 10 is reproduced according to the recording of the DIT.

【0085】このような一連の処理において、メインC
PU23は、記録時、DITに記録されたBST(図
9)に従ってバッドスポットについては記録しないよう
に、シスコン34の制御によりメインコントローラ22
の動作を制御する。これに対して再生時においては、メ
インCPU23は、順次磁気テープ10を再生し、BS
Tに従ってバッドスポットから得られるユーザーデータ
についてはホストコンピュータに送出しないようにし、
これによりバッドスポットを除くデータエリアから得ら
れるユーザーデータをホストコンピュータに選択的に出
力する。この再生の処理において、メインCPU23
は、図12について上述したバッドスポットID数等を
基準にしてバッドスポットを別途検出し、このバッドス
ポットの検出結果とBSTとの間に相違が検出される
と、この場合、この該当するファイルの記録時、バッド
スポットの記録であるBSTの更新が何らかの理由で完
了しないうちに動作が終了したと考えられることによ
り、リカバリーが必要である旨、ホストコンピュータに
通知する。なおメインCPU23は、このバッドスポッ
トを記録したBST以外についても、DITを構成する
FIT、LIOT等が再生結果と相違する場合、リカバ
リーが必要である旨、ホストコンピュータに通知する。
In such a series of processing, the main C
At the time of recording, the PU 23 controls the system controller 34 so that the bad spot is not recorded in accordance with the BST recorded in the DIT (FIG. 9).
Control the operation of. On the other hand, at the time of reproduction, the main CPU 23 sequentially reproduces the magnetic tape 10 and
According to T, the user data obtained from the bad spot is not sent to the host computer,
Thereby, the user data obtained from the data area excluding the bad spot is selectively output to the host computer. In this reproduction process, the main CPU 23
Detects a bad spot separately based on the number of bad spot IDs described above with reference to FIG. 12, and if a difference is detected between the detection result of the bad spot and the BST, in this case, At the time of recording, the host computer is notified that the recovery is necessary because it is considered that the operation has been completed before the update of the BST which is the recording of the bad spot is not completed for some reason. The main CPU 23 notifies the host computer that recovery is necessary when the FIT, LIOT, and the like constituting the DIT are different from the reproduction result other than the BST in which the bad spot is recorded.

【0086】図13は、図8との対比によりDITのリ
カバリー処理の説明に供する略線図である。すなわちメ
インCPU23は、リカバリー処理のコマンドがホスト
装置より入力されると、このコマンドに付加されたリカ
バリー処理のモードを検出する。ここでこのモードがB
ST、FIT、LIOT等のDITを構成するデータの
再構築を指示するものの場合、メインCPU23は、必
要に応じて物理的な磁気テープ10の始端PBOTまで
磁気テープ10を巻き戻しした後、早送り再生によりV
SITを頭出しする。さらに矢印Aにより示すように、
VSITを再生し、このVSITより再構築に係るDI
Tについて、対応するユーザーデータであるファイルの
位置を検出する。
FIG. 13 is a schematic diagram for explaining the DIT recovery process in comparison with FIG. That is, when a recovery processing command is input from the host device, the main CPU 23 detects the mode of the recovery processing added to the command. Here this mode is B
In the case of instructing restructuring of data constituting DIT such as ST, FIT, LIOT, etc., the main CPU 23 rewinds the magnetic tape 10 to the starting end PBOT of the physical magnetic tape 10 as necessary, and then performs fast-forward playback. By V
Find the SIT. Further, as indicated by arrow A,
Regenerate VSIT and use this VSIT to rebuild DI
For T, the position of the file that is the corresponding user data is detected.

【0087】このようにして処理対象のファイル位置が
検出されると、メインCPU23は、同様の早送りによ
り対応するファイルの記録開始位置BODまで磁気テー
プ10を走行させた後、矢印Bにより示すように、この
ファイルを再生する。メインCPU23は、この再生の
際に、処理モードに係るDITファイルのパラメータを
構築し、このファイルのEODが検出されると、このフ
ァイルに対応するDITを頭出しする。メインCPU2
3は、矢印Cにより示すように、再生の処理により取得
した各種パラメータによりDITを記録し直し、これに
よりDITを再構築する。メインCPU23は、DIT
の再構築を終了すると、必要に応じて磁気テープを巻き
戻してこの処理を終了する。
When the position of the file to be processed is detected in this way, the main CPU 23 moves the magnetic tape 10 to the recording start position BOD of the corresponding file by the same fast-forward, and then, as indicated by the arrow B, Play this file. At the time of this reproduction, the main CPU 23 constructs the parameters of the DIT file relating to the processing mode, and when the EOD of this file is detected, finds the DIT corresponding to this file. Main CPU2
3 re-records the DIT according to various parameters acquired by the reproduction process, as indicated by the arrow C, thereby reconstructing the DIT. The main CPU 23 has a DIT
Is completed, the magnetic tape is rewound if necessary, and the process is terminated.

【0088】メインCPU23は、BSTの記録と再生
により検出されたバッドスポットとの相違によるリカバ
リー処理の場合、対応するファイルを再生する際に、所
定のバッドスポット検出処理を実行し、これによりバッ
ドスポットの論理IDを検出する。さらにこの検出した
論理IDによりBSTを構築し直してDITを再構築す
る。
In the case of a recovery process due to a difference between a bad spot detected by recording and reproduction of BST, the main CPU 23 executes a predetermined bad spot detection process when reproducing a corresponding file, thereby executing a bad spot. Is detected. Further, the BST is reconstructed based on the detected logical ID, and the DIT is reconstructed.

【0089】図14は、このリカバリーの処理における
バッドスポット(BS)検出処理を示すフローチャート
である。メインCPU23は、各トラックセット毎にこ
の処理手順を実行する。すなわちメインCPU23は、
1つのトラックセットを再生すると、ステップSP1か
らステップSP2に移り、この再生したトラックセット
を既にデータエリアに仮設定しているか否か判断する。
ここで否定結果が得られると、メインCPU23は、ス
テップSP3に移り、誤り訂正困難なビット誤りが発生
することなく、このトラックセットを正しく再生できた
か否か判断する。
FIG. 14 is a flowchart showing a bad spot (BS) detection process in the recovery process. The main CPU 23 executes this processing procedure for each track set. That is, the main CPU 23
When one track set is reproduced, the process proceeds from step SP1 to step SP2, and it is determined whether or not the reproduced track set has already been provisionally set in the data area.
If a negative result is obtained here, the main CPU 23 proceeds to step SP3 and determines whether or not this track set has been correctly reproduced without occurrence of a bit error that is difficult to correct.

【0090】ここで肯定結果が得られると、メインCP
U23は、ステップSP4に移り、このトラックセット
の属するバンクをデータエリアに仮設定する。ここでこ
のトラックセットの仮設定は、この再生したトラックセ
ットのID番号、バンクIDを基準にして実行される。
すなわち例えば再生したトラックセットのバンクIDが
値1であり、ID番号が8の場合、直前に再生したトラ
ックセットが正しく再生出来なかった場合でも、この直
前に再生したトラックセット、以後に再生する6つのト
ラックセットを含めた8つのトラックセットをデータエ
リアに仮設定する。
If a positive result is obtained here, the main CP
U23 proceeds to step SP4 and temporarily sets the bank to which this track set belongs in the data area. Here, the temporary setting of the track set is executed based on the ID number and the bank ID of the reproduced track set.
That is, for example, when the bank ID of the reproduced track set has the value 1 and the ID number is 8, even if the previously reproduced track set could not be reproduced correctly, the immediately preceding reproduced track set and subsequent reproduction 6 Eight track sets including one track set are provisionally set in the data area.

【0091】メインCPU23は、ステップSP4の処
理を実行すると、ステップSP5に移る。ここでメイン
CPU23は、再生したトラックセットのバッドスポッ
トID数が値0か否か判断する。ここでバッドスポット
ID数が値0以外の数値の場合、メインCPU23は、
ステップSP6に移り、ここでこのバッドスポットID
数の分、再生済みのバンクに係るトラックセットをバッ
ドスポットに設定した後、ステップSP7に移る。これ
に対してステップSP5で肯定結果が得られると、直接
ステップSP7に移る。
After executing the processing of step SP4, the main CPU 23 proceeds to step SP5. Here, the main CPU 23 determines whether or not the number of bad spot IDs of the reproduced track set is 0. If the number of bad spot IDs is a value other than 0, the main CPU 23
Move to step SP6, where the bad spot ID
After setting the track sets for the reproduced banks as bad spots by the number, the process proceeds to step SP7. On the other hand, if a positive result is obtained in step SP5, the process directly proceeds to step SP7.

【0092】ここでメインCPU23は、データエリア
への仮設定、データエリア又はバッドスポットへの設定
が実行されたか否か判断し、ここで肯定結果が得られる
と、ステップSP8に移り、仮設定のままに保持された
従前のバンクに係るトラックセットが存在する場合、こ
のバンクのトラックセットをデータエリアに設定した
後、ステップSP9に移ってこの処理手順を終了する。
Here, the main CPU 23 determines whether the provisional setting for the data area and the setting for the data area or the bad spot have been executed. If a positive result is obtained here, the process proceeds to step SP8, where the provisional setting is performed. If there is a track set related to the previous bank held as it is, the track set of this bank is set in the data area, and the process proceeds to step SP9 to end this processing procedure.

【0093】これによりメインCPU23は、バッドス
ポットを除いて、各バンクで1つでもトラックセットを
正しく再生することができると、バッドスポットを位置
を正しく特定できるようになされている。なお、これに
よりステップSP2及びステップSP3でそれぞれ肯定
結果及び否定結果が得られると、この場合メインCPU
23は、ステップSP2から直接ステップSP8に移っ
てこの処理手順を終了する。またステップSP7で否定
結果が得られると、この場合もメインCPU23は、ス
テップSP9に移ってこの処理手順を終了する。
Thus, if at least one track set can be correctly reproduced in each bank except for the bad spot, the main CPU 23 can correctly specify the position of the bad spot. If a positive result and a negative result are obtained in step SP2 and step SP3, respectively, in this case, the main CPU
23 directly proceeds from step SP2 to step SP8 and ends this processing procedure. If a negative result is obtained in step SP7, the main CPU 23 also proceeds to step SP9 and ends this processing procedure.

【0094】すなわち図12の場合において、全てのト
ラックセットを正しく再生できた場合、図12(1)に
示すように、先頭のバンクに係る論理ID00〜07の
トラックセットのうち、論理ID00に係る先頭のトラ
ックセットを再生して実行するバッドスポット検出処理
手順におけるステップSP4の処理により、この論理I
D00〜07のトラックセットがデータエリアに仮設定
される(符号1により示す)。
In other words, in the case of FIG. 12, when all the track sets can be correctly reproduced, as shown in FIG. 12A, of the track sets of the logical IDs 00 to 07 relating to the first bank, the logical ID 00 corresponds to the logical ID 00. By the processing of step SP4 in the bad spot detection processing procedure for reproducing and executing the first track set, the logical I
Track sets D00-07 are provisionally set in the data area (indicated by reference numeral 1).

【0095】さらに図12(2)に示すように、続くバ
ッドスポットに設定された論理ID08〜15のトラッ
クセットのうち、論理ID08に係る先頭のトラックセ
ットを再生して実行するバッドスポット検出処理手順に
おけるステップSP4の処理により、この論理ID08
〜15のトラックセットがデータエリアに仮設定され、
またステップSP7の処理により、データエリアに仮設
定された論理ID00〜07のトラックセットが正式に
データエリアに設定される(符号Dにより示す)。
Further, as shown in FIG. 12 (2), of the track sets of logical IDs 08 to 15 set to the subsequent bad spots, a bad spot detection processing procedure for reproducing and executing the first track set related to logical ID 08 Of the logical ID 08
~ 15 track sets are provisionally set in the data area,
In addition, by the processing of step SP7, the track sets of the logical IDs 00 to 07 temporarily set in the data area are formally set in the data area (indicated by the symbol D).

【0096】また図12(3)に示すように、続くバッ
ドスポットに設定された論理ID08〜15のトラック
セットのうち、論理ID08に係る先頭のトラックセッ
トを再生して実行するバッドスポット検出処理手順にお
けるステップSP4の処理により、この論理ID08〜
15のトラックセットがデータエリアに仮設定され、ま
たステップSP6の処理により、直前のバッドスポット
に係る論理ID08〜15のトラックセットがバッドス
ポットに設定される(符号Bにより示す)。
As shown in FIG. 12 (3), of the track sets of logical IDs 08 to 15 set for the subsequent bad spots, a bad spot detection processing procedure for reproducing and executing the first track set related to logical ID 08 Of the logical IDs 08 to
Fifteen track sets are provisionally set in the data area, and by the processing in step SP6, the track sets with the logical IDs 08 to 15 relating to the immediately preceding bad spot are set as bad spots (indicated by reference numeral B).

【0097】また図12(4)に示すように、続く論理
ID08〜15のトラックセットのうち、論理ID08
に係る先頭のトラックセットを再生して実行するバッド
スポット検出処理手順におけるステップSP4の処理に
より、この論理ID08〜15のトラックセットがデー
タエリアに仮設定され、またステップSP6の処理によ
り、直前のバッドスポットに係る論理ID08〜15の
トラックセットがバッドスポットに設定される(符号B
により示す)。さらに続くID16〜23のトラックセ
ットのうち、論理ID16に係る先頭のトラックセット
を再生して実行するバッドスポット検出処理手順におけ
るステップSP4の処理により、この論理ID16〜2
3のトラックセットがデータエリアに仮設定され、また
ステップSP6の処理により、直前の論理ID08〜1
5のトラックセットがデータエリアに正式に設定され
る。これにより全てのトラックセットを正しく再生でき
る場合には、バッドスポットを正しく検出できることが
判る。
As shown in FIG. 12 (4), of the track sets of the subsequent logical IDs 08 to 15, the logical ID 08
The track set of the logical IDs 08 to 15 is provisionally set in the data area by the processing of step SP4 in the bad spot detection processing procedure for reproducing and executing the leading track set according to the above. Track sets with logical IDs 08 to 15 relating to spots are set as bad spots (reference B
). Of the subsequent track sets of IDs 16 to 23, the logical ID 16 to 2 are reproduced by the processing of step SP4 in the bad spot detection processing procedure for reproducing and executing the head track set related to the logical ID 16.
Track set No. 3 is provisionally set in the data area, and by the processing in step SP6, the immediately preceding logical IDs 08 to 1 are set.
5 track sets are formally set in the data area. As a result, when all the track sets can be correctly reproduced, it is understood that the bad spot can be correctly detected.

【0098】これに対して図15に示すように、図12
に示す場合において、バッドスポットだけを正しく再生
することが困難だった場合、先頭のバンクに係る論理I
D00〜07のトラックセットのうち、論理ID00に
係る先頭のトラックセットを再生して実行するバッドス
ポット検出処理手順におけるステップSP4の処理によ
り、この論理ID00〜07のトラックセットがデータ
エリアに仮設定される(図15(1))。
On the other hand, as shown in FIG.
If it is difficult to correctly reproduce only the bad spot in the case shown in FIG.
Of the track sets D00-07, the track set with the logical IDs 00-07 is provisionally set in the data area by the processing of step SP4 in the bad spot detection processing procedure for reproducing and executing the head track set associated with the logical ID 00. (FIG. 15A).

【0099】続く2つのバッドスポットに係る論理ID
08〜15のトラックセットにおいては、各トラックセ
ットを再生してステップSP2、ステップSP3の処理
手順で否定結果が得られることにより、何らデータエリ
アに仮設定されることなく処理が完了する(図15
(1)、符号0により示す)。
Logical IDs for the following two bad spots
In the track sets 08 to 15, each track set is reproduced, and a negative result is obtained in the processing procedure of step SP2 and step SP3, whereby the processing is completed without any temporary setting in the data area (FIG. 15).
(1), indicated by reference numeral 0).

【0100】これに対してこの場合、続くリトライに係
る続く論理ID08〜15のトラックセットのうち、論
理ID08に係る先頭のトラックセットを再生して実行
するバッドスポット検出処理手順におけるステップSP
4の処理により、この論理ID08〜15のトラックセ
ットがデータエリアに仮設定され、またステップSP6
の処理により、直前の2つのバンクによるバッドスポッ
トのトラックセットがバッドスポットに設定される。さ
らにこの場合ステップSP7で肯定結果が得られること
による、ステップSP8による処理により、仮設定のま
ま放置された論理ID00〜07のトラックセットがデ
ータエリアに正式に設定される。なお続く論理ID16
〜23のトラックセットについては、図12について説
明したと同様に処理される。これによりバッドスポット
だけを正しく再生することが困難な場合でも、バッドス
ポットを正しく検出できることが判る。
On the other hand, in this case, the step SP in the bad spot detection processing procedure for reproducing and executing the head track set corresponding to the logical ID 08 among the track sets corresponding to the subsequent logical IDs 08 to 15 relating to the subsequent retry.
By the processing of step 4, the track set of the logical IDs 08 to 15 is provisionally set in the data area, and step SP6
, The bad spot track set by the two immediately preceding banks is set as the bad spot. Further, in this case, since a positive result is obtained in step SP7, the track set of the logical IDs 00 to 07 left as it is temporarily set is formally set in the data area by the processing in step SP8. Logical ID 16 that follows
The track sets No. to No. 23 are processed in the same manner as described with reference to FIG. As a result, even if it is difficult to correctly reproduce only the bad spot, the bad spot can be detected correctly.

【0101】これに対して図16に示すように、バッド
スポットに設定された一部トラックセットと続くデータ
エリアに設定された一部トラックセットが誤って再生さ
れた場合、先頭のバンクに係る論理ID00〜07のト
ラックセットのうち、論理ID00に係る先頭のトラッ
クセットを再生して実行するバッドスポット検出処理手
順におけるステップSP4の処理により、この論理ID
00〜07のトラックセットがデータエリアに仮設定さ
れる(図16(1))。
On the other hand, as shown in FIG. 16, when the partial track set set in the bad spot and the partial track set set in the data area following the bad spot are erroneously reproduced, the logical value related to the first bank is set. Of the track sets with IDs 00 to 07, the logical ID 00 is read and the leading track set is reproduced and executed.
Track sets 00 to 07 are provisionally set in the data area (FIG. 16 (1)).

【0102】さらに続くバッドスポットに係る論理ID
08〜15のトラックセットにおいては、これらのトラ
ックセットのうちの最初に正しく再生されたトラックセ
ット(論理ID08のトラックセットである)により実
行されるステップSP4の処理により、この論理ID0
8〜15のトラックセットがデータエリアに仮設定され
る(図16(1))。
A logical ID related to the next bad spot
In the track sets 08 to 15, the logical ID 0 is obtained by the processing of step SP4 executed by the first correctly reproduced track set (the track set having the logical ID 08) among these track sets.
Track sets 8 to 15 are provisionally set in the data area (FIG. 16A).

【0103】また続くバッドスポットに係る論理ID0
8〜15のトラックセットにおいては、各トラックセッ
トを再生してステップSP2、ステップSP3の処理手
順で否定結果が得られることにより、何らデータエリア
に仮設定されることなく処理が完了する(図16
(1))。
The logical ID 0 relating to the subsequent bad spot
In the track sets 8 to 15, each track set is reproduced, and a negative result is obtained in the processing procedure of step SP2 and step SP3, whereby the processing is completed without any temporary setting in the data area (FIG. 16).
(1)).

【0104】さらにリトライに係る論理ID08〜15
のトラックセットにおいては、これらのトラックセット
のうちの最初に正しく再生されたトラックセット(論理
ID10のトラックセットである)によるステップSP
4の処理により、このリトライに係る論理ID08〜1
5のトラックセットがデータエリアに仮設定され(図1
6(2))、さらにこの論理ID10のトラックセット
によるステップSP6の処理により、2つのバンクに係
るバッドスポットのトラックセットがバッドスポットに
設定される。さらに続くステップSP8における処理に
より、仮設定のままの放置された最初のバンクに係るト
ラックセットがデータエリアに設定される(図16
(2))。なお続く論理ID16〜23のトラックセッ
トについては、図12について説明したと同様に処理さ
れる(図16(3))。これによりバッドスポットに設
定された一部トラックセットと続くデータエリアに設定
された一部トラックセットが誤って再生された場合で
も、バッドスポットを正しく検出できることが判る。
Further, logical IDs 08 to 15 relating to retries
In the track set No., a step SP based on the first correctly reproduced track set among these track sets (the track set having the logical ID 10) is performed.
4, the logical IDs 08 to 1 related to this retry
5 are temporarily set in the data area (see FIG. 1).
6 (2)), and the process of step SP6 using the track set of the logical ID 10 sets the bad spot track set for the two banks as the bad spot. By the processing in the subsequent step SP8, the track set relating to the first bank that has been left tentatively set is set in the data area (FIG. 16).
(2)). The subsequent track sets with logical IDs 16 to 23 are processed in the same manner as described with reference to FIG. 12 (FIG. 16 (3)). As a result, even when a partial track set set in the bad spot and a partial track set set in the data area following the bad spot are erroneously reproduced, the bad spot can be correctly detected.

【0105】これに対して図17に示すように、データ
エリアに設定された一部トラックセットのみが誤って再
生された場合、先頭のバンクに係る論理ID00〜07
のトラックセットのうち、論理ID00に係る先頭のト
ラックセットを再生して実行するバッドスポット検出処
理手順におけるステップSP4の処理により、このバン
クのトラックの何れかを正しく再生できない場合でも、
この論理ID00〜07のトラックセットがデータエリ
アに仮設定される(図17(1))。
On the other hand, as shown in FIG. 17, when only some of the track sets set in the data area are erroneously reproduced, the logical IDs 00 to 07 related to the first bank are set.
Even if any of the tracks in this bank cannot be correctly reproduced by the processing of step SP4 in the bad spot detection processing procedure of reproducing and executing the head track set related to the logical ID 00 among the track sets of
Track sets with logical IDs 00 to 07 are provisionally set in the data area (FIG. 17 (1)).

【0106】その後においては、図12について上述し
たと同様にして順次データエリア、バッドスポットのト
ラックセットが確定し、これによりデータエリアの一部
を正しく再生できない場合でも、正確にバッドスポット
を検出することができる(図17(2)〜(4))。こ
れによりデータエリアに設定された一部トラックセット
のみが誤って再生された場合でも、バッドスポットを正
しく検出できることが判る。
Thereafter, the track set of the data area and the bad spot is sequentially determined in the same manner as described above with reference to FIG. 12, so that even if a part of the data area cannot be reproduced correctly, the bad spot is accurately detected. (FIGS. 17 (2) to (4)). As a result, even if only some of the track sets set in the data area are erroneously reproduced, the bad spot can be detected correctly.

【0107】これに対して図18に示すように、バッド
スポットは正しく再生されたものの、データエリアの殆
どが誤って再生された場合、先頭のバンクに係る論理I
D00〜07のトラックセットについては、これらのト
ラックセットのうちの何れか正しく再生できたトラック
セット(この場合は、論理ID04のトラックセット)
によるバッドスポット検出処理手順のステップSP4の
処理により、このバンクのトラックセットについてはデ
ータエリアに仮設定される(図18(1)及び
(2))。
On the other hand, as shown in FIG. 18, when the bad spot is reproduced correctly but most of the data area is reproduced incorrectly, the logical I
As for the track sets D00 to D07, any of these track sets can be reproduced correctly (in this case, the track set with logical ID 04).
By the processing of step SP4 of the bad spot detection processing procedure, the track set of this bank is provisionally set in the data area (FIGS. 18A and 18B).

【0108】またバッドスポットに係る2つのバンクの
トラックセットにおいては、データエリアに仮設定され
ないで放置される(図18(3))。さらにリトライに
係る論理ID08〜15のトラックセットについては、
これらのトラックセットのうちの何れか正しく再生でき
たトラックセット(この場合は、論理ID10のトラッ
クセット)によるバッドスポット検出処理手順のステッ
プSP4の処理により、この論理ID08〜15のトラ
ックセットがデータエリアに仮設定され、さらに同様の
ステップSP6の処理によりバッドスポットに係る2つ
のバンクによるトラックセットがバッドスポットに確定
する。またこの確定によるステップSP8の処理によ
り、論理ID00〜07のトラックセットがデータエリ
アに確定する(図18(5))。これによりバッドスポ
ットに設定されていない各バンクで、最低1トラックセ
ットだけ正しくデータを再生できれば、バッドスポット
を特定できることが判る(図18(6))。
In the track set of the two banks related to the bad spot, the data area is not temporarily set but left (FIG. 18 (3)). Further, regarding the track sets of logical IDs 08 to 15 relating to the retry,
By performing the processing in step SP4 of the bad spot detection processing procedure using the track set (in this case, the track set having the logical ID of 10) that can be correctly reproduced from any of these track sets, the track set having the logical ID of 08 to 15 becomes the data area The track set by the two banks related to the bad spot is determined to be the bad spot by the same processing of step SP6. Also, by the processing of step SP8 based on this determination, the track sets of the logical IDs 00 to 07 are determined in the data area (FIG. 18 (5)). As a result, it can be seen that a bad spot can be specified if data is correctly reproduced in at least one track set in each bank not set as a bad spot (FIG. 18 (6)).

【0109】すなわち図19に示すように、先頭のバン
クに係る論理ID00〜07のトラックセットの何れも
が正しく再生できない場合、これらのトラックセットに
ついては再生によりデータエリアに仮設定できないこと
になり(図19(1))、バッドスポットが確定した後
においてもデータエリアに確定することが困難で(図1
9(2))、これにより検出困難なトラックセット(符
号Eにより示す)として残ることになる。因みに、記録
時、リードアフターライトの処理を実行することによ
り、このような状況は極々限られた場合であり、実用
上、無視することができる。
That is, as shown in FIG. 19, if any of the track sets with the logical IDs 00 to 07 relating to the first bank cannot be reproduced correctly, these track sets cannot be provisionally set in the data area by reproduction ( (1) of FIG. 19, it is difficult to determine the data area even after the bad spot is determined (FIG. 1).
9 (2)), thereby remaining as a track set (denoted by reference symbol E) which is difficult to detect. Incidentally, by executing the read-after-write process at the time of recording, such a situation is extremely limited and can be ignored in practical use.

【0110】(2)第1の実施の形態の動作 以上の構成において、このバックアップシステム1では
(図1及び図2)、CPUユニット5の管理等により棚
6Aに収納されたテープカセットがテープストリーマ3
に装填された後、ローディングされ、順次固定ヘッド3
8により磁気テープ10の長手トラックであるIDトラ
ック10B、CTLトラック10Aが磁気テープ10に
記録される(図4及び図10)。これにより1トラック
セットを単位としてタイムコードによるトラックセット
IDが管理用データの1つとして磁気テープ10に記録
される。さらにその後、磁気テープ10が巻き戻された
後、リーダーテープより所定距離だけ走行した位置にV
SITが記録され(図8)、これによりこのテープカセ
ットのボリューム名等が記録されて初期化の処理が完了
する。このようにして初期化されたテープカセットは、
CPUユニット5の管理により棚6Aの所定位置に搬送
されて収納される。
(2) Operation of the First Embodiment In the above configuration, in the backup system 1 (FIGS. 1 and 2), the tape cassette housed in the shelf 6A by the management of the CPU unit 5 is a tape streamer. 3
, Then loaded and sequentially fixed head 3
8, the ID track 10B and the CTL track 10A, which are the longitudinal tracks of the magnetic tape 10, are recorded on the magnetic tape 10 (FIGS. 4 and 10). As a result, the track set ID based on the time code is recorded on the magnetic tape 10 as one of the management data in units of one track set. After that, after the magnetic tape 10 has been rewound, the V
The SIT is recorded (FIG. 8), whereby the volume name of the tape cassette is recorded, and the initialization process is completed. The tape cassette initialized in this way is
Under the control of the CPU unit 5, it is conveyed and stored at a predetermined position on the shelf 6A.

【0111】これに対してホストコンピュータ8よりデ
ータのバックアップが指示されると、CPUユニット5
の管理により、テープストリーマ3に該当するテープカ
セットが装填されていない場合、対応するテープカセッ
トが棚6Aより取り出されてテープストリーマ3にセッ
トされる。またそれまでテープストリーマ3に装填され
ていたテープカセットについては、テープストリーマ3
より排出されて棚6Aに収納される。
On the other hand, when data backup is instructed by the host computer 8, the CPU unit 5
When the tape cassette corresponding to the tape streamer 3 is not loaded, the corresponding tape cassette is taken out from the shelf 6A and set in the tape streamer 3. For the tape cassette loaded in the tape streamer 3, the tape streamer 3
And is stored in the shelf 6A.

【0112】このようにしてテープストリーマ3にテー
プカセットが装填されると、テープストリーマ3におい
ては、磁気テープ10をローディングしてVSITを再
生し、このVSITよりホストコンピュータ8により指
示されたファイルをアクセス可能に磁気テープ10を走
行させる。すなわち磁気テープ10に初めてのファイル
を記録する場合には、VSITから所定の間隔を開けて
DITを記録し、続いてホストコンピュータ8より出力
されるデータを順次磁気テープ10に記録する。また以
前に記録したファイルに追記する場合、VSITの記録
を基準にして対応するファイルのDITを再生し、この
DITより最後のブロックの終了端を検出し、この終了
端より順次ホストコンピュータ8より入力されるデータ
を記録する。またホストコンピュータ8よりデータの再
生が指示された場合、対応するファイルの位置をVSI
Tより検出してDITをアクセスし、このDITの記録
に従って磁気テープ10に記録されたデータを再生する
(図9)。
When the tape cassette is loaded in the tape streamer 3 in this manner, the tape streamer 3 loads the magnetic tape 10 to reproduce the VSIT, and accesses the file specified by the host computer 8 from the VSIT. The magnetic tape 10 is made to run as much as possible. That is, when the first file is recorded on the magnetic tape 10, the DIT is recorded at a predetermined interval from the VSIT, and the data output from the host computer 8 is sequentially recorded on the magnetic tape 10. In addition, when appending to a previously recorded file, the DIT of the corresponding file is reproduced with reference to the VSIT recording, the end of the last block is detected from this DIT, and input from the host computer 8 is sequentially performed from this end. Record the data to be recorded. When data reproduction is instructed from the host computer 8, the position of the corresponding file is set to VSI.
The DIT is detected by detecting the T and the DIT is accessed, and the data recorded on the magnetic tape 10 is reproduced according to the recording of the DIT (FIG. 9).

【0113】すなわち記録時においては、ECCエンコ
ーダ25により順次入力されるユーザーデータに積符号
形式による誤り訂正符号を付加した後(図6)、1トラ
ックセットを構成する4本のトラックによりトラック間
インターリーブされて(図5)、またワード間のインタ
ーリーブにより順次磁気テープ10に記録される。さら
にバッファメモリ24に設定されたバンクを単位にして
磁気テープ10に記録される。
That is, at the time of recording, after adding an error correction code in a product code format to user data sequentially input by the ECC encoder 25 (FIG. 6), inter-track interleaving is performed by four tracks forming one track set. 5 (FIG. 5) and are sequentially recorded on the magnetic tape 10 by interleaving between words. Further, the data is recorded on the magnetic tape 10 in units of banks set in the buffer memory 24.

【0114】このときテープストリーマ3においては
(図12)、磁気テープ10に形成される4本の記録ト
ラックが1つのトラックセットに設定されて、バッファ
メモリ24のバンク制御により、1つのバンクに対応す
る例えば8つのトラックセットを単位にしてユーザーデ
ータが順次記録される。また各トラックセットを特定可
能に、ユーザーデータに割り当てたトラックセットで順
次値が増大する論理IDが各トラックセットに設定され
てユーザーデータが記録される。
At this time, in the tape streamer 3 (FIG. 12), four recording tracks formed on the magnetic tape 10 are set as one track set, and the bank control of the buffer memory 24 corresponds to one bank. For example, user data is sequentially recorded in units of eight track sets. Also, a logical ID whose value sequentially increases in the track set allocated to the user data is set in each track set so that each track set can be specified, and the user data is recorded.

【0115】この記録の処理において、テープストリー
マ3は、リードアフターライトの処理が実行され、誤り
訂正困難なビット誤りの発生によりデータを正しく再生
困難な場合、この8つのトラックセットによる記録単位
であるバンクを単位にしてリトライの処理が繰り返され
る。これによりテープストリーマ3においては、高い信
頼性により所望のデータを記録することができる。
In the recording process, the tape streamer 3 performs a read-after-write process, and when it is difficult to correctly reproduce data due to occurrence of a bit error that is difficult to correct, the tape streamer 3 is a recording unit using the eight track sets. The retry process is repeated for each bank. This allows the tape streamer 3 to record desired data with high reliability.

【0116】テープストリーマ3においては、このよう
にして正しくデータを再生できなかった部位について
は、バッドスポットとしてトラックセットの論理IDが
記録に残される。さらにこのバッドスポットを続くバン
クに係るトラックセットの何れもから特定可能に、バッ
ドスポットID数、ID番号、バンクIDが各トラック
セットに設定される。これによりテープストリーマ3で
は、バッドスポットに設定されたバンク以外の各バンク
で、少なくとも1つのトラックセットが正しく再生でき
れば、バッドスポットを検出し、さらにはデータエリア
を特定することが可能となり、これにより簡易かつ確実
にバッドスポットを検出することが可能となる。
In the tape streamer 3, the logical ID of the track set is recorded as a bad spot in a portion where data could not be correctly reproduced in this manner. Further, the number of bad spot IDs, ID numbers, and bank IDs are set in each track set so that the bad spot can be specified from any of the track sets related to the following banks. As a result, if at least one track set can be correctly reproduced in each bank other than the bank set as the bad spot, the tape streamer 3 can detect the bad spot and further specify the data area. Bad spots can be easily and reliably detected.

【0117】またこれらバッドスポットID数、ID番
号、バンクIDが論理IDと共にトラックセットのサブ
コードに割り当てられて誤り訂正符号が付加されて記録
されることにより、ユーザーデータを正しく再生できな
い場合でも、確実にバッドスポットを検出することが可
能となる。
Further, the number of bad spot IDs, ID numbers, and bank IDs are assigned to the subcodes of the track set together with the logical IDs, and are recorded with an error correction code added thereto. Bad spots can be reliably detected.

【0118】すなわちこのようにして設定されたバッド
スポットは、その論理IDが記録に残され、ファイルの
記録終了後、磁気テープ10を巻き戻ししてDITに記
録される。またこのとき必要に応じてVSITが更新さ
れる(図8及び図9)。これによりテープストリーマ3
は、このVSIT、DITを検出してホストにより指示
されたファイルをアクセス可能とされる。
That is, the bad spot set in this way has its logical ID left in the recording, and after the recording of the file is completed, the magnetic tape 10 is rewound and recorded in the DIT. At this time, the VSIT is updated as needed (FIGS. 8 and 9). This enables Tape Streamer 3
Can detect the VSIT and DIT and can access the file specified by the host.

【0119】またホストよりファイルの再生が指示さ
れ、VSIT、対応するDITの記録を参照してこのフ
ァイルの再生を実行している際に、DITの記録と実際
に再生した結果との間で相違が発生する場合、何らかの
理由でこのファイルについては、DITを更新しないで
記録を終了したと考えられることにより、テープストリ
ーマ3では、ホスト装置にリカバリー処理の必要を通知
し、この通知によりリカバリーが指示されると、VIS
Tを再生して対応するファイルを再生する(図13)。
すなわちバッドスポットに関しては、DITに記録され
たバッドスポットの位置情報であるBSTと、実際に再
生して検出されるバッドスポットの位置情報との間で相
違が検出された場合にホスト装置にリカバリー処理の必
要性が通知される。
When the host instructs to play back a file and refers to the VSIT and the corresponding DIT record to execute the playback of the file, the difference between the DIT record and the result of the actual playback is obtained. Occurs, it is considered that the recording has been completed without updating the DIT for this file for some reason, so the tape streamer 3 notifies the host device of the need for recovery processing, and the recovery instructs the recovery by this notification. VIS
T is reproduced to reproduce the corresponding file (FIG. 13).
That is, regarding the bad spot, when a difference is detected between the BST, which is the position information of the bad spot recorded in the DIT, and the position information of the bad spot, which is actually reproduced and detected, the recovery processing is performed by the host device. The need is notified.

【0120】これによりバッドスポットによるリカバリ
ー処理が指示された場合、テープストリーマ3では、対
応するファイルを再生して順次バッドスポットを検出
し、この検出結果によりDITの記録し直してリカバリ
ーの処理が実行される。
When the recovery process using the bad spot is instructed, the tape streamer 3 reproduces the corresponding file and sequentially detects the bad spot. Based on the detection result, the DIT is re-recorded and the recovery process is executed. Is done.

【0121】このバッドスポットの検出処理においては
(図14)、トラックセット毎に、正しくデータを再生
できたか判断され、正しくデータを再生できた場合に
は、このトラックセットの属するバンクのトラックセッ
トが全てデータエリアに仮設定される。さらにバッドス
ポットID番号が設定されている場合には、このトラッ
クセットのバンクID、ID番号からこのトラックセッ
トの属するバンクの先頭トラックセットであるリトライ
開始のトラックセットが検出され、このリトライ開始の
トラックセットからバッドスポットID番号の分のトラ
ックセットがバッドスポットに設定される。またこのよ
うにバッドスポットと確定した場合、さらには続くバン
クがデータエリアに仮設定された場合、それまでデータ
エリアに仮設定されていたバンクがデータエリアに設定
される。
In this bad spot detection process (FIG. 14), it is determined whether or not data has been correctly reproduced for each track set. If the data has been correctly reproduced, the track set of the bank to which the track set belongs is determined. All are provisionally set in the data area. Further, when a bad spot ID number is set, the retry start track set which is the first track set of the bank to which this track set belongs is detected from the bank ID and ID number of this track set, and the retry start track set is detected. A track set corresponding to the bad spot ID number from the set is set as a bad spot. When a bad spot is determined in this way, and when a subsequent bank is provisionally set in the data area, the bank provisionally set in the data area is set in the data area.

【0122】かくするにつきこのようにトラックセット
のバンクID、ID番号からリトライ開始のトラックセ
ットを検出可能とし、さらにのリトライ開始のトラック
セットからバッドスポットID番号の分のトラックセッ
トを検出可能に、各バンクのトラックセットにこれらの
データを記録したことにより、テープストリーマ3にお
いては、各バンクで1つのトラックセットだけ再生でき
れば、バッドスポットを検出することができ、その分種
々のエラーが発生した場合でも(図15〜図19)、従
来に比して確実にバッドスポットを検出することができ
る。
Thus, the retry start track set can be detected from the bank ID and ID number of the track set, and the track set for the bad spot ID number can be detected from the retry start track set. By recording these data in the track set of each bank, if the tape streamer 3 can reproduce only one track set in each bank, a bad spot can be detected, and if various errors occur accordingly. However, (see FIGS. 15 to 19), a bad spot can be detected more reliably than before.

【0123】(3)第1の実施の形態の効果 以上の構成によれば、少なくともバッドスポットに続く
バンクにおいて、何れのトラックセットによってもバッ
ドスポットを特定可能に、サブコードのデータを記録す
ることにより、従来に比して確実にバッドスポットを検
出することができる。
(3) Effects of the First Embodiment According to the above configuration, at least in the bank following the bad spot, the subcode data is recorded so that the bad spot can be specified by any track set. Thereby, a bad spot can be detected more reliably than in the past.

【0124】また誤り訂正符号を付加してこのような情
報を記録したことにより、その分ビット誤りによりバッ
ドスポットが検出困難となる状況を防止することがで
き、これによっても従来に比して確実にバッドスポット
を検出することができる。
Further, by recording such information by adding an error correction code, it is possible to prevent a situation in which a bad spot makes it difficult to detect a bad spot. Bad spots can be detected.

【0125】(4)第2の実施の形態 ところで図14について説明した処理においては、1つ
のバンクを構成するトラックセットの数であるID番号
と、各バンクにおけるトラックセットの位置であるバン
クIDを使用して、1つのトラックセットでも正しく再
生できた場合には、このトラックセットの属するバンク
の全トラックセットをデータエリアに仮設定した。従っ
て、例えば繋ぎ処理等によりバンクを構成するトラック
セットが一部書き換えられる場合も考えられること等に
より、ID番号と1つのバンクを構成するトラックセッ
トの数とが一致しなくなる場合には、トラックセット正
しくデータエリアに仮設定することが困難になり、これ
によりバッドスポットを正しく検出できなくなる。
(4) Second Embodiment In the processing described with reference to FIG. 14, the ID number which is the number of track sets constituting one bank and the bank ID which is the position of the track set in each bank are used for the processing. When one track set could be correctly reproduced by using this, all the track sets of the bank to which this track set belongs were provisionally set in the data area. Therefore, if the ID number does not match the number of track sets constituting one bank, for example, because the track set constituting the bank may be partially rewritten due to a connection process, etc. It is difficult to correctly provisionally set the data area, which makes it impossible to correctly detect a bad spot.

【0126】このためこの実施の形態においては、図2
0に示すバッドスポット検出手順により、図21に示す
ように、ID番号を除いた、バッドスポットID数、バ
ンクIDによりバッドスポットを検出する。なおこの実
施の形態に係るテープストリーマにおいては、このバッ
ドスポットの検出に係るサブコードの設定、バッドスポ
ット検出処理が異なる点を除いて、第1の実施の形態に
係るテープストリーマと同一の構成であることにより、
ここではこの異なる構成についてのみ説明し、重複した
説明は省略する。なおバッドスポットID数、バンクI
Dの設定は、第1の実施の形態と同一に実行される。
For this reason, in this embodiment, FIG.
According to the bad spot detection procedure shown in FIG. 21, a bad spot is detected by the number of bad spot IDs and the bank ID excluding the ID number, as shown in FIG. The tape streamer according to this embodiment has the same configuration as that of the tape streamer according to the first embodiment, except that the setting of the subcode related to the detection of the bad spot and the processing for detecting the bad spot are different. By being
Here, only this different configuration will be described, and redundant description will be omitted. The number of bad spot IDs, Bank I
The setting of D is executed in the same manner as in the first embodiment.

【0127】メインCPUは、1つのトラックセットを
再生すると、ステップSP11からステップSP12に
移り、ここで誤り訂正困難なビット誤りを発生すること
なく、データを正しく再生できたか否か判断する。ここ
で肯定結果が得られると、メインCPUは、ステップS
P13に移り、このトラックセットのバンクIDを基準
にしてこのトラックセットの属するバンクのトラックセ
ットと判断できるトラックセットについて、このトラッ
クセットをデータエリアに仮設定する。すなわちこのト
ラックセットのバンクIDが値0の場合、この場合はこ
のバンクの先頭のトラックセットであることにより、こ
のトラックセットだけをデータエリアに仮設定する。ま
たこのトラックセットのバンクIDが値2の場合、この
場合はこのバンクの先頭のトラックセットが3ID分前
に存在することが判ることにより、このトラックセット
を含む前側3つのトラックセットをデータエリアに仮設
定する。
After reproducing one track set, the main CPU proceeds from step SP11 to step SP12 where it determines whether or not the data has been correctly reproduced without generating a bit error which is difficult to correct. If a positive result is obtained here, the main CPU proceeds to step S
The process moves to P13, and for a track set that can be determined to be a track set of a bank to which this track set belongs based on the bank ID of this track set, this track set is provisionally set in the data area. That is, when the bank ID of this track set is a value 0, in this case, since this is the head track set of this bank, only this track set is provisionally set in the data area. If the bank ID of this track set is value 2, it is known that the first track set of this bank exists 3 IDs earlier, so the front three track sets including this track set are stored in the data area. Set temporarily.

【0128】メインCPUは、このステップSP13の
処理を実行すると、ステップSP14に移り、再生した
トラックセットのバッドスポットID数が値0か否か判
断する。ここでバッドスポットID数が値0以外の数値
の場合、メインCPUは、ステップSP15に移り、こ
こでこのバッドスポットID数の分、再生済みのバンク
に係るトラックセットをバッドスポットに設定した後、
ステップSP16に移る。これに対してステップSP1
4で肯定結果が得られると、直接ステップSP16に移
る。
After executing the processing in step SP13, the main CPU proceeds to step SP14, and determines whether or not the number of bad spot IDs of the reproduced track set is 0. Here, if the number of bad spot IDs is a numerical value other than 0, the main CPU proceeds to step SP15, in which the number of bad spot IDs and the number of track sets related to the reproduced bank are set as bad spots.
Move to step SP16. On the other hand, step SP1
If a positive result is obtained in step 4, the process directly proceeds to step SP16.

【0129】ここでメインCPUは、データエリアへの
仮設定、データエリア又はバッドスポットへの設定が実
行されたか否か判断し、ここで肯定結果が得られると、
ステップSP17に移り、仮設定のままに保持された従
前のバンクに係るトラックセットが存在する場合、この
バンクのトラックセットをデータエリアに設定した後、
ステップSP19に移ってこの処理手順を終了する。
Here, the main CPU determines whether the provisional setting for the data area and the setting for the data area or the bad spot have been executed, and if a positive result is obtained here,
Moving to step SP17, if there is a track set related to the previous bank held as it is temporarily set, after setting the track set of this bank in the data area,
The process moves to step SP19 and ends.

【0130】これによりメインCPUは、繋ぎ処理した
場合でも、バッドスポットを除いて、各バンクで1つで
もトラックセットを正しく再生することができると、バ
ッドスポットの位置を正しく特定できるようになされて
いる。なお、これによりメインCPUは、各トラックセ
ット毎にこの処理手順を実行し、ステップSP12又は
ステップSP16で否定結果が得られると、直接、ステ
ップSP18に移ってこの処理手順を終了する。
As a result, the main CPU can correctly identify the position of the bad spot if at least one track set can be correctly reproduced in each bank except for the bad spot even when the connection processing is performed. I have. In this way, the main CPU executes this processing procedure for each track set, and if a negative result is obtained in step SP12 or step SP16, the main CPU directly proceeds to step SP18 and ends this processing procedure.

【0131】これにより図21に示すように、バッドス
ポットを含めて全てのトラックセットを正しく再生でき
た場合、先頭のバンクに係る論理ID00〜07のトラ
ックセットにおいては、各トラックセットについて実行
されるステップSP13の処理により、データエリアに
仮設定される(図21(1))。また続くバッドスポッ
トに設定された論理ID08〜15のトラックセットに
ついても、各トラックセットについて実行されるステッ
プSP13の処理により、データエリアに一旦仮設定さ
れ、続くバンクの論理ID08に係る先頭のトラックセ
ットによるステップSP15の処理により、仮設定され
て放置された論理ID00〜07のトラックセットがデ
ータエリアに設定される(図21(2)及び(3))。
As a result, as shown in FIG. 21, when all the track sets including the bad spot can be correctly reproduced, the track set of the logical ID 00 to 07 relating to the first bank is executed for each track set. By the processing in step SP13, the data area is provisionally set (FIG. 21 (1)). The track set of the logical ID 08 to 15 set to the next bad spot is also temporarily set in the data area by the processing of step SP13 executed for each track set, and the first track set related to the logical ID 08 of the subsequent bank is set. By the processing of step SP15, the track sets of the logical IDs 00 to 07 which are temporarily set and left are set in the data area (FIGS. 21 (2) and (3)).

【0132】また続くバッドスポットに設定された論理
ID08〜15のトラックセットについても、各トラッ
クセットについて実行されるステップSP13の処理に
より、データエリアに一旦仮設定され、続くバンクの論
理ID08に係る先頭のトラックセットによるステップ
SP15の処理により、仮設定されて放置された論理I
D08〜15のトラックセットがバッドスポットに設定
される(図21(3)(4))。
The track set of the logical IDs 08 to 15 set to the following bad spots is also temporarily set in the data area by the processing of step SP13 executed for each track set, and the head associated with the logical ID 08 of the subsequent bank is set. The logic I temporarily set and left by the processing of step SP15 by the track set
Track sets D08 to D15 are set as bad spots (FIGS. 21 (3) and (4)).

【0133】さらに続くにリトライに係る論理ID08
〜15のトラックセットについても、各トラックセット
について実行されるステップSP13の処理により、デ
ータエリアに一旦仮設定され、続く論理ID16に係る
先頭のトラックセットによるステップSP15の処理に
より、データエリアに設定される(図21(4))。こ
れにより順次再生されるトラックセットを判定して、全
てのトラックセットを正しく再生できる場合には、バッ
ドスポットを正確に判定できることが判る。
Subsequently, logical ID 08 relating to the retry
Also, the track sets No. to No. 15 are temporarily set in the data area once by the processing of step SP13 executed for each track set, and set in the data area by the processing of step SP15 by the next track set related to the logical ID 16. (FIG. 21 (4)). As a result, the track sets to be sequentially reproduced are determined, and when all the track sets can be correctly reproduced, it can be understood that the bad spot can be accurately determined.

【0134】また図22に示すように、バッドスポット
を正しく再生できなかった場合、同様にして論理ID0
0〜07のトラックセットがデータエリアに仮設定され
た後(図22(1))、続くバッドスポットに係る2つ
のバンクのトラックセットについての処理において、ス
テップSP12で否定結果が得られることにより、これ
らバッドスポットに係る2つのバンクについては、何ら
仮設定されることなく一時処理される。
As shown in FIG. 22, when the bad spot cannot be reproduced correctly, the logical ID 0 is similarly set.
After the track sets 0 to 07 are provisionally set in the data area ((1) in FIG. 22), a negative result is obtained in step SP12 in the process for the track set of the two banks relating to the subsequent bad spot. The two banks related to these bad spots are temporarily processed without any provisional setting.

【0135】さらに続くリトライに係る論理ID08〜
15の各トラックセットについて実行されるステップS
P13の処理により、これら各トラックセットがデータ
エリアに仮設定された後、これらのトラックセットのう
ちの先頭のトラックセットについて実行されるステップ
SP15の処理により、直前の2バンク分のトラックセ
ットがバッドスポットに設定され、さらに続くステップ
SP17の処理により最初のバンクがデータエリアに設
定される(図22(2))。これにより順次再生される
トラックセットを判定して、バッドスポットのトラック
セットを正しく再生できない場合でも、バッドスポット
を正確に判定できることが判る。
Logical IDs 08-
Step S executed for each of the 15 track sets
After each of these track sets is provisionally set in the data area by the processing of P13, the track set of the immediately preceding two banks is bad by the processing of step SP15 executed for the first track set of these track sets. The spot is set, and the first bank is set as the data area by the processing of step SP17 (FIG. 22 (2)). As a result, the track sets to be sequentially reproduced are determined, and it can be seen that even when the bad spot track set cannot be correctly reproduced, the bad spot can be accurately determined.

【0136】また図23に示すように、バッドスポット
と続くバンクとの間で連続するトラックセットを正しく
再生できない場合、論理ID00〜07のトラックセッ
トがデータエリアに仮設定された後(図23(1))、
続くバッドスポットに係るトラックセットについては、
正しく再生されたトラックセットのみがデータエリアに
仮設定され、正しく再生されないトラックセットについ
ては、データエリアに仮設定されることなく一時処理さ
れる。また続くデータエリアのトラックセットについて
も、始めの正しく再生することが困難なトラックセット
については、データエリアに仮設定されることなく一時
処理される。
As shown in FIG. 23, when a continuous track set between a bad spot and a subsequent bank cannot be correctly reproduced, track sets with logical IDs 00 to 07 are temporarily set in the data area (see FIG. 1)),
For the track set for the next bad spot,
Only the track sets that are correctly reproduced are temporarily set in the data area, and the track sets that are not correctly reproduced are temporarily processed without being temporarily set in the data area. Regarding the track set of the subsequent data area, the first track set that is difficult to reproduce correctly is temporarily processed without being temporarily set in the data area.

【0137】このようにして処理が進行して、リトライ
に係るバンクでトラックセットが正しく再生されると
(論理ID10のトラックセットである)、このトラッ
クセットについてのステップSP13の処理により、こ
のトラックセットと直前のトラックセットとがデータエ
リアに仮設定され、またステップSP15の処理により
2つのバンクのトラックセットがバッドスポットに設定
される。さらに続くステップSP17の処理により、仮
設定されてなる論理ID00〜07のトラックセットが
データエリアに設定される(図23(2))。
When the process proceeds as described above and the track set is correctly reproduced in the bank related to the retry (the track set having the logical ID of 10), the track set is executed by the process of step SP13 for this track set. And the immediately preceding track set are temporarily set in the data area, and the track sets of the two banks are set as bad spots by the processing of step SP15. By the processing of the following step SP17, the track sets of the logical IDs 00 to 07 which are temporarily set are set in the data area (FIG. 23 (2)).

【0138】このようにして処理されると、続くリトラ
イに係る論理ID11以降のトラックセットについて
は、図21の場合と同様に処理され、これによりこの場
合もバッドスポットを正しく検出できることが判る。
When the processing is performed in this manner, the track sets subsequent to the logical ID 11 relating to the subsequent retry are processed in the same manner as in the case of FIG. 21, and it can be seen that the bad spot can be correctly detected also in this case.

【0139】これに対して図24に示すように、バッド
スポット以外のトラックセットを一部正しく再生できな
い場合、この場合はこのバンクに係るトラックセット
(論理ID00〜07)を順次再生して実行されるステ
ップSP12の判定により、エラーの発生したトラック
セットについては、データエリアに仮設定されることな
く一時処理が終了する(図24(1))。さらにこのエ
ラーによるトラックセットが、同じバンクに属する後行
側のトラックセット(論理ID05のトラックセット)
が正しく再生された時点で、この正しく再生されたトラ
ックセットよるステップSP13の処理によりデータエ
リアに仮設定される(図24(2))。
On the other hand, as shown in FIG. 24, when a part of the track set other than the bad spot cannot be reproduced correctly, in this case, the track sets (logical IDs 00 to 07) relating to this bank are reproduced sequentially and executed. As a result of the determination in step SP12, for the track set in which the error has occurred, the temporary processing ends without being temporarily set in the data area (FIG. 24 (1)). Further, a track set due to this error is a subsequent track set belonging to the same bank (a logical ID 05 track set).
Is reproduced correctly, the data area is provisionally set by the process of step SP13 using the correctly reproduced track set (FIG. 24 (2)).

【0140】これによりこの場合も何らエラーが発生い
ない場合と同様に、エラー発生箇所のトラックセットが
処理された以降においては、図21について上述したと
同様にして処理され(図24(3)〜(5)))、これ
によりこの場合もバッドスポットを正しく検出すること
ができる。
In this case, similarly to the case where no error occurs, after the track set at the position where the error occurs is processed, the processing is performed in the same manner as described above with reference to FIG. (5))), so that the bad spot can be correctly detected in this case as well.

【0141】これに対して図25に示すように、各バン
クで正しく再生困難な場合が多発し、バッドスポット以
外の各バンクで1トラックセットだけ正しく再生可能な
場合、この場合は、最初のバンクに係るトラックセット
(論理ID00〜07)を順次再生して実行されるステ
ップSP12の判定により、エラーの発生したトラック
セットについては、データエリアに仮設定されることな
く一時処理が終了し(図25(1))、同じバンクに属
する後行側のトラックセット(論理ID04のトラック
セット)が正しく再生された時点で、この正しく再生さ
れたトラックセットよるステップSP13の処理により
これらのトラックセットがデータエリアに仮設定される
(図25(2))。しかしながらこの場合、この正しく
再生されたトラックセットに続くエラーに係るトラック
セットについては、データエリアに仮設定されることな
く一時処理が終了することになる。
On the other hand, as shown in FIG. 25, there are many cases where it is difficult to reproduce correctly in each bank, and when only one track set can be correctly reproduced in each bank other than the bad spot, in this case, the first bank As a result of the determination in step SP12 executed by sequentially reproducing and executing the track sets (logical IDs 00 to 07) according to the above, for the track set in which the error has occurred, the temporary processing ends without being temporarily set in the data area (FIG. 25). (1)), when the subsequent track set (the logical ID 04 track set) belonging to the same bank has been correctly reproduced, these track sets are processed in the data area by the processing of step SP13 using the correctly reproduced track set. Is temporarily set (FIG. 25 (2)). However, in this case, for the track set related to the error following the correctly reproduced track set, the temporary processing ends without being temporarily set in the data area.

【0142】続いてバッドスポットに係るトラックセッ
トについては、正しく再生できないことにより同様に、
データエリアに仮設定されることなく一時処理が終了し
(図25(3))、続くバンクのトラックセットについ
ても、正しく再生できないトラックセットについては、
データエリアに仮設定されることなく一時処理が終了す
る。しかしながらこのリトライに係るバンクにおいて、
何れかのトラックセットを正しく再生できると(論理I
D10のトラックセットである)、このトラックセット
に係るステップSP13の処理により、直前の論理ID
08、09に係るトラックセットが同時にデータエリア
に仮設定され、さらにステップSP15の処理によりバ
ッドスポットが確定する。さらにこのトラックセットに
係るステップSP17の処理により、最初のバンクのう
ちのデータエリアに仮設定されたトラックセットがデー
タエリアに設定される(図25(4))。
Subsequently, the track set relating to the bad spot cannot be reproduced correctly.
The temporary processing ends without being temporarily set in the data area (FIG. 25 (3)). Regarding the track set of the succeeding bank, the track set that cannot be correctly reproduced is
The temporary processing ends without being temporarily set in the data area. However, in the bank involved in this retry,
If any of the track sets can be correctly reproduced (Logic I
D10), and the immediately preceding logical ID is obtained by the processing of step SP13 related to this track set.
Track sets 08 and 09 are provisionally set in the data area at the same time, and the bad spot is determined by the processing in step SP15. Further, the track set temporarily set in the data area of the first bank is set in the data area by the processing of step SP17 relating to this track set (FIG. 25 (4)).

【0143】なおこの場合、最初のバンクにおいては、
データエリアに確定されないで検出不可能なトラックセ
ット(符号Eにより示す)が残ることになるが、バッド
スポットについてはこの場合でも正しく検出できること
が判る。
In this case, in the first bank,
Although a track set (denoted by reference symbol E) that is not determined but remains undetectable remains in the data area, it can be seen that a bad spot can be correctly detected even in this case.

【0144】これによりこの実施の形態によれば、図2
6に示すように、バッドスポット以外の各バンクで、最
低限、最後のトラックセットについてだけ正しく再生す
ることができれば、全てのトラックセットについてデー
タエリア、バッドスポットを判定できることが判る。
Thus, according to this embodiment, FIG.
As shown in FIG. 6, it can be seen that if at least the last track set can be correctly reproduced in each bank other than the bad spot, the data area and the bad spot can be determined for all the track sets.

【0145】第2の実施の形態によれば、各トラックセ
ット毎に正しく再生できたか否か判定し、正しく再生で
きた場合は、同一バンクに属する直前トラックセットを
データエリアに確定し、第1の実施の形態と同様にバッ
ドスポット、データエリアを確定させることにより、繋
ぎ処理した場合でも、確実にバッドスポットを検出する
ことができる。
According to the second embodiment, it is determined whether or not reproduction has been correctly performed for each track set. If the reproduction has been correctly performed, the immediately preceding track set belonging to the same bank is determined as the data area. By determining the bad spot and the data area in the same manner as in the embodiment, even when the connection processing is performed, the bad spot can be reliably detected.

【0146】(3)第3の実施の形態 上述した第2の実施の形態においては、繋ぎ処理した場
合でもバッドスポットを特定できるものの、図25及び
図26について上述したように、1つのバンクの最後の
トラックセットが正しく再生できない場合、このバンク
についてはデータエリアに確定できないトラックセット
が残ることになる。
(3) Third Embodiment In the above-described second embodiment, the bad spot can be specified even when the connection processing is performed. However, as described above with reference to FIGS. If the last track set cannot be reproduced correctly, an undetermined track set will remain in the data area for this bank.

【0147】このためこの実施の形態では、図27に示
すように、バンクID、バッドスポットID数に加え
て、バンク番号をサブコードに割り当てる。ここでバン
ク番号は、各バンクで連続する番号であり、リトライに
係るトラックセットにおいては、バンクID等と同様
に、直前の値がそのまま適用され、記録を開始する際に
はリセットされる。これによりこの実施の形態では、連
続した磁気テープ10上のバンクにおいて、連続性を確
認できるようになされている。
For this reason, in this embodiment, as shown in FIG. 27, a bank number is assigned to a subcode in addition to the number of bank IDs and bad spot IDs. Here, the bank number is a continuous number in each bank, and in a track set related to retry, similarly to the bank ID or the like, the immediately preceding value is applied as it is, and is reset when recording is started. Thus, in this embodiment, continuity can be confirmed in the banks on the continuous magnetic tape 10.

【0148】さらにこの実施の形態では、図20につい
て上述したステップSP17の処理において、このバン
ク番号を使用した処理をさらに実行し、これにより繋ぎ
処理した場合でも、バッドスポット以外の各バンクで最
低1つのトラックセットを正しく再生できれば、バッド
スポットだけでなくデータエリアについても全てのトラ
ックセットを判定できるようにする。
Further, in this embodiment, in the processing of step SP17 described above with reference to FIG. 20, the processing using this bank number is further executed. If one track set can be correctly reproduced, all the track sets can be determined not only for the bad spot but also for the data area.

【0149】すなわちこのようにバンクID、バッドス
ポットID数に加えてバンク番号をサブコードに割り当
てて、図20の処理手順を実行することにより、図21
〜24、図26との対比により図27〜図31に示すよ
うに、全てのトラックセットを正しく再生できたような
場合等にあっては、第2の実施の形態と同様にしてバッ
ドスポットを特定でき、さらにはユーザーデータを記録
したトラックセットをデータエリアに確定することがで
きる。
That is, by assigning the bank number to the sub-code in addition to the bank ID and the number of bad spot IDs as described above and executing the processing procedure of FIG.
26 and FIG. 26, as shown in FIG. 27 to FIG. 31, when all the track sets can be correctly reproduced, etc., the bad spot is set in the same manner as in the second embodiment. A track set in which user data is recorded can be specified, and a data area can be determined.

【0150】これに対して図25の場合を改めて図32
に示すように、バンクの途中のトラックセットだけが正
しく再生できた場合でも、これら離散的に正しく再生さ
れるトラックセットが連続するバンクの処理に係るもの
の場合、正しく再生されたトラックセットのバンクID
より、各バンクのトラックセット数を判断でき、これに
より例えばバンク0においては、データエリアに確定で
きないでいたトラックセットを正しく再生できたトラッ
クセットと同一のバンクに属するものとしてデータエリ
アに設定することができる。
On the other hand, the case of FIG. 25 is changed again to FIG.
As shown in the figure, even if only the track set in the middle of the bank can be correctly reproduced, if the discretely correctly reproduced track set is related to the processing of a continuous bank, the bank ID of the correctly reproduced track set is used.
Thus, the number of track sets in each bank can be determined, so that, for example, in bank 0, a track set that could not be determined in the data area is set in the data area as belonging to the same bank as a track set that was correctly reproduced. Can be.

【0151】このためこの実施の形態において、メイン
CPUは、上述したステップSP18の処理を実行した
後、さらにこの図27に示す論理ID05〜07のトラ
ックセットのように、未確定のトラックセットが存在す
るか否か判断する。さらにこのようなトラックセットが
存在する場合には、バンク番号の連続性により同一トラ
ックセット数によるバンクの繰り返しか否か判断する。
ここで同一トラックセット数によるバンクの繰り返しと
判断される場合、メインCPUは、既にデータエリアに
仮設定されてなるトラックセットのバンクIDを使用し
て、このバンクに属するトラックセットを改めてデータ
エリアに設定する。
For this reason, in this embodiment, after executing the processing of step SP18 described above, the main CPU further determines that an undetermined track set exists, such as the track sets of logical IDs 05 to 07 shown in FIG. It is determined whether or not to do. Further, when such a track set exists, it is determined based on the continuity of the bank number whether or not the bank is repeated with the same track set number.
Here, when it is determined that the bank is repeated by the same track set number, the main CPU uses the bank ID of the track set temporarily set in the data area to newly set the track set belonging to this bank to the data area. Set.

【0152】これにより図32に示すバンク0の論理I
D05〜09、バンク1の論理ID11〜15のトラッ
クセットについても、データエリアと判定することがで
きる。
As a result, the logic I of bank 0 shown in FIG.
Track sets D05-09 and logical IDs 11-15 of bank 1 can also be determined as data areas.

【0153】第3の実施の形態によれば、バンクの連続
性により各バンクを構成するトラックセット数を判定し
て処理することにより、第2の実施の形態に比してさら
に一段と確実に各トラックセットを判定することができ
る。
According to the third embodiment, the number of track sets constituting each bank is determined and processed based on the continuity of the banks, so that each of the sets is more reliably compared to the second embodiment. The track set can be determined.

【0154】(4)他の実施の形態 なお上述の実施の形態においては、記録単位である1つ
のバンクを8つのトラックセットによる構成し、また4
トラックにより1トラックセットを構成する場合につい
て述べたが、本発明はこれに限らず、8つのトラックセ
ット以外の複数トラックセットにより1つの記録単位で
あるバンクを構成する場合、さらには4つのトラック以
外の複数のトラックにより1つのトラックセットを構成
する場合、さらにはトラックセットの処理を省略して単
に複数トラックを記録単位に設定してリトライする場合
にも広く適用することができる。
(4) Other Embodiments In the above embodiment, one bank as a recording unit is constituted by eight track sets.
The case where one track set is constituted by tracks has been described. However, the present invention is not limited to this. In the case where a bank which is one recording unit is constituted by a plurality of track sets other than eight track sets, furthermore, other than four tracks, The present invention can be widely applied to a case where one track set is constituted by a plurality of tracks, and a case where the processing of the track set is omitted and a plurality of tracks are simply set as a recording unit and a retry is performed.

【0155】また上述の実施の形態においては、搬送機
構との組み合わせに係るテープストリーマに本発明を適
用する場合について述べたが、本発明はこれに限らず、
例えばホストコンピュータに直接接続する構成のテープ
ストリーマにも広く適用することができる。
In the above-described embodiment, the case where the present invention is applied to the tape streamer in combination with the transport mechanism has been described. However, the present invention is not limited to this.
For example, the present invention can be widely applied to a tape streamer configured to be directly connected to a host computer.

【0156】また上述の実施の形態においては、コンピ
ュータのデータを記録する場合について述べたが、本発
明はこれに限らず、例えばビデオ信号、オーディオ信号
を処理する場合にも広く適用することができる。
Further, in the above-described embodiment, the case of recording computer data has been described. However, the present invention is not limited to this, and can be widely applied to, for example, processing of video signals and audio signals. .

【0157】[0157]

【発明の効果】上述のように本発明によれば、少なくと
もバッドスポットに続く記録単位において、何れのトラ
ック又はトラックセットによってもバッドスポットを特
定可能にデータを記録することにより、またこのように
して記録したデータによりバッドスポットを検出するこ
とにより、従来に比して確実にバッドスポットを検出す
ることができる。
As described above, according to the present invention, at least in a recording unit following a bad spot, data can be specified so that the bad spot can be specified by any track or track set. By detecting a bad spot from recorded data, a bad spot can be detected more reliably than in the past.

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

【図1】本発明の実施の形態に係るバックアップシステ
ムを示す斜視図である。
FIG. 1 is a perspective view showing a backup system according to an embodiment of the present invention.

【図2】図1のバックアップシステムを示すブロック図
である。
FIG. 2 is a block diagram showing the backup system of FIG. 1;

【図3】図1のバックアップシステムのテープストリー
マを示す正面図及び背面図である。
FIG. 3 is a front view and a rear view showing a tape streamer of the backup system of FIG. 1;

【図4】図3のテープストリーマによる記録フォーマッ
トを示す略線図である。
FIG. 4 is a schematic diagram illustrating a recording format by the tape streamer of FIG. 3;

【図5】図3のテープストリーマにおけるトラック間イ
ンターリーブの説明に供する略線図である。
FIG. 5 is a schematic diagram for explaining inter-track interleaving in the tape streamer of FIG. 3;

【図6】図3のテープストリーマにおけるECCブロッ
クの説明に供する略線図である。
FIG. 6 is a schematic diagram illustrating an ECC block in the tape streamer of FIG. 3;

【図7】図3のテープストリーマにおけるトラックセッ
トの説明に供する略線図である。
FIG. 7 is a schematic diagram for explaining a track set in the tape streamer of FIG. 3;

【図8】図3のテープストリーマにおける磁気テープ全
体の物理ボリュームの説明に供する略線図である。
8 is a schematic diagram for explaining a physical volume of the entire magnetic tape in the tape streamer of FIG. 3;

【図9】図3のテープストリーマにおける各ボリューム
の説明に供する略線図である。
9 is a schematic diagram for explaining each volume in the tape streamer of FIG. 3;

【図10】図3のテープストリーマを示すブロック図で
ある。
FIG. 10 is a block diagram showing the tape streamer of FIG. 3;

【図11】ユーザーデータの説明に供する図表である。FIG. 11 is a chart for explaining user data.

【図12】バッドスポットを特定するデータを示す図表
である。
FIG. 12 is a chart showing data for specifying a bad spot.

【図13】リカバリーの処理の説明に供する略線図であ
る。
FIG. 13 is a schematic diagram used for describing a recovery process.

【図14】バッドスポットの検出処理手順を示すフロー
チャートである。
FIG. 14 is a flowchart illustrating a bad spot detection processing procedure.

【図15】バッドスポットの部分を正しく再生できなか
った場合のバッドスポットの検出の説明に起用する図表
である。
FIG. 15 is a chart used for explaining bad spot detection when a bad spot portion cannot be reproduced correctly.

【図16】バッドスポットの一部と続くトラックセット
を正しく再生できなかった場合のバッドスポットの検出
の説明に起用する図表である。
FIG. 16 is a chart used for explaining bad spot detection when a track set following a part of a bad spot cannot be correctly reproduced.

【図17】データエリアのみ正しく再生できなかった場
合のバッドスポットの検出の説明に起用する図表であ
る。
FIG. 17 is a chart used for explaining the detection of a bad spot when only a data area cannot be correctly reproduced.

【図18】バッドスポットの部分を除いてエラーが多発
した場合のバッドスポットの検出の説明に起用する図表
である。
FIG. 18 is a chart used for explaining bad spot detection when errors occur frequently except for a bad spot portion.

【図19】バッドスポットの部分を含めてエラーが多発
した場合のバッドスポットの検出の説明に起用する図表
である。
FIG. 19 is a table used for explaining the detection of bad spots when an error occurs frequently including a bad spot portion.

【図20】第2の実施の形態に係るバッドスポットの検
出処理手順を示すフローチャートである。
FIG. 20 is a flowchart illustrating a bad spot detection processing procedure according to the second embodiment.

【図21】図20の処理手順による全てのトラックセッ
トを正しく再生できた場合のバッドスポットの検出の説
明に起用する図表である。
FIG. 21 is a chart used for explaining bad spot detection when all track sets have been correctly reproduced according to the processing procedure of FIG. 20;

【図22】図20の処理手順によるバッドスポットの部
分を正しく再生できなかった場合のバッドスポットの検
出の説明に起用する図表である。
FIG. 22 is a chart used for explaining the detection of a bad spot when a bad spot cannot be correctly reproduced according to the processing procedure of FIG. 20;

【図23】図20の処理手順によるバッドスポットの一
部と続くトラックセットを正しく再生できなかった場合
のバッドスポットの検出の説明に起用する図表である。
FIG. 23 is a table used for explaining the detection of bad spots when a part of a bad spot and a subsequent track set cannot be correctly reproduced according to the processing procedure of FIG. 20;

【図24】図20の処理手順によるデータエリアのみ正
しく再生できなかった場合のバッドスポットの検出の説
明に起用する図表である。
FIG. 24 is a chart used for explaining bad spot detection when only the data area cannot be correctly reproduced according to the processing procedure of FIG. 20;

【図25】図20の処理手順によるバッドスポットの部
分を含めてエラーが多発した場合のバッドスポットの検
出の説明に起用する図表である。
FIG. 25 is a chart used to describe the detection of bad spots when errors occur frequently including the bad spots in the processing procedure of FIG. 20;

【図26】図20の処理手順によるバッドスポットの部
分を除いて各バンクの最後のトラックセットだけを正し
く再生できた場合のバッドスポットの検出の説明に起用
する図表である。
FIG. 26 is a chart used for explaining bad spot detection when only the last track set of each bank has been correctly reproduced except for the bad spot portion according to the processing procedure of FIG. 20;

【図27】第3の実施の形態に係る処理により、全ての
トラックセットを正しく再生できた場合のバッドスポッ
トの検出の説明に起用する図表である。
FIG. 27 is a chart used for explaining bad spot detection when all track sets have been correctly reproduced by the process according to the third embodiment.

【図28】第3の実施の形態に係る処理により、バッド
スポットの部分を正しく再生できなかった場合のバッド
スポットの検出の説明に起用する図表である。
FIG. 28 is a chart used for explaining bad spot detection when a bad spot portion cannot be correctly reproduced by the process according to the third embodiment.

【図29】第3の実施の形態に係る処理により、バッド
スポットの一部と続くトラックセットを正しく再生でき
なかった場合のバッドスポットの検出の説明に起用する
図表である。
FIG. 29 is a chart used to describe the detection of a bad spot when a track set following a part of the bad spot cannot be correctly reproduced by the process according to the third embodiment.

【図30】第3の実施の形態に係る処理により、データ
エリアのみ正しく再生できなかった場合のバッドスポッ
トの検出の説明に起用する図表である。
FIG. 30 is a chart used for explaining bad spot detection when only the data area cannot be correctly reproduced by the process according to the third embodiment.

【図31】第3の実施の形態に係る処理により、バッド
スポットの部分を含めてエラーが多発した場合のバッド
スポットの検出の説明に起用する図表である。
FIG. 31 is a chart used for describing detection of a bad spot when an error including a bad spot frequently occurs in the processing according to the third embodiment.

【図32】第3の実施の形態に係る処理により、各バン
クの途中のトラックセットだけを正しく再生できた場合
のバッドスポットの検出の説明に起用する図表である。
FIG. 32 is a chart used for describing bad spot detection when only a track set in the middle of each bank can be correctly reproduced by the processing according to the third embodiment.

【図33】従来の処理によるバッドスポットの検出の説
明に起用する図表である。
FIG. 33 is a chart used for explaining detection of a bad spot by a conventional process.

【図34】従来の処理による、バッドスポットの部分を
正しく再生できなかった場合のバッドスポットの検出の
説明に起用する図表である。
FIG. 34 is a chart used for explaining detection of a bad spot when a bad spot portion cannot be correctly reproduced by a conventional process.

【図35】従来の処理による、バッドスポットの一部と
続くトラックセットを正しく再生できなかった場合のバ
ッドスポットの検出の説明に起用する図表である。
FIG. 35 is a chart used to describe detection of a bad spot when a track set following a part of the bad spot cannot be correctly reproduced by a conventional process.

【図36】従来の処理による、データエリアのみ正しく
再生できなかった場合のバッドスポットの検出の説明に
起用する図表である。
FIG. 36 is a table used for explaining bad spot detection in a case where only a data area cannot be correctly reproduced by conventional processing.

【符号の説明】 1……バックアップシステム、3……テープストリー
マ、5……CPUユニット、6……搬送機構、8……ホ
ストコンピュータ、10……磁気テープ、23……メイ
ンCPU部、24……バックアップメモリ、25……E
CCエンコーダ、26……ECCデコーダ
[Description of Signs] 1 ... Backup system, 3 ... Tape streamer, 5 ... CPU unit, 6 ... Transport mechanism, 8 ... Host computer, 10 ... Magnetic tape, 23 ... Main CPU unit, 24 ... ... backup memory, 25 ... E
CC encoder, 26 ECC decoder

Claims (14)

【特許請求の範囲】[Claims] 【請求項1】磁気テープに順次斜めにトラックを形成し
て所望のデータを記録する磁気記録再生装置において、 リードアフタライトの処理により、所定のトラック数又
はトラックセット数による記録単位を単位にしてリトラ
イの処理を実行すると共に、正しく再生できなかった領
域をバッドスポットに設定し、 何れの前記トラック又はトラックセットによっても、前
記バッドスポットを特定可能なバッドスポットのデータ
を、少なくとも前記リトライに係るトラック又はトラッ
クセットに記録することを特徴とする磁気記録再生装
置。
1. A magnetic recording / reproducing apparatus for recording desired data by sequentially forming tracks diagonally on a magnetic tape, by a read-after-write process, in units of recording units of a predetermined number of tracks or a number of track sets. A retry process is executed, and an area that cannot be correctly reproduced is set as a bad spot. In any of the tracks or the track sets, data of the bad spot that can specify the bad spot is at least a track related to the retry. Alternatively, a magnetic recording / reproducing apparatus for recording on a track set.
【請求項2】誤り訂正符号を付加して前記バッドスポッ
トのデータを記録することを特徴とする請求項1に記載
の磁気記録再生装置。
2. The magnetic recording / reproducing apparatus according to claim 1, wherein data of said bad spot is recorded by adding an error correction code.
【請求項3】前記バッドスポットの位置情報を所定の領
域に記録して保持することを特徴とする請求項1に記載
の磁気記録再生装置。
3. The magnetic recording / reproducing apparatus according to claim 1, wherein the position information of the bad spot is recorded and held in a predetermined area.
【請求項4】前記バッドスポットのデータは、 前記リトライに係る記録単位の直前のバッドスポットの
トラック数又はトラックセット数を特定するバッドスポ
ット数のデータと、 前記記録単位のトラック数又はトラックセット数を特定
するデータと、 前記記録単位におけるトラックの位置又はトラックセッ
トの位置を特定するデータであることを特徴とする請求
項1に記載の磁気記録再生装置。
4. The data of the bad spot includes data of the number of bad spots specifying the number of tracks or the number of track sets of the bad spot immediately before the recording unit related to the retry, and the number of tracks or the number of track sets of the recording unit. The magnetic recording / reproducing apparatus according to claim 1, wherein the data is data for specifying a track position or a track set position in the recording unit.
【請求項5】前記バッドスポットのデータは、 前記リトライに係る記録単位の直前のバッドスポットの
トラック数又はトラックセット数を特定するバッドスポ
ット数のデータと、 前記記録単位におけるトラックの位置又はトラックセッ
トの位置を特定するデータであることを特徴とする請求
項1に記載の磁気記録再生装置。
5. The data of the bad spot includes data of the number of bad spots specifying the number of tracks or the number of track sets of the bad spot immediately before the recording unit related to the retry, and the position or track set of the track in the recording unit. 2. The magnetic recording / reproducing apparatus according to claim 1, wherein the data specifies a position of the magnetic recording / reproducing apparatus.
【請求項6】前記バッドスポットのデータは、 前記リトライに係る記録単位の直前のバッドスポットの
トラック数又はトラックセット数を特定するバッドスポ
ット数のデータと、 前記記録単位におけるトラックの位置又はトラックセッ
トの位置を特定するデータと、 前記記録単位の連続性を示すデータであることを特徴と
する請求項1に記載の磁気記録再生装置。
6. The data of the bad spot includes data of the number of bad spots specifying the number of tracks or the number of track sets of the bad spot immediately before the recording unit related to the retry, and the position or track set of the track in the recording unit. 2. The magnetic recording / reproducing apparatus according to claim 1, wherein the magnetic recording / reproducing apparatus is data for specifying a position of the recording unit and data indicating continuity of the recording unit.
【請求項7】磁気テープに順次斜めに形成されたトラッ
クより所望のデータを再生する磁気記録再生装置におい
て、 前記磁気テープは、 リードアフタライトの処理により、所定のトラック数又
はトラックセット数による記録単位を単位にしてリトラ
イの処理が実行されると共に、正しく再生できなかった
領域がバッドスポットに設定され、 何れの前記トラック又はトラックセットによっても、前
記バッドスポットを特定可能なバッドスポットのデータ
が、少なくとも前記リトライに係る前記トラック又はト
ラックセットに記録され、 前記磁気記録再生装置は、 前記トラック又はトラックセットより正しくデータを再
生できた場合には、 該トラック又はトラックセットをデータエリアに仮設定
し、 前記バッドスポットのデータよりバッドスポットのトラ
ック又はトラックセットを特定し、 前記仮設定及び又は前記特定により、従前の記録単位に
係る仮設定のトラック又はトラックセットをデータエリ
アに設定することを特徴とする磁気記録再生装置。
7. A magnetic recording / reproducing apparatus for reproducing desired data from tracks sequentially formed diagonally on a magnetic tape, wherein the magnetic tape is recorded by a predetermined number of tracks or track sets by read-after-write processing. The retry process is performed in units, and the area that could not be correctly reproduced is set as a bad spot. In any of the tracks or track sets, the data of the bad spot that can specify the bad spot is The magnetic recording / reproducing device is recorded at least on the track or the track set related to the retry, and when the data can be correctly reproduced from the track or the track set, the track or the track set is provisionally set in the data area, Bads data from the bad spot data A magnetic recording / reproducing apparatus comprising: specifying a track or a track set of a pot; and setting, by the provisional setting and / or the specification, a temporarily set track or track set related to a previous recording unit in a data area.
【請求項8】前記バッドスポットのデータは、 前記リトライに係る記録単位の直前のバッドスポットの
トラック数又はトラックセット数を特定するバッドスポ
ット数のデータと、 前記記録単位のトラック数又はトラックセット数を特定
するデータと、 前記記録単位におけるトラックの位置又はトラックセッ
トの位置を特定するデータであり、 前記磁気記録再生装置は、 前記該トラック又はトラックセットをデータエリアに仮
設定する処理において、 併せて前記記録単位のトラック数又はトラックセット数
を特定するデータにより、前記正しく再生できたトラッ
ク又はトラックセットの属する記録単位のトラック又は
トラックセットを前記データエリアに仮設定することを
特徴とする請求項7に記載の磁気記録再生装置。
8. The data of the bad spot, the data of the number of bad spots specifying the number of tracks or the number of track sets of the bad spot immediately before the recording unit related to the retry, and the number of tracks or the number of track sets of the recording unit. And data for specifying a position of a track or a track set in the recording unit. The magnetic recording / reproducing apparatus further includes: a process of temporarily setting the track or the track set in a data area. 8. The data area specifying the number of tracks or the number of track sets of the recording unit, the track or the track set of the recording unit to which the correctly reproduced track or track set belongs is temporarily set in the data area. 3. The magnetic recording and reproducing device according to 1.
【請求項9】前記バッドスポットのデータは、 前記リトライに係る記録単位の直前のバッドスポットの
トラック数又はトラックセット数を特定するバッドスポ
ット数のデータと、 前記記録単位におけるトラックの位置又はトラックセッ
トの位置を特定するデータであり、 前記磁気記録再生装置は、 前記該トラック又はトラックセットをデータエリアに仮
設定する処理において、 併せて前記記録単位におけるトラックの位置又はトラッ
クセットの位置を特定するデータにより、前記正しく再
生できたトラック又はトラックセットの属する記録単位
のトラック又はトラックセットであって、再生済みのト
ラック又はトラックセットを前記データエリアに仮設定
することを特徴とする請求項7に記載の磁気記録再生装
置。
9. The data of the bad spot includes data of the number of bad spots specifying the number of tracks or the number of track sets of the bad spot immediately before the recording unit related to the retry, and the position or track set of the track in the recording unit. The magnetic recording / reproducing apparatus, in the process of temporarily setting the track or the track set in the data area, further includes data specifying the track position or the track set position in the recording unit. 8. The method according to claim 7, wherein a track or a track set of a recording unit to which the track or the track set that has been correctly reproduced belongs, and the reproduced track or the track set is temporarily set in the data area. Magnetic recording and reproducing device.
【請求項10】前記バッドスポットのデータは、 前記リトライに係る記録単位の直前のバッドスポットの
トラック数又はトラックセット数を特定するバッドスポ
ット数のデータと、 前記記録単位におけるトラックの位置又はトラックセッ
トの位置を特定するデータと、 前記記録単位の連続性を示すデータであり、 前記磁気記録再生装置は、 前記該トラック又はトラックセットをデータエリアに仮
設定する処理において、 併せて前記記録単位におけるトラックの位置又はトラッ
クセットの位置を特定するデータにより、前記正しく再
生できたトラック又はトラックセットの属する記録単位
のトラック又はトラックセットであって、再生済みのト
ラック又はトラックセットを前記データエリアに仮設定
し、 前記従前の記録単位に係る仮設定のトラック又はトラッ
クセットをデータエリアに設定する処理において、 前記記録単位の連続性を示すデータにより、連続する前
記記録単位に係る前記トラック数又は前記トラックセッ
ト数を判定し、該判定結果より、前記データエリアに設
定するトラック又はトラックセットの属する記録単位を
前記データエリアに設定することを特徴とする請求項7
に記載の磁気記録再生装置。
10. The data of the bad spot includes data of the number of bad spots specifying the number of tracks or the number of track sets of the bad spot immediately before the recording unit related to the retry, and the position or track set of the track in the recording unit. And data indicating the continuity of the recording unit. In the process of temporarily setting the track or the track set in the data area, According to the data specifying the position of the track set or the position of the track set, the track or the track set of the recording unit to which the correctly reproduced track or the track set belongs, and the reproduced track or the track set is temporarily set in the data area. , The provisional setting of the previous recording unit In the process of setting a track or a track set in the data area, the data indicating the continuity of the recording unit is used to determine the number of tracks or the number of track sets related to the continuous recording unit. 8. A recording unit to which a track or a track set to be set in an area belongs is set in the data area.
3. The magnetic recording and reproducing device according to claim 1.
【請求項11】順次斜めに形成されたトラックに所望の
データが記録され、かつリードアフタライトの処理によ
り、所定のトラック数又はトラックセット数による記録
単位を単位にしてリトライの処理が実行されると共に、
正しく再生できなかった領域がバッドスポットに設定さ
れてなる磁気テープより、前記バッドスポットを検出す
るバッドスポットの検出方法において、 前記磁気テープは、 何れの前記トラック又はトラックセットによっても、前
記バッドスポットを特定可能なバッドスポットのデータ
が、少なくも前記リトライに係る前記トラック又はトラ
ックセットに記録され、 前記バッドスポットの検出方法は、 前記トラック又はトラックセットより正しくデータを再
生できた場合には、 該トラック又はトラックセットをデータエリアに仮設定
し、 前記バッドスポットのデータよりバッドスポットのトラ
ック又はトラックセットを特定し、 前記仮設定及び又は前記特定により、従前の記録単位に
係る仮設定のトラック又はトラックセットをデータエリ
アに設定することを特徴とするバッドスポットの検出方
法。
11. Desired data is recorded on tracks formed diagonally in sequence, and a retry process is executed by a read-after-write process in units of recording units based on a predetermined number of tracks or a number of track sets. Along with
In a method for detecting a bad spot from a magnetic tape in which an area that cannot be correctly reproduced is set as a bad spot, the magnetic tape may detect the bad spot by any of the tracks or track sets. Specifiable bad spot data is recorded on at least the track or track set related to the retry, and the bad spot detection method is as follows: if data can be correctly reproduced from the track or track set, Alternatively, a track set is provisionally set in the data area, a track or track set of the bad spot is specified from the data of the bad spot, and the track or track set of the provisional setting related to the previous recording unit is specified by the provisional setting and / or the specification. The data area A method for detecting bad spots, wherein
【請求項12】前記バッドスポットのデータは、 前記リトライに係る記録単位の直前のバッドスポットの
トラック数又はトラックセット数を特定するバッドスポ
ット数のデータと、 前記記録単位のトラック数又はトラックセット数を特定
するデータと、 前記記録単位におけるトラックの位置又はトラックセッ
トの位置を特定するデータであり、 前記バッドスポットの検出方法は、 前記該トラック又はトラックセットをデータエリアに仮
設定する処理において、 併せて前記記録単位のトラック数又はトラックセット数
を特定するデータにより、前記正しく再生できたトラッ
ク又はトラックセットの属する記録単位のトラック又は
トラックセットを前記データエリアに仮設定することを
特徴とする請求項11に記載のバッドスポットの検出方
法。
12. The bad spot data includes: data of a bad spot number that specifies the number of tracks or track sets of the bad spot immediately before the recording unit related to the retry; and the number of tracks or the number of track sets of the recording unit. And data for specifying the position of a track or a track set in the recording unit. The method for detecting a bad spot includes the steps of: temporarily setting the track or the track set in a data area; The data or a track set of the recording unit to which the track or the track set that has been correctly reproduced is temporarily set in the data area by data specifying the number of tracks or the number of track sets of the recording unit. How to detect bad spots described in 11 .
【請求項13】前記バッドスポットのデータは、 前記リトライに係る記録単位の直前のバッドスポットの
トラック数又はトラックセット数を特定するバッドスポ
ット数のデータと、 前記記録単位におけるトラックの位置又はトラックセッ
トの位置を特定するデータであり、 前記バッドスポットの検出方法は、 前記該トラック又はトラックセットをデータエリアに仮
設定する処理において、 併せて前記記録単位におけるトラックの位置又はトラッ
クセットの位置を特定するデータにより、前記正しく再
生できたトラック又はトラックセットの属する記録単位
のトラック又はトラックセットであって、再生済みのト
ラック又はトラックセットを前記データエリアに仮設定
することを特徴とする請求項11に記載のバッドスポッ
トの検出方法。
13. The data of the bad spot includes data of the number of bad spots that specifies the number of tracks or the number of track sets of the bad spot immediately before the recording unit related to the retry, and the position or track set of the track in the recording unit. The bad spot detection method further comprises: in the process of temporarily setting the track or the track set in the data area, further specifying the track position or the track set position in the recording unit. 12. The data area according to claim 11, wherein a track or a track set of a recording unit to which the track or the track set that has been correctly reproduced belongs, and the reproduced track or the track set is temporarily set in the data area. Bad spot detection method.
【請求項14】前記バッドスポットのデータは、 前記リトライに係る記録単位の直前のバッドスポットの
トラック数又はトラックセット数を特定するバッドスポ
ット数のデータと、 前記記録単位におけるトラックの位置又はトラックセッ
トの位置を特定するデータと、 前記記録単位の連続性を示すデータであり、 前記バッドスポットの検出方法は、 前記該トラック又はトラックセットをデータエリアに仮
設定する処理において、 併せて前記記録単位におけるトラックの位置又はトラッ
クセットの位置を特定するデータにより、前記正しく再
生できたトラック又はトラックセットの属する記録単位
のトラック又はトラックセットであって、再生済みのト
ラック又はトラックセットを前記データエリアに仮設定
し、 前記従前の記録単位に係る仮設定のトラック又はトラッ
クセットをデータエリアに設定する処理において、 前記記録単位の連続性を示すデータにより、連続する前
記記録単位に係る前記トラック数又は前記トラックセッ
ト数を判定し、該判定結果より、前記データエリアに設
定するトラック又はトラックセットの属する記録単位を
前記データエリアに設定することを特徴とする請求項1
1に記載のバッドスポットの検出方法。
14. The data of the bad spot, the data of the number of bad spots for specifying the number of tracks or the number of track sets of the bad spot immediately before the recording unit related to the retry, the position of the track or the track set in the recording unit. And data indicating the continuity of the recording unit. The method for detecting the bad spot, in the process of temporarily setting the track or track set in a data area, According to the data specifying the position of the track or the position of the track set, the track or the track set of the recording unit to which the correctly reproduced track or the track set belongs, and the reproduced track or the track set is provisionally set in the data area. Pertaining to the previous recording unit In the process of setting a temporarily set track or track set in a data area, the number of tracks or the number of track sets related to the continuous recording units is determined based on data indicating the continuity of the recording units, and from the determination result, 2. A recording unit to which a track or a track set set in the data area belongs is set in the data area.
2. The method for detecting a bad spot according to 1.
JP2000065688A 2000-03-06 2000-03-06 Magnetic recording and reproducing device and method for detecting bad spot Pending JP2001250340A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000065688A JP2001250340A (en) 2000-03-06 2000-03-06 Magnetic recording and reproducing device and method for detecting bad spot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000065688A JP2001250340A (en) 2000-03-06 2000-03-06 Magnetic recording and reproducing device and method for detecting bad spot

Publications (1)

Publication Number Publication Date
JP2001250340A true JP2001250340A (en) 2001-09-14

Family

ID=18585172

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000065688A Pending JP2001250340A (en) 2000-03-06 2000-03-06 Magnetic recording and reproducing device and method for detecting bad spot

Country Status (1)

Country Link
JP (1) JP2001250340A (en)

Similar Documents

Publication Publication Date Title
JP2993994B2 (en) Data storage device and data storage method
JPH08235783A (en) Data recorder
US7143232B2 (en) Method, system, and program for maintaining a directory for data written to a storage medium
US6525894B1 (en) Tape drive apparatus and method for mounting a volume from a tape medium
JP2002074903A (en) Magnetic recording and reproducing device and magnetic recording and reproducing method
JP4264615B2 (en) Data recording method, data recording apparatus and recording medium
US6222693B1 (en) Re-recording/re-producing device for magnetic tape and head cleaning
JP4257559B2 (en) Data processing apparatus and data reproduction method
JP2001250340A (en) Magnetic recording and reproducing device and method for detecting bad spot
JP3160413B2 (en) Method for calculating recording capacity of magnetic tape device
JP2001256695A (en) Magnetic recording and reproducing device and access method for magnetic tape
JP2550139B2 (en) Magnetic recording device
JP4247650B2 (en) Magnetic recording / reproducing apparatus and bad spot processing method
US5886841A (en) Apparatus and method for copying data between tape streamers which provides an indication of a difference in the amount of data requested to be copied and the amount of data sent
US6426842B1 (en) Tape travel controlling apparatus for use with data recorder
JP2008262708A (en) Data processor, data recording method, and data reproducing method
JP2002056634A (en) Device and method for reproducing data
JP2595096B2 (en) Control method of magnetic tape unit and buffer memory
JP2001256737A (en) Magnetic recording device and magnetic reproducing device
JP2001189061A (en) Data processor, data recording/reproducing method
JP2001266542A (en) Magnetic recording/reproducing device
JPH08235836A (en) Data recorder
JPH0834045B2 (en) Magnetic recording method
JP2633924B2 (en) Magnetic recording / reproducing device
JPH04326420A (en) Magnetic tape storage and its control system