JP2005182870A - Magnetic tape device and its control method - Google Patents

Magnetic tape device and its control method Download PDF

Info

Publication number
JP2005182870A
JP2005182870A JP2003419337A JP2003419337A JP2005182870A JP 2005182870 A JP2005182870 A JP 2005182870A JP 2003419337 A JP2003419337 A JP 2003419337A JP 2003419337 A JP2003419337 A JP 2003419337A JP 2005182870 A JP2005182870 A JP 2005182870A
Authority
JP
Japan
Prior art keywords
tape
information
magnetic tape
written
data
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
JP2003419337A
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2003419337A priority Critical patent/JP2005182870A/en
Publication of JP2005182870A publication Critical patent/JP2005182870A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Recording Or Reproducing By Magnetic Means (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To add tape information to a magnetic tape by holding the tape information in an erase gap pattern while maintaining compatibility with the conventional device. <P>SOLUTION: A significant erase gap pattern is constituted by the arrangement of an erase gap and an ALLZERO pattern and the erase gap pattern is written in the BOT of a magnetic tape and other arbitrary parts. In another embodiment, tape information having contents indicating that the relevant region is an error frequently occurring region is written into the erase gap pattern which is to be written into the error frequently occurring region and the tape is skipped to the next region when the tape is read. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は磁気テープ装置及びその制御方法に関し、特に、他の装置で読み出しエラーとなることのないテープ情報を磁気テープに付加する磁気テープ装置及びその制御方法に関する。   The present invention relates to a magnetic tape device and a control method thereof, and more particularly, to a magnetic tape device and a control method thereof that add tape information that does not cause a read error in other devices to the magnetic tape.

従来より、制御情報であるテープ情報を磁気テープに保存する磁気テープ装置がある。例えば特許文献1には、テープの先頭部分もしくはそれ以外の部分にテープのフォーマット日や最終アクセス日、アクセス回数等のテープ情報を記録しておき、磁気テープのロード時にこのテープ情報を読み出して、最終アクセス日から所定期間経過している場合に磁気テープのリテンションを行う装置が開示されている。実施例において、テープ情報はテープ始点から設けられるロード・アンロードエリアの直後の所定の領域に書き込まれる(図3)。   2. Description of the Related Art Conventionally, there is a magnetic tape device that stores tape information as control information on a magnetic tape. For example, in Patent Document 1, tape information such as the tape format date, the last access date, and the number of accesses is recorded in the head portion or other portion of the tape, and this tape information is read when the magnetic tape is loaded. An apparatus for retaining a magnetic tape when a predetermined period has elapsed since the last access date is disclosed. In the embodiment, the tape information is written in a predetermined area immediately after the load / unload area provided from the tape start point (FIG. 3).

また、特許文献2に磁気テープのイレーズパターンについての記載がある。データの書き込みエラーが発生した場合、エラー発生箇所までテープを巻き戻しイレーズパターンを書き込み、その領域をスキップさせて次の領域に再度書き込みを試行する。
特開平3−156705号公報 特開2001−135041号公報(段落0002〜0003)
Patent Document 2 describes an erase pattern of a magnetic tape. When a data write error occurs, the tape is rewound to the location where the error occurred, the erase pattern is written, the area is skipped, and the next area is rewritten.
Japanese Patent Laid-Open No. 3-156705 JP 2001-135041 A (paragraphs 0002-0003)

特許文献1のような従来のテープ情報保存方式では、装置独自のフォーマットでテープ情報の書き込みを行っているため、このテープ領域を他の磁気テープ装置で読み込んだ場合はただの不正データと認識されてしまう。装置によっては数回の読み出しリトライでも正常に認識できないデータがあるとエラー終了するものもあり、ユーザデータの読み出しが達成できなくなるという問題がある。すなわち従来のテープ情報の保存方式は、他の磁気テープ装置との互換性が保てないという問題があった。   In the conventional tape information storage system such as Patent Document 1, since tape information is written in a device-specific format, when this tape area is read by another magnetic tape device, it is recognized as just illegal data. End up. Some devices end in error if there is data that cannot be recognized normally even after several reading retries, and there is a problem that reading of user data cannot be achieved. That is, the conventional tape information storage method has a problem that compatibility with other magnetic tape devices cannot be maintained.

また、特許文献2の従来装置は、エラー多発領域に単にイレーズギャップを複数書き込むだけの構成であるため、以降のデータ上書き時に再び同領域にデータ書き込みを行ってしまい、数度のリトライやイレーズギャップの書き込み、スキップといった一連の作業を再び行わなければならない可能性がある。これは処理時間の遅延と装置の信頼性の低下につながるという問題がある。   Further, since the conventional device of Patent Document 2 is configured to simply write a plurality of erase gaps in an error-prone area, data is written again in the same area when data is overwritten thereafter, and several retries and erase gaps are performed. It may be necessary to perform a series of operations such as writing and skipping again. This has a problem that processing time is delayed and reliability of the apparatus is lowered.

本発明はこのような問題に鑑み、イレーズギャップパターンにテープ情報を持たせることにより、従来装置との互換性を保ちながらテープ情報を付加することができる磁気テープ装置及びその制御方法を提供することを目的とする。   In view of the above problems, the present invention provides a magnetic tape device and a control method thereof that can add tape information while maintaining compatibility with a conventional device by providing the erase gap pattern with tape information. With the goal.

本発明に係る磁気テープ装置は、磁気テープ上の任意の箇所に制御情報たるテープ情報を記録再生する磁気テープ装置であって、イレーズギャップパターンを用いて前記テープ情報を構成することを特徴とする。   A magnetic tape device according to the present invention is a magnetic tape device that records and reproduces tape information as control information at an arbitrary location on a magnetic tape, wherein the tape information is configured using an erase gap pattern. .

好適な実施例において、前記テープ情報を構成するイレーズギャップパターンはイレーズギャップとALLZEROパターンの配列により構成される。   In a preferred embodiment, the erase gap pattern constituting the tape information is constituted by an arrangement of an erase gap and an ALLZERO pattern.

ここで、当該装置が所定のイレーズギャップパターンの配列を有意なデータに変換する変換テーブルを備え、当該変換テーブルに基づいて前記磁気テープに書き込まれるテープ情報を作成し、前記磁気テープから読み出されるテープ情報を取得する。   Here, the apparatus includes a conversion table for converting a predetermined erase gap pattern arrangement into significant data, creates tape information to be written on the magnetic tape based on the conversion table, and reads the tape from the magnetic tape. Get information.

前記テープ情報は、それぞれ8つのイレーズギャップパターンを有する2つの情報ブロックで構成することができる。   The tape information can be composed of two information blocks each having eight erase gap patterns.

本発明に係る方法は、磁気テープ上の任意の箇所にテープ情報を記録再生する磁気テープ装置の制御方法であって、前記テープ情報をイレーズギャップパターンを用いて構成することを特徴とする。   The method according to the present invention is a method of controlling a magnetic tape device that records and reproduces tape information at an arbitrary location on a magnetic tape, and is characterized in that the tape information is configured using an erase gap pattern.

この方法において、前記磁気テープのデマウント時にテープのBOT(Beguining of Tape)部分に前記テープ情報を書き込むとともに、前記磁気テープのマウント時に前記BOT部分を読み出して前記テープ情報を取得することが有効である。   In this method, it is effective to write the tape information into a BOT (Beguining of Tape) portion of the tape when the magnetic tape is demounted, and to read the BOT portion and acquire the tape information when the magnetic tape is mounted. .

また、前記磁気テープへのデータ書き込み時にエラーが多発した箇所にエラー多発領域である内容のテープ情報を書き込むとともに、前記磁気テープのデータ読み出し時にエラー多発箇所である内容のテープ情報が読み出された場合に当該領域の次の領域までテープを進めてデータ読み出しを続行するようにしてもよい。   In addition, the tape information having the content of the error occurrence area is written in the location where the error frequently occurs when writing data to the magnetic tape, and the tape information having the content of the error occurrence location is read when reading the data on the magnetic tape. In this case, the tape may be advanced to the next area and the data reading may be continued.

また、前記磁気テープへのデータ書き込み時に所定の間隔毎に前記テープ情報を書き込むようにしてもよい。   Further, the tape information may be written at predetermined intervals when data is written to the magnetic tape.

BOT部分にイレーズギャップパターンを利用してテープ情報を付加することにより、磁気テープのロード時や読み出し時にそのテープの情報を得ることができる。イレーズギャップパターンは他の装置では読み飛ばされるため、他の装置で読み出しエラーとなることがなく、従来装置との互換性を保ちながらテープ情報を付加することができる。   By adding tape information to the BOT portion using an erase gap pattern, information on the tape can be obtained when the magnetic tape is loaded or read. Since the erase gap pattern is skipped by other devices, no read error occurs in other devices, and tape information can be added while maintaining compatibility with conventional devices.

また、エラー多発領域であるかを示すテープ情報をイレーズパターンに盛り込むことにより、磁気テープ装置側でこれを把握してエラー多発箇所の使用を回避することができる。   In addition, by incorporating tape information indicating whether or not an error-prone area is included in the erase pattern, the magnetic tape apparatus can grasp this and avoid using an error-prone area.

本発明を実施するための最良の形態について、添付の図面を参照しながら以下に詳細に説明する。図1は、本発明に係る磁気テープ装置の構成を示す概略ブロック図である。図1に示すように、磁気テープ装置10は上位装置20に例えばSCSIインタフェースで接続されており、上位装置20から送られるユーザデータを磁気テープ11に書き込み、または磁気テープ11から読み出したユーザデータを上位装置20に送出する。   Best modes for carrying out the present invention will be described below in detail with reference to the accompanying drawings. FIG. 1 is a schematic block diagram showing the configuration of a magnetic tape device according to the present invention. As shown in FIG. 1, the magnetic tape device 10 is connected to the host device 20 by, for example, a SCSI interface, and user data sent from the host device 20 is written to the magnetic tape 11 or user data read from the magnetic tape 11 is read. It is sent to the host device 20.

磁気テープ装置10は、磁気テープ11に対しデータの書き込み/読み出しを行う記録再生部12と、装置全体の動作を制御する制御部13と、磁気テープ11に記録再生されるユーザデータを処理するユーザデータ処理部14と、磁気テープ11に記録再生される各種制御情報を処理するテープ情報処理部15と、装置10に磁気テープ11のマウント/デマウントを行うテープマウント/デマウント機構16と、磁気テープ11の走行駆動を行うテープ駆動部17とを備えている。なお、図示しないが、テープ情報処理部15は読み出したテープ情報や更新されたテープ情報を一時的に格納しておく内部メモリを有する。   The magnetic tape device 10 includes a recording / reproducing unit 12 for writing / reading data to / from the magnetic tape 11, a control unit 13 for controlling the operation of the entire device, and a user for processing user data recorded / reproduced on the magnetic tape 11. A data processing unit 14, a tape information processing unit 15 for processing various control information recorded and reproduced on the magnetic tape 11, a tape mount / demount mechanism 16 for mounting / demounting the magnetic tape 11 on the apparatus 10, and the magnetic tape 11 And a tape drive unit 17 for performing the traveling drive. Although not shown, the tape information processing unit 15 has an internal memory that temporarily stores read tape information and updated tape information.

本発明のテープ情報処理部15は、イレーズギャップパターンを用いて磁気テープ11にテープ情報を記録する。図2〜図4はその手順を説明するための図である。好適な実施例において、テープ情報処理部15は図2に示すように磁気テープ11のBOT(Beguining Of Tape)部分にテープ情報領域30を確保し、そこに情報ブロックを2つ用意する(情報ブロック31a、31b)。そして、各情報ブロック31にそれぞれ8つのイレーズギャップパターン32を書き込む。このイレーズギャップパターン32の例を図3に示す。   The tape information processing unit 15 of the present invention records tape information on the magnetic tape 11 using an erase gap pattern. 2 to 4 are diagrams for explaining the procedure. In the preferred embodiment, the tape information processing unit 15 secures a tape information area 30 in a BOT (Beguining Of Tape) portion of the magnetic tape 11 as shown in FIG. 2, and prepares two information blocks there (information block). 31a, 31b). Then, eight erase gap patterns 32 are written in each information block 31. An example of the erase gap pattern 32 is shown in FIG.

