JPH1153869A - Magnetic tape controller and positioning control method - Google Patents

Magnetic tape controller and positioning control method

Info

Publication number
JPH1153869A
JPH1153869A JP9205732A JP20573297A JPH1153869A JP H1153869 A JPH1153869 A JP H1153869A JP 9205732 A JP9205732 A JP 9205732A JP 20573297 A JP20573297 A JP 20573297A JP H1153869 A JPH1153869 A JP H1153869A
Authority
JP
Japan
Prior art keywords
tape
data block
position information
magnetic tape
magnetic
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
JP9205732A
Other languages
Japanese (ja)
Inventor
Susumu Sato
晋 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Yonezawa Ltd
Original Assignee
NEC Yonezawa Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Yonezawa Ltd filed Critical NEC Yonezawa Ltd
Priority to JP9205732A priority Critical patent/JPH1153869A/en
Publication of JPH1153869A publication Critical patent/JPH1153869A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To avoid useless wiring and reading to/from an unreadable defective block by enabling high speed positioning of a magnetic head to a tape mark and a data block on a magnetic tape. SOLUTION: A tape information management area is provided to the beginning of tape(BOT) area of tape from which recording can be started and moreover a management area 2 for registration management of position information of tape marks 5, 6,... and a management area 3 for registration management of position information of unreadable defective data block among the data blocks 4 are also provided. The tape mark position information and defective data block position information written and registered to the management areas 2 and 3 are updated through the reference. During the loading period, the magnetic head is positioned at high speed to the track (#2) where the target tape mark 6 exists. Thereafter, the magnetic head is sequentially moved in unit of one data block to the data block 1 within the track for the positioning to the target tape mark 6.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、磁気テープ上の記
録情報の区切りであるテープマークまたはデータブロッ
クに、磁気ヘッドを高速かつ効率的に位置付け可能とす
る磁気テープ制御装置および位置付け制御方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic tape control device and a position control method which enable a magnetic head to be positioned at high speed and efficiently at a tape mark or a data block which is a delimiter of recorded information on a magnetic tape.

【0002】[0002]

【従来の技術】一般に、磁気テープ制御装置において
は、磁気テープ上のテープマークやデータブロックを目
標にして情報の書き込み、あるいは各データブロックに
記録された情報を読み込む場合、目標となるテープマー
クやデータブロックを検出するまで、テープ先頭から1
データブロックごとに読み込みが行われてきた。そうし
た面倒な手順が、磁気ヘッドへの高速位置付けを困難に
している。
2. Description of the Related Art Generally, in a magnetic tape control device, when writing information or reading information recorded in each data block with a target at a tape mark or data block on a magnetic tape, a target tape mark or data block is read. Until a data block is detected, 1
Reading has been performed for each data block. Such a troublesome procedure makes high-speed positioning on the magnetic head difficult.

【0003】高速位置付けを目標として提案されたもの
に、例えば特開平4−286018号公報に記載の高速
位置付け方式がある。この場合、磁気テープ上のテープ
マークやデータブロックおよびテープマークの各位置を
テーブル化している。それを磁気テープ上に記録して論
理ブロックIDと物理ブロックIDとを対応させること
により、位置付けの高速化と効率化を図っている。
A high-speed positioning system proposed as a target for high-speed positioning is disclosed, for example, in Japanese Patent Application Laid-Open No. 4-286018. In this case, the positions of the tape marks, data blocks and tape marks on the magnetic tape are tabulated. By recording it on a magnetic tape and associating the logical block ID with the physical block ID, the positioning is speeded up and the efficiency is improved.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、この特
開平4−286018号公報の高速位置付け方式は、解
決すべき次の問題点が残されている。
However, the high-speed positioning system disclosed in Japanese Patent Application Laid-Open No. 4-286018 has the following problems to be solved.

【0005】目標のデータブロックやテープマークを検
出するまで、テープ先頭から1データブロックずつ読み
込んでいる。ブロック読み込み途中、読み込み不可能な
不良データブロックが検出される場合があるが、その対
応処理は検出された不良データブロックの部分に対して
消去(erase )処理のみを行っている。そのため、同一
の不良データブロック部分に再びデータを書き込むおそ
れがあり、そうした重ね書き込みの不都合を回避すべく
対策がとられていない。
Until a target data block or tape mark is detected, data blocks are read one by one from the head of the tape. In some cases, a bad data block that cannot be read is detected during the block reading, but the corresponding processing is to perform only the erasing processing on the detected bad data block. Therefore, there is a possibility that data may be written again to the same defective data block portion, and no measures have been taken to avoid such inconvenience of overwriting.

【0006】したがって、本発明の主たる目的は、磁気
テープ上の目標とするテープマークやデータブロックへ
の磁気ヘッドの高速位置付けを可能にし、記録の読み書
きの効率を大幅にアップする磁気テープの制御装置およ
び位置付け制御方法を提供することにある。
Accordingly, a main object of the present invention is to provide a magnetic tape control device which enables high-speed positioning of a magnetic head to a target tape mark or data block on a magnetic tape and greatly improves the efficiency of recording and reading. And a positioning control method.

【0007】また、本発明の目的は、読み込み不可能な
不良データブロックに読み書きすることの無駄を回避
し、処理の信頼性を高めることができる磁気テープの制
御装置および制御方法を提供することにある。
It is another object of the present invention to provide a magnetic tape control device and a control method capable of avoiding wasteful reading and writing of unreadable bad data blocks and improving the reliability of processing. is there.

【0008】[0008]

【問題を解決するための手段】本発明の磁気テープ制御
装置は、磁気テープ上の目標とするテープマークまたは
データブロックを磁気ヘッドに位置付けする装置であっ
て、磁気テープの記録開始可能なテープ始端部(BOT)
部に、テープマークの位置情報を登録管理するテープマ
ーク位置情報管理部と、データブロックのうち読み込み
不可能な不良データブロックの位置情報を登録管理する
不良データブロック位置情報管理部とを設けている。
SUMMARY OF THE INVENTION A magnetic tape control device according to the present invention is a device for positioning a target tape mark or data block on a magnetic tape on a magnetic head. Department (BOT)
The unit is provided with a tape mark position information management unit that registers and manages the position information of the tape mark, and a bad data block position information management unit that registers and manages the position information of the unreadable bad data block among the data blocks. .

【0009】この場合、前記一方のテープマーク位置情
報管理部は、磁気テープ上の複数のトラックの番号と、
これらトラック内のテープマークの番号およびデータブ
ロックのID番号とからなるテープマーク位置情報を登
録して格納し、この格納されたテープマーク位置情報を
上位装置が参照して更新可能である。
[0009] In this case, the one tape mark position information management section stores a plurality of track numbers on the magnetic tape,
The tape mark position information including the tape mark number and the data block ID number in these tracks is registered and stored, and the stored tape mark position information can be updated by referring to the stored tape mark position information.

【0010】また、他方の不良データブロック位置情報
管理部は、磁気テープ上の複数のトラックの番号と、こ
れらトラック内の読み込み不可能な不良データブロック
のID番号とからなる不良データブロック位置情報を登
録して格納し、この格納された不良データブロック位置
情報を上位装置が参照して更新可能になっている。
[0010] The other defective data block position information management section stores the defective data block position information comprising the numbers of a plurality of tracks on the magnetic tape and the ID numbers of the unreadable defective data blocks in these tracks. It is registered and stored, and the upper-level device can refer to and update the stored defective data block position information.

【0011】本発明の磁気テープ位置付け制御方法は、
記録開始される磁気テープのテープ始端部(BOT)にテ
ープマーク位置情報管理部が設けてあり、ここに磁気テ
ープ上の複数のトラックの番号と、これらトラック内の
テープマークの番号およびデータブロックのID番号と
からなるテープマーク位置情報が書き込んで登録され
る。
A magnetic tape positioning control method according to the present invention comprises:
A tape mark position information management unit is provided at the tape start end (BOT) of the magnetic tape at which recording is started, where the number of a plurality of tracks on the magnetic tape, the number of the tape mark in these tracks, and the data block The tape mark position information including the ID number is written and registered.

【0012】磁気テープの挿入によるロード時、登録さ
れているテープマーク位置情報の目標とするものを上位
装置によって参照して、その目標のテープマークが所在
するトラックへ磁気ヘッドを高速に位置付けする。
At the time of loading by inserting a magnetic tape, the target device of the registered tape mark position information is referred to by the host device, and the magnetic head is positioned at a high speed to the track where the target tape mark is located.

【0013】次に、このトラックへの高速位置付け後、
磁気ヘッドをトラック内のデータブロックに1データブ
ロック単位で順次移動させ、目標のテープマークに位置
付けする。
Next, after high-speed positioning on this track,
The magnetic head is sequentially moved to data blocks in the track in data block units, and positioned at a target tape mark.

【0014】また、別の本発明による磁気テープ位置付
け制御方法は、前記BOT部に不良データブロック位置
情報管理部が設けてあって、そこには磁気テープ上の複
数のトラックの番号と、これらトラック内のデータブロ
ックのうち読み込み不可能な不良データブロックのID
番号とからなる不良データブロック位置情報を書き込ん
で登録してある。
In another aspect of the magnetic tape positioning control method according to the present invention, the BOT unit is provided with a defective data block position information management unit, in which a plurality of track numbers on the magnetic tape, ID of unreadable bad data block among data blocks in
The bad data block position information including the number is written and registered.

【0015】この場合、磁気テープの挿入によるロード
時、処理中に不良データブロックが検出されると、上位
装置によってBOT部の不良データブロック位置情報管
理部に登録されている不良データブロック位置情報を参
照する。
In this case, when a defective data block is detected during processing at the time of loading by inserting a magnetic tape, the defective data block position information registered in the defective data block position information management unit of the BOT unit by the host device is deleted. refer.

【0016】次に、その検出された不良データブロック
が所在するトラックにおける総エラーリトライ回数に1
回増した回数が所定回数よりも多い場合は、そのトラッ
クにおけるフラグ信号を1に設定してから不良データブ
ロックを消去する。
Next, the total number of error retries in the track where the detected defective data block is located is set to 1
If the number of times of increase is larger than the predetermined number, the flag signal in the track is set to 1 and then the defective data block is erased.

【0017】したがって、以上の装置および制御方法に
より、磁気テープ上の目標とするテープマークまたはデ
ータブロックを磁気ヘッドに位置付けする場合、登録さ
れているテープマーク位置情報の目標とするものを上位
装置によって参照し、その目標のテープマークが所在す
るトラックへ磁気ヘッドを高速に位置付けする。
Therefore, when the target tape mark or data block on the magnetic tape is positioned on the magnetic head by the above apparatus and control method, the target of the registered tape mark position information is determined by the host apparatus. The magnetic head is positioned at a high speed to the track where the target tape mark is located by referring to the reference.

【0018】それから、このトラック内のデータブロッ
クに1データブロック単位で磁気ヘッドを順次移動さ
せ、目標のテープマークに位置付けする。
Then, the magnetic head is sequentially moved to the data block in the track in units of one data block, and positioned at the target tape mark.

【0019】すなわち、第一段階で磁気ヘッドをトラッ
クに高速移動させ、そのトラック内で目標のテープマー
クに位置付けるため、従来のテープ先頭から逐一データ
ブロックごとに位置付ける場合に比べて、目標のテープ
マークに高速で位置付けることができる。
That is, in the first stage, the magnetic head is moved to the track at a high speed and is positioned at the target tape mark within the track. Can be positioned at high speed.

【0020】また、不良データブロックが検出された場
合、単にその不良データブロックを消去するに止まら
ず、それを一度書き込み登録し、所在するトラックのフ
ラグ信号を確認してから消去するので、読み込み不可能
な不良データブロックに無駄に読み書きする不都合を回
避することができる。
When a defective data block is detected, it is not limited to simply erasing the defective data block, but it is written and registered once, and the flag signal of the track where the data block is located is erased. It is possible to avoid the inconvenience of unnecessary reading and writing of possible defective data blocks.

【0021】[0021]

【発明の実施の形態】以下、本発明による磁気のテープ
制御装置および位置付け制御方法の実施の形態につい
て、図面を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of a magnetic tape control device and a positioning control method according to the present invention will be described below with reference to the drawings.

【0022】図1は、磁気テープ上のデータ記録イメー
ジと、これに対応した磁気ヘッドの動作を模式的に示す
図である。磁気テープの記録開始可能なテープ始端(B
OT:Beginning Of Tape )部において、ここに本発明
の骨子となるテープ情報管理エリア1が設けられてい
る。このテープ情報管理エリア1は、テープマーク位置
情報管理部2と不良データブロック位置情報管理部3に
画成されている。
FIG. 1 is a diagram schematically showing a data recording image on a magnetic tape and the operation of a magnetic head corresponding thereto. Start of tape (B
In an OT (Beginning Of Tape) section, a tape information management area 1 which is the gist of the present invention is provided. This tape information management area 1 is defined by a tape mark position information management unit 2 and a bad data block position information management unit 3.

【0023】磁気テープには、BOT部に続いて、トラ
ックごとに先頭のデータブロック4に続く各データブロ
ックと先頭の#1のテープマーク5が設けられている。
On the magnetic tape, following the BOT section, each data block following the first data block 4 and the first # 1 tape mark 5 are provided for each track.

【0024】図3に示すように、BOT部におけるテー
プ情報管理エリア1のテープマーク位置情報管理部2に
は、磁気テープ上のトラックの番号#1,#2,#3・
・・と、それら各トラックに対応したデータブロック4
のID番号と、テープマーク5,6(#1,#2・・
・)とよりなる「テープマーク位置情報」を記憶して格
納可能となっている。図示しない上位装置では、上記の
各テープマーク位置情報を参照でき、かつ更新すること
ができる。
As shown in FIG. 3, the tape mark position information management section 2 of the tape information management area 1 in the BOT section stores track numbers # 1, # 2, # 3,.
.. and data block 4 corresponding to each track
ID numbers and tape marks 5, 6 (# 1, # 2,...)
")" And "tape mark position information" can be stored and stored. In a higher-level device (not shown), the above-described tape mark position information can be referred to and updated.

【0025】また、図2および図4に示すように、上記
不良データブロック位置情報管理部3においては、磁気
テープ上の任意数のトラック番号#1,#2,#3・・
・、そしてそれら各トラックにおける任意数の不良デー
タブロック7のID番号#1,#2,#3・・・の不良
データブロック位置情報を登録して格納可能となってい
る。上位装置では、それらの位置情報を参照し、更新す
ることが可能である。
As shown in FIGS. 2 and 4, the bad data block position information management section 3 has an arbitrary number of track numbers # 1, # 2, # 3,.
.. And the defective data block position information of the ID numbers # 1, # 2, # 3,... Of the arbitrary number of defective data blocks 7 in each track can be registered and stored. The host device can refer to the position information and update it.

【0026】以上の構成において、テープマーク位置情
報管理部2におけるテープマーク位置情報の参照時と更
新時の動作を図1および図3を併用し、図5(a),
(b)および図6(a),(b)の動作フローチャート
によって説明する。
In the above configuration, the operation of referring to and updating the tape mark position information in the tape mark position information management unit 2 will be described with reference to FIGS.
This will be described with reference to the operation flowchart of FIG. 6B and FIGS. 6A and 6B.

【0027】図5(a)に示すように、磁気テープが挿
入されたロード時、上位装置は、BOT部のテープマー
ク位置情報管理部2を読み込み、トラック番号およびデ
ータブロックID番号よりなる「テープマーク位置情
報」を参照する(ステップS1)。
As shown in FIG. 5 (a), at the time of loading with a magnetic tape inserted, the host device reads the tape mark position information management unit 2 of the BOT unit, and reads “tape” consisting of a track number and a data block ID number. Mark position information "is referred to (step S1).

【0028】何らかの処理を実行途中において、図6
(b)に示すように、例えば#1のテープマーク5を検
出すると、この検出したテープマーク5の位置情報が、
参照したテープマーク位置情報に登録されているか否か
判断する(ステップS3)。登録されていない場合(N
o)、そのテープマーク5のデータブロックID番号を
参照したテープマーク位置情報に登録して更新する(ス
テップS4)。
During execution of some processing, FIG.
As shown in (b), for example, when the tape mark 5 of # 1 is detected, the position information of the detected tape mark 5 is
It is determined whether or not the information is registered in the referenced tape mark position information (step S3). If not registered (N
o) Register and update the tape mark position information with reference to the data block ID number of the tape mark 5 (step S4).

【0029】また、図5(b)に示すように、磁気テー
プを排出するアンロード時、磁気ヘッドを一時BOT部
まで移動させてリワインドする(ステップS5)。この
とき、上記ステップS4で更新したテープマーク位置情
報をテープマーク位置情報管理部2に書き込む(ステッ
プS6)。それから、磁気テープを排出する(ステップ
S8)。
As shown in FIG. 5B, when unloading the magnetic tape, the magnetic head is temporarily moved to the BOT section and rewinded (step S5). At this time, the tape mark position information updated in step S4 is written in the tape mark position information management unit 2 (step S6). Then, the magnetic tape is ejected (step S8).

【0030】次に、図7の動作フローチャートに示すよ
うに、テープマーク位置情報を参照して「テープマーク
高速位置付け」を行う場合は以下のように処理される。
Next, as shown in the operation flowchart of FIG. 7, when "tape mark high-speed positioning" is performed with reference to the tape mark position information, the following processing is performed.

【0031】磁気テープが挿入されたロード時、上記ス
テップS1のように、テープマーク位置情報管理部2を
読み込み、テープマーク位置情報を参照する。
At the time of loading with a magnetic tape inserted, the tape mark position information management unit 2 is read and the tape mark position information is referred to as in step S1.

【0032】図7において、磁気ヘッドを例えばトラッ
ク#2における#2のテープマーク6に位置付ける場
合、参照したテープマーク位置情報に#2のテープマー
ク6に関する位置情報が登録されているか否かを判断す
る(ステップS20)。登録されていない場合(N
o)、磁気ヘッドを目標とするテープマーク6に向かっ
て1ブロック単位ごとに位置付けする(ステップS2
2)。ステップS23において、#2のテープマーク6
への位置付けが成功した場合(Yes)、参照したテー
プマーク位置情報を更新する(ステップS24)。
In FIG. 7, when the magnetic head is positioned at, for example, the tape mark 6 of # 2 in the track # 2, it is determined whether or not the position information on the tape mark 6 of # 2 is registered in the referenced tape mark position information. (Step S20). If not registered (N
o), the magnetic head is positioned in units of one block toward the target tape mark 6 (step S2).
2). In step S23, # 2 tape mark 6
If the positioning of the tape mark is successful (Yes), the referenced tape mark position information is updated (step S24).

【0033】上記ステップS20において、登録されて
いる場合(Yes)、参照したテープマーク位置情報を
利用して、磁気ヘッドを目標とする#2のテープマーク
6が存在するトラックへ高速に位置付ける(ステップS
21)。その後、目標の#2のテープマーク6まで、磁
気ヘッドを1ブロック単位で位置付ける(ステップS2
2)。ステップS23において、位置付けが失敗した場
合(No)、テープマーク位置情報を更新する(ステッ
プS24)。
If it is determined in step S20 that the tape has been registered (Yes), the magnetic head is positioned at a high speed on the track where the target tape mark 6 of # 2 exists by using the referenced tape mark position information (step S20). S
21). Thereafter, the magnetic head is positioned in units of one block up to the target # 2 tape mark 6 (step S2).
2). If the positioning has failed in step S23 (No), the tape mark position information is updated (step S24).