図3に示すように、本発明ではイレーズギャップとALLZEROパターンを利用して、イレーズギャップ=1、ALLZEROパターン=0として9桁の2ビットデータを構成する。ここで、テープ情報処理部15は予め図4に示すような対照テーブルを有しており、各イレーズギャップパターン32をそれぞれ0〜9、A〜Fの計16キャラクタのいずれかを示す有意のデータとして構成し、情報ブロック31に書き込む。情報ブロック31a、31bの後ろには書き込み誤差対策のマージンエリア33が設けられる。なお、図2に示すように、テープ情報領域30の後ろは、テープマークとデータブロックで構成される従来のフォーマットどおりのデータ領域となる。   As shown in FIG. 3, in the present invention, the erase gap and the ALLZERO pattern are used to form 9-digit 2-bit data with the erase gap = 1 and the ALLZERO pattern = 0. Here, the tape information processing unit 15 has a contrast table as shown in FIG. 4 in advance, and each erase gap pattern 32 is significant data indicating any one of a total of 16 characters of 0 to 9 and A to F, respectively. And is written in the information block 31. A margin area 33 for countermeasure against write error is provided behind the information blocks 31a and 31b. As shown in FIG. 2, the tape information area 30 is followed by a data area according to a conventional format composed of tape marks and data blocks.

以上のような手順により1つの情報ブロックに8キャラクタの16進数データを持たせ、このデータの組み合わせに有意なテープ情報を定義づけておけば、テープ情報領域30にイレーズパターンを利用して有意なテープ情報を書き込むことができる。情報ブロックに書き込まれるテープ情報に特に限定はないが、例えば当該磁気テープへの最終更新日や書き込み回数などが考えられる。   By providing 8 character hexadecimal data in one information block by the procedure as described above and defining significant tape information for this combination of data, significant data can be obtained using the erase pattern in the tape information area 30. Tape information can be written. The tape information written in the information block is not particularly limited. For example, the last update date and the number of times of writing to the magnetic tape can be considered.

このように構成した磁気テープ装置の動作を以下に説明する。図5は、磁気テープのマウント時の動作を説明するフローチャートである。磁気テープ装置10のテープマウント/デマウント機構16によりテープがマウントされた場合(ステップ101)、記録再生部12が1ブロックのデータリードを行い(ステップ102)、当該データブロックがイレーズギャップであるか否かを判断する(ステップ103)。読み出しデータがイレーズギャップでなかった場合、読み込んだ分だけテープをリワインドしてアイドリング状態とする(ステップ107から108)。   The operation of the thus configured magnetic tape apparatus will be described below. FIG. 5 is a flowchart for explaining the operation when the magnetic tape is mounted. When the tape is mounted by the tape mount / demount mechanism 16 of the magnetic tape device 10 (step 101), the recording / reproducing unit 12 reads one block of data (step 102), and whether or not the data block is an erase gap. Is determined (step 103). If the read data is not an erase gap, the tape is rewound by the read amount to enter an idling state (steps 107 to 108).