【0034】磁気テープを排出するアンロード時は、図
5(b)で示されたように、磁気ヘッドを一時BOT部
まで移動させてリワインドする(ステップS5)。それ
から、更新したテープマーク位置情報をテープマーク位
置情報管理部2に書き込む(ステップS6)。その後に
磁気テープを排出する(ステップS8)。
At the time of unloading for discharging the magnetic tape, as shown in FIG. 5B, the magnetic head is moved to the temporary BOT portion and rewinded (step S5). Then, the updated tape mark position information is written into the tape mark position information management unit 2 (step S6). Thereafter, the magnetic tape is ejected (step S8).

【0035】次に、磁気テープを挿入したロード時に不
良データブロック7が検出された場合、図5(a)およ
び図6(a)に示すように処理される。図2を併用して
説明する。
Next, when a defective data block 7 is detected at the time of loading with a magnetic tape inserted, the processing is performed as shown in FIGS. 5 (a) and 6 (a). This will be described with reference to FIG.

【0036】上位装置は、BOT部におけるテープ情報
管理エリア1の不良データブロック位置情報管理部3を
読み込むことで、「不良データブロック位置情報」を参
照する(ステップS2)。
The host device reads the "bad data block position information" by reading the bad data block position information management unit 3 in the tape information management area 1 in the BOT unit (step S2).