読み込んだデータがイレーズギャップであった場合、記録再生部12は2つの情報ブロック31a、31bを読み込んでテープ情報処理部15へ送る(ステップ104)。テープ情報処理部15はイレーズギャップパターンを解析し、不正パターンでない場合に(ステップ105)、図4に示す変換テーブルを用いてテープ情報に変換し、テープ情報処理部15内のメモリ(図示せず)に保存する(ステップ106)。イレーズギャップパターンが変換テーブルで定義されるものでなかった場合は、テープ情報でないただのイレーズギャップ(不正パターン)であるとして、読み込んだ分だけリワインドしてアイドリング状態とする(ステップ107〜108)。   If the read data is an erase gap, the recording / reproducing unit 12 reads the two information blocks 31a and 31b and sends them to the tape information processing unit 15 (step 104). The tape information processing unit 15 analyzes the erase gap pattern, and if it is not an illegal pattern (step 105), converts it into tape information using the conversion table shown in FIG. (Step 106). If the erase gap pattern is not defined in the conversion table, it is determined that the erase gap is merely an erase gap (incorrect pattern) that is not tape information, and the rewind is performed for the read amount to set the idle state (steps 107 to 108).

次に、図6を参照して磁気テープ装置10の通常運用時のフローを説明する。磁気テープ11にデータの書き込みを行うとテープの最終更新日や書き込み回数などのテープ情報を更新する必要が生じる。そのため、磁気テープ装置10はヘッドがBOT部分に位置し(ステップ201)、かつ、上位装置20からライト系コマンドを受領した場合(ステップ202)、BOT部分にある2つの情報ブロック31a、31bを”0”キャラクタで初期化し(ステップ203)、その後に受領コマンドを実行する(ステップ204)。ここで磁気テープ11に書き込みを行う場合、テープ情報処理部15は装置メモリに保存してあるテープ情報を更新する。後述するが、テープ情報処理部15のメモリに保存してあるテープ情報はテープデマウント時にふたたびBOT部分に書き込まれる。一方、上位装置20からの命令がライト系コマンドでなかった場合(ステップ202:NO)、すなわちリードコマンドであるような場合はそのままコマンドを実行する(ステップ204)。   Next, a flow during normal operation of the magnetic tape device 10 will be described with reference to FIG. When data is written to the magnetic tape 11, it is necessary to update tape information such as the last update date of the tape and the number of times of writing. Therefore, when the head is located in the BOT portion (step 201) and the write command is received from the host device 20 (step 202), the magnetic tape device 10 determines the two information blocks 31a and 31b in the BOT portion as “ Initialization is performed with a 0 "character (step 203), and then a reception command is executed (step 204). Here, when writing to the magnetic tape 11, the tape information processing unit 15 updates the tape information stored in the device memory. As will be described later, the tape information stored in the memory of the tape information processing unit 15 is written again in the BOT portion when the tape is demounted. On the other hand, if the command from the host device 20 is not a write command (step 202: NO), that is, if it is a read command, the command is executed as it is (step 204).

次に、図7を参照して磁気テープ装置10のデマウント動作を説明する。オペレータ等によるデマウント要求があった場合、制御部13はヘッドがBOT位置にあるか否かを確認し(ステップ301)、BOTに位置していなければテープリワインドを行ってヘッドをBOTに位置づけする(ステップ302)。次にテープ情報処理部15に保存してあるテープ情報が更新されているかを確認し、テープ情報が更新されていなければそのままデマウント処理を行う(ステップ303)。また、ここでテープ情報処理部15のメモリにテープ情報が存在しない場合、すなわち前述のマウント処理でテープ情報が取得できなかった場合もそのままデマウント処理を行う。一方、テープ情報が更新されていれば、メモリからテープ情報を読み出しテープ情報領域30にテープ情報を書き込み(ステップ304)、テープ情報更新後にデマウント処理を行う(ステップ305)。ここでテープ情報の書き込みは前述した図1〜図4の説明手順によって行われる。その後装置10はアイドリング状態へ戻る(ステップ306)。   Next, the demounting operation of the magnetic tape device 10 will be described with reference to FIG. When there is a demount request by an operator or the like, the control unit 13 checks whether or not the head is at the BOT position (step 301). If the head is not at the BOT, tape rewinding is performed to position the head at the BOT ( Step 302). Next, it is confirmed whether the tape information stored in the tape information processing unit 15 has been updated. If the tape information has not been updated, the demount process is performed as it is (step 303). Further, here, when the tape information does not exist in the memory of the tape information processing unit 15, that is, when the tape information cannot be obtained by the above-described mounting process, the demounting process is performed as it is. On the other hand, if the tape information has been updated, the tape information is read from the memory and written into the tape information area 30 (step 304), and the demounting process is performed after the tape information is updated (step 305). Here, the writing of the tape information is performed according to the above-described procedure of FIGS. Thereafter, the apparatus 10 returns to the idling state (step 306).

このようにイレーズギャップパターンを利用したテープ情報を用いることにより、従来にない方式でテープ情報をBOT部分に書き込むことができる。   As described above, by using the tape information using the erase gap pattern, it is possible to write the tape information in the BOT portion by a method not conventionally used.

次に、本発明の別の実施例について説明する。従来、データライトにおいて書き込みエラーが発生した場合、エラー発生箇所にイレーズパターンを書き込んで以降の領域にずらして書き込む技術が存在するが、本実施例ではエラー発生箇所にエラー多発領域であることを示すイレーズギャップパターンを書き込むとともに、その情報をBOTのテープ情報領域に書き込んで以降に把握できるようにする。   Next, another embodiment of the present invention will be described. Conventionally, when a write error occurs in data write, there is a technique for writing an erase pattern at an error occurrence location and writing it in a subsequent area. In this embodiment, an error occurrence location is indicated at an error occurrence location. The erase gap pattern is written, and the information is written in the BOT tape information area so that it can be grasped thereafter.

図8は、本実施例のデータ書き込み動作を説明するフローチャートである。磁気テープ装置10のデータ書き込み動作において(ステップ401)、テープへ正常にデータを書き込めた場合は(ステップ402:NO)、上位装置20からのライトコマンドに係るユーザデータが総て書き込めたかどうかを確認し(ステップ406)、書き込み終了であればアイドルへ戻り(ステップ407)、終了でなければテープデータ書き込みを継続する(ステップ401へ)。   FIG. 8 is a flowchart for explaining the data write operation of this embodiment. In the data writing operation of the magnetic tape device 10 (step 401), if data can be normally written to the tape (step 402: NO), it is confirmed whether all user data related to the write command from the host device 20 has been written. If the writing is completed, the process returns to idle (step 407). If the writing is not completed, the tape data writing is continued (to step 401).

一方、テープへ正常にデータが書き込めずエラーが多発した場合(ステップ402)、エラー発生箇所までテープを巻き戻し(ステップ403)、エラー多発領域であることを示すイレーズギャップパターンを書き込む(ステップS404)。ここで、ステップ402の判断は、例えば書き込みデータを直後に読み出して検証するリードアフタライトでエラーとなった場合のリトライ回数を制御部13でカウントし、所定のテープ長で所定回数以上のエラー回数となった場合にエラー多発領域であると判定する。テープ情報の書き込みが終了したら次の領域までイレーズする(ステップ405)。その後書き込み終了であるかを確認し(ステップ406)、終了であればアイドルへ戻り(ステップ407)、終了でなければデータ書き込みを再開する(ステップ401へ)。このエラー多発領域の場所や長さ等の情報はテープ情報としてテープ情報処理部15のメモリに格納され、デマウント時にBOT部のテープ情報領域に登録される(図7の処理)。   On the other hand, when data cannot be normally written to the tape and errors frequently occur (step 402), the tape is rewound to the location where the error occurred (step 403), and an erase gap pattern indicating that the error occurs frequently is written (step S404). . Here, in step 402, for example, the controller 13 counts the number of retries when an error occurs in the read-after-write in which the write data is read and verified immediately, and the number of errors equal to or greater than a predetermined number of times with a predetermined tape length. When it becomes, it determines with it being an error frequent occurrence area | region. When the writing of the tape information is completed, the next area is erased (step 405). Thereafter, it is confirmed whether or not the writing is finished (step 406). If the writing is finished, the process returns to the idle (step 407). If the writing is not finished, the data writing is resumed (to step 401). Information such as the location and length of the error-prone area is stored as tape information in the memory of the tape information processing unit 15 and registered in the tape information area of the BOT unit at the time of demounting (the process of FIG. 7).