【0037】この場合、図6(a)に示すように、参照
した上記不良データブロック位置情報にトラックのID
番号を登録し(ステップS10)、トラックの総エラー
リトライ回数を1回だけ増やす(ステップS11)。こ
のとき、ステップS12において、総エラーリトライ回
数が多い場合(Yes)、不良トラックのフラグを1に
設定する(ステップS13)。その後に不良データブロ
ック7を消去する(ステップS14)。
In this case, as shown in FIG. 6A, the ID of the track is stored in the referenced defective data block position information.
The number is registered (step S10), and the total error retry count of the track is increased by one (step S11). At this time, if the total number of error retries is large in step S12 (Yes), the flag of the defective track is set to 1 (step S13). Thereafter, the defective data block 7 is erased (step S14).

【0038】この際、図5(b)に示すように、磁気テ
ープ排出によるアンロード時は、磁気ヘッドを一時的に
BOT部まで移動させてリワインドし(ステップS
5)、更新した不良データブロック位置情報を不良デー
タブロック位置情報管理部3に書き込む(ステップS
7)。その後に磁気テープを排出する(ステップS
8)。
At this time, as shown in FIG. 5B, at the time of unloading by discharging the magnetic tape, the magnetic head is temporarily moved to the BOT section and rewinded (step S).
5) Write the updated bad data block position information to the bad data block position information management unit 3 (step S).
7). Thereafter, the magnetic tape is ejected (step S
8).