この実施例のデータ読み込み動作のフローを図9に示す。上位装置20から読み出し命令を受けた磁気テープ装置10はテープデータの読み込みを開始する(ステップ501)。このデータ読み込みにおいて、記録再生部12は読み出したデータがイレーズギャップパターンか否かを判定し(ステップ502)、イレーズギャップでない場合は読み出しデータをユーザデータ処理部14へ送る。制御部13は上位装置20からの読み出し命令に係るデータを総て読み出せたかを確認し(ステップ508)、読み出し終了であればアイドル状態とする(ステップ509)。   FIG. 9 shows the flow of the data reading operation of this embodiment. The magnetic tape device 10 that has received a read command from the host device 20 starts reading tape data (step 501). In this data reading, the recording / reproducing unit 12 determines whether or not the read data is an erase gap pattern (step 502), and if it is not an erase gap, sends the read data to the user data processing unit 14. The control unit 13 confirms whether all the data related to the read command from the higher-level device 20 has been read (step 508), and sets the idle state if the read is completed (step 509).

一方、読み出しデータがイレーズギャップである場合(ステップ502)、記録再生部12は情報ブロックを読み出してテープ情報処理部15へ送る(ステップ503)。テープ情報処理部15はイレーズギャップパターンを参照し、図4で示されるキャラクタで構成されるテープ情報である場合にこれを取得する(ステップ505)。このときイレーズギャップがテープ情報でない場合はステップ508へ移り、データ読み込み終了であればアイドルへ戻り(ステップ509)、終了でなければデータ読み込みを再開する(ステップ501へ)。   On the other hand, when the read data is an erase gap (step 502), the recording / reproducing unit 12 reads the information block and sends it to the tape information processing unit 15 (step 503). The tape information processing unit 15 refers to the erase gap pattern and acquires the tape information composed of the characters shown in FIG. 4 (step 505). At this time, if the erase gap is not the tape information, the process proceeds to step 508. If the data reading is completed, the process returns to the idle (step 509), and if not completed, the data reading is resumed (to step 501).

さらに、読み出されたテープ情報がエラー多発領域であることを示す内容である場合(ステップ506)、エラー多発領域の終端までテープを進め(ステップ507)、読み込み終了であるかを確認し(ステップ508)、終了であればアイドルへ戻る(ステップ509)。終了でなければ、データ読み込みを再開する(ステップ501へ)。このようにして、エラー多発領域であるかを示すテープ情報をイレーズパターンに盛り込むことにより、磁気テープ装置側でこれを把握してエラー多発箇所の使用を回避することができる。   Further, when the read tape information is a content indicating that it is an error-prone area (step 506), the tape is advanced to the end of the error-prone area (step 507), and it is confirmed whether the reading is completed (step 507) 508), if it is finished, return to idle (step 509). If not completed, data reading is resumed (to step 501). In this way, by incorporating tape information indicating whether or not an error-prone area is included in the erase pattern, the magnetic tape apparatus can grasp this and avoid using an error-prone area.

また、本実施例の磁気テープ装置では、テープマウント時に読み込まれるテープ情報により予めエラー多発領域の有無やその場所が判明するため、データ書き込み時に最初から当該エラー多発領域を避けて書き込みを行うことができる。これにより、当該領域にデータ書き込みを行って再びエラーとなる事態を回避して書き込み時間の短縮や信頼性の向上を図ることができる。   In the magnetic tape device of this embodiment, since the presence or location of the error occurrence area is determined in advance based on the tape information read at the time of tape mounting, writing can be performed while avoiding the error occurrence area from the beginning when writing data. it can. As a result, it is possible to avoid a situation where an error occurs again when data is written to the area, thereby reducing the writing time and improving the reliability.

以上、本発明を実施するための形態について説明したが、本発明は上記実施例に限定されるものではなく、他の様々な実施例として実現することができる。特に、テープ情報のフォーマット及び定義方法、情報量等は上記の例に限らず、イレーズギャップとALLZEROパターンの配置により有意なデータを定義する構成であれば他の構成であってもよい。また、これにより構成されるテープ情報の内容も上記の例に限定されるものではなく、必要に応じて他のデータを盛り込むことができる。   As mentioned above, although the form for implementing this invention was demonstrated, this invention is not limited to the said Example, It can implement | achieve as various other Examples. In particular, the format and definition method of tape information, the amount of information, etc. are not limited to the above example, and other configurations may be used as long as significant data is defined by the arrangement of the erase gap and the ALLZERO pattern. Further, the content of the tape information constituted thereby is not limited to the above example, and other data can be included as necessary.

さらに、上記実施例はBOTやエラー多発領域にテープ情報領域を設けているが、磁気テープ上に一定の間隔毎にイレーズギャップパターンでテープ情報領域を設け、定期的にテープ情報を取得できるような構成としてもよい。   Further, in the above embodiment, the tape information area is provided in the BOT or error occurrence area, but the tape information area is provided on the magnetic tape with an erase gap pattern at regular intervals so that the tape information can be obtained periodically. It is good also as a structure.

本願第1実施例によれば、BOT部分にイレーズギャップパターンを利用してテープ情報を付加することにより、磁気テープのロード時にそのテープの情報を得ることができる。イレーズギャップパターンは他の装置では読み飛ばされるため、他の装置で読み出しエラーとなることがなく、従来装置との互換性を保ちながらテープ情報を付加することができる。   According to the first embodiment of the present application, the tape information can be obtained when the magnetic tape is loaded by adding the tape information to the BOT portion by using the erase gap pattern. Since the erase gap pattern is skipped by other devices, no read error occurs in other devices, and tape information can be added while maintaining compatibility with conventional devices.

本願第2実施例によれば、エラー多発領域であるかを示すテープ情報をイレーズパターンに盛り込むことにより、磁気テープ装置側でこれを把握してエラー多発箇所の使用を回避することができる。   According to the second embodiment of the present application, by incorporating tape information indicating whether or not an error-prone area is included in the erase pattern, the magnetic tape apparatus can grasp this and avoid using the error-prone part.

磁気テープ装置の構成を示す概略機能ブロック図である。It is a general | schematic functional block diagram which shows the structure of a magnetic tape apparatus. 磁気テープ装置により作成される磁気テープのデータ構成を示すイメージ図である。It is an image figure which shows the data structure of the magnetic tape produced with a magnetic tape apparatus. イレーズギャップパターンの構成を示すイメージ図である。It is an image figure which shows the structure of an erase gap pattern. イレーズギャップパターンで定義するキャラクタ例を示す図である。It is a figure which shows the example of a character defined by an erase gap pattern. 磁気テープ装置のテープマウント時の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement at the time of tape mounting of a magnetic tape apparatus. 磁気テープ装置の書き込み時の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement at the time of writing of a magnetic tape apparatus. 磁気テープ装置のテープデマウント時の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement at the time of tape demounting of a magnetic tape apparatus. 別の実施例におけるテープデータ書き込み時の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement at the time of the tape data writing in another Example. 別の実施例におけるテープデータ読み込み時の動作を説明するフローチャートである。It is a flowchart explaining the operation | movement at the time of the tape data reading in another Example.

符号の説明Explanation of symbols

10 磁気テープ装置
11 磁気テープ
12 記録再生部
13 制御部
14 ユーザデータ処理部
15 テープ情報処理部
16 テープマウント/デマウント機構
17 テープ駆動部
20 上位装置
30 テープ情報領域
31 情報ブロック
32 イレーズギャップパターン
33 マージンエリア
DESCRIPTION OF SYMBOLS 10 Magnetic tape apparatus 11 Magnetic tape 12 Recording / reproducing part 13 Control part 14 User data processing part 15 Tape information processing part 16 Tape mount / demount mechanism 17 Tape drive part 20 Host apparatus 30 Tape information area 31 Information block 32 Erase gap pattern 33 Margin area

Claims (8)