【0039】次に、不良データブロック位置情報を参照
したデータブロックの読み込みと書き込み処理の動作に
ついて説明する。
Next, the operation of reading and writing data blocks with reference to the defective data block position information will be described.

【0040】図5(a)に示すように、磁気テープ挿入
によるロード時、不良データブロック位置情報管理部3
を読み込み、不良データブロック位置情報を参照する
(ステップS2)。
As shown in FIG. 5A, at the time of loading by inserting a magnetic tape, the defective data block position information management unit 3
And reads the defective data block position information (step S2).

【0041】図8(a)に示すように、データブロック
の読み込み時、次に読み込むブロックが不良データブロ
ックであるか否かを判断し(ステップS30)、不良で
はなく正常なブロックの場合(No)は、データブロッ
クの読み込みを行う(ステップS32)。不良データブ
ロックである場合(Yes)、その不良データブロック
を読み飛ばして磁気ヘッドを次のデータブロックに位置
付ける(ステップS31)。
As shown in FIG. 8A, when reading a data block, it is determined whether or not the next block to be read is a defective data block (step S30). ) Reads a data block (step S32). If it is a defective data block (Yes), the defective data block is skipped and the magnetic head is positioned at the next data block (step S31).

【0042】図8(b)において、データブロックに書
き込みを行う場合、書き込もうとするトラックの不良ト
ラックフラグが1を示しているか否かを判断する(ステ
ップS40)。不良トラックフラグが1を示している場
合(Yes)、磁気ヘッドを次のトラックに位置付ける
(ステップS42)。不良トラックフラグが1を示して
いない場合(No)、次のデータブロック8が不良デー
タブロックであるか否かを判断する(ステップS4
2)。不良データブロックであった場合(Yes)、そ
の不良データブロックを読み飛ばして、磁気ヘッドを不
良データブロック(上記ステップS14で消去されたブ
ロック)の次のデータブロックに位置付ける(ステップ
S44)。不良ではなく正常なデータブロックである場
合(No)、データブロックを書き込む(ステップS4
3)。
In FIG. 8B, when data is written to a data block, it is determined whether or not a defective track flag of a track to be written indicates 1 (step S40). If the defective track flag indicates 1 (Yes), the magnetic head is positioned on the next track (step S42). If the defective track flag does not indicate 1 (No), it is determined whether or not the next data block 8 is a defective data block (step S4).
2). If it is a defective data block (Yes), the defective data block is skipped, and the magnetic head is positioned at a data block next to the defective data block (the block erased in step S14) (step S44). If the data block is not defective but normal (No), the data block is written (step S4).
3).

【0043】[0043]

【発明の効果】以上説明したように、本発明の磁気テー
プの制御装置および位置付け制御方法は、磁気テープの
BOT部にテープマークの位置情報を書き込み登録可能
なテープマーク位置情報管理部を設けることで、ここで
のテープマーク位置情報参照により、目標とするテープ
マークへの位置付け処理を高速で行うことができる。
As described above, according to the magnetic tape control device and the positioning control method of the present invention, a tape mark position information management unit capable of writing and registering tape mark position information is provided in a BOT unit of a magnetic tape. Then, by referring to the tape mark position information, the positioning process to the target tape mark can be performed at high speed.

【0044】また、BOT部に読み込み不可能な不良デ
ータブロックの位置情報を書き込み登録する不良データ
ブロック位置情報管理部を設けることで、磁気テープ上
の不良データブロックへの無駄な読み込み/書き込み処
理を回避でき、信頼性を向上させるのに非常に有効であ
る。
By providing a bad data block position information management unit for writing and registering position information of an unreadable bad data block in the BOT unit, useless reading / writing processing to the bad data block on the magnetic tape can be performed. It can be avoided and is very effective in improving reliability.

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

【図1】本発明による磁気テープ制御装置の実施の形態
において、磁気テープのデータ記録イメージとテープマ
ーク管理処理時の磁気ヘッド動作をそれぞれ示す模式図
である。
FIG. 1 is a schematic diagram illustrating a data recording image of a magnetic tape and a magnetic head operation during a tape mark management process in an embodiment of a magnetic tape control device according to the present invention.