磁気テープ上の任意の箇所に制御情報たるテープ情報を記録再生する磁気テープ装置であって、イレーズギャップパターンを用いて前記テープ情報を構成することを特徴とする磁気テープ装置。   A magnetic tape device for recording and reproducing tape information as control information at an arbitrary location on a magnetic tape, wherein the tape information is configured using an erase gap pattern. 請求項1に記載の磁気テープ装置において、前記テープ情報を構成するイレーズギャップパターンはイレーズギャップとALLZEROパターンの配列により構成されることを特徴とする磁気テープ装置。   2. The magnetic tape device according to claim 1, wherein the erase gap pattern constituting the tape information is constituted by an arrangement of an erase gap and an ALLZERO pattern. 請求項2に記載の磁気テープ装置において、当該装置が所定のイレーズギャップパターンの配列を有意なデータに変換する変換テーブルを備え、当該変換テーブルに基づいて前記磁気テープに書き込まれるテープ情報を作成し、前記磁気テープから読み出されるテープ情報を取得することを特徴とする磁気テープ装置。   3. The magnetic tape device according to claim 2, further comprising a conversion table for converting a predetermined erase gap pattern arrangement into significant data, and generating tape information to be written on the magnetic tape based on the conversion table. A magnetic tape device for acquiring tape information read from the magnetic tape. 請求項1乃至3のいずれかに記載の磁気テープ装置において、前記テープ情報が、それぞれ8つのイレーズギャップパターンを有する2つの情報ブロックで構成されることを特徴とする磁気テープ装置。   4. The magnetic tape device according to claim 1, wherein the tape information is composed of two information blocks each having eight erase gap patterns. 磁気テープ上の任意の箇所にテープ情報を記録再生する磁気テープ装置の制御方法であって、前記テープ情報の書き込み時にイレーズギャップパターンを用いてテープ情報を構成することを特徴とする磁気テープ装置の制御方法。   A method of controlling a magnetic tape device that records and reproduces tape information at an arbitrary location on a magnetic tape, wherein the tape information is configured using an erase gap pattern when the tape information is written. Control method. 請求項5に記載の磁気テープ装置の制御方法であって、前記磁気テープのデマウント時にテープのBOT(Beguining of Tape)部分に前記テープ情報を書き込むとともに、前記磁気テープのマウント時に前記BOT部分を読み出して前記テープ情報を取得することを特徴とする磁気テープ装置の制御方法。   6. The method of controlling a magnetic tape device according to claim 5, wherein the tape information is written to a BOT (Beguining of Tape) portion of the tape when the magnetic tape is demounted, and the BOT portion is read when the magnetic tape is mounted. And acquiring the tape information. 請求項6に記載の磁気テープ装置の制御方法において、前記磁気テープへのデータ書き込み時にエラーが多発した箇所にエラー多発領域である内容のテープ情報を書き込むとともに、前記磁気テープのデータ読み出し時にエラー多発箇所である内容のテープ情報が読み出された場合に当該領域の次の領域までテープを進めてデータ読み出しを続行することを特徴とする磁気テープ装置の制御方法。   7. The method of controlling a magnetic tape device according to claim 6, wherein the tape information having the error occurrence area is written at a location where an error frequently occurs when writing data to the magnetic tape, and an error occurs frequently when reading data from the magnetic tape. A method of controlling a magnetic tape device, comprising: when tape information having a content as a location is read, the tape is advanced to the next area and the data reading is continued. 請求項5に記載の磁気テープ装置の制御方法において、前記磁気テープへのデータ書き込み時に所定の間隔毎に前記テープ情報を書き込むことを特徴とする磁気テープ装置の制御方法。   6. The method of controlling a magnetic tape device according to claim 5, wherein the tape information is written at predetermined intervals when data is written to the magnetic tape.
JP2003419337A 2003-12-17 2003-12-17 Magnetic tape device and its control method Pending JP2005182870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003419337A JP2005182870A (en) 2003-12-17 2003-12-17 Magnetic tape device and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003419337A JP2005182870A (en) 2003-12-17 2003-12-17 Magnetic tape device and its control method

Publications (1)

Publication Number Publication Date
JP2005182870A true JP2005182870A (en) 2005-07-07

Family

ID=34781267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003419337A Pending JP2005182870A (en) 2003-12-17 2003-12-17 Magnetic tape device and its control method

Country Status (1)

Country Link
JP (1) JP2005182870A (en)

Similar Documents

Publication Publication Date Title
JP3870215B1 (en) Data writing / reading control method for tape recorder
US8693128B2 (en) Apparatus and method for writing data to tape medium
JP2008186570A (en) Method of forming servo synch mark pattern, write error prevention method, and hard disk drive unit
US20080266699A1 (en) Write retry method and magnetic tape apparatus
JP5506926B2 (en) Tape storage device and writing method thereof
JP5065203B2 (en) Apparatus and method for converting data format
JP2009266279A (en) Apparatus and method for writing data to recording medium
US8130460B2 (en) Apparatus and method for writing data on a tape medium
JP2005346766A (en) Servo write method for magnetic disk device and magnetic disk device
JP5179596B2 (en) Data overwrite control method, overwrite control program, and tape recording apparatus in tape recording apparatus
JPH09120639A (en) Recording/reproducing apparatus
JP2010027118A (en) Apparatus and method for reading out data recorded on tape
JP2005182870A (en) Magnetic tape device and its control method
US7768733B2 (en) Method for erasing data from magnetic tape storage media
US7667915B2 (en) Disk drive having a head amplifier for perpendicular magnetic recording
JP2006323940A (en) Information recorder
JP2616738B2 (en) Servo track writer
JP3451978B2 (en) Magnetic tape unit
JPH11242802A (en) System and method for managing deteriorating area of magnetic tape and record medium stored with magnetic tape device control program
JP2002100155A (en) Magnetic disk unit and data edition device
JPH10133867A (en) Data reproducing device and data recording medium
JP2000285407A (en) Correction method and correcting apparatus for gap deviation of magnetic tape
JPH1153869A (en) Magnetic tape controller and positioning control method
JPH11238319A (en) Format efficiency improvement method of magnetic disk device
JP2007026490A (en) Magnetic recording and reproducing device