【図2】本実施の形態における磁気テープのデータ記録
イメージと不良データブロック管理処理時の磁気ヘッド
動作をそれぞれ示す模式図である。
FIG. 2 is a schematic diagram showing a data recording image of a magnetic tape and a magnetic head operation at the time of a bad data block management process in the present embodiment.

【図3】テープマーク位置情報管理部の構成図である。FIG. 3 is a configuration diagram of a tape mark position information management unit.

【図4】不良データブロック位置情報管理部の構成図で
ある。
FIG. 4 is a configuration diagram of a bad data block position information management unit.

【図5】(a),(b)は磁気テープの挿入時と排出時
の制御態様を示すそれぞれ動作フローチャートである。
FIGS. 5A and 5B are operation flowcharts showing control modes during insertion and ejection of a magnetic tape, respectively.

【図6】(a),(b)は不良データブロック検出時と
テープマーク検出時の制御態様を示すそれぞれ動作フロ
ーチャートである。
FIGS. 6A and 6B are operation flowcharts showing control modes when a defective data block is detected and when a tape mark is detected, respectively.

【図7】テープマーク高速位置付けの制御態様を示す動
作フローチャートである。
FIG. 7 is an operation flowchart showing a control mode of high-speed positioning of a tape mark.

【図8】(a),(b)は不良データブロックの書き込
み時と読み込み時の制御態様を示すそれぞれ動作フロー
チャートである。
FIGS. 8A and 8B are operation flowcharts showing control modes at the time of writing and reading a defective data block, respectively.

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

1 テープ情報管理エリア 2 テープマーク位置情報管理部 3 不良データブロック位置情報管理部 4 データブロック 5 #1のテープマーク 6 #2のテープマーク 7 不良データブロック 8 不良トラック 1 Tape Information Management Area 2 Tape Mark Position Information Management Unit 3 Bad Data Block Position Information Management Unit 4 Data Block 5 # 1 Tape Mark 6 # 2 Tape Mark 7 Bad Data Block 8 Bad Track

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】磁気テープ上の目標とするテープマークま
たはデータブロックを磁気ヘッドに位置付けする磁気テ
ープ制御装置であって、 前記磁気テープの記録開始可能なテープ始端部(BO
T)に、前記テープマークの位置情報を登録管理するテ
ープマーク位置情報管理部と、 前記データブロックのうち読み込み不可能な不良データ
ブロックの位置情報を登録管理する不良データブロック
位置情報管理部と、 を設けたことを特徴とする磁気テープ制御装置。
1. A magnetic tape control device for positioning a target tape mark or data block on a magnetic tape to a magnetic head, comprising: a tape start end (BO) capable of starting recording on the magnetic tape.
T) a tape mark position information management unit for registering and managing the position information of the tape mark; a bad data block position information management unit for registering and managing the position information of the unreadable bad data block among the data blocks; A magnetic tape control device comprising:
【請求項2】前記テープマーク位置情報管理部は、前記
磁気テープ上の複数のトラックの番号と、これらトラッ
ク内の前記テープマークの番号および前記データブロッ
クのID番号とからなるテープマーク位置情報を登録し
て格納し、この格納されたテープマーク位置情報を上位
装置が参照して更新可能に構成したことを特徴とする請
求項1に記載の磁気テープ制御装置。
2. The tape mark position information management section stores tape mark position information including numbers of a plurality of tracks on the magnetic tape, numbers of the tape marks and ID numbers of the data blocks in the tracks. 2. The magnetic tape control device according to claim 1, wherein the magnetic tape control device is configured to be registered and stored, and that the stored tape mark position information can be updated by referring to the higher-level device.
【請求項3】前記不良データブロック位置情報管理部
は、前記磁気テープ上の複数のトラックの番号と、これ
らトラック内の読み込み不可能な不良データブロックの
ID番号とからなる不良データブロック位置情報を登録
して格納し、この格納された不良データブロック位置情
報を上位装置が参照して更新可能に構成したことを特徴
とする請求項1または2に記載の磁気テープ記憶装置。
3. The bad data block position information management section stores bad data block position information comprising numbers of a plurality of tracks on the magnetic tape and ID numbers of unreadable bad data blocks in these tracks. The magnetic tape storage device according to claim 1, wherein the magnetic tape storage device is registered and stored, and is configured to be able to be updated by referring to the stored defective data block position information by a higher-level device.
【請求項4】磁気テープ上の目標とするテープマークま
たはデータブロックを磁気ヘッドに位置付けする磁気テ
ープ位置付け制御方法であって、 記録開始される前記磁気テープのテープ始端部(BO
T)に設けたテープマーク位置情報管理部に、前記磁気
テープ上の複数のトラックの番号と、これらトラック内
の前記テープマークの番号および前記データブロックの
ID番号とからなるテープマーク位置情報を書き込んで
登録し、 前記磁気テープの挿入によるロード時、登録されている
前記テープマーク位置情報の目標とするものを上位装置
によって参照して、その目標のテープマークが所在する
前記トラックへ前記磁気ヘッドを高速に位置付けし、 このトラックへの高速位置付け後、前記磁気ヘッドをト
ラック内の前記データブロックに1データブロック単位
で順次移動させて前記目標のテープマークに位置付けす
る、ことを特徴とする磁気テープ位置付け制御方法。
4. A magnetic tape positioning control method for positioning a target tape mark or data block on a magnetic tape on a magnetic head, comprising: a tape start end (BO) of the magnetic tape at which recording is started.
In the tape mark position information management section provided in T), the tape mark position information including the numbers of the plurality of tracks on the magnetic tape, the tape mark numbers in these tracks, and the ID numbers of the data blocks is written. At the time of loading by inserting the magnetic tape, the target of the registered tape mark position information is referred to by a higher-level device, and the magnetic head is moved to the track where the target tape mark is located. Magnetic tape positioning after high-speed positioning on the track, and sequentially moving the magnetic head to the data block in the track in units of one data block to position the magnetic tape on the target tape mark. Control method.
【請求項5】前記目標のテープマークへの位置付けが不
成功の場合は、前記磁気ヘッドを一時前記BOT部に帰
還させて、このBOT部の前記テープマーク位置情報管
理部に前記目標のテープマークの更新したテープマーク
位置情報を書き込んで登録し、その後に前記磁気テープ
を排出(アンロード)することを特徴とする請求項4に
記載の磁気テープ位置付け制御方法。
5. When the positioning to the target tape mark is unsuccessful, the magnetic head is temporarily returned to the BOT section, and the tape mark position information management section of the BOT section is provided with the target tape mark. 5. The magnetic tape positioning control method according to claim 4, wherein the updated tape mark position information is written and registered, and then the magnetic tape is ejected (unloaded).
【請求項6】磁気テープ上の目標とするテープマークま
たはデータブロックを磁気ヘッドに位置付けする磁気テ
ープ位置付け制御方法であって、 記録開始される前記磁気テープのテープ始端部(BO
T)に設けた不良データブロック位置情報管理部に、前
記磁気テープ上の複数のトラックの番号と、これらトラ
ック内の前記データブロックのうち読み込み不可能な不
良データブロックのID番号とからなる不良データブロ
ック位置情報を書き込んで登録し、 前記磁気テープの挿入によるロード時、処理中に不良デ
ータブロックが検出された場合は、上位装置によって前
記不良データブロック位置情報管理部に登録されている
不良データブロック位置情報を参照し、 その検出された不良データブロックが所在する前記トラ
ックにおける総エラーリトライ回数に1回増した回数が
所定回数よりも多い場合は、そのトラックにおけるフラ
グ信号を1に設定してから前記不良データブロックを消
去する、ことを特徴とする磁気テープ位置付け制御方
法。
6. A magnetic tape positioning control method for positioning a target tape mark or data block on a magnetic tape to a magnetic head, comprising: a tape start end (BO) of the magnetic tape at which recording is started.
In the defective data block position information management unit provided in T), defective data including the numbers of a plurality of tracks on the magnetic tape and the ID numbers of the unreadable defective data blocks among the data blocks in these tracks When writing and registering the block position information, if a bad data block is detected during processing when loading by inserting the magnetic tape, the bad data block registered in the bad data block position information management unit by the host device With reference to the position information, if the number of times that the total number of error retries in the track where the detected defective data block is located is increased by one more than a predetermined number, the flag signal in that track is set to 1 and then Erasing the bad data block; positioning control of a magnetic tape; Law.
【請求項7】前記不良データブロックが所在する前記ト
ラックのフラグ信号が1を示しているときは前記磁気ヘ
ッドを次のトラックに位置付け、フラグ信号が1を示し
ていないときは次のデータブロックが不良データブロッ
クであるか否かを判断して、不良データブロックであれ
ばこれを読み飛ばして、前記磁気ヘッドを次のデータブ
ロックに位置付けることを特徴とする請求項6に記載の
磁気テープ位置付け制御方法。
7. When the flag signal of the track where the defective data block is located indicates 1, the magnetic head is positioned on the next track, and when the flag signal does not indicate 1, the next data block is located. 7. The magnetic tape positioning control according to claim 6, wherein it is determined whether the block is a bad data block, and if the block is a bad data block, it is skipped and the magnetic head is positioned at a next data block. Method.
【請求項8】前記磁気テープの排出によるアンロード
時、前記磁気ヘッドを一時前記BOT部に帰還させて、
このBOT部の前記不良データブロック位置情報管理部
に更新した前記不良データブロックの位置情報を書き込
んで登録し、その後に前記磁気テープを排出することを
特徴とする請求項6に記載の磁気テープ位置付け制御方
法。
8. When unloading by discharging the magnetic tape, the magnetic head is temporarily returned to the BOT section,
7. The magnetic tape positioning apparatus according to claim 6, wherein the updated position information of the bad data block is written and registered in the bad data block position information management unit of the BOT unit, and then the magnetic tape is ejected. Control method.
JP9205732A 1997-07-31 1997-07-31 Magnetic tape controller and positioning control method Pending JPH1153869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9205732A JPH1153869A (en) 1997-07-31 1997-07-31 Magnetic tape controller and positioning control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9205732A JPH1153869A (en) 1997-07-31 1997-07-31 Magnetic tape controller and positioning control method

Publications (1)

Publication Number Publication Date
JPH1153869A true JPH1153869A (en) 1999-02-26

Family

ID=16511760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9205732A Pending JPH1153869A (en) 1997-07-31 1997-07-31 Magnetic tape controller and positioning control method

Country Status (1)

Country Link
JP (1) JPH1153869A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8477440B2 (en) 2009-11-26 2013-07-02 International Business Machines Corporation Tape recorder and tape recording that increases empty tape area without loss of necessary data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8477440B2 (en) 2009-11-26 2013-07-02 International Business Machines Corporation Tape recorder and tape recording that increases empty tape area without loss of necessary data

Similar Documents

Publication Publication Date Title
US5745444A (en) Method of controlling recording information on an optical disk using replacement control information
JP2000228070A (en) Alternating processing method and information recording and reproducing device
JP2000149463A (en) Disk drive device, error recovery processing method of disk drive device, and disk drive controller
JP2000215003A (en) Method for receiving media characteristic in drive and drive
JPH04243061A (en) Flexible magnetic disk device
US7218594B2 (en) Recording medium, and method of and device for recording information on a recording medium and reading information from a recording medium
JP2006107720A (en) Data storage apparatus data storing method
JPH1153869A (en) Magnetic tape controller and positioning control method
JP2002074903A (en) Magnetic recording and reproducing device and magnetic recording and reproducing method
US7768733B2 (en) Method for erasing data from magnetic tape storage media
KR20040083101A (en) Method for handling data, data storage system, file system and computer program product
JPH04285783A (en) System for managing magnetic tape storage device
JP2006172533A (en) Method and device for writing servo information
JP3107028B2 (en) Recording control device for disk-shaped recording medium and data recording method for magneto-optical disk device
KR20010099983A (en) Method of and device for recording information
JP2595316B2 (en) Alternate assignment processing method
JPH05342817A (en) File management method and information recording and reproducing device
JPH11242802A (en) System and method for managing deteriorating area of magnetic tape and record medium stored with magnetic tape device control program
JP2972365B2 (en) Access control method for magnetic tape storage
JPS63269361A (en) Magnetic tape device
JPH10133867A (en) Data reproducing device and data recording medium
JPH02198051A (en) Magnetic tape device
JPH11259993A (en) Magnetic tape device recording system
JP2004095072A (en) Control method for magnetic tape library and magnetic tape library device
JPH0581773A (en) Magnetic tape recording device