JP2012181896A - Control method of magnetic tape device, magnetic tape device, and control program thereof - Google Patents

Control method of magnetic tape device, magnetic tape device, and control program thereof Download PDF

Info

Publication number
JP2012181896A
JP2012181896A JP2011045010A JP2011045010A JP2012181896A JP 2012181896 A JP2012181896 A JP 2012181896A JP 2011045010 A JP2011045010 A JP 2011045010A JP 2011045010 A JP2011045010 A JP 2011045010A JP 2012181896 A JP2012181896 A JP 2012181896A
Authority
JP
Japan
Prior art keywords
partition
index information
block
data
value
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.)
Withdrawn
Application number
JP2011045010A
Other languages
Japanese (ja)
Inventor
Hiroki Hayakawa
裕貴 早川
Yoshiyuki Ishii
義之 石井
Muneyuki Yoshikawa
宗之 吉川
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 JP2011045010A priority Critical patent/JP2012181896A/en
Publication of JP2012181896A publication Critical patent/JP2012181896A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To dispense with a special component such as a look-ahead head or the like and cyclically store data in a magnetic tape without dividing the data.SOLUTION: When a capacity of a data storage area remaining on a terminal side of a partition as an overwritable area exceeds a preset storage capacity, a logical composition of the partition is retained to continue a writing of new data. However, when the capacity of the data storage area remaining on the terminal side of the partition as the overwritable area does not exceed the preset storage capacity, wraps constituting the partition are cyclically shifted from a partition start end side toward the terminal side in a wrap unit, the logical composition of the partition is updated, and the writing of the new data is continued.

Description

本発明は、磁気テープが有する複数のラップによって構成される論理的なパーティションに各種のデータを上書きして循環的に記憶させる磁気テープ装置の制御方法および磁気テープ装置とその制御プログラムに関する。   The present invention relates to a control method, a magnetic tape device, and a control program for the magnetic tape device, in which various data are overwritten and stored in a logical partition constituted by a plurality of wraps included in the magnetic tape.

一般的な磁気テープ装置は、磁気テープ上のデータの最終的な書き込み終了位置を表すEODを参照して新たなデータを次々と書き込むように設計されている。従って、磁気テープの始端から終端に向けてシーケンシャルにデータを記録することしかできず、新しいデータを残したまま古いデータに上書きして新規のデータを上書きするといった行為は許容されない。
磁気テープの始端から終端に向けてシーケンシャルにデータを記録する磁気テープ装置の他、往復のトラックからなる複数のラップを磁気テープ上に設け、ラップを跨ぐ論理的なパーティションを設定してデータの記憶領域を管理する磁気テープ装置もあるが、このようなものにあっても、磁気テープを往復させながらパーティションの始端から終端に向かって連続的にデータが書き込まれるのみであり、新しいデータを残したまま古いデータに上書きして新規のデータを上書きするといった行為が許容されないという点では最初に述べた一方向性の磁気テープ装置と同様である。
上書きが許容されない理由は、既にデータが書き込まれた記憶領域に対して新規のデータを上書きしてしまうと、後続する記憶領域に書き込まれている連続的なデータのうちの何処からが整合性のとれたデータであるかの判断がつかなくなってしまう不都合が生じるからである。
従って、仮に此れらの磁気テープ装置を使用して新規のデータの上書きを行なったとしても、新規データの上書き終了位置に後続するデータの全ては無効なデータつまり読み取り不可能なデータとして取り扱う以外になく、例えば、複数世代のデータをバックアップとして記録する場合、保管しておきたい世代数分のデータの総容量が1巻の磁気テープに収まる容量であったとしても、複数巻の磁気テープを使用する必要が生じ、磁気テープの運用効率が悪くなってしまう。
A general magnetic tape device is designed to write new data one after another with reference to the EOD indicating the final write end position of data on the magnetic tape. Therefore, data can only be recorded sequentially from the beginning to the end of the magnetic tape, and the act of overwriting old data by overwriting old data while leaving new data is not allowed.
In addition to a magnetic tape device that records data sequentially from the beginning to the end of the magnetic tape, multiple wraps consisting of reciprocating tracks are provided on the magnetic tape, and data is stored by setting logical partitions across the wraps. There is a magnetic tape device that manages the area, but even in such a case, data is written continuously from the beginning to the end of the partition while reciprocating the magnetic tape, leaving new data It is the same as the unidirectional magnetic tape device described above in that it is not allowed to overwrite old data and overwrite new data.
The reason why overwriting is not allowed is that if new data is overwritten on a storage area where data has already been written, the consistency of the data from where continuous data is written to the subsequent storage area This is because there is a disadvantage that it is impossible to determine whether the data is taken.
Therefore, even if these magnetic tape devices are used to overwrite new data, all data following the new data overwriting end position is treated as invalid data, that is, unreadable data. For example, when recording multiple generations of data as a backup, even if the total capacity of data for the number of generations to be stored is a capacity that can be contained in a single magnetic tape, It becomes necessary to use it, and the operational efficiency of the magnetic tape is deteriorated.

このような不都合を改善するための技術としては、特許文献1に開示されるように、磁気テープ装置内に新規の構成要素となる先読みヘッドを増設し、磁気テープ上に記録されたMAP情報を先読みヘッドで読み取り、MAP情報に含まれる循環使用の可否の判定データを参照して、磁気テープ上の特定領域に循環的にデータを記録させる方法が提案されている。
しかしながら、この方法は先読みヘッドという特別な構成要素を必要とする。また、磁気テープの始端側と終端側にデータが分断して記憶された場合には、データの読み取り作業を行なう途中で磁気ヘッドの位置づけ処理をやり直す必要が生じ、また、別々に読み込まれた始端側と終端側のデータを結合する等の特別な処理も必要となるので、上位装置のソフトウェアを変更しなければならないといった不都合が生じる。しかも、書き込んだデータに後続する記憶領域に書き込まれているデータの何処からが整合性の取れたデータであるのかを判断する必要上、ダミーファイルヘッダーの記録を行う等の複雑な処理が要求され、仕様の点から実現が難しいという問題がある。
As a technique for improving such an inconvenience, as disclosed in Patent Document 1, a pre-read head as a new component is added in the magnetic tape device, and the MAP information recorded on the magnetic tape is added. A method has been proposed in which data is cyclically recorded in a specific area on a magnetic tape by reading with a read-ahead head and referring to determination data on whether or not it can be used cyclically, which is included in MAP information.
However, this method requires a special component, a look-ahead head. In addition, when data is divided and stored on the start side and the end side of the magnetic tape, it is necessary to re-position the magnetic head during the data reading operation, and the start end read separately. Since special processing such as combining the data on the side and the end side is also required, there is a disadvantage that the software of the host device must be changed. In addition, it is necessary to determine where the data written in the storage area following the written data is consistent data, and complicated processing such as recording a dummy file header is required. There is a problem that it is difficult to realize in terms of specifications.

また、以前は磁気テープ上へのデータの格納形式がOSやソフトウェア毎に異なっているのが一般的であったが、近年になって、OSやソフトウェアに依存することなく磁気テープへのデータの書き込みや読み出しを行うことができる記録形式、例えば、LTFS(Linear Tape File System)が提唱されている。
これはLTO-5からサポートされたパーティショニング機能を利用して磁気テープの記憶領域をコンテンツ領域とインデックス領域に分割し、コンテンツ領域に各種のファイル等を始めとするデータ本体を記憶させる一方、インデックス領域には、コンテンツ領域内のデータ本体を扱えるようにするためのインデックス情報、例えば、データ本体の読み出しに必要とされるデータ名やデータサイズおよび其の読み出し開始位置といった情報を記憶させ、追記型の記憶媒体である磁気テープの利用効率を改善しようとする試みである。
この記録形式は世代バックアップを行う際の問題、つまり、データを上書きできないことで生じる磁気テープの運用効率の悪化やデータの分断による位置づけ処理およびデータ結合処理の煩雑化といった問題とは直接的に関連するものではない。しかし、磁気テープを利用した以前の一般的な記録形式とは仕様が異なるため、LTFSの仕様を援用してデータを管理している状況下で磁気テープ上の新しいデータを残したまま古いデータに新規のデータを上書きして記憶させるような使い方をしようとすれば、当然、データ本体へのアクセスも磁気テープのインデックス情報を利用して行う必要があり、データの上書きの実現に際しては、インデックス情報の取り扱い等に注意を要する。
Previously, the storage format of data on magnetic tape was generally different for each OS and software. However, in recent years, data storage on magnetic tape has become independent of OS and software. A recording format capable of writing and reading, for example, LTFS (Linear Tape File System) has been proposed.
This uses the partitioning function supported by LTO-5 to divide the storage area of the magnetic tape into a content area and an index area, and store various data and other data bodies in the content area while indexing In the area, index information for making it possible to handle the data body in the content area, for example, information such as the data name and data size required for reading the data body and the reading start position thereof is stored, and write-once type It is an attempt to improve the utilization efficiency of the magnetic tape which is the storage medium of the above.
This recording format is directly related to the problem of generation backup, that is, the deterioration of the operation efficiency of magnetic tape caused by the inability to overwrite data, the problem of positioning processing due to data division, and the complication of data combining processing Not what you want. However, because the specifications are different from the previous general recording format using magnetic tape, in the situation where data is managed with the help of LTFS specifications, old data remains on the old data while keeping the new data on the magnetic tape. Of course, if you try to use the new data by overwriting it, you will need to access the data itself using the index information on the magnetic tape. Be careful when handling

なお、磁気テープ上でラップ間を移動する磁気ヘッドの取扱いやラップを跨ぐパーティションの設定等については、例えば、特許文献2や特許文献3に見られるように、既に一般的なものとなっている。   In addition, about the handling of the magnetic head which moves between wraps on a magnetic tape, the setting of the partition which straddles a wrap, etc., as seen in, for example, Patent Document 2 and Patent Document 3, it is already common. .

特開平6−139650号公報(段落0003,段落0007,段落0011,図1)JP-A-6-139650 (paragraph 0003, paragraph 0007, paragraph 0011, FIG. 1) 特表2005−516340号公報(段落0013,段落0020,図5)JP-T-2005-516340 (paragraph 0013, paragraph 0020, FIG. 5) 特開2005−63444号公報JP 2005-63444 A

本発明の目的は、先読みヘッド等の特別な構成要素を必要せず、しかも、データを分断させることなく、磁気テープに循環的にデータを記憶させることのできる磁気テープ装置の制御方法および磁気テープ装置とその制御プログラムを提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to provide a method for controlling a magnetic tape apparatus and a magnetic tape which can store data cyclically on a magnetic tape without requiring a special component such as a read-ahead head and without dividing the data. To provide an apparatus and its control program.

本発明における磁気テープ装置の制御方法は、磁気テープが有する複数のラップによって構成される論理的なパーティションにデータを上書きして循環的に記憶させる磁気テープ装置の制御方法であり、前記目的を達成するため、
前記パーティションへのデータの書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っているか否かを判定し、
前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていれば、前記パーティションの論理構成を維持して新たなデータの書き込みを継続する一方、
前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていなければ、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新してから新たなデータの書き込みを継続することを特徴とした構成を有する。
The method for controlling a magnetic tape device according to the present invention is a method for controlling a magnetic tape device in which data is overwritten and stored in a logical partition formed by a plurality of wraps of the magnetic tape, and the object is achieved. To do
Determining whether or not the capacity of the data storage area remaining as an overwritable area on the end side of the partition when writing data to the partition exceeds a preset storage capacity;
If the capacity of the data storage area remaining as an overwritable area at the end of the partition exceeds the preset storage capacity, while maintaining the logical configuration of the partition and continuing to write new data,
If the capacity of the data storage area remaining as the overwritable area on the end side of the partition does not exceed the preset storage capacity, the wraps constituting the partition are cyclically shifted from the partition start side to the end side in units of laps. In addition, after the logical configuration of the partition is updated, writing of new data is continued.

また、特に、磁気テープが有する複数のラップによって構成される論理的なパーティションにデータ本体と当該データ本体の読み出し開始位置を含むインデックス情報を上書きして循環的に記憶させる磁気テープ装置の制御方法にあっては、前記と同様の目的を達成するため、
前記パーティションへのデータ本体とインデックス情報の書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域を拡張する必要があるか否かを判定し、
データ記憶領域を拡張する必要がなければ、前記パーティションの論理構成を維持して新たなデータ本体とインデックス情報の書き込みを継続する一方、
データ記憶領域を拡張する必要があれば、前記パーティションを構成する始端のラップに記憶されているデータ本体に対応したインデックス情報を削除し、次のラップの最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に記憶させると共に、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新してから新たなデータ本体とインデックス情報の書き込みを継続することを特徴とした構成を適用する。
In particular, the present invention relates to a control method for a magnetic tape device in which index information including a data main body and a read start position of the data main body is overwritten in a logical partition constituted by a plurality of wraps included in the magnetic tape and stored cyclically. In order to achieve the same purpose as described above,
Determining whether it is necessary to expand the data storage area remaining as an overwritable area on the end side of the partition when writing the data body and index information to the partition;
If it is not necessary to expand the data storage area, while maintaining the logical configuration of the partition and continuing to write new data body and index information,
If it is necessary to expand the data storage area, the index information corresponding to the data body stored in the starting wrap constituting the partition is deleted, and the block ID of the first data block of the next wrap is valid. The data is stored together with undeleted index information as an ID, and the wraps constituting the partition are cyclically shifted from the start side to the end side of the partition in units of laps, and the logical structure of the partition is updated and a new data body and index are updated. A configuration characterized by continuing to write information is applied.

本発明における磁気テープ装置は、磁気テープが有する複数のラップによって構成される論理的なパーティションにデータを上書きして循環的に記憶させる磁気テープ装置であり、前記目的を達成するため、
前記パーティションへのデータの書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っているか否かを判定する残存記憶領域判定手段と、
前記残存記憶領域判定手段により、上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていると判定された場合には、前記パーティションの論理構成を維持する一方、前記残存記憶領域判定手段により、上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていないと判定された場合には、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段と、
少なくとも、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップのラップ番号と、前記パーティション再構築手段によって更新されたパーティションの終端とされたラップのラップ番号、および、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップの最初のデータブロックのブロックIDを磁気テープのカートリッジの不揮発性メモリに更新して記憶させるパーティション情報更新手段と、
上位装置から与えられる磁気ヘッドの位置づけコマンドによって指定されるブロックIDの値と前記不揮発性メモリに記憶されたブロックIDの値とを比較し、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値以上の場合には、位置づけコマンドによって指定されるブロックIDの位置に磁気ヘッドを位置づけする一方、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値未満の場合には、前記不揮発性メモリにパーティションの始端としてラップ番号を記憶されたパーティションに磁気ヘッドを位置づけする位置づけ制御手段とを備えたことを特徴とした構成を有する。
The magnetic tape device according to the present invention is a magnetic tape device that overwrites data in a logical partition constituted by a plurality of wraps included in the magnetic tape and cyclically stores the data, and in order to achieve the above object,
Remaining storage area determination means for determining whether or not the capacity of the data storage area remaining as an overwritable area on the terminal end side of the partition when writing data to the partition exceeds a preset storage capacity;
When the remaining storage area determination unit determines that the capacity of the data storage area remaining as the overwritable area exceeds the preset storage capacity, the logical configuration of the partition is maintained while the remaining storage area is maintained. When it is determined by the area determination means that the capacity of the data storage area remaining as the overwritable area does not exceed the preset storage capacity, the wrap constituting the partition is circulated in units of laps on the partition start side. And a partition restructuring means for updating the logical configuration of the partition,
At least the wrap number of the wrap updated by the partition rebuilding means, the wrap number of the wrap updated by the partition rebuilding means, and the partition rebuilding means Partition information updating means for updating and storing the block ID of the first data block of the wrap which is the start of the partition updated by the non-volatile memory of the magnetic tape cartridge;
The block ID value specified by the positioning command of the magnetic head given from the host device is compared with the block ID value stored in the nonvolatile memory, and the block ID value specified by the positioning command is If the value is equal to or greater than the block ID value stored in the memory, the magnetic head is positioned at the block ID position specified by the positioning command, while the block ID value specified by the positioning command is stored in the nonvolatile memory. If the value is less than the block ID value, the non-volatile memory has positioning control means for positioning the magnetic head in the partition in which the wrap number is stored as the start of the partition.

また、特に、磁気テープが有する複数のラップによって構成される論理的なパーティションにデータ本体と当該データ本体の読み出し開始位置を含むインデックス情報を上書きして循環的に記憶させる磁気テープ装置にあっては、
上位装置からのデータ記憶領域拡張指令の入力の有無を判定するコマンド判定手段と、
前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知しなければ前記パーティションの論理構成を維持する一方、前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知した場合には、前記パーティションを構成する始端のラップに記憶されているデータ本体に対応したインデックス情報を削除し、次のラップの最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に記憶させると共に、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段と、
上位装置から1世代以上前のインデックス情報の読み出し指令が与えられると、インデックス情報のブロックIDの値を1世代前のものから順に時系列を遡って検出し、インデックス情報のブロックIDが検出される度に、そのブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であるか否かを判定するインデックス情報有効性判定手段と、
前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDが最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であると判定された場合に、このインデックス情報が上位装置からの読み出し指令で与えられたインデックス情報と一致するか否かを判定する一致不一致判定手段と、
前記一致不一致判定手段が一致の判定をした場合に、このインデックス情報の内部的な読み出しを実行し、最新のインデックス情報と共に記憶されている有効なブロックIDの値と前記一致したインデックス情報に含まれる読み出し開始位置の各々との大小を比較し、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満の読み出し開始位置を有するデータ本体に対応するインデックス情報を除いたインデックス情報の読み出しを上位装置に許容する一方、前記一致不一致判定手段が一致の判定をすることなく、前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値未満であると判定された場合に、インデックス情報の読み出しを非実行としてインデックス情報の読み出しエラーを上位装置に知らせる出力情報制限手段とを備えたことを特徴とした構成を適用する。
In particular, in a magnetic tape device that overwrites and stores index information including a data body and a reading start position of the data body in a logical partition constituted by a plurality of wraps that the magnetic tape has. ,
Command determination means for determining whether or not a data storage area expansion command is input from the host device;
If the command determination means does not detect the input of the data storage area expansion command, the logical configuration of the partition is maintained. On the other hand, if the command determination means detects the input of the data storage area expansion command, the partition is configured. Delete the index information corresponding to the data body stored in the starting wrap, store the block ID of the first data block of the next wrap as a valid block ID together with the undeleted index information, and store the partition Partition reconstructing means for cyclically shifting the wrap to be configured in units of laps from the partition start side to the end side, and updating the logical configuration of the partition;
When a read command for index information of one generation or more before is given from the host device, the block ID value of the index information is detected by going back in time sequence from the previous generation, and the block ID of the index information is detected. Each time, the index information validity determination means for determining whether the value of the block ID is equal to or greater than the value of the valid block ID stored together with the latest index information,
When it is determined that the block ID of the index information detected by the index information validity determination means is equal to or greater than the value of the valid block ID stored together with the latest index information, the index information is sent from the host device. A match / mismatch determination means for determining whether or not the index information given by the read command is matched,
When the coincidence / non-coincidence judging unit judges coincidence, the index information is internally read and included in the index information that matches the valid block ID value stored together with the latest index information. Compares the size with each of the read start positions, and reads the index information excluding the index information corresponding to the data body having the read start position less than the valid block ID value stored together with the latest index information. While the apparatus permits, the validity of the block ID value of the index information detected by the index information validity determination means stored together with the latest index information without the match / mismatch determination means determining a match. If it is determined that the block ID is less than Applying a configuration in which characterized in that an output information limiting means for informing the read error of the index information to the host device to read the broadcast as a non-executable.

本発明における磁気テープ装置用制御プログラムは、磁気テープが有する複数のラップによって構成される論理的なパーティションにデータを上書きして循環的に記憶させる磁気テープ装置が備えるマイクロプロセッサを、
前記パーティションへのデータの書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っているか否かを判定する残存記憶領域判定手段、
前記残存記憶領域判定手段により上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていると判定された場合には、前記パーティションの論理構成を維持する一方、前記残存記憶領域判定手段により上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていないと判定された場合には、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段、
少なくとも、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップのラップ番号と、前記パーティション再構築手段によって更新されたパーティションの終端とされたラップのラップ番号、および、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップの最初のデータブロックのブロックIDを磁気テープのカートリッジの不揮発性メモリに更新して記憶させるパーティション情報更新手段、および、
上位装置から与えられる磁気ヘッドの位置づけコマンドによって指定されるブロックIDの値と前記不揮発性メモリに記憶されたブロックIDの値とを比較し、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値以上の場合には、位置づけコマンドによって指定されるブロックIDの位置に磁気ヘッドを位置づけする一方、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値未満の場合には、前記不揮発性メモリにパーティションの始端としてラップ番号を記憶されたパーティションに磁気ヘッドを位置づけする位置づけ制御手段として機能させることを特徴とした構成を有する。
The control program for a magnetic tape device according to the present invention includes a microprocessor included in a magnetic tape device that overwrites data in a logical partition constituted by a plurality of wraps of the magnetic tape and stores the data cyclically.
A remaining storage area determination means for determining whether or not the capacity of the data storage area remaining as an overwritable area on the terminal end side of the partition at the time of writing data to the partition exceeds a preset storage capacity;
When the remaining storage area determination unit determines that the capacity of the data storage area remaining as an overwritable area exceeds a preset storage capacity, the logical structure of the partition is maintained, while the remaining storage area When it is determined by the determination means that the capacity of the data storage area remaining as the overwritable area does not exceed the preset storage capacity, the wrap constituting the partition is cyclically terminated from the partition start end side in units of laps. Partition rebuilding means for updating the logical configuration of the partition,
At least the wrap number of the wrap updated by the partition rebuilding means, the wrap number of the wrap updated by the partition rebuilding means, and the partition rebuilding means Partition information updating means for updating and storing the block ID of the first data block of the wrap which is the start of the partition updated by the non-volatile memory of the magnetic tape cartridge; and
The block ID value specified by the positioning command of the magnetic head given from the host device is compared with the block ID value stored in the nonvolatile memory, and the block ID value specified by the positioning command is If the value is equal to or greater than the block ID value stored in the memory, the magnetic head is positioned at the block ID position specified by the positioning command, while the block ID value specified by the positioning command is stored in the nonvolatile memory. When the value is less than the block ID value, the non-volatile memory functions as positioning control means for positioning the magnetic head in the partition in which the wrap number is stored as the start of the partition.

また、特に、磁気テープが有する複数のラップによって構成される論理的なパーティションにデータ本体と当該データ本体の読み出し開始位置を含むインデックス情報を上書きして循環的に記憶させる磁気テープ装置用制御プログラムにあっては、磁気テープ装置が備えるマイクロプロセッサを、
上位装置からのデータ記憶領域拡張指令の入力の有無を判定するコマンド判定手段、
前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知しなければ前記パーティションの論理構成を維持する一方、前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知した場合には、前記パーティションを構成する始端のラップに記憶されているデータ本体に対応したインデックス情報を削除し、次のラップの最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に記憶させると共に、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段、
上位装置から1世代以上前のインデックス情報の読み出し指令が与えられると、インデックス情報のブロックIDの値を1世代前のものから順に時系列を遡って検出し、インデックス情報のブロックIDが検出される度に、そのブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であるか否かを判定するインデックス情報有効性判定手段、
前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDが最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であると判定された場合に、このインデックス情報が上位装置からの読み出し指令で与えられたインデックス情報と一致するか否かを判定する一致不一致判定手段、および、
前記一致不一致判定手段が一致の判定をした場合に、このインデックス情報の内部的な読み出しを実行し、最新のインデックス情報と共に記憶されている有効なブロックIDの値と前記一致したインデックス情報に含まれる読み出し開始位置の各々との大小を比較し、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満の読み出し開始位置を有するデータ本体に対応するインデックス情報を除いたインデックス情報の読み出しを上位装置に許容する一方、前記一致不一致判定手段が一致の判定をすることなく、前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDの値が、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満であると判定された場合に、インデックス情報の読み出しを非実行としてインデックス情報の読み出しエラーを上位装置に知らせる出力情報制限手段として機能させることを特徴とした構成を適用する。
In particular, in a control program for a magnetic tape apparatus that overwrites and stores index information including a data main body and a reading start position of the data main body in a logical partition constituted by a plurality of wraps included in the magnetic tape. In that case, the microprocessor included in the magnetic tape device is
Command determination means for determining whether or not a data storage area expansion command is input from the host device;
If the command determination means does not detect the input of the data storage area expansion command, the logical configuration of the partition is maintained. On the other hand, if the command determination means detects the input of the data storage area expansion command, the partition is configured. Delete the index information corresponding to the data body stored in the starting wrap, store the block ID of the first data block of the next wrap as a valid block ID together with the undeleted index information, and store the partition Partition reconstructing means for cyclically shifting the wrap to be configured in units of laps from the partition start side to the end side and updating the logical configuration of the partition;
When a read command for index information of one generation or more before is given from the host device, the block ID value of the index information is detected by going back in time sequence from the previous generation, and the block ID of the index information is detected. Index information validity determination means for determining whether the value of the block ID is equal to or greater than the value of the valid block ID stored together with the latest index information each time,
When it is determined that the block ID of the index information detected by the index information validity determination means is equal to or greater than the value of the valid block ID stored together with the latest index information, the index information is sent from the host device. A match / mismatch determination means for determining whether or not the index information given by the read command is matched, and
When the coincidence / non-coincidence judging unit judges coincidence, the index information is internally read and included in the index information that matches the valid block ID value stored together with the latest index information. Compares the size with each of the read start positions, and reads the index information excluding the index information corresponding to the data body having the read start position less than the valid block ID value stored together with the latest index information. While permitting the apparatus, the block ID value of the index information detected by the index information validity determining unit is stored together with the latest index information without the matching / non-matching determining unit determining a match. If it is determined that the value is less than the valid block ID value, the index Applying a configuration in which characterized in that to function reading error of the index information as output information limiting means for notifying the host device to read the information as non-executable.

本発明における磁気テープ装置の制御方法および磁気テープ装置とその制御プログラムは、パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていればパーティションの論理構成を維持して新たなデータの書き込みを継続する一方、パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていなければ、パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、パーティションの論理構成を更新してから新たなデータの書き込みを継続するようにしているので、論理的なパーティションの終端側に上書き可能領域として残るデータ記憶領域を逐次増長させながら、データを分断させることなく、磁気テープに循環的にデータを記憶させることができる。   The magnetic tape device control method, magnetic tape device, and control program therefor according to the present invention provide a logical configuration of a partition if the capacity of a data storage area remaining as an overwritable area at the end of the partition exceeds a preset storage capacity. If the capacity of the data storage area that remains as an overwritable area on the end side of the partition does not exceed the preset storage capacity, the wrap that constitutes the partition is a lap unit. Since the partition is shifted from the partition start side to the end side and the logical configuration of the partition is updated to continue writing new data, the data that remains as an overwritable area at the end of the logical partition While increasing the storage area sequentially, the data is divided. Without, it can be stored cyclically data on a magnetic tape.

特に、磁気テープが有する複数のラップによって構成される論理的なパーティションにデータ本体とインデックス情報を上書きして循環的に記憶させる磁気テープ装置の制御方法および磁気テープ装置とその制御プログラムにあっては、パーティションの終端側に上書き可能領域として残るデータ記憶領域を拡張する必要がなければ、パーティションの論理構成を維持して新たなデータ本体とインデックス情報の書き込みを継続する一方、データ記憶領域を拡張する必要がある場合には、パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、パーティションの論理構成を更新してから新たなデータ本体とインデックス情報の書き込みを継続するようにしているので、論理的なパーティションの終端側に上書き可能領域として残るデータ記憶領域を逐次増長させながらデータを分断させることなく磁気テープに循環的に記憶させることができ、しかも、パーティションの論理構成の更新に際しては従前のパーティションの始端のラップに記憶されていたデータ本体に対応したインデックス情報を削除し、次のラップ即ち更新後のパーティションの始端のラップに記憶される最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に記憶させるようにしているので、磁気テープのインデックス情報を利用してデータ本体にアクセスする際に、無効化されたデータ記憶領域や誤ったデータ記憶領域に磁気ヘッドを移動させようとする誤動作を未然に防止することができる。   In particular, in a magnetic tape device control method, a magnetic tape device, and a control program for overwriting a data main body and index information in a logical partition constituted by a plurality of wraps included in a magnetic tape and storing them cyclically If it is not necessary to expand the data storage area that remains as an overwritable area at the end of the partition, the partition logical structure is maintained and writing of new data body and index information is continued, while the data storage area is expanded. If necessary, the wraps that make up the partition are cyclically shifted from the start side of the partition to the end side in units of wraps, and the writing of new data and index information is continued after updating the logical configuration of the partition. Because of the logical partition The data storage area that remains as an overwritable area on the end side can be cyclically stored on the magnetic tape without being divided, and the logical structure of the partition can be updated at the beginning of the previous partition. The index information corresponding to the data body stored in the wrap is deleted, and the undeleted index with the block ID of the first data block stored in the next wrap, that is, the first wrap of the updated partition as the effective block ID Since it is stored together with information, when accessing the data body using the index information of the magnetic tape, malfunction that tries to move the magnetic head to the invalid data storage area or the wrong data storage area Can be prevented in advance.

本発明を適用した一実施形態の磁気テープ装置と、磁気テープ装置が使用する磁気テープを収めたカートリッジ、および、磁気テープ装置を利用する上位装置の構成について簡略化して示したブロック図である(第1,第2の実施形態)。It is the block diagram which simplified and showed the structure of the magnetic tape apparatus of one Embodiment to which this invention was applied, the cartridge which accommodated the magnetic tape which a magnetic tape apparatus uses, and the high-order apparatus using a magnetic tape apparatus. First and second embodiments). 同実施形態の磁気テープのカートリッジに固設された不揮発性メモリに記憶される情報の配列について簡略化して示した概念図である(第1の実施形態)。It is the conceptual diagram which simplified and showed about the arrangement | sequence of the information memorize | stored in the non-volatile memory fixed to the cartridge of the magnetic tape of the embodiment (1st Embodiment). 同実施形態の磁気テープ装置におけるデータ書き込み処理の概略について示したフローチャートである(第1の実施形態)。3 is a flowchart showing an outline of data writing processing in the magnetic tape device of the embodiment (first embodiment). 同実施形態の磁気テープ装置におけるデータ読み込み処理の概略について示したフローチャートである(第1の実施形態)。3 is a flowchart illustrating an outline of data reading processing in the magnetic tape device of the embodiment (first embodiment). 同実施形態の磁気テープ装置における磁気ヘッドの位置づけ処理の概略について示したフローチャートである(第1の実施形態)。3 is a flowchart showing an outline of a magnetic head positioning process in the magnetic tape device of the embodiment (first embodiment). LTFSを前提とした磁気テープへのデータの基本的な書き込み形式について簡略化して示した概念図である(一般例)。It is the conceptual diagram which simplified and showed the basic writing format of the data to the magnetic tape on the assumption of LTFS (general example). LTFSを前提とした磁気テープへのデータの具体的な書き込みついて簡略化して示した概念図である(一般例)。It is the conceptual diagram which simplified and showed concrete writing of the data to the magnetic tape on the assumption of LTFS (general example). LTFSを前提とした磁気テープへのデータの具体的な書き込みについて追記データを含めて簡略化して示した概念図である(一般例)。It is the conceptual diagram which simplified and showed specific writing of the data on the magnetic tape on the assumption of LTFS including additional data (general example). 本発明を適用した一実施形態の磁気テープ装置のカートリッジに固設された不揮発性メモリに記憶される情報の配列について簡略化して示した概念図である(第2の実施形態)。It is the conceptual diagram which simplified and showed about the arrangement | sequence of the information memorize | stored in the non-volatile memory fixed to the cartridge of the magnetic tape apparatus of one Embodiment to which this invention is applied (2nd Embodiment). 同実施形態の磁気テープ装置におけるパーティション再構築処理の概略について示したフローチャートである(第2の実施形態)。It is the flowchart shown about the outline of the partition reconstruction process in the magnetic tape apparatus of the embodiment (2nd Embodiment). 同実施形態の磁気テープ装置におけるインデックス情報読み込み処理の概略について示したフローチャートである(第2の実施形態)。It is the flowchart shown about the outline of the index information reading process in the magnetic tape apparatus of the same embodiment (2nd Embodiment). 複数のラップを備えた磁気テープの構成例について簡略化して示した図である(一般例)。It is the figure which simplified and showed about the structural example of the magnetic tape provided with the several wrap (general example).

次に、本発明を実施するための実施形態の幾つかについて、図面を参照して具体的に説明する。   Next, some embodiments for carrying out the present invention will be specifically described with reference to the drawings.

〔第1の実施形態〕 [First Embodiment]

図1は本発明を適用した一実施形態の磁気テープ装置1と、磁気テープ装置1が使用する磁気テープ2を収めたカートリッジ3、および、磁気テープ装置1を利用する上位装置4の構成について簡略化して示したブロック図である。   FIG. 1 is a simplified diagram of the configuration of a magnetic tape device 1 according to an embodiment to which the present invention is applied, a cartridge 3 containing a magnetic tape 2 used by the magnetic tape device 1, and a host device 4 using the magnetic tape device 1. FIG.

上位装置4が磁気テープ装置1にRead/Writeコマンドを発行し、これを受けた磁気テープ装置1が、磁気テープ2に対してデータの読み出しや書き込みを行う点については従来と同様である。   The host device 4 issues a read / write command to the magnetic tape device 1, and the magnetic tape device 1 that receives the read / write command reads / writes data from / to the magnetic tape 2 as before.

磁気テープ装置1は、データの読み書きや消去に用いる磁気ヘッド5と、図示しない磁気テープ送り機構、および、磁気ヘッド5を磁気テープ2の幅方向つまりラップ(Wrap)の配列方向に沿って移動させるシーク機構等の公知要素を備える。なお、消去用の磁気ヘッドおよび書き込み用の磁気ヘッドと読み込み用の磁気ヘッドを組み合わせて磁気ヘッド5を構成する場合もあるが、磁気ヘッド5の構成については各種のものが既に公知であるから詳細な説明はしない。   The magnetic tape device 1 moves the magnetic head 5 used for reading / writing and erasing data, a magnetic tape feeding mechanism (not shown), and the magnetic head 5 along the width direction of the magnetic tape 2, that is, the wrap arrangement direction. A known element such as a seek mechanism is provided. In some cases, the magnetic head 5 may be configured by combining a magnetic head for erasure, a magnetic head for writing, and a magnetic head for reading. However, various configurations of the magnetic head 5 are already known. I will not explain it.

上位装置4からの様々な指令を受けて磁気ヘッド5や磁気テープ送り機構およびシーク機構等を駆動制御する磁気テープ装置1のマイクロプロセッサ6には、このマイクロプロセッサ6を残存記憶領域判定手段,パーティション再構築手段,パーティション情報更新手段および位置づけ制御手段として機能させるための磁気テープ装置用制御プログラム(図3〜図5参照)や各種のパラメータ等を格納した不揮発性メモリ7が接続されている。   The microprocessor 6 of the magnetic tape apparatus 1 that drives and controls the magnetic head 5, the magnetic tape feeding mechanism, the seek mechanism and the like in response to various commands from the host apparatus 4 includes the microprocessor 6 as a remaining storage area determination means, partition A non-volatile memory 7 storing a magnetic tape device control program (see FIGS. 3 to 5) and various parameters for functioning as reconstruction means, partition information updating means and positioning control means is connected.

また、この不揮発性メモリ7には、パーティションの論理構成の更新が必要であるか否かを残存記憶領域判定手段が判定する際に閾値として利用する記憶容量の設定値やパーティション再構築手段がパーティションをずらす際に利用するラップ単位のパーティションのずらし量の設定値がパラメータの一種として自由に設定できるようになっている。   Further, the nonvolatile memory 7 includes a storage capacity setting value used as a threshold when the remaining storage area determination unit determines whether or not the logical configuration of the partition needs to be updated, and a partition reconstruction unit includes a partition The setting value of the partition shift amount of the lap unit used when shifting can be freely set as a kind of parameter.

この実施形態では、更に、カートリッジ3に固設された不揮発性メモリ8(以下、カートリッジメモリ8という)との間でデータの受け渡しを行なうためのインターフェイス9が磁気テープ装置1内に設けられ、磁気テープ装置1のマイクロプロセッサ6と磁気テープ装置1にマウントされた磁気テープ2のカートリッジメモリ8との間でデータの授受が行われるようになっている。
インターフェイス9は電気的な接続を実現するための機械的な接触子であってもよいし、近距離無線通信等を利用した非接触式のものであってもよい。
In this embodiment, an interface 9 for transferring data to and from a non-volatile memory 8 (hereinafter referred to as a cartridge memory 8) fixed to the cartridge 3 is further provided in the magnetic tape device 1 and magnetically. Data is exchanged between the microprocessor 6 of the tape device 1 and the cartridge memory 8 of the magnetic tape 2 mounted on the magnetic tape device 1.
The interface 9 may be a mechanical contact for realizing electrical connection, or may be a non-contact type using short-range wireless communication or the like.

図2に示されるように、カートリッジメモリ8には、少なくとも、パーティション再構築手段によって更新されたパーティションの始端(Beginning of Partition/以下、BOPという)とされた物理的なラップのラップ番号を記憶するBOP位置情報記憶領域311と、パーティション再構築手段によって更新されたパーティションの終端(End of Partition/以下、EOPという)とされた物理的なラップのラップ番号を記憶するEOP位置情報記憶領域312と、パーティション再構築手段によって更新されたパーティションの始端とされたラップの最初のデータブロックのブロックIDつまり上位装置4がパーティションの始端を基準として認識する最初のデータブロックの論理的な位置を記憶するBOP Block ID記憶領域313と、上位装置4がパーティションの始端を基準として其の時点における最終的なデータ書き込み終了位置として認識するデータブロックの論理的なブロックIDを記憶するEOD Block ID記憶領域314が設けられている。   As shown in FIG. 2, the cartridge memory 8 stores at least the wrap number of the physical wrap that is the beginning of the partition (beginning of partition / hereinafter referred to as BOP) updated by the partition restructuring means. A BOP position information storage area 311; an EOP position information storage area 312 for storing the wrap number of the physical wrap that is the end of the partition updated by the partition reconstruction means (End of Partition / hereinafter referred to as EOP); BOP Block that stores the block ID of the first data block of the wrap that is the start of the partition updated by the partition restructuring means, that is, the logical position of the first data block recognized by the host device 4 with reference to the start of the partition The ID storage area 313 and the host device 4 are based on the beginning of the partition. As a standard, an EOD Block ID storage area 314 for storing a logical block ID of a data block recognized as a final data write end position at that time is provided.

なお、ここで言うBOP位置およびEOP位置は、磁気テープ2上で分割された領域の物理的な始端および終端ではなく、その領域内のどのラップに論理的なパーティションの始端および終端があるのかを示す情報である。   The BOP position and EOP position mentioned here are not the physical start and end of the area divided on the magnetic tape 2, but which wrap in the area has the start and end of the logical partition. It is information to show.

図12に複数のラップを備えた磁気テープ2の構成例について簡略化して示す。この例では、往路方向のトラックと復路方向のトラックを1セットにして1つのラップが形成され、各種のデータは、磁気テープ2を往復させながら論理的なパーティションの始端(例えばラップ0)から論理的なパーティションの終端(例えばラップ9)に向けて連続的に書き込まれるようになっている。   FIG. 12 shows a simplified configuration example of the magnetic tape 2 having a plurality of wraps. In this example, one track is formed by setting a track in the forward direction and a track in the return direction, and various data are logically transferred from the beginning of a logical partition (for example, wrap 0) while reciprocating the magnetic tape 2. Is written continuously toward the end of a typical partition (eg, wrap 9).

次に、図3〜図5のフローチャートを参照して、この実施形態における磁気テープ装置の制御方法および磁気テープ装置用制御プログラムと、この実施形態の磁気テープ装置1における残存記憶領域判定手段,パーティション再構築手段,パーティション情報更新手段および位置づけ制御手段として機能するマイクロプロセッサ6の処理動作について具体的に説明する。   Next, referring to the flowcharts of FIGS. 3 to 5, the magnetic tape device control method and magnetic tape device control program in this embodiment, the remaining storage area determination means, and the partition in the magnetic tape device 1 in this embodiment The processing operation of the microprocessor 6 functioning as a reconstruction unit, a partition information update unit, and a positioning control unit will be specifically described.

まず、図3を参照してデータ書き込み処理について説明する。   First, the data writing process will be described with reference to FIG.

パーティションへのデータの書き込みに際し、磁気テープ装置1が上位装置4からのWriteコマンドを受信すると(ステップS101)、まず、残存記憶領域判定手段として機能するマイクロプロセッサ6が、閾値として利用する記憶容量の設定値を不揮発性メモリ7から読み出し、この設定値と現時点でパーティションの終端側に上書き可能領域として残るデータ記憶領域の容量とを比較し、パーティションの終端側に上書き可能領域として残るデータ記憶領域が予め設定された記憶容量の設定値を上回っているか否かを判定する(ステップS102)。
現時点でパーティションの終端側に上書き可能領域として残るデータ記憶領域の容量は、例えば、磁気ヘッド5が位置するラップの配列位置(ラップ番号)と磁気テープ2の走行方向および磁気テープ2の巻き取りリールの回転数から得られる残りの磁気テープ長に磁気テープ2の単位長さ当たりの記憶容量を乗じること等によって容易に求めることができる。無論、閾値として利用する記憶容量に代わる設定値としてテープ長を利用し、残りの磁気テープ長と設定値とを直接的に比較するようにしてもよい。
When writing data to the partition, when the magnetic tape device 1 receives a Write command from the host device 4 (step S101), first, the microprocessor 6 functioning as the remaining storage area determination means has a storage capacity used as a threshold value. The setting value is read from the nonvolatile memory 7, and the setting value is compared with the capacity of the data storage area that remains as the overwritable area at the end of the partition at present, and the data storage area that remains as the overwritable area at the end of the partition It is determined whether or not a preset storage capacity value is exceeded (step S102).
The capacity of the data storage area remaining as an overwritable area at the end of the partition at present is, for example, the wrap arrangement position (wrap number) where the magnetic head 5 is located, the traveling direction of the magnetic tape 2, and the take-up reel of the magnetic tape 2. It can be easily obtained by multiplying the remaining magnetic tape length obtained from the number of rotations by the storage capacity per unit length of the magnetic tape 2. Of course, the tape length may be used as a setting value instead of the storage capacity used as the threshold value, and the remaining magnetic tape length may be directly compared with the setting value.

ステップS102の判定結果が真となって上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていることが明らかとなった場合には、パーティションのデータ記憶領域を増長する必要はないので、パーティション再構築手段として機能するマイクロプロセッサ6は、パーティションの論理構成を現状に維持し、従来と同様、上位装置4からのWriteコマンドに従って、カートリッジメモリ8のEOD Block ID記憶領域314に記憶された前回のデータ書き込み終了位置に続けてデータを書き込み、今回のデータ書き込み終了位置をカートリッジメモリ8のEOD Block ID記憶領域314に更新して記憶させる(ステップS104)。   If the result of the determination in step S102 is true and it is clear that the capacity of the data storage area remaining as an overwritable area exceeds the preset storage capacity, it is necessary to increase the data storage area of the partition Therefore, the microprocessor 6 functioning as the partition restructuring means maintains the logical configuration of the partition as it is, and stores the EOD Block ID storage area 314 of the cartridge memory 8 in accordance with the Write command from the host device 4 as in the prior art. Data is written following the previously stored data write end position, and the current data write end position is updated and stored in the EOD Block ID storage area 314 of the cartridge memory 8 (step S104).

一方、ステップS102の判定結果が偽となって上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていないことが明らかとなった場合には、パーティションのデータ記憶領域を増長する必要があることを意味する。   On the other hand, if the determination result in step S102 is false and it is clear that the capacity of the data storage area remaining as an overwritable area does not exceed the preset storage capacity, the data storage area of the partition is increased. It means you need to.

この場合、パーティション再構築手段として機能するマイクロプロセッサ6は、パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらしてパーティションの論理構成を更新し、パーティション情報更新手段として機能するマイクロプロセッサ6が、パーティション再構築手段によって更新されたパーティションの始端とされたラップのラップ番号をカートリッジメモリ8のBOP位置情報記憶領域311に更新して記憶させ、また、パーティション再構築手段によって更新されたパーティションの終端とされたラップのラップ番号をカートリッジメモリ8のEOP位置情報記憶領域312に更新して記憶させ、更に、パーティション再構築手段によって更新されたパーティションの始端とされたラップの最初のデータブロックのブロックIDをカートリッジメモリ8のBOP Block ID記憶領域313に更新して記憶させてから(ステップS103)、前記と同様にして、上位装置4からのWriteコマンドに従って、カートリッジメモリ8のEOD Block ID記憶領域314に記憶された前回のデータ書き込み終了位置に続けてデータを書き込み、今回のデータ書き込み終了位置をカートリッジメモリ8のEOD Block ID記憶領域314に更新して記憶させることになる(ステップS104)。
例えば、上位装置4からのWriteコマンドを受信したステップS101の時点でカートリッジメモリ8のBOP位置情報記憶領域311にラップ番号0が記憶され且つEOP位置情報記憶領域312にラップ番号9が記憶されており、ラップ番号0のラップを始端とし且つラップ番号9のラップを終端とするパーティションが利用されている状況下で、ラップ番号1のラップの最初のデータブロックのブロックIDが100、また、不揮発性メモリ7にはラップ単位のパーティションのずらし量の設定値として値1が設定されていて、磁気テープ2のラップの物理的な総数が9であったと仮定し、この状況下でステップS102の判定結果が偽となってパーティションのデータ記憶領域を増長する必要が生じたとすれば、ステップS103の処理により、カートリッジメモリ8のBOP位置情報記憶領域311にはラップ番号1(0+1=0〔1はずらし量の設定値〕)が更新して記憶され、カートリッジメモリ8のEOP位置情報記憶領域312にはラップ番号0(9+1=10であるが、ラップの物理的な総数は9でありパーティションは循環的にずらされるので10に相当する値は0となる)が更新して記憶され、カートリッジメモリ8のBOP Block ID記憶領域313にはブロックIDの値100が更新して記憶されることになる。
In this case, the microprocessor 6 functioning as the partition restructuring unit updates the logical configuration of the partition by cyclically shifting the wraps constituting the partition from the partition start side to the end side in units of laps, and functions as the partition information update unit. The microprocessor 6 to be updated updates and stores the wrap number of the wrap at the beginning of the partition updated by the partition restructuring means in the BOP position information storage area 311 of the cartridge memory 8 and updates it by the partition restructuring means. The wrap number of the wrap at the end of the partitioned partition is updated and stored in the EOP position information storage area 312 of the cartridge memory 8, and the wrap number at the start of the partition updated by the partition reconstruction means is further stored. The block ID of the data block is updated and stored in the BOP Block ID storage area 313 of the cartridge memory 8 (step S103). Data is written subsequent to the previous data write end position stored in the Block ID storage area 314, and the current data write end position is updated and stored in the EOD Block ID storage area 314 of the cartridge memory 8 (step). S104).
For example, the lap number 0 is stored in the BOP position information storage area 311 of the cartridge memory 8 and the lap number 9 is stored in the EOP position information storage area 312 at the time of step S 101 when the write command is received from the host apparatus 4. In a situation where a partition having a wrap number 0 as a starting point and a wrap number 9 as a ending partition is used, the block ID of the first data block of the wrap number 1 wrap is 100, and a non-volatile memory 7 is set to 1 as the setting value of the partition shift amount in units of laps, and it is assumed that the total physical number of wraps on the magnetic tape 2 is 9, and the determination result in step S102 under this situation is as follows. If it becomes false and it becomes necessary to increase the data storage area of the partition, the process in step S103 The BOP position information storage area 311 of the cartridge memory 8 is updated and stored with a lap number 1 (0 + 1 = 0 [1 is the set value of the shift amount]), and the lap number 0 is stored in the EOP position information storage area 312 of the cartridge memory 8. (9 + 1 = 10, but the total number of wraps is 9 and the partition is cyclically shifted, so the value corresponding to 10 is 0) is updated and stored, and the BOP Block ID of the cartridge memory 8 In the storage area 313, the block ID value 100 is updated and stored.

それまで使用していたパーティションの始端を構成していたラップ番号0のラップに記憶されていたデータ、および、新たにパーティションの始端を構成するラップ番号1のラップ上のデータであってもブロックIDの値が100未満のデータ即ちラップ番号0のラップから内容が継続しているデータの全ては、パーティションの再構築に関わるステップS103の処理が実行された時点で無効なデータとなるが、カートリッジメモリ8のBOP Block ID記憶領域313には新たにパーティションの始端とされたラップ番号1のラップの最初のデータブロックのブロックIDの値100が記憶されるので、磁気ヘッド5の位置づけ処理の実行をブロックIDの値が100以上となる範囲に制限することで、無効化されたデータ記憶領域や誤ったデータ記憶領域に磁気ヘッド5を移動させようとする誤動作を未然に防止することができる。   Block ID even if the data is stored in the wrap with wrap number 0 that was used to configure the beginning of the partition and the data on the wrap with wrap number 1 that is used to configure the start of the partition. Data whose value is less than 100, that is, all data whose contents continue from the wrap of wrap number 0, become invalid data when the processing of step S103 related to partition reconstruction is executed. Since the block ID value 100 of the first data block of the wrap with the wrap number 1 newly set as the start of the partition is stored in the BOP Block ID storage area 313 of 8, the execution of the positioning process of the magnetic head 5 is blocked. By limiting the ID value to a range that is 100 or more, invalidated data storage areas and incorrect data storage areas Malfunction tending to move the magnetic head 5 can be prevented in.

以上の処理により、論理的なパーティションの終端側に上書き可能領域として残るデータ記憶領域を逐次増長させながらデータを分断させることなく磁気テープ2に循環的に記憶させることができるようになる。   Through the above processing, the data storage area remaining as an overwritable area on the end side of the logical partition can be cyclically stored on the magnetic tape 2 without being divided while sequentially increasing the data storage area.

また、この結果として、最新のデータは常にパーティションの終端付近に書き込まれ、長時間に亘って確実に保持されることになる。   As a result, the latest data is always written in the vicinity of the end of the partition, and is reliably held for a long time.

次に、図4を参照してデータ読み込み処理について説明する。   Next, the data reading process will be described with reference to FIG.

磁気テープ装置1が上位装置4からのReadコマンドを受信すると、マイクロプロセッサ6が磁気ヘッド5を駆動制御して磁気テープ2からのデータの読み込みを開始し(ステップS201)、磁気ヘッド5が何れかのラップの末尾に到達しているか否かを判定する(ステップS202)。
磁気ヘッド5が何れかのラップの末尾に到達しているか否かの判定は、例えば、磁気ヘッド5が位置するラップの配列位置(ラップ番号)と磁気テープ2の走行方向および磁気テープ2の巻き取りリールの回転数等から容易に求めることができる。
When the magnetic tape device 1 receives the Read command from the host device 4, the microprocessor 6 drives and controls the magnetic head 5 to start reading data from the magnetic tape 2 (step S201). It is determined whether or not the end of the lap has been reached (step S202).
The determination as to whether or not the magnetic head 5 has reached the end of any lap is made, for example, by the wrap arrangement position (lap number) where the magnetic head 5 is located, the traveling direction of the magnetic tape 2, and the winding of the magnetic tape 2. It can be easily obtained from the number of rotations of the take-up reel.

ステップS202の判定結果が偽となって磁気ヘッド5がラップの末尾にないことが明らかとなった場合には、マイクロプロセッサ6は、このままデータの読み込みを継続し、読み込んだデータを上位装置4に転送する(ステップS207)。   If the determination result in step S202 is false and it is clear that the magnetic head 5 is not at the end of the lap, the microprocessor 6 continues to read the data as it is and sends the read data to the host device 4. Transfer (step S207).

一方、ステップS202の判定結果が真となって磁気ヘッド5が何れかのラップの末尾に到達していることが明らかとなった場合には、マイクロプロセッサ6は、更に、磁気ヘッド5が現時点でトラッキングしているラップのラップ番号とカートリッジメモリ8のEOP位置情報記憶領域312に記憶されている終端ラップのラップ番号とを比較することによって、磁気ヘッド5が現時点でトラッキングしているラップがパーティションの論理的な終端ラップであるか否かを判定する(ステップS203)。   On the other hand, if the determination result in step S202 is true and it is clear that the magnetic head 5 has reached the end of any lap, the microprocessor 6 further determines that the magnetic head 5 is currently By comparing the lap number of the tracked lap with the lap number of the terminal lap stored in the EOP position information storage area 312 of the cartridge memory 8, the lap currently being tracked by the magnetic head 5 is determined as the partition lap number. It is determined whether or not it is a logical end wrap (step S203).

そして、ステップS203の判定結果が真となって磁気ヘッド5が現時点でトラッキングしているラップがパーティションの論理的な終端ラップであることが明らかとなった場合には、マイクロプロセッサ6は、磁気ヘッド5がパーティションの論理的な終端ラップの末尾に到達したことを示すEOP信号を上位装置4に送信し、このままデータの読み込み処理を終了する。
従って、パーティションの論理的な終端ラップを超えて、無効化されたデータや保証のないデータが磁気テープ2から読み込まれるといった恐れはない。
If the determination result in step S203 is true and it is clear that the wrap currently tracked by the magnetic head 5 is the logical end wrap of the partition, the microprocessor 6 An EOP signal indicating that 5 has reached the end of the logical end wrap of the partition is transmitted to the host device 4, and the data reading process is terminated as it is.
Therefore, there is no fear that invalidated data or unguaranteed data is read from the magnetic tape 2 beyond the logical end wrap of the partition.

また、ステップS203の判定結果が偽となって、磁気ヘッド5が現時点でトラッキングしているラップがパーティションの論理的な終端ラップではないことが明らかとなった場合には、マイクロプロセッサ6は、更に、磁気ヘッド5が現時点でトラッキングしているラップがパーティションの物理的な終端ラップであるか否かを判定する(ステップS204)。   If the determination result in step S203 is false and it is clear that the lap currently being tracked by the magnetic head 5 is not the logical end wrap of the partition, the microprocessor 6 further Then, it is determined whether or not the wrap currently tracked by the magnetic head 5 is the physical end wrap of the partition (step S204).

そして、ステップS204の判定結果が真となって、磁気ヘッド5が現時点でトラッキングしているラップがパーティションの物理的な終端ラップであることが明らかとなった場合には、マイクロプロセッサ6は、シーク機構を駆動して磁気ヘッド5をパーティションの物理的な始端ラップに移動させた上で(ステップS205)、前記と同様にしてデータの読み込みを継続し、読み込んだデータを上位装置4へと転送する(ステップS207)。
この場合は、パーティションのラップ構造自体は論理的に連続しているので、データの読み込み処理が継続可能となるのである。
物理的な終端ラップから物理的な始端ラップへの磁気ヘッド5の移動を考えると、磁気テープ2におけるラップ数を奇数とし、磁気テープ2の巻き戻し操作を行なわなくても、シーク方向の移動(ラップの配列方向への移動)のみで短時間で磁気ヘッド5が物理的な終端ラップから物理的な始端ラップに移動できるようにするとよい。
If the determination result in step S204 is true and it is clear that the wrap currently tracked by the magnetic head 5 is the physical end wrap of the partition, the microprocessor 6 After the mechanism is driven to move the magnetic head 5 to the physical start wrap of the partition (step S205), data reading is continued in the same manner as described above, and the read data is transferred to the host device 4. (Step S207).
In this case, since the partition wrap structure itself is logically continuous, the data reading process can be continued.
Considering the movement of the magnetic head 5 from the physical end wrap to the physical start wrap, the number of wraps on the magnetic tape 2 is an odd number, and the movement in the seek direction (without the rewinding operation of the magnetic tape 2 ( It is preferable that the magnetic head 5 can be moved from the physical end wrap to the physical start wrap in a short time only by moving the wrap in the arrangement direction.

また、ステップS204の判定結果が偽となって、磁気ヘッド5が現時点でトラッキングしているラップがパーティションの物理的な終端ラップでないことが明らかとなった場合には、マイクロプロセッサ6は、シーク機構を駆動して磁気ヘッド5を従来と同様に次のラップの始端に移動させた上で(ステップS206)、データの読み込みを継続し、読み込んだデータを上位装置4に転送することになる(ステップS207)。   If the determination result in step S204 is false and it is clear that the wrap currently tracked by the magnetic head 5 is not the physical end wrap of the partition, the microprocessor 6 To move the magnetic head 5 to the beginning of the next lap as in the prior art (step S206), continue reading data and transfer the read data to the host device 4 (step S206). S207).

以上の処理により、循環的に磁気テープ2に書き込まれたデータを適切に読み込むことが可能となる。   With the above processing, it is possible to appropriately read data written on the magnetic tape 2 cyclically.

次に、図5を参照して磁気ヘッド5の位置づけ処理について説明する。   Next, the positioning process of the magnetic head 5 will be described with reference to FIG.

磁気テープ装置1が上位装置4からの位置づけコマンド例えばSpaceやLocateあるいはRewind等のコマンドを受信すると、位置づけ制御手段として機能するマイクロプロセッサ6は、まず、カートリッジメモリ8のBOP位置情報記憶領域311に記憶されているパーティションの始端を構成するラップのラップ番号と、BOP Block ID記憶領域313に記憶されているパーティションの始端とされたラップの最初のデータブロックのブロックIDと、EOD Block ID記憶領域314に記憶されているパーティションの始端を基準とした最終的なデータ書き込み終了位置のブロックIDを読み込んで一時記憶する(ステップS301)。   When the magnetic tape device 1 receives a positioning command such as Space, Locate or Rewind from the host device 4, the microprocessor 6 functioning as a positioning control unit first stores it in the BOP position information storage area 311 of the cartridge memory 8. The wrap number of the wrap that constitutes the start end of the partition being stored, the block ID of the first data block of the wrap that is the start end of the partition stored in the BOP Block ID storage area 313, and the EOD Block ID storage area 314 The block ID of the final data write end position with reference to the start end of the stored partition is read and temporarily stored (step S301).

次いで、位置づけ制御手段として機能するマイクロプロセッサ6は、位置づけコマンドと共に上位装置4から与えられた位置づけ目標のブロックIDの値がBOP Block ID記憶領域313に記憶されている最初のデータブロックのブロックIDの値以上であって、且つ、位置づけ目標のブロックIDの値がEOD Block ID記憶領域314に記憶されている最終的なデータ書き込み終了位置のブロックIDの値以下であるか否か、つまり、位置づけコマンドと共に上位装置4から与えられた位置づけ目標のブロックIDの値が、有効なデータを記憶した記憶領域の範囲内にあるか否かを判定する(ステップS302)。   Next, the microprocessor 6 functioning as a positioning control means sets the block ID value of the positioning target given from the host apparatus 4 together with the positioning command to the block ID of the first data block stored in the BOP Block ID storage area 313. Whether or not the block ID value of the positioning target is equal to or smaller than the block ID value of the final data writing end position stored in the EOD Block ID storage area 314, that is, the positioning command At the same time, it is determined whether or not the value of the positioning target block ID given from the host device 4 is within the range of the storage area storing the valid data (step S302).

ここで、ステップS302の判定結果が真となって位置づけ目標のブロックIDの値が有効なデータを記憶した記憶領域の範囲内にあることが明らかとなった場合には、位置づけ制御手段として機能するマイクロプロセッサ6は、BOP位置情報記憶領域311に記憶されているパーティションの始端を構成するラップの始端を基準として、上位装置4から与えられた位置づけ目標のブロックIDの値に従って図示しない磁気テープ送り機構やシーク機構を駆動制御し、指定された位置に磁気ヘッド5を位置づけする(ステップS303)。   Here, when the determination result in step S302 is true and it is clear that the value of the positioning target block ID is within the range of the storage area storing the valid data, it functions as positioning control means. The microprocessor 6 uses a magnetic tape feeding mechanism (not shown) according to the positioning target block ID value given from the host device 4 with reference to the starting end of the wrap constituting the starting end of the partition stored in the BOP position information storage area 311 And the drive of the seek mechanism to position the magnetic head 5 at the designated position (step S303).

また、ステップS302の判定結果が偽となって位置づけ目標のブロックIDの値が有効なデータを記憶した記憶領域の範囲内にないことが明らかとなった場合には、位置づけ制御手段として機能するマイクロプロセッサ6は、更に、位置づけコマンドによって指定された位置づけ目標のブロックIDの値がBOP Block ID記憶領域313に記憶されている最初のデータブロックのブロックIDの値未満であるか否か、つまり、位置づけの目標が、現時点で使用されているパーティションの始端に直近して無効化された過去のデータの記憶領域に相当する部分であるか否かを判定し(ステップS304)、そうであれば、上位装置4から与えられた位置づけ目標のブロックIDの値を無視し、図示しない磁気テープ送り機構やシーク機構を駆動制御して、BOP位置情報記憶領域311に記憶されているパーティションの始端を構成するラップの始端に磁気ヘッド5を位置づけし、現在使用しているパーティションの始端に磁気ヘッド5を位置づけしたことを示す信号を上位装置に送信する(ステップS305)。   If the determination result in step S302 is false and it is clear that the value of the positioning target block ID is not within the range of the storage area storing the valid data, the micro that functions as positioning control means. The processor 6 further determines whether or not the value of the target block ID specified by the positioning command is less than the block ID value of the first data block stored in the BOP Block ID storage area 313, that is, positioning. Is the portion corresponding to the storage area of the past data invalidated immediately after the start of the partition currently used (step S304). Ignore the positioning target block ID given from the device 4, and drive and control the magnetic tape feeding mechanism and seek mechanism (not shown) The magnetic head 5 is positioned at the start end of the wrap that forms the start end of the partition stored in the information storage area 311, and a signal indicating that the magnetic head 5 is positioned at the start end of the currently used partition is transmitted to the host device. (Step S305).

また、ステップS304の判定結果が偽となって位置づけ目標のブロックIDの値がEOD Block ID記憶領域314に記憶されている最終的なデータ書き込み終了位置のブロックIDの値を越えていることが明らかとなった場合には、位置づけ制御手段として機能するマイクロプロセッサ6は、上位装置4から与えられた位置づけ目標のブロックIDの値を無視し、図示しない磁気テープ送り機構やシーク機構を駆動制御して、EOD Block ID記憶領域314に記憶されている最終的なデータ書き込み終了位置に磁気ヘッド5を位置づけし、最終的なデータ書き込み終了位置に磁気ヘッド5を位置づけしたことを示す信号を上位装置に送信する(ステップS306)。   Also, it is clear that the determination result in step S304 is false and the value of the positioning target block ID exceeds the block ID value of the final data writing end position stored in the EOD Block ID storage area 314. In this case, the microprocessor 6 functioning as a positioning control means ignores the positioning target block ID value given from the host device 4 and drives and controls a magnetic tape feeding mechanism and a seek mechanism (not shown). The magnetic head 5 is positioned at the final data write end position stored in the EOD Block ID storage area 314, and a signal indicating that the magnetic head 5 is positioned at the final data write end position is transmitted to the host device. (Step S306).

従って、仮に、無効化されたブロックIDへの位置づけが上位装置4からの位置づけコマンドによって指定された場合であっても、磁気ヘッド5の現在位置が分からなくなることはなく、無効化されたデータ記憶領域や誤ったデータ記憶領域に磁気ヘッド5を移動させようとする誤動作も未然に防止することができる。   Therefore, even if the positioning to the invalid block ID is designated by the positioning command from the host device 4, the current position of the magnetic head 5 is not lost, and the invalid data storage is performed. A malfunction that attempts to move the magnetic head 5 to an area or an erroneous data storage area can also be prevented.

また、上位装置4からのRead Positionコマンドによって磁気ヘッド5の現在位置を確認する必要が生じた場合やLocateコマンド等のようにブロックIDを指定した位置づけ要求があった場合、つまり、有効なデータ記憶領域を超えたブロックIDの取り扱いが必要となった場合には、BOPからの累積ブロック数(累積データブロック数+累積ファイルマーク数)にカートリッジメモリ8のBOP Block ID記憶領域313から読み出したBOP Block IDの値を加算した位置に磁気ヘッド5を位置づけするようにする。
この処理により、パーティションの始端を構成するラップ上のデータを無効化してパーティションの末端に循環的に連結した後でも、それまでと同じブロックIDを用いて、データが書き込まれたブロックへアクセスすることができ、例えば、パーティションの再構築によって論理的に無効化されてはいるもののデータの内容自体には有意性があるといった過去のデータの読み出しといったことも或る程度は可能となる。
Further, when it becomes necessary to confirm the current position of the magnetic head 5 by the Read Position command from the host device 4, or when there is a positioning request specifying a block ID such as the Locate command, that is, effective data storage. When it is necessary to handle a block ID that exceeds the area, the BOP Block read from the BOP Block ID storage area 313 of the cartridge memory 8 is added to the accumulated block number (accumulated data block number + accumulated file mark number) from the BOP. The magnetic head 5 is positioned at the position where the ID value is added.
With this process, even after invalidating the data on the wrap that constitutes the beginning of the partition and cyclically connecting it to the end of the partition, the block where the data is written can be accessed using the same block ID as before. For example, it is possible to some extent to read past data that is logically invalidated by rebuilding the partition but whose data content is significant.

パーティションの論理構成の更新が必要であるか否かを残存記憶領域判定手段が判定する際に閾値として利用する記憶容量の設定値は、取り扱うデータの容量に合わせて適宜的に不揮発性メモリ7に更新して設定することができる。当然、1回の書き込み処理で書き込むデータが大容量である場合には閾値として利用する記憶容量の設定値も大きな値で設定し、また、1回の書き込み処理で書き込むデータが小容量である場合には閾値として利用する記憶容量の設定値も小さな値で設定するようにする。
従って、パーティションの終端側に上書き可能領域として残るデータ記憶領域が予め設定された記憶容量の設定値を上回っているか否かを判定するためのステップS102の判定処理は、実質的には、現時点で書き込みを要求されているデータが分断されることなく現在のパーティションに書き込めるか否かを判定する判定処理であるといってもよい。
The setting value of the storage capacity used as a threshold when the remaining storage area determination means determines whether or not the logical configuration of the partition needs to be updated is appropriately stored in the nonvolatile memory 7 according to the capacity of the data to be handled. Can be updated and set. Naturally, when the data written in one writing process has a large capacity, the setting value of the storage capacity used as the threshold is set to a large value, and the data written in one writing process has a small capacity In this case, the setting value of the storage capacity used as the threshold value is also set to a small value.
Therefore, the determination process in step S102 for determining whether or not the data storage area remaining as the overwritable area on the end side of the partition exceeds the preset value of the storage capacity is substantially the present It may be said that this is a determination process for determining whether or not the data requested to be written can be written to the current partition without being divided.

ここでは、一例として、パーティションの再構築に際してパーティションを構成するラップを1ラップずつずらす場合について説明しているが、パーティションを構成するラップを数ラップずつ循環的にずらすことも可能である。
ラップのずらし量は、前述した記憶容量の設定値の場合と同様、取り扱うデータの容量に合わせて適宜的に不揮発性メモリ7に更新して設定することができる。
Here, as an example, a case has been described in which the wraps constituting the partition are shifted one lap at a time when the partition is reconstructed, but it is also possible to cyclically shift the wraps constituting the partition several laps.
The wrap shift amount can be appropriately updated and set in the nonvolatile memory 7 in accordance with the capacity of data to be handled, as in the case of the storage capacity setting value described above.

〔第2の実施形態〕 [Second Embodiment]

次に、磁気テープ2が有する複数のラップによって構成される論理的なパーティションにデータ本体と此のデータ本体の読み出し開始位置を含むインデックス情報を上書きして循環的に記憶させる場合の実施形態について説明する。   Next, a description will be given of an embodiment in which index information including a data body and a read start position of the data body is overwritten in a logical partition constituted by a plurality of wraps included in the magnetic tape 2 and stored cyclically. To do.

磁気テープ2の記憶領域をコンテンツ領域とインデックス領域に分割し、コンテンツ領域に各種のファイル等を始めとするデータ本体を記憶させる一方、コンテンツ領域内のデータ本体を扱えるようにするためのインデックス情報、例えば、データの読み出しに必要とされるデータ名やデータサイズおよび其の読み出し開始位置といった情報をインデックス領域に記憶させるようにした追記型の記憶方式は例えばLTFS(Linear Tape File System)として既に公知である。   Index information for dividing the storage area of the magnetic tape 2 into a content area and an index area, and storing the data body including various files in the content area, while allowing the data body in the content area to be handled, For example, a write-once storage system that stores information such as the data name, data size, and read start position required for data reading in the index area is already known as, for example, LTFS (Linear Tape File System). is there.

ここで、LTFSを前提とした磁気テープ2へのデータの基本的な書き込み形式について図6および図7を参照して簡単に用いて説明する。   Here, a basic data writing format on the magnetic tape 2 on the premise of LTFS will be briefly described with reference to FIG. 6 and FIG.

この形式による磁気テープ2へのデータの書き込みは、図6に示すように、上位装置4においてファイルとして記録されているデータの内容たとえばFileA,FileB,FileCをデータ本体として磁気テープ2上のコンテンツ領域71に書き込み、その後に続くインデックス領域72に、コンテンツ領域71内のデータ本体たとえばFileA,FileB,FileCを扱えるようにするためのインデックス情報を書き込むようになっている。
インデックス情報としては、データ本体たとえばFileA,FileB,FileCの読み出しに必要とされるデータ名721(ファイル名と同意)や各データ本体のサイズ724(データ長と同意)および各々のデータ本体の読み出し開始位置となるデータブロックのブロックID722や、各データ本体の内容がデータブロック内の何バイト目から記録されているかを示す開始オフセット723といったものが書き込まれる。
実際には、インデックス情報には、これらのデータの他にもデータ本体の作成日時や更新日時およびデータ本体の属性(読み込み専用など)なども含まれるが、これらのものは発明の要旨とは直接的な関連はないので各図中での記載を省略している。
As shown in FIG. 6, the data written to the magnetic tape 2 in this format is the contents of the data recorded as a file in the host device 4, for example, the content area on the magnetic tape 2 with FileA, FileB, and FileC as the data body. The index information is written in the index area 72 so that the data body in the contents area 71 such as FileA, FileB, and FileC can be handled.
As index information, the data name 721 (consent with the file name) required for reading the data body, for example, FileA, FileB, and FileC, the size 724 (consent with the data length) of each data body, and the reading of each data body A block ID 722 of the data block to be a position and a start offset 723 indicating from which byte in the data block the content of each data body is recorded are written.
Actually, the index information includes, in addition to these data, the date and time of creation of the data body, the date and time of update, and the attributes of the data body (such as read-only). The description in each figure is omitted because there is no relevant relationship.

ここで、更に、図6のようにして書き込まれている3つのデータ本体たとえばFileA,FileB,FileCに加えて新たに2つのデータ本体たとえばFileD,FileEの書き込みを行ったとすると、図7に示されるように、以前に書かれたコンテンツ領域71の内容とインデックス領域72の内容つまり図7中でBlockID=Nよりも左側に位置する情報を全て残したまま、追記型の書き込み形式によってBlockID=Nよりも右側に生成される新たなコンテンツ領域71にFileD,FileEがデータ本体として書き込まれ、新たなコンテンツ領域71に後続する新たなインデックス領域72に、前記と同様にして、各データ本体のデータ名721や其の読み出し開始位置となるデータブロックのブロックID722および開始オフセット723やデータ本体のサイズ724といったものが書き込まれることになる。
図6と図7の比較から分かるとおり、FileD,FileEの書き込みに対応してBlockID=Nよりも右側に生成された新たなインデックス領域72には、FileD,FileEのみならず、以前に書き込まれたFileA,FileB,FileCのインデックス情報も其のまま持ち越される。
また、磁気テープ2上に記録されているデータ本体を削除する場合にあっては、コンテンツ領域71に記憶されているデータ本体それ自体の磁気記憶の抹消は行なわず、単に、最新のインデックス領域72つまり図7の例でいえばBlockID=Nよりも右側に位置するインデックス領域72上において、削除対象となるデータ本体に対応したインデックス情報を削除し、インデックス情報を削除したインデックス領域72の内容を最新のインデックス情報とすることによって、データ本体の削除が完了したものと見做すようにしている。
Here, assuming that two data bodies such as FileD and FileE are newly written in addition to the three data bodies written as shown in FIG. 6 such as FileA, FileB, and FileC, FIG. 7 shows. As described above, the contents of the content area 71 and the contents of the index area 72 written before, that is, all the information located on the left side of BlockID = N in FIG. Also, FileD and FileE are written as data bodies in the new content area 71 generated on the right side, and the data name 721 of each data body is written in the new index area 72 subsequent to the new content area 71 in the same manner as described above. And the block ID 722 and start offset 723 of the data block that is the read start position, and the data body size 724 It becomes written to it.
As can be seen from the comparison between FIG. 6 and FIG. 7, not only FileD and FileE but also the previous index area 72 generated on the right side of BlockID = N corresponding to the writing of FileD and FileE was written before. Index information of FileA, FileB, and FileC is carried over as it is.
When the data body recorded on the magnetic tape 2 is deleted, the magnetic storage of the data body itself stored in the content area 71 is not deleted, but the latest index area 72 is simply deleted. That is, in the example of FIG. 7, the index information corresponding to the data body to be deleted is deleted on the index area 72 located on the right side of BlockID = N, and the contents of the index area 72 from which the index information has been deleted are updated. Thus, it is assumed that the deletion of the data body has been completed.

このように、最新のインデックス領域72には、以前に書き込まれたデータ本体にアクセスするために必要とされる情報の全てが含まれているため、上位装置4は、最新のインデックス領域72のみを用いて磁気テープ2上に記憶されている有効なデータ本体の全てにアクセスすることが可能となる。   As described above, since the latest index area 72 includes all of the information necessary for accessing the previously written data body, the upper level apparatus 4 stores only the latest index area 72. It is possible to access all valid data bodies stored on the magnetic tape 2.

なお、インデックス情報を複数のパーティションに書き込む場合もある。ここでは、一例として、1つのパーティションを有する磁気テープ2上でデータの読み書きやパーティションの再構築およびインデックス情報の読み込みを行なう場合について説明するが、複数のパーティションを有する磁気テープ2に対しても同様の処理操作を適用することが可能である。   Note that the index information may be written to a plurality of partitions. Here, as an example, a case where data reading / writing, partition reconstruction, and reading of index information are performed on the magnetic tape 2 having one partition will be described, but the same applies to the magnetic tape 2 having a plurality of partitions. It is possible to apply this processing operation.

LTFSを前提として磁気テープ2を管理する場合であっても磁気テープ装置1のハードウェア構成自体には通常のものとの違いはないので、磁気テープ装置1の構成に関しては第1の実施形態における説明と図1を援用するものとし、ここでは詳細な説明はしない。   Even when managing the magnetic tape 2 on the premise of LTFS, the hardware configuration itself of the magnetic tape device 1 is not different from the normal one, so the configuration of the magnetic tape device 1 is the same as in the first embodiment. The description and FIG. 1 are incorporated, and detailed description is omitted here.

但し、この実施形態にあっては、磁気テープ装置1のマイクロプロセッサ6は、上位装置4からのデータ記憶領域拡張指令の入力の有無を判定するコマンド判定手段、
コマンド判定手段がデータ記憶領域拡張指令の入力を検知しなければパーティションの論理構成を維持する一方、コマンド判定手段がデータ記憶領域拡張指令の入力を検知した場合には、パーティションを構成する始端のラップに記憶されているデータ本体に対応したインデックス情報を最新のインデックス領域から削除し、次のラップの最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に最新のインデックス領域に記憶させると共に、パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、パーティションの論理構成を更新するパーティション再構築手段、
上位装置4から1世代以上前のインデックス情報の読み出し指令が与えられた際に、インデックス情報のブロックIDの値を1世代前のものから順に時系列を遡って検出し、インデックス情報のブロックIDが検出される度に、そのブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であるか否かを判定するインデックス情報有効性判定手段、
インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDが最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であると判定された場合に、このインデックス情報が上位装置4からの読み出し指令で与えられたインデックス情報と一致するか否かを判定する一致不一致判定手段、
一致不一致判定手段が一致の判定をした場合に、このインデックス情報の内部的な読み出しを実行し、最新のインデックス情報と共に記憶されている有効なブロックIDの値と前記一致したインデックス情報に含まれる読み出し開始位置の各々との大小を比較し、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満の読み出し開始位置を有するデータ本体に対応するインデックス情報を除いたインデックス情報の読み出しを上位装置4に許容する一方、一致不一致判定手段が一致の判定をすることなく、インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値未満であると判定された場合に、インデックス情報の読み出しを非実行としてインデックス情報の読み出しエラーを上位装置4に知らせる出力情報制限手段として機能することになる。
However, in this embodiment, the microprocessor 6 of the magnetic tape device 1 includes command determining means for determining whether or not a data storage area expansion command is input from the host device 4;
If the command determination means does not detect the input of the data storage area extension command, the logical configuration of the partition is maintained. On the other hand, if the command determination means detects the input of the data storage area extension command, the wrapping of the starting edge constituting the partition is performed. Deletes the index information corresponding to the data body stored in the latest index area and stores the block ID of the first data block of the next wrap as a valid block ID in the latest index area together with the undeleted index information. Partition reconfiguration means for cyclically shifting the wrap constituting the partition from the start side of the partition to the end side in units of laps and updating the logical configuration of the partition,
When a read command for index information of one generation or more before is given from the host device 4, the block ID value of the index information is detected retroactively from the previous generation in order, and the block ID of the index information is Index information validity determination means for determining whether the value of the block ID is equal to or greater than the value of the valid block ID stored together with the latest index information each time it is detected,
When it is determined that the block ID of the index information detected by the index information validity determination unit is greater than or equal to the value of the valid block ID stored together with the latest index information, the index information is received from the host device 4. A coincidence / non-coincidence judging means for judging whether or not the index information given by the read command of
When the coincidence / non-coincidence judging unit judges coincidence, internal reading of this index information is executed, and the valid block ID value stored together with the latest index information is read in the matching index information. The host device compares the size with each of the start positions and reads the index information excluding the index information corresponding to the data body having the read start position less than the valid block ID value stored together with the latest index information. 4 is a valid block in which the block ID value of the index information detected by the index information validity determining unit is stored together with the latest index information without the matching / non-matching determining unit determining a match. Reading index information when it is determined that the value is less than the ID value Teeth reading error of the index information will function as output information limiting means for notifying the host device 4 as a non-run the.

マイクロプロセッサ6をコマンド判定手段,パーティション再構築手段,インデックス情報有効性判定手段,一致不一致判定手段および出力情報制限手段として機能させるための磁気テープ装置用制御プログラム(図10〜図11参照)は不揮発性メモリ7に格納されている。   A magnetic tape device control program (see FIGS. 10 to 11) for causing the microprocessor 6 to function as command determination means, partition reconstruction means, index information validity determination means, coincidence mismatch determination means, and output information restriction means is nonvolatile. Stored in the memory 7.

また、この実施形態のカートリッジメモリ8にあっては、第1の実施形態で既に説明したBOP位置情報記憶領域311,EOP位置情報記憶領域312,BOP Block ID記憶領域313,EOD Block ID記憶領域314に加え、更に、図9に示されるように、磁気テープ2上の各ラップに関する各種の情報、即ち、各ラップのラップ番号を記憶するラップ番号記憶領域315と、各ラップの始端となるデータブロックのブロックIDを記憶する開始Block ID記憶領域316と、各ラップ内のデータブロック数を記憶するデータブロック数記憶領域317と、各ラップ内にセットされたファイルマーク(指標)の数を記憶するファイルマーク数記憶領域318が設けられている。   In the cartridge memory 8 of this embodiment, the BOP position information storage area 311, the EOP position information storage area 312, the BOP Block ID storage area 313, and the EOD Block ID storage area 314 already described in the first embodiment are used. In addition, as shown in FIG. 9, various information relating to each lap on the magnetic tape 2, that is, a lap number storage area 315 for storing the lap number of each lap, and a data block serving as the starting end of each lap A start block ID storage area 316 for storing the block ID, a data block number storage area 317 for storing the number of data blocks in each lap, and a file for storing the number of file marks (indexes) set in each lap A mark number storage area 318 is provided.

次に、図10〜図11のフローチャートを参照して、この実施形態における磁気テープ装置の制御方法および磁気テープ装置用制御プログラムと、この実施形態の磁気テープ装置1におけるコマンド判定手段,パーティション再構築手段,インデックス情報有効性判定手段,一致不一致判定手段および出力情報制限手段として機能するマイクロプロセッサ6の処理動作について具体的に説明する。   Next, referring to the flowcharts of FIGS. 10 to 11, the magnetic tape device control method and magnetic tape device control program in this embodiment, the command determination means in the magnetic tape device 1 of this embodiment, and the partition reconstruction The processing operation of the microprocessor 6 functioning as means, index information validity determination means, match / mismatch determination means, and output information restriction means will be described in detail.

まず、図10を参照してパーティションを再構築する際の処理について説明する。   First, referring to FIG. 10, a process for reconstructing a partition will be described.

この実施形態では、前述した第1の実施形態の場合とは相違し、上位装置4から明示的にデータ記憶領域拡張指令が入力された場合に限ってパーティションを再構築する処理を実行するようにしているので、前述した第1の実施形態のような残存記憶領域判定手段は必要としない。
上位装置4が磁気テープ装置1にデータ記憶領域拡張指令を出力するタイミングの判断は、例えば、磁気ヘッド5がトラッキングしているラップがデータの書き込み中にパーティションの論理的な終端ラップの近傍に差し掛かった時に磁気テープ装置1から上位装置4に出力される早期警戒信号に基いて行なったり、また、磁気テープ2のパーティションに残存する記憶容量を磁気テープ装置1を介して上位装置4が取得し、残り容量が一定以下になった場合に実行するといったようなことが考えられる。無論、磁気テープ2のパーティションに残存する記憶容量とは無関係にパーティションを再構築する処理を行なうことも可能であって、パーティションを再構築する際の付帯条件は必ずしも必要ではない。
In this embodiment, unlike the case of the first embodiment described above, the process of rebuilding a partition is executed only when a data storage area expansion command is explicitly input from the host device 4. Therefore, the remaining storage area determination means as in the first embodiment described above is not required.
The timing at which the host device 4 outputs the data storage area expansion command to the magnetic tape device 1 is determined, for example, when the wrap tracked by the magnetic head 5 approaches the logical end wrap of the partition while data is being written. The upper level device 4 acquires the storage capacity remaining in the partition of the magnetic tape 2 via the magnetic tape device 1, based on the early warning signal output from the magnetic tape device 1 to the higher level device 4. For example, it may be executed when the remaining capacity falls below a certain level. Of course, it is also possible to perform the process of rebuilding the partition regardless of the storage capacity remaining in the partition of the magnetic tape 2, and the incidental conditions for rebuilding the partition are not necessarily required.

また、磁気テープ2におけるデータの基本的な書き込み形式がLTFSのフォーマットに準拠しているため、磁気テープ2上のコンテンツ領域71からのデータ本体の読み出しや磁気ヘッド5の位置づけ等に関連する処理を実行する場合には、そのための前処理として、上位装置4が、磁気テープ2上のインデックス領域72に記憶されているインデックス情報を取得する必要があり、パーティションを再構築するためのラップの移動に際しても、インデックス情報の取り扱いに注意が必要となる点において、前述した第1の実施形態との相違がある。   Further, since the basic data writing format on the magnetic tape 2 conforms to the LTFS format, processing related to reading of the data body from the content area 71 on the magnetic tape 2 and positioning of the magnetic head 5 is performed. In the case of execution, as a pre-processing for that purpose, the host device 4 needs to acquire the index information stored in the index area 72 on the magnetic tape 2, and when moving the wrap to reconstruct the partition However, there is a difference from the first embodiment described above in that care must be taken in handling the index information.

磁気テープ装置1が上位装置4からのデータ記憶領域拡張指令を受信すると、コマンド判定手段として機能するマイクロプロセッサ6が此れを検知し、まず、図示しない磁気テープ送り機構およびシーク機構と磁気ヘッド5を駆動制御して磁気テープ2上の最新のインデックス領域72から最新のインデックス情報を読み込んで一時記憶し、更に、カートリッジメモリ8のBOP位置情報記憶領域311から、現時点で使用しているパーティションの始端とされているラップのラップ番号を読み込むと共に、このラップ番号と同じラップ番号に対応する開始Block ID記憶領域316に記憶されているブロックIDおよびデータブロック数記憶領域317に記憶されているデータブロック数の情報を読み込む(ステップS401)。   When the magnetic tape device 1 receives a data storage area expansion command from the host device 4, the microprocessor 6 functioning as a command determination unit detects this, and first, a magnetic tape feeding mechanism and a seek mechanism (not shown) and the magnetic head 5 are not shown. Is controlled to read the latest index information from the latest index area 72 on the magnetic tape 2 and temporarily store it, and from the BOP position information storage area 311 of the cartridge memory 8, the beginning of the partition currently used The number of data blocks stored in the start block ID storage area 316 and the number of data blocks stored in the data block number storage area 317 corresponding to the same lap number as the lap number is read Is read (step S401).

そして、パーティション再構築手段として機能するマイクロプロセッサ6が、これらの情報、即ち、最新のインデックス領域72のインデックス情報に含まれるデータ名721と此れに対応するブロックID722および開始オフセット723(以上、磁気テープ2上の最新のインデックス領域72から取得した情報)と、現時点でパーティションの始端を構成しているラップに関連する情報であるブロックID316およびデータブロック数317(以上、カートリッジメモリ8から取得した情報)とに基いて、磁気テープ2上の最新のインデックス領域72を利用して其のデータ名721が記憶されているデータ本体のうち何れのデータ本体がパーティションの始端を構成するラップ上に記憶されているかを特定し、始端を構成するラップ上に記憶されているデータ本体のデータ名721と此れに関連する全ての情報つまり其の読み出し開始位置となるデータブロックのブロックID722および開始オフセット723とデータ本体のサイズ724のデータを、現時点でマイクロプロセッサ6が一時記憶しているインデックス情報から全て削除し、未削除のままマイクロプロセッサ6に一時記憶されているインデックス情報を、例えば図8に示すようにして、磁気テープ2上に新たに生成したインデックス領域72に、改めて追記の形式で書き戻し、更に、この新規のインデックス領域72に、パーティションの再構築によって新たにパーティションの始端とすべきラップ、即ち、現時点でパーティションの始端を構成しているラップのラップ番号よりもラップ番号の値が循環的に1つ大きな次のラップの最初のデータブロックのブロックIDの値を、有効なBlockID725の値として記憶させる。この際、磁気テープ2上における1世代前のインデックス情報の記憶開始位置のブロックIDの値も新規のインデックス領域72に記憶される(以上、ステップS402)。
また、有効なブロックID725の値は前述した第1の実施形態の場合と同様、カートリッジメモリ8のBOP Block ID記憶領域313にも更新して記憶されることになる。
Then, the microprocessor 6 functioning as the partition reconstructing means sends the information, that is, the data name 721 included in the index information of the latest index area 72, the block ID 722 and the start offset 723 corresponding to the data name 721. Information acquired from the latest index area 72 on the tape 2), and a block ID 316 and data block number 317 (information acquired from the cartridge memory 8) as information related to the wrap constituting the start of the partition at the present time. ), The data body of which the data name 721 is stored using the latest index area 72 on the magnetic tape 2 is stored on the wrap constituting the beginning of the partition. On the wrap that makes up the starting edge The data name 721 of the stored data body and all related information, that is, the block ID 722 and start offset 723 of the data block that is the read start position, and data of the data body size 724 are currently stored in the microprocessor. 6 deletes all the index information temporarily stored in the index information 6 and stores the index information temporarily stored in the microprocessor 6 without deleting the index information newly generated on the magnetic tape 2 as shown in FIG. The area 72 is rewritten in the form of additional writing, and the new index area 72 is a wrap that is to be newly set as the start of the partition by reconstructing the partition, that is, the wrap that currently forms the start of the partition. One lap number value cyclically than the lap number of The value of the block ID of the first data block of the lap Kinatsugi, is stored as the value of the valid BlockID725. At this time, the value of the block ID at the storage start position of the index information one generation before on the magnetic tape 2 is also stored in the new index area 72 (step S402).
Further, the value of the effective block ID 725 is updated and stored in the BOP Block ID storage area 313 of the cartridge memory 8 as in the case of the first embodiment described above.

ここで、ステップS402の処理で追記される新たなインデックス情報の詳細について、図7および図8を用いて簡単に説明する。   Here, the details of the new index information added in the process of step S402 will be briefly described with reference to FIGS.

仮に、図7に示されるように、パーティションの再構築の前の時点でパーティションの始端を構成しているラップ上にBlock IDがM+1までのブロックが含まれていたとすると、FileAとFileBが始端のラップ、つまり、パーティションの再構築によってデータを無効化されるラップ上に記録されていることになる。従って、この場合は、図8に示されるように、FileAのデータ名721と此れに関連する各種の情報つまり見かけ上でFileAと横並びに位置するブロックID722および開始オフセット723とデータ本体のサイズ724が一時記憶のインデックス情報から削除され、同様に、FileBのデータ名721と此れに関連する各種の情報つまり見かけ上でFileBと横並びに位置するブロックID722および開始オフセット723とデータ本体のサイズ724が一時記憶のインデックス情報から削除されることになる。
また、データを無効化されるラップの次のラップはBlock IDがM+2のブロックから始まっているので、有効なBlock ID725の値はM+2となる。従って、有効なBlock ID725の値としてM+2の値が、削除されずに残ったインデックス情報と共に新規のインデックス領域72に記憶されることになる。
なお、ステップS401の説明でいう最新のインデックス情報つまり読み込みの対象とされるインデックス情報は図7中で右端に記載されるインデックス領域72に記憶されているインデックス情報であり、ステップS402の処理でCPU6が一時記憶していたインデックス情報および有効なBlock ID725の値の書き込み先となる最新のインデックス領域72は図8中で右端に記載されるインデックス領域72である。既に述べたとおり、追記型の記憶形式であるから、ステップS401の処理で読み込みの対象とされたインデックス情報の内容は図7中で右端に記載されるインデックス領域72つまり図8中では右から2番目に位置するインデックス領域72に其のまま残っており、ステップS402の処理を受けても未削除の状態で残る一時記憶のインデックス情報とステップS402の処理で求められた有効なBlockID725の値は、図8中で右端に記載されるインデックス領域72に記憶されることになる。
また、この時点でいう1世代前のインデックス情報は図7中で右端に記載されるインデックス領域72つまり図8中では右から2番目に位置するインデックス領域72のインデックス情報であるから、図8中で右から2番目に位置するインデックス領域72のインデックス情報の記憶開始位置が、此の時点のステップS402の処理によって、図8中で右端に記載される新規のインデックス領域72に1世代前のインデックス情報の記憶開始位置のブロックIDとして記憶されることになる。
As shown in FIG. 7, assuming that blocks with a block ID up to M + 1 are included on the wrap that constitutes the beginning of the partition at the time before the rebuilding of the partition, FileA and FileB are at the beginning. It is recorded on the wrap, that is, the wrap whose data is invalidated by rebuilding the partition. Therefore, in this case, as shown in FIG. 8, the data name 721 of FileA and various information related thereto, that is, the block ID 722 and the starting offset 723 that are positioned side by side with FileA and the size 724 of the data body. Is deleted from the index information in the temporary storage, and similarly, the data name 721 of FileB, various information related thereto, that is, the block ID 722 and the starting offset 723 that are positioned side by side with FileB, and the size 724 of the data body It is deleted from the index information in the temporary storage.
In addition, since the wrap next to the wrap whose data is invalidated starts from the block whose block ID is M + 2, the effective value of the block ID 725 is M + 2. Therefore, the value of M + 2 as a valid Block ID 725 value is stored in the new index area 72 together with the remaining index information without being deleted.
Note that the latest index information in the description of step S401, that is, index information to be read is index information stored in the index area 72 shown at the right end in FIG. 7, and the CPU 6 performs processing in step S402. 8 is the index area 72 described at the right end in FIG. 8 as the write destination of the index information temporarily stored and the effective Block ID 725 value. As already described, since it is a write-once type storage format, the contents of the index information to be read in the process of step S401 are the index area 72 shown at the right end in FIG. 7, that is, 2 from the right in FIG. The index information 72 that remains in the index area 72 located in the second position and remains in the undeleted state even after receiving the process of step S402, and the value of the effective BlockID 725 obtained in the process of step S402 are: It is stored in the index area 72 described at the right end in FIG.
Further, the index information of the previous generation at this point is the index information of the index area 72 described at the right end in FIG. 7, that is, the index area 72 located second from the right in FIG. The index information storage start position of the index area 72 located second from the right is the index of the previous generation in the new index area 72 described at the right end in FIG. It is stored as the block ID of the information storage start position.

パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらしてパーティションの論理構成を更新するステップS403の処理に関しては前述した第1の実施形態で説明したステップS103の処理と同様であるので、詳細な説明は省略する。
更新されたパーティションに対するデータの追記等に関しても前述した第1の実施形態の場合と同様であり、再構築されたパーティションに対して新たなデータの書き込みを自由に行うことが可能である。
The processing in step S403 for updating the logical configuration of the partition by cyclically shifting the wraps constituting the partition from the start side to the end side of the partition in units of laps is the same as the processing in step S103 described in the first embodiment. Therefore, detailed description is omitted.
The addition of data to the updated partition is the same as in the first embodiment described above, and new data can be freely written to the reconstructed partition.

なお、コマンド判定手段が上位装置4からのデータ記憶領域拡張指令の入力を検知しない限りパーティション再構築手段としてのCPU6によるステップS402〜ステップS403の処理は実行されないので、当然、パーティションの論理構成は以前と同じ状態に保持されることになる。   It should be noted that the processing in steps S402 to S403 by the CPU 6 as the partition restructuring means is not executed unless the command determination means detects the input of the data storage area expansion command from the host device 4, so that the logical configuration of the partition is naturally the same as before. Will be held in the same state.

以上の処理により、磁気テープ2の記憶領域をコンテンツ領域とインデックス領域に分割し、コンテンツ領域に各種のファイル等を始めとするデータ本体を記憶させる一方、コンテンツ領域内のデータ本体を扱えるようにするためのインデックス情報をインデックス領域に記憶させるようにしたLTFSのフォーマットを其のまま援用した状況下であっても、インデックス領域72に記憶されているインデックス情報の内容とコンテンツ領域71に記憶されているデータ本体の内容との間に不整合を生じることなく、パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、論理的なパーティションの終端側に上書き可能領域として残るデータ記憶領域を逐次増長させながらデータを分断させることなく磁気テープに循環的に記憶させることが可能となる。   Through the above processing, the storage area of the magnetic tape 2 is divided into a content area and an index area, and the data body including various files is stored in the content area, while the data body in the content area can be handled. Even in a situation where the LTFS format for storing the index information in the index area is used as it is, the contents of the index information stored in the index area 72 and the contents area 71 are stored. Data that remains as an overwritable area at the end of a logical partition by cyclically shifting the wrap that makes up the partition from the start to the end of the partition in units of wraps without causing any inconsistency with the contents of the data body Without dividing data while increasing the storage area sequentially It becomes possible to memorize | store cyclically on a magnetic tape.

また、LTFSのフォーマットを其のまま援用することができるので、磁気テープ2に循環的な記憶を行なわせる構成を適用した場合であっても、上位装置4のソフトウェア等に格別な改変を加える必要はない。   In addition, since the LTFS format can be used as it is, it is necessary to make a special modification to the software of the host device 4 even when a configuration in which the magnetic tape 2 is cyclically stored is applied. There is no.

LTFSのフォーマットを援用した状況下では、上位装置4は専ら磁気テープ2上のインデックス領域72に記憶されたインデックス情報を参照してデータの書き込みや読み込み等を制御することになるが、パーティションの論理構成の更新に際しては従前のパーティションの始端のラップに記憶されていたデータ本体に対応する部分のインデックス情報を適切にインデックス情報から削除し、次のラップ即ち更新後のパーティションの始端のラップに記憶されている最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共にインデックス領域72に記憶させるようにしているので、パーティションの再構築に際して無効化されたデータ本体に対応するインデックス情報が最新のインデックス領域72から適切に抹消されることとなり、磁気テープ2のインデックス情報を利用してデータ本体にアクセスする際に、無効化されたデータ記憶領域や誤ったデータ記憶領域に磁気ヘッド5を移動させようとする誤動作を未然に防止することができる。   Under the situation where the LTFS format is used, the host device 4 controls the writing and reading of data with reference to the index information stored in the index area 72 on the magnetic tape 2, but the logical logic of the partition. When updating the configuration, the index information of the part corresponding to the data body stored in the starting wrap of the previous partition is appropriately deleted from the index information and stored in the next wrap, that is, the starting wrap of the updated partition. Since the block ID of the first data block is stored in the index area 72 together with the undeleted index information as a valid block ID, the index information corresponding to the data body invalidated when the partition is reconstructed Appropriate from the latest index area 72 When the data main body is accessed using the index information of the magnetic tape 2, the malfunction of trying to move the magnetic head 5 to the invalid data storage area or the wrong data storage area will occur. Can be prevented.

LTFSを援用したデータ管理では、一般に、1つのコンテンツ領域71および此れに続く1つのインデックス領域72に対する書き込み操作によって記録されるデータを1世代分のデータとして定義しており、複数回の追記が行なわれた場合には、複数世代のデータが磁気テープ2上に記録されることになる。つまり、ここでいう世代はバックアップやモデファイ等によるデータの新旧とは無関係であり、内容が全く異なる別種のデータ本体であっても第1世代,第2世代,第3世代,・・・のデータと呼ばれることがある。   In data management using LTFS, generally, data recorded by a write operation to one content area 71 and one index area 72 is defined as data for one generation, and multiple additions are made. If performed, a plurality of generations of data are recorded on the magnetic tape 2. In other words, the generation here is irrelevant to the new and old data by backup, modify, etc., and even if it is another type of data body with completely different contents, the data of the first generation, second generation, third generation,. Sometimes called.

既に述べたとおり、最新のインデックス領域72のインデックス情報には、最新の世代および其れよりも前の世代のコンテンツ領域71に書き込まれたデータ本体を特定するために必要とされるインデックス情報が記述されているため、通常は、最新のインデックス情報のみを使用すれば旧世代のものも含めて必要とするデータ本体にアクセスすることができる。   As already described, the index information of the latest index area 72 describes the index information required for specifying the data body written in the latest generation and the content area 71 of the generation before that. Therefore, normally, if only the latest index information is used, it is possible to access necessary data bodies including those of the previous generation.

しかし、磁気テープ2上に記録された特定のデータを削除したり上書きしたりしたような場合、より厳密には、削除や上書きの対象とするデータ本体に対応した部分のインデックス情報を最新のインデックス情報から破棄した場合にあっては、データ本体それ自体は磁気記録として磁気テープ2上に残っていても、最新のインデックス情報からでは古い世代のデータ本体にアクセスすることができないといった不都合がある。これに対し、これらの古いデータ本体にもアクセスしたいといった要求がある。   However, when specific data recorded on the magnetic tape 2 is deleted or overwritten, more strictly, the index information of the portion corresponding to the data body to be deleted or overwritten is updated to the latest index. In the case of discarding from the information, there is a problem that even if the data body itself remains on the magnetic tape 2 as magnetic recording, the old generation data body cannot be accessed from the latest index information. On the other hand, there is a request to access these old data bodies.

これらの状況に鑑み、更に、前世代のインデックス情報に基づいてデータ本体にアクセスするためのロールバック処理について図11を参照して説明する。   In view of these circumstances, a rollback process for accessing the data body based on the previous generation index information will be described with reference to FIG.

上位装置4から磁気テープ装置1に検索対象とする1世代以上前のインデックス情報を指定したインデックス情報の読み出し指令が入力されると、インデックス情報有効性判定手段として機能するマイクロプロセッサ6は、まず、図示しない磁気テープ送り機構およびシーク機構と磁気ヘッド5を駆動制御して磁気テープ2上の最新のインデックス領域72(例えば、図8中で右端に位置するインデックス領域72)に記憶された有効なBlockID725の値つまり現時点では未だ無効化されていない最初のデータを記憶しているブロックのブロックIDの値を読み込み、1世代前のインデックス情報の記憶開始位置のブロックIDの値も併せて検出する(ステップS501)。   When a read command for index information designating one or more generations of index information to be searched is input from the host device 4 to the magnetic tape device 1, the microprocessor 6 functioning as index information validity determination means first A valid BlockID 725 stored in the latest index area 72 (for example, the index area 72 located at the right end in FIG. 8) on the magnetic tape 2 by driving and controlling a magnetic tape feeding mechanism and a seek mechanism (not shown) and the magnetic head 5. Value, that is, the block ID value of the block storing the first data that has not been invalidated at the present time, and the block ID value at the storage start position of the index information one generation before is also detected (step S501).

次いで、インデックス情報有効性判定手段として機能するマイクロプロセッサ6は、1世代前のインデックス情報の記憶開始位置のブロックIDの値が有効なBlockID725の値以上であるか否か、即ち、1世代前のインデックス情報(例えば、図8中で右から2番目に位置するインデックス領域72のインデックス情報)が有効であるか否かを判定する(ステップS502)。   Next, the microprocessor 6 functioning as index information validity determination means determines whether or not the block ID value at the storage start position of the index information of the previous generation is equal to or greater than the effective Block ID 725, that is, the previous generation of the index information. It is determined whether or not the index information (for example, the index information of the index area 72 located second from the right in FIG. 8) is valid (step S502).

1世代前のインデックス情報の記憶開始位置のブロックIDの値が有効なBlockID725の値以上であってステップS502の判定結果が真となった場合、つまり、1世代前のインデックス情報が有効であると判定された場合には、更に、一致不一致判定手段として機能するマイクロプロセッサ6が、図示しない磁気テープ送り機構およびシーク機構と磁気ヘッド5を駆動制御し、1世代前のインデックス情報の記憶開始位置に磁気ヘッド5を位置づけして、1世代前のインデックス領域72(例えば、図8中で右から2番目に位置するインデックス領域72)に記憶された1世代前のインデックス情報を、内部的に、つまり、上位装置4に知らせることなく読み込む。この際、マイクロプロセッサ6は相対的に更に1世代前のインデックス情報の記憶開始位置のブロックIDの値を1世代前のインデックス領域72(例えば、図8中で右から2番目に位置するインデックス領域72)から検知して後の判定処理のために一時記憶しておく(以上、ステップS503)。   If the block ID value at the storage start position of the index information of the previous generation is greater than or equal to the valid Block ID 725 and the determination result in step S502 is true, that is, the index information of the previous generation is valid. When the determination is made, the microprocessor 6 functioning as the coincidence / non-coincidence determining means further drives and controls the magnetic tape feeding mechanism and seek mechanism (not shown) and the magnetic head 5 to the storage start position of the index information one generation before. By positioning the magnetic head 5, index information of the previous generation stored in the index area 72 of the previous generation (for example, the index area 72 positioned second from the right in FIG. 8) is stored internally, that is, , Read without informing the host device 4. At this time, the microprocessor 6 relatively sets the block ID value at the storage start position of the index information of the previous generation to the index area 72 of the previous generation (for example, the index area positioned second from the right in FIG. 8). 72) and temporarily stored for later determination processing (step S503).

そして、一致不一致判定手段として機能するマイクロプロセッサ6は、ステップS503の処理で読み込んだインデックス情報が上位装置4の指定したインデックス情報と一致するか否かを判定する。(ステップS504)。   Then, the microprocessor 6 functioning as the coincidence / non-coincidence determining unit determines whether or not the index information read in the process of step S503 matches the index information designated by the host device 4. (Step S504).

ここで、ステップS504の判定結果が偽となり、1世代前のインデックス情報が上位装置4の指定したインデックス情報と一致しないことが明らかとなった場合には、インデックス情報有効性判定手段および一致不一致判定手段として機能するマイクロプロセッサ6は、ステップS502の判定結果が偽となるかステップS504の判定結果か真となるまでの間、前記と同様にしてステップS502〜ステップS504の処理を繰り返し実行し、相対的に1世代前となるインデックス情報の記録開始位置のブロックIDと此のインデックス情報の内容を順に時系列を遡って検出していく。
この際、ステップS502の判定処理で用いる1世代前のインデックス情報の記憶開始位置のブロックIDの値は、直前に実施されたステップS503の処理で一時記憶したブロックIDの値を利用する。
If the determination result in step S504 is false and it is clear that the index information of the previous generation does not match the index information designated by the higher-level device 4, the index information validity determination means and the match / mismatch determination The microprocessor 6 functioning as a means repeatedly executes the processing of steps S502 to S504 in the same manner as described above until the determination result of step S502 is false or the determination result of step S504 is true. Specifically, the block ID at the recording start position of the index information one generation before and the contents of this index information are detected retrospectively in time series.
At this time, the block ID value temporarily stored in the process of step S503 performed immediately before is used as the block ID value of the storage start position of the index information one generation before used in the determination process of step S502.

このようにしてステップS502〜ステップS504の処理を繰り返し実行する間にステップS502の判定結果が偽となった場合、つまり、一致不一致判定手段が一致の判定をすることなく、インデックス情報有効性判定手段により検出されているインデックス情報の記録開始位置のブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックID725の値未満であると判定された場合には、上位装置4が指定したインデックス情報と一致するインデックス情報が此の時点までに磁気テープ2上から見つかっておらず、しかも、更に其れ以前の世代のインデックス情報はパーティションの移動によって無効化されているか或いは元々存在していないことを意味する。   In this way, when the determination result of step S502 becomes false while repeatedly executing the processing of step S502 to step S504, that is, the index information validity determination unit without the match / mismatch determination unit determining match. If it is determined that the value of the block ID at the recording start position of the index information detected by the above is less than the value of the valid block ID 725 stored together with the latest index information, the index specified by the host device 4 The index information that matches the information has not been found on the magnetic tape 2 by this time, and the index information of the previous generation has been invalidated by the movement of the partition or does not originally exist. Means.

従って、この場合、出力情報制限手段として機能するマイクロプロセッサ6が、インデックス情報の読み出しエラーを上位装置4に送信し、インデックス情報の読み出しに関連する処理をこのまま終了させる。   Therefore, in this case, the microprocessor 6 functioning as the output information limiting unit transmits an index information read error to the higher-level device 4 and terminates the processing related to reading the index information as it is.

一方、ステップS502〜ステップS504の処理を繰り返し実行する間にステップS504の判定結果が真となった場合、つまり、一致不一致判定手段が一致の判定を下した場合には、この直前に実行されたステップS503の処理で読み込まれたインデックス情報が上位装置4の指定したインデックス情報と一致するインデックス情報であったことを意味する。   On the other hand, if the determination result of step S504 becomes true while the processing of step S502 to step S504 is repeatedly executed, that is, if the coincidence / mismatch determination means determines coincidence, it is executed immediately before this. This means that the index information read in the process of step S503 is index information that matches the index information specified by the host apparatus 4.

従って、この場合、出力情報制限手段として機能するマイクロプロセッサ6は、ステップS501の処理で読み出された有効なブロックID725の値つまり最新のインデックス情報と共に記憶されている有効なブロックID725の値と、直前に実行されたステップS503の処理で一時記憶されたインデックス情報(例えば、図8中では右から2番目であって図7中では右端に位置するインデックス領域72のインデックス情報)に含まれる各データ名721に対応した各読み出し開始位置のデータブロックのブロックID722の値との大小関係を各々について全て比較し、最新のインデックス情報と共に記憶されている有効なブロックID725の値未満のブロックID722を有するインデックス情報、即ち、対応するデータ本体が既に無効化しているインデックス情報をフィルタリングし、これらを除いた他のインデックス情報つまりデータ本体が現時点においても有効な状態にあるインデックス情報のみを上位装置4に送信する(ステップS505)。   Therefore, in this case, the microprocessor 6 functioning as the output information restriction unit, the value of the valid block ID 725 read out in the process of step S501, that is, the value of the valid block ID 725 stored together with the latest index information, Each data included in the index information (for example, the index information of the index area 72 which is second from the right in FIG. 8 and located at the right end in FIG. 7) temporarily stored in the process of step S503 executed immediately before. An index having a block ID 722 less than the value of the valid block ID 725 stored together with the latest index information, by comparing all the magnitude relationships with the value of the block ID 722 of the data block at each reading start position corresponding to the name 721 Information, ie corresponding data body has already been invalidated The other index information excluding these, that is, the index information in which the data body is still valid at the present time is transmitted to the upper level apparatus 4 (step S505).

従って、仮に、上位装置4の指定したインデックス情報が1世代前のものであって、図8中で右から2番目かつ図7中で右端に位置するインデックス領域72のインデックス情報が上位装置4の指定条件に一致するものとしてステップS503の処理で内部的に読み込まれており、データ名721がFileAであるデータ本体に対応する読み出し開始位置のデータブロックのブロックID722の値Mとデータ名721がFileBであるデータ本体に対応する読み出し開始位置のデータブロックのブロックID722の値M+1のみがステップS501の処理で読み出された有効なブロックID725の値つまり最新のインデックス情報と共に記憶されている有効なブロックID725の値よりも小さく、かつ、データ名721がFileCであるデータ本体に対応する読み出し開始位置のデータブロックのブロックID722の値M+3とデータ名721がFileDであるデータ本体に対応する読み出し開始位置のデータブロックのブロックID722の値Nおよびデータ名721がFileEであるデータ本体に対応する読み出し開始位置のデータブロックのブロックID722の値N+1が、ステップS501の処理で読み出された有効なブロックID725の値以上であったとすれば、このインデックス情報のうちFileAに関連するデータ721〜7224とFileBに関連するデータ721〜722がフィルタリングされ、残りのインデックス情報つまりFileCに関連するデータ721〜7224とFileDに関連するデータ721〜7224とFileEに関連するデータ721〜7224とが上位装置4に送信されることになる。   Therefore, if the index information designated by the host device 4 is one generation before, the index information in the index area 72 located second from the right in FIG. 8 and at the right end in FIG. The value M of the block ID 722 and the data name 721 of the data block at the read start position corresponding to the data body whose data name 721 is FileA are internally read in the process of step S503 as matching with the specified condition. Only the value M + 1 of the block ID 722 of the data block at the reading start position corresponding to the data body is the effective block ID 725 stored together with the value of the effective block ID 725 read out in the process of step S501, that is, the latest index information. Corresponding to the data body whose data name 721 is FileC. Corresponds to the value M + 3 of the block ID 722 of the data block of the data start position and the value N of the block ID 722 and the data body of the data name 721 corresponding to the data body whose data name 721 is FileD. If the value N + 1 of the block ID 722 of the data block at the read start position to be read is equal to or greater than the value of the valid block ID 725 read in the process of step S501, the data 721 to 7224 related to FileA in this index information. And the data 721 to 722 related to FileB are filtered, and the remaining index information, that is, the data 721 to 7224 related to FileC, the data 721 to 7224 related to FileD, and the data 721 to 7224 related to FileE are stored in the host device 4. Will be sent.

このように、上位装置4からのインデックス情報の読み出し指令を受けた磁気テープ装置1は、インデックス情報有効性判定手段と一致不一致判定手段の機能により、最新のインデックス情報から順に時系列を遡って前世代のインデックス情報の内容を検索することができるため、データ本体それ自体は磁気記録として磁気テープ2上に残っていても、最新のインデックス情報からでは古い世代のデータ本体にアクセスすることができないといったような場合であっても、最終的に一致不一致判定手段が抽出したインデックス情報を利用することによって、適切に古い世代のデータ本体にアクセスすることができるようになる。
また、インデックス領域72にインデックス情報は残っているものの、コンテンツ領域71にあるべき筈のデータ本体は無効化されてしまっているといった場合にあっては、出力情報制限手段が有するフィルタリング機能により、無効化されているデータ本体に対応したインデックス情報、特に、無効化されたデータ本体の読み出し開始位置を表すブロックID722の値を上位装置4に送信しないようにしているので、LTFSの書き込み形式を援用してデータを管理している状況下であっても、インデックス領域72に記憶されているインデックス情報とコンテンツ領域71に記憶されているデータ本体の内容との間に不整合を生じることなく適切にパーティションの再構築処理を実施することができる。
As described above, the magnetic tape device 1 that has received the index information read command from the higher-level device 4 uses the functions of the index information validity determination unit and the coincidence / non-match determination unit to go back in time sequence from the latest index information. Since the contents of the generation index information can be searched, the old generation data body cannot be accessed from the latest index information even if the data body itself remains on the magnetic tape 2 as magnetic recording. Even in such a case, by using the index information finally extracted by the match / mismatch determination means, it becomes possible to appropriately access the data body of the old generation.
In addition, in the case where the index information remains in the index area 72 but the data body of the pot that should be in the content area 71 has been invalidated, it is invalidated by the filtering function of the output information restriction means. Since the index information corresponding to the converted data body, in particular, the value of the block ID 722 indicating the read start position of the invalidated data body is not transmitted to the host device 4, the LTFS writing format is used. Even in a situation where the data is managed, the partition information can be appropriately partitioned without causing inconsistency between the index information stored in the index area 72 and the contents of the data body stored in the content area 71. The reconstruction process can be performed.

磁気テープ装置1における処理操作の基本的な構成、つまり、パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、パーティションの論理構成を更新して新たなデータを循環的に書き込むようにする点に関しては前述した第1の実施形態と全く同様であるから、その他の作用および効果に関しては前述した第1の実施形態の場合と全く同様である。   The basic configuration of processing operations in the magnetic tape device 1, that is, the wraps constituting the partition are cyclically shifted from the start side to the end side of the partition in units of laps, and the logical configuration of the partition is updated to make new data cyclic Since the point to be written to is exactly the same as in the first embodiment, the other operations and effects are exactly the same as in the case of the first embodiment.

以上に開示した実施形態の一部または全部は、以下の付記に示す記載によって適切に表現され得るが、発明を実施するための形態や発明の技術思想は、これらのものに制限されるものではない。   A part or all of the embodiment disclosed above can be appropriately expressed by the description shown in the following supplementary notes, but the form for carrying out the invention and the technical idea of the invention are not limited to these. Absent.

また、磁気テープ装置用制御プログラムは非一時的な記録媒体に記憶されてもよい。非一時的な記録媒体としては、例えば、DVD,CD,フラッシュメモリ等のものを利用することができる。磁気テープ装置用制御プログラムを非一時的な記録媒体に記憶した場合、磁気テープ装置用制御プログラムは非一時的な記録媒体から適宜のインターフェイスを介して不揮発性メモリ7にインストールされ、磁気テープ装置1のマイクロプロセッサ6によって実行されることになる。   Further, the magnetic tape device control program may be stored in a non-temporary recording medium. As the non-temporary recording medium, for example, a DVD, CD, flash memory or the like can be used. When the magnetic tape device control program is stored in a non-temporary recording medium, the magnetic tape device control program is installed in the nonvolatile memory 7 from the non-temporary recording medium via an appropriate interface, and the magnetic tape device 1 It will be executed by the microprocessor 6.

〔付記1〕
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータを上書きして循環的に記憶させる磁気テープ装置の制御方法であって、
前記パーティションへのデータの書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っているか否かを判定し、
前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていれば、前記パーティションの論理構成を維持して新たなデータの書き込みを継続する一方、
前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていなければ、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新してから新たなデータの書き込みを継続することを特徴とした磁気テープ装置の制御方法。
[Appendix 1]
A method for controlling a magnetic tape device, wherein data is overwritten and stored in a logical partition composed of a plurality of wraps of a magnetic tape,
Determining whether or not the capacity of the data storage area remaining as an overwritable area on the end side of the partition when writing data to the partition exceeds a preset storage capacity;
If the capacity of the data storage area remaining as an overwritable area at the end of the partition exceeds the preset storage capacity, while maintaining the logical configuration of the partition and continuing to write new data,
If the capacity of the data storage area remaining as the overwritable area on the end side of the partition does not exceed the preset storage capacity, the wraps constituting the partition are cyclically shifted from the partition start side to the end side in units of laps. A method of controlling a magnetic tape device, characterized by continuing to write new data after updating the logical configuration of the partition.

〔付記2〕
前記パーティションの論理構成の更新に際して新たに始端とされたラップの最初のデータブロックのブロックIDを磁気テープのカートリッジの不揮発性メモリに記憶させ、
上位装置から与えられる磁気ヘッドの位置づけコマンドによって指定されるブロックIDの値と前記不揮発性メモリに記憶されたブロックIDの値とを比較し、
位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値以上の場合には、磁気ヘッドの位置づけコマンドによって指定されるブロックIDの位置に磁気ヘッドを位置づけする一方、
位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値未満の場合には、現時点で前記パーティションの始端とされているラップに磁気ヘッドを位置づけすることを特徴とした付記1記載の磁気テープ装置の制御方法。
[Appendix 2]
The block ID of the first data block of the wrap newly started at the time of updating the logical configuration of the partition is stored in the nonvolatile memory of the magnetic tape cartridge,
Compare the block ID value specified by the positioning command of the magnetic head given from the host device and the block ID value stored in the nonvolatile memory,
If the block ID value specified by the positioning command is equal to or greater than the block ID value stored in the nonvolatile memory, the magnetic head is positioned at the block ID position specified by the magnetic head positioning command.
If the block ID value specified by the positioning command is less than the block ID value stored in the non-volatile memory, the magnetic head is positioned at the wrap that is currently the start of the partition. The method for controlling a magnetic tape device according to appendix 1.

〔付記3〕
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータ本体と当該データ本体の読み出し開始位置を含むインデックス情報を上書きして循環的に記憶させる磁気テープ装置の制御方法であって、
前記パーティションへのデータ本体とインデックス情報の書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域を拡張する必要があるか否かを判定し、
データ記憶領域を拡張する必要がなければ、前記パーティションの論理構成を維持して新たなデータ本体とインデックス情報の書き込みを継続する一方、
データ記憶領域を拡張する必要があれば、前記パーティションを構成する始端のラップに記憶されているデータ本体に対応したインデックス情報を削除し、次のラップの最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に記憶させると共に、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新してから新たなデータ本体とインデックス情報の書き込みを継続することを特徴とした磁気テープ装置の制御方法。
[Appendix 3]
A method for controlling a magnetic tape device, in which index information including a data main body and a read start position of the data main body is overwritten and stored in a logical partition constituted by a plurality of wraps included in the magnetic tape,
Determining whether it is necessary to expand the data storage area remaining as an overwritable area on the end side of the partition when writing the data body and index information to the partition;
If it is not necessary to expand the data storage area, while maintaining the logical configuration of the partition and continuing to write new data body and index information,
If it is necessary to expand the data storage area, the index information corresponding to the data body stored in the starting wrap constituting the partition is deleted, and the block ID of the first data block of the next wrap is valid. The data is stored together with undeleted index information as an ID, and the wraps constituting the partition are cyclically shifted from the start side to the end side of the partition in units of laps, and the logical structure of the partition is updated and a new data body and index are updated. A method of controlling a magnetic tape device, characterized by continuing to write information.

〔付記4〕
上位装置から1世代以上前のインデックス情報の読み出し指令が与えられると、インデックス情報のブロックIDの値を1世代前のものから順に時系列を遡って検出し、
インデックス情報のブロックIDが検出される度に、そのブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であるか否かを判定し、最新のインデックス情報と共に記憶されている有効なブロックIDの値以上の場合には、更に、このインデックス情報が上位装置からの読み出し指令で与えられたインデックス情報と一致するか否かを判定し、一致する場合には、このインデックス情報の内部的な読み出しを実行し、最新のインデックス情報と共に記憶されている有効なブロックIDの値と前記一致したインデックス情報に含まれる読み出し開始位置の各々との大小を比較し、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満の読み出し開始位置を有するデータ本体に対応するインデックス情報を除いたインデックス情報の読み出しを上位装置に許容する一方、
時系列を遡って検出されるインデックス情報が上位装置からの読み出し指令で与えられたインデックス情報と一致することなく、検出されたインデックス情報のブロックIDの値が、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満となった場合には、インデックス情報の読み出しを非実行としてインデックス情報の読み出しエラーを上位装置に知らせることを特徴とした付記3記載の磁気テープ装置の制御方法。
[Appendix 4]
When a read command for index information one or more generations before is given from the host device, the block ID value of the index information is detected in a time series from the previous generation in order,
Each time a block ID of the index information is detected, it is determined whether or not the block ID value is greater than or equal to the valid block ID value stored with the latest index information, and stored with the latest index information. If it is equal to or greater than the valid block ID value, it is further determined whether or not the index information matches the index information given by the read command from the host device. Performs internal reading of information, compares the value of the effective block ID stored together with the latest index information and the size of each read start position included in the matched index information, and updates the latest index information. Index corresponding to data body with read start position less than valid block ID value stored with While allowing the reading of the index information except the information to the host device,
The index information detected by going back in time series does not match the index information given by the read command from the host device, and the block ID value of the detected index information is stored together with the latest index information. 4. The method for controlling a magnetic tape device according to appendix 3, wherein when the value is less than a valid block ID value, reading of the index information is not executed, and a reading error of the index information is notified to the host device.

〔付記5〕
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータを上書きして循環的に記憶させる磁気テープ装置であって、
前記パーティションへのデータの書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っているか否かを判定する残存記憶領域判定手段と、
前記残存記憶領域判定手段により、上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていると判定された場合には、前記パーティションの論理構成を維持する一方、前記残存記憶領域判定手段により、上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていないと判定された場合には、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段と、
少なくとも、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップのラップ番号と、前記パーティション再構築手段によって更新されたパーティションの終端とされたラップのラップ番号、および、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップの最初のデータブロックのブロックIDを磁気テープのカートリッジの不揮発性メモリに更新して記憶させるパーティション情報更新手段と、
上位装置から与えられる磁気ヘッドの位置づけコマンドによって指定されるブロックIDの値と前記不揮発性メモリに記憶されたブロックIDの値とを比較し、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値以上の場合には、位置づけコマンドによって指定されるブロックIDの位置に磁気ヘッドを位置づけする一方、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値未満の場合には、前記不揮発性メモリにパーティションの始端としてラップ番号を記憶されたパーティションに磁気ヘッドを位置づけする位置づけ制御手段とを備えたことを特徴とした磁気テープ装置。
[Appendix 5]
A magnetic tape device for overwriting data in a logical partition composed of a plurality of wraps of a magnetic tape and storing the data cyclically,
Remaining storage area determination means for determining whether or not the capacity of the data storage area remaining as an overwritable area on the terminal end side of the partition when writing data to the partition exceeds a preset storage capacity;
When the remaining storage area determination unit determines that the capacity of the data storage area remaining as the overwritable area exceeds the preset storage capacity, the logical configuration of the partition is maintained while the remaining storage area is maintained. When it is determined by the area determination means that the capacity of the data storage area remaining as the overwritable area does not exceed the preset storage capacity, the wrap constituting the partition is circulated in units of laps on the partition start side. And a partition restructuring means for updating the logical configuration of the partition,
At least the wrap number of the wrap updated by the partition rebuilding means, the wrap number of the wrap updated by the partition rebuilding means, and the partition rebuilding means Partition information updating means for updating and storing the block ID of the first data block of the wrap which is the start of the partition updated by the non-volatile memory of the magnetic tape cartridge;
The block ID value specified by the positioning command of the magnetic head given from the host device is compared with the block ID value stored in the nonvolatile memory, and the block ID value specified by the positioning command is If the value is equal to or greater than the block ID value stored in the memory, the magnetic head is positioned at the block ID position specified by the positioning command, while the block ID value specified by the positioning command is stored in the nonvolatile memory. And a positioning control means for positioning a magnetic head in a partition in which a lap number is stored as a starting end of the partition in the nonvolatile memory when the block ID is less than the block ID value.

〔付記6〕
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータ本体と当該データ本体の読み出し開始位置を含むインデックス情報を上書きして循環的に記憶させる磁気テープ装置であって、
上位装置からのデータ記憶領域拡張指令の入力の有無を判定するコマンド判定手段と、
前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知しなければ前記パーティションの論理構成を維持する一方、前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知した場合には、前記パーティションを構成する始端のラップに記憶されているデータ本体に対応したインデックス情報を削除し、次のラップの最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に記憶させると共に、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段と、
上位装置から1世代以上前のインデックス情報の読み出し指令が与えられると、インデックス情報のブロックIDの値を1世代前のものから順に時系列を遡って検出し、インデックス情報のブロックIDが検出される度に、そのブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であるか否かを判定するインデックス情報有効性判定手段と、
前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDが最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であると判定された場合に、このインデックス情報が上位装置からの読み出し指令で与えられたインデックス情報と一致するか否かを判定する一致不一致判定手段と、
前記一致不一致判定手段が一致の判定をした場合に、このインデックス情報の内部的な読み出しを実行し、最新のインデックス情報と共に記憶されている有効なブロックIDの値と前記一致したインデックス情報に含まれる読み出し開始位置の各々との大小を比較し、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満の読み出し開始位置を有するデータ本体に対応するインデックス情報を除いたインデックス情報の読み出しを上位装置に許容する一方、前記一致不一致判定手段が一致の判定をすることなく、前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値未満であると判定された場合に、インデックス情報の読み出しを非実行としてインデックス情報の読み出しエラーを上位装置に知らせる出力情報制限手段とを備えたことを特徴とした磁気テープ装置。
[Appendix 6]
A magnetic tape device that overwrites and stores index information including a data body and a read start position of the data body in a logical partition constituted by a plurality of wraps of the magnetic tape,
Command determination means for determining whether or not a data storage area expansion command is input from the host device;
If the command determination means does not detect the input of the data storage area expansion command, the logical configuration of the partition is maintained. On the other hand, if the command determination means detects the input of the data storage area expansion command, the partition is configured. Delete the index information corresponding to the data body stored in the starting wrap, store the block ID of the first data block of the next wrap as a valid block ID together with the undeleted index information, and store the partition Partition reconstructing means for cyclically shifting the wrap to be configured in units of laps from the partition start side to the end side, and updating the logical configuration of the partition;
When a read command for index information of one generation or more before is given from the host device, the block ID value of the index information is detected by going back in time sequence from the previous generation, and the block ID of the index information is detected. Each time, the index information validity determination means for determining whether the value of the block ID is equal to or greater than the value of the valid block ID stored together with the latest index information,
When it is determined that the block ID of the index information detected by the index information validity determination means is equal to or greater than the value of the valid block ID stored together with the latest index information, the index information is sent from the host device. A match / mismatch determination means for determining whether or not the index information given by the read command is matched,
When the coincidence / non-coincidence judging unit judges coincidence, the index information is internally read and included in the index information that matches the valid block ID value stored together with the latest index information. Compares the size with each of the read start positions, and reads the index information excluding the index information corresponding to the data body having the read start position less than the valid block ID value stored together with the latest index information. While the apparatus permits, the validity of the block ID value of the index information detected by the index information validity determination means stored together with the latest index information without the match / mismatch determination means determining a match. If it is determined that the block ID is less than Magnetic tape apparatus is characterized in that an output information limiting means for informing the reading of broadcast to the host device a read error of the index information as a non-executable.

〔付記7〕
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータを上書きして循環的に記憶させる磁気テープ装置が備えるマイクロプロセッサを、
前記パーティションへのデータの書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っているか否かを判定する残存記憶領域判定手段、
前記残存記憶領域判定手段により、上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていると判定された場合には、前記パーティションの論理構成を維持する一方、前記残存記憶領域判定手段により、上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていないと判定された場合には、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段、
少なくとも、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップのラップ番号と、前記パーティション再構築手段によって更新されたパーティションの終端とされたラップのラップ番号、および、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップの最初のデータブロックのブロックIDを磁気テープのカートリッジの不揮発性メモリに更新して記憶させるパーティション情報更新手段、および、
上位装置から与えられる磁気ヘッドの位置づけコマンドによって指定されるブロックIDの値と前記不揮発性メモリに記憶されたブロックIDの値とを比較し、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値以上の場合には、位置づけコマンドによって指定されるブロックIDの位置に磁気ヘッドを位置づけする一方、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値未満の場合には、前記不揮発性メモリにパーティションの始端としてラップ番号を記憶されたパーティションに磁気ヘッドを位置づけする位置づけ制御手段として機能させることを特徴とした磁気テープ装置用制御プログラム。
[Appendix 7]
A microprocessor provided in a magnetic tape device for overwriting data in a logical partition constituted by a plurality of wraps of the magnetic tape and storing the data in a circular manner;
A remaining storage area determination means for determining whether or not the capacity of the data storage area remaining as an overwritable area on the terminal end side of the partition at the time of writing data to the partition exceeds a preset storage capacity;
When the remaining storage area determination unit determines that the capacity of the data storage area remaining as the overwritable area exceeds the preset storage capacity, the logical configuration of the partition is maintained while the remaining storage area is maintained. When it is determined by the area determination means that the capacity of the data storage area remaining as the overwritable area does not exceed the preset storage capacity, the wrap constituting the partition is circulated in units of laps on the partition start side. A partition restructuring means for updating the logical configuration of the partition,
At least the wrap number of the wrap updated by the partition rebuilding means, the wrap number of the wrap updated by the partition rebuilding means, and the partition rebuilding means Partition information updating means for updating and storing the block ID of the first data block of the wrap which is the start of the partition updated by the non-volatile memory of the magnetic tape cartridge; and
The block ID value specified by the positioning command of the magnetic head given from the host device is compared with the block ID value stored in the nonvolatile memory, and the block ID value specified by the positioning command is If the value is equal to or greater than the block ID value stored in the memory, the magnetic head is positioned at the block ID position specified by the positioning command, while the block ID value specified by the positioning command is stored in the nonvolatile memory. If the value is less than the block ID value, the magnetic tape device control functioning as a positioning control means for positioning the magnetic head in the partition in which the lap number is stored as the start of the partition in the nonvolatile memory. program.

〔付記8〕
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータ本体と当該データ本体の読み出し開始位置を含むインデックス情報を上書きして循環的に記憶させる磁気テープ装置が備えるマイクロプロセッサを、
上位装置からのデータ記憶領域拡張指令の入力の有無を判定するコマンド判定手段、
前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知しなければ前記パーティションの論理構成を維持する一方、前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知した場合には、前記パーティションを構成する始端のラップに記憶されているデータ本体に対応したインデックス情報を削除し、次のラップの最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に記憶させると共に、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段、
上位装置から1世代以上前のインデックス情報の読み出し指令が与えられると、インデックス情報のブロックIDの値を1世代前のものから順に時系列を遡って検出し、インデックス情報のブロックIDが検出される度に、そのブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であるか否かを判定するインデックス情報有効性判定手段、
前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDが最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であると判定された場合に、このインデックス情報が上位装置からの読み出し指令で与えられたインデックス情報と一致するか否かを判定する一致不一致判定手段、および、
前記一致不一致判定手段が一致の判定をした場合に、このインデックス情報の内部的な読み出しを実行し、最新のインデックス情報と共に記憶されている有効なブロックIDの値と前記一致したインデックス情報に含まれる読み出し開始位置の各々との大小を比較し、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満の読み出し開始位置を有するデータ本体に対応するインデックス情報を除いたインデックス情報の読み出しを上位装置に許容する一方、前記一致不一致判定手段が一致の判定をすることなく、前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDの値が、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満であると判定された場合に、インデックス情報の読み出しを非実行としてインデックス情報の読み出しエラーを上位装置に知らせる出力情報制限手段として機能させることを特徴とした磁気テープ装置用制御プログラム。
[Appendix 8]
A microprocessor included in a magnetic tape device that overwrites and stores index information including a data main body and a reading start position of the data main body in a logical partition constituted by a plurality of wraps included in the magnetic tape,
Command determination means for determining whether or not a data storage area expansion command is input from the host device;
If the command determination means does not detect the input of the data storage area expansion command, the logical configuration of the partition is maintained. On the other hand, if the command determination means detects the input of the data storage area expansion command, the partition is configured. Delete the index information corresponding to the data body stored in the starting wrap, store the block ID of the first data block of the next wrap as a valid block ID together with the undeleted index information, and store the partition Partition reconstructing means for cyclically shifting the wrap to be configured in units of laps from the partition start side to the end side and updating the logical configuration of the partition;
When a read command for index information of one generation or more before is given from the host device, the block ID value of the index information is detected by going back in time sequence from the previous generation, and the block ID of the index information is detected. Index information validity determination means for determining whether the value of the block ID is equal to or greater than the value of the valid block ID stored together with the latest index information each time,
When it is determined that the block ID of the index information detected by the index information validity determination means is equal to or greater than the value of the valid block ID stored together with the latest index information, the index information is sent from the host device. A match / mismatch determination means for determining whether or not the index information given by the read command is matched, and
When the coincidence / non-coincidence judging unit judges coincidence, the index information is internally read and included in the index information that matches the valid block ID value stored together with the latest index information. Compares the size with each of the read start positions, and reads the index information excluding the index information corresponding to the data body having the read start position less than the valid block ID value stored together with the latest index information. While permitting the apparatus, the block ID value of the index information detected by the index information validity determining unit is stored together with the latest index information without the matching / non-matching determining unit determining a match. If it is determined that the value is less than the valid block ID value, the index Magnetic tape device control program, characterized in that to function reading error of the index information as output information limiting means for notifying the host device to read the information as non-executable.

本発明は、複数のラップをもつ磁気テープにデータを記録する各種の磁気テープ装置に適用することができる。   The present invention can be applied to various magnetic tape apparatuses that record data on a magnetic tape having a plurality of wraps.

1 磁気テープ装置
2 磁気テープ
3 カートリッジ
4 上位装置
5 磁気ヘッド
6 マイクロプロセッサ(残存記憶領域判定手段,パーティション再構築手段,パーティション情報更新手段,位置づけ制御手段,コマンド判定手段,インデックス情報有効性判定手段,一致不一致判定手段,出力情報制限手段)
7 不揮発性メモリ
8 不揮発性メモリ(カートリッジメモリ)
9 インターフェイス
71 磁気テープ上のコンテンツ領域
72 磁気テープ上のインデックス領域
311 カートリッジメモリのBOP位置情報記憶領域
312 カートリッジメモリのEOP位置情報記憶領域
313 カートリッジメモリのBOP Block ID記憶領域
314 カートリッジメモリのEOD Block ID記憶領域
721 データ名(ファイル名)
722 読み出し開始位置(読み出し開始位置となるデータブロックのブロックID)
723 開始オフセット
724 データサイズ(データ長)
725 有効なBlock IDの値
DESCRIPTION OF SYMBOLS 1 Magnetic tape apparatus 2 Magnetic tape 3 Cartridge 4 High-order apparatus 5 Magnetic head 6 Microprocessor (Remaining storage area determination means, Partition reconstruction means, Partition information update means, Positioning control means, Command determination means, Index information validity determination means, Match / mismatch determination means, output information restriction means)
7 Nonvolatile memory 8 Nonvolatile memory (cartridge memory)
9 Interface 71 Content Area 72 on Magnetic Tape Index Area 311 on Magnetic Tape BOP Position Information Storage Area 312 of Cartridge Memory EOP Position Information Storage Area 313 of Cartridge Memory BOP Block ID Storage Area 314 of Cartridge Memory EOD Block ID of Cartridge Memory Storage area 721 Data name (file name)
722 Read start position (block ID of data block to be read start position)
723 Start offset 724 Data size (data length)
725 Valid Block ID value

Claims (8)

磁気テープが有する複数のラップによって構成される論理的なパーティションにデータを上書きして循環的に記憶させる磁気テープ装置の制御方法であって、
前記パーティションへのデータの書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っているか否かを判定し、
前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていれば、前記パーティションの論理構成を維持して新たなデータの書き込みを継続する一方、
前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていなければ、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新してから新たなデータの書き込みを継続することを特徴とした磁気テープ装置の制御方法。
A method for controlling a magnetic tape device, wherein data is overwritten and stored in a logical partition composed of a plurality of wraps of a magnetic tape,
Determining whether or not the capacity of the data storage area remaining as an overwritable area on the end side of the partition when writing data to the partition exceeds a preset storage capacity;
If the capacity of the data storage area remaining as an overwritable area at the end of the partition exceeds the preset storage capacity, while maintaining the logical configuration of the partition and continuing to write new data,
If the capacity of the data storage area remaining as the overwritable area on the end side of the partition does not exceed the preset storage capacity, the wraps constituting the partition are cyclically shifted from the partition start side to the end side in units of laps. A method of controlling a magnetic tape device, characterized by continuing to write new data after updating the logical configuration of the partition.
前記パーティションの論理構成の更新に際して新たに始端とされたラップの最初のデータブロックのブロックIDを磁気テープのカートリッジの不揮発性メモリに記憶させ、
上位装置から与えられる磁気ヘッドの位置づけコマンドによって指定されるブロックIDの値と前記不揮発性メモリに記憶されたブロックIDの値とを比較し、
位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値以上の場合には、磁気ヘッドの位置づけコマンドによって指定されるブロックIDの位置に磁気ヘッドを位置づけする一方、
位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値未満の場合には、現時点で前記パーティションの始端とされているラップに磁気ヘッドを位置づけすることを特徴とした請求項1記載の磁気テープ装置の制御方法。
The block ID of the first data block of the wrap newly started at the time of updating the logical configuration of the partition is stored in the nonvolatile memory of the magnetic tape cartridge,
Compare the block ID value specified by the positioning command of the magnetic head given from the host device and the block ID value stored in the nonvolatile memory,
If the block ID value specified by the positioning command is equal to or greater than the block ID value stored in the nonvolatile memory, the magnetic head is positioned at the block ID position specified by the magnetic head positioning command.
If the block ID value specified by the positioning command is less than the block ID value stored in the non-volatile memory, the magnetic head is positioned at the wrap that is currently the start of the partition. The method of controlling a magnetic tape apparatus according to claim 1.
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータ本体と当該データ本体の読み出し開始位置を含むインデックス情報を上書きして循環的に記憶させる磁気テープ装置の制御方法であって、
前記パーティションへのデータ本体とインデックス情報の書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域を拡張する必要があるか否かを判定し、
データ記憶領域を拡張する必要がなければ、前記パーティションの論理構成を維持して新たなデータ本体とインデックス情報の書き込みを継続する一方、
データ記憶領域を拡張する必要があれば、前記パーティションを構成する始端のラップに記憶されているデータ本体に対応したインデックス情報を削除し、次のラップの最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に記憶させると共に、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新してから新たなデータ本体とインデックス情報の書き込みを継続することを特徴とした磁気テープ装置の制御方法。
A method for controlling a magnetic tape device, in which index information including a data main body and a read start position of the data main body is overwritten and stored in a logical partition constituted by a plurality of wraps included in the magnetic tape,
Determining whether it is necessary to expand the data storage area remaining as an overwritable area on the end side of the partition when writing the data body and index information to the partition;
If it is not necessary to expand the data storage area, while maintaining the logical configuration of the partition and continuing to write new data body and index information,
If it is necessary to expand the data storage area, the index information corresponding to the data body stored in the starting wrap constituting the partition is deleted, and the block ID of the first data block of the next wrap is valid. The data is stored together with undeleted index information as an ID, and the wraps constituting the partition are cyclically shifted from the start side to the end side of the partition in units of laps, and the logical structure of the partition is updated and a new data body and index are updated. A method of controlling a magnetic tape device, characterized by continuing to write information.
上位装置から1世代以上前のインデックス情報の読み出し指令が与えられると、インデックス情報のブロックIDの値を1世代前のものから順に時系列を遡って検出し、
インデックス情報のブロックIDが検出される度に、そのブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であるか否かを判定し、最新のインデックス情報と共に記憶されている有効なブロックIDの値以上の場合には、更に、このインデックス情報が上位装置からの読み出し指令で与えられたインデックス情報と一致するか否かを判定し、一致する場合には、このインデックス情報の内部的な読み出しを実行し、最新のインデックス情報と共に記憶されている有効なブロックIDの値と前記一致したインデックス情報に含まれる読み出し開始位置の各々との大小を比較し、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満の読み出し開始位置を有するデータ本体に対応するインデックス情報を除いたインデックス情報の読み出しを上位装置に許容する一方、
時系列を遡って検出されるインデックス情報が上位装置からの読み出し指令で与えられたインデックス情報と一致することなく、検出されたインデックス情報のブロックIDの値が、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満となった場合には、インデックス情報の読み出しを非実行としてインデックス情報の読み出しエラーを上位装置に知らせることを特徴とした請求項3記載の磁気テープ装置の制御方法。
When a read command for index information one or more generations before is given from the host device, the block ID value of the index information is detected in a time series from the previous generation in order,
Each time a block ID of the index information is detected, it is determined whether or not the block ID value is greater than or equal to the valid block ID value stored with the latest index information, and stored with the latest index information. If it is equal to or greater than the valid block ID value, it is further determined whether or not the index information matches the index information given by the read command from the host device. Performs internal reading of information, compares the value of the effective block ID stored together with the latest index information and the size of each read start position included in the matched index information, and updates the latest index information. Index corresponding to data body with read start position less than valid block ID value stored with While allowing the reading of the index information except the information to the host device,
The index information detected by going back in time series does not match the index information given by the read command from the host device, and the block ID value of the detected index information is stored together with the latest index information. 4. The method of controlling a magnetic tape device according to claim 3, wherein, when the value is less than a valid block ID value, reading of the index information is not executed and an error in reading the index information is notified to the host device.
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータを上書きして循環的に記憶させる磁気テープ装置であって、
前記パーティションへのデータの書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っているか否かを判定する残存記憶領域判定手段と、
前記残存記憶領域判定手段により、上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていると判定された場合には、前記パーティションの論理構成を維持する一方、前記残存記憶領域判定手段により、上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていないと判定された場合には、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段と、
少なくとも、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップのラップ番号と、前記パーティション再構築手段によって更新されたパーティションの終端とされたラップのラップ番号、および、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップの最初のデータブロックのブロックIDを磁気テープのカートリッジの不揮発性メモリに更新して記憶させるパーティション情報更新手段と、
上位装置から与えられる磁気ヘッドの位置づけコマンドによって指定されるブロックIDの値と前記不揮発性メモリに記憶されたブロックIDの値とを比較し、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値以上の場合には、位置づけコマンドによって指定されるブロックIDの位置に磁気ヘッドを位置づけする一方、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値未満の場合には、前記不揮発性メモリにパーティションの始端としてラップ番号を記憶されたパーティションに磁気ヘッドを位置づけする位置づけ制御手段とを備えたことを特徴とした磁気テープ装置。
A magnetic tape device for overwriting data in a logical partition composed of a plurality of wraps of a magnetic tape and storing the data cyclically,
Remaining storage area determination means for determining whether or not the capacity of the data storage area remaining as an overwritable area on the terminal end side of the partition when writing data to the partition exceeds a preset storage capacity;
When the remaining storage area determination unit determines that the capacity of the data storage area remaining as the overwritable area exceeds the preset storage capacity, the logical configuration of the partition is maintained while the remaining storage area is maintained. When it is determined by the area determination means that the capacity of the data storage area remaining as the overwritable area does not exceed the preset storage capacity, the wrap constituting the partition is circulated in units of laps on the partition start side. And a partition restructuring means for updating the logical configuration of the partition,
At least the wrap number of the wrap updated by the partition rebuilding means, the wrap number of the wrap updated by the partition rebuilding means, and the partition rebuilding means Partition information updating means for updating and storing the block ID of the first data block of the wrap which is the start of the partition updated by the non-volatile memory of the magnetic tape cartridge;
The block ID value specified by the positioning command of the magnetic head given from the host device is compared with the block ID value stored in the nonvolatile memory, and the block ID value specified by the positioning command is If the value is equal to or greater than the block ID value stored in the memory, the magnetic head is positioned at the block ID position specified by the positioning command, while the block ID value specified by the positioning command is stored in the nonvolatile memory. And a positioning control means for positioning a magnetic head in a partition in which a lap number is stored as a starting end of the partition in the nonvolatile memory when the block ID is less than the block ID value.
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータ本体と当該データ本体の読み出し開始位置を含むインデックス情報を上書きして循環的に記憶させる磁気テープ装置であって、
上位装置からのデータ記憶領域拡張指令の入力の有無を判定するコマンド判定手段と、
前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知しなければ前記パーティションの論理構成を維持する一方、前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知した場合には、前記パーティションを構成する始端のラップに記憶されているデータ本体に対応したインデックス情報を削除し、次のラップの最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に記憶させると共に、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段と、
上位装置から1世代以上前のインデックス情報の読み出し指令が与えられると、インデックス情報のブロックIDの値を1世代前のものから順に時系列を遡って検出し、インデックス情報のブロックIDが検出される度に、そのブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であるか否かを判定するインデックス情報有効性判定手段と、
前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDが最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であると判定された場合に、このインデックス情報が上位装置からの読み出し指令で与えられたインデックス情報と一致するか否かを判定する一致不一致判定手段と、
前記一致不一致判定手段が一致の判定をした場合に、このインデックス情報の内部的な読み出しを実行し、最新のインデックス情報と共に記憶されている有効なブロックIDの値と前記一致したインデックス情報に含まれる読み出し開始位置の各々との大小を比較し、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満の読み出し開始位置を有するデータ本体に対応するインデックス情報を除いたインデックス情報の読み出しを上位装置に許容する一方、前記一致不一致判定手段が一致の判定をすることなく、前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値未満であると判定された場合に、インデックス情報の読み出しを非実行としてインデックス情報の読み出しエラーを上位装置に知らせる出力情報制限手段とを備えたことを特徴とした磁気テープ装置。
A magnetic tape device that overwrites and stores index information including a data body and a read start position of the data body in a logical partition constituted by a plurality of wraps of the magnetic tape,
Command determination means for determining whether or not a data storage area expansion command is input from the host device;
If the command determination means does not detect the input of the data storage area expansion command, the logical configuration of the partition is maintained. On the other hand, if the command determination means detects the input of the data storage area expansion command, the partition is configured. Delete the index information corresponding to the data body stored in the starting wrap, store the block ID of the first data block of the next wrap as a valid block ID together with the undeleted index information, and store the partition Partition reconstructing means for cyclically shifting the wrap to be configured in units of laps from the partition start side to the end side, and updating the logical configuration of the partition;
When a read command for index information of one generation or more before is given from the host device, the block ID value of the index information is detected by going back in time sequence from the previous generation, and the block ID of the index information is detected. Each time, the index information validity determination means for determining whether the value of the block ID is equal to or greater than the value of the valid block ID stored together with the latest index information,
When it is determined that the block ID of the index information detected by the index information validity determination means is equal to or greater than the value of the valid block ID stored together with the latest index information, the index information is sent from the host device. A match / mismatch determination means for determining whether or not the index information given by the read command is matched,
When the coincidence / non-coincidence judging unit judges coincidence, the index information is internally read and included in the index information that matches the valid block ID value stored together with the latest index information. Compares the size with each of the read start positions, and reads the index information excluding the index information corresponding to the data body having the read start position less than the valid block ID value stored together with the latest index information. While the apparatus permits, the validity of the block ID value of the index information detected by the index information validity determination means stored together with the latest index information without the match / mismatch determination means determining a match. If it is determined that the block ID is less than Magnetic tape apparatus is characterized in that an output information limiting means for informing the reading of broadcast to the host device a read error of the index information as a non-executable.
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータを上書きして循環的に記憶させる磁気テープ装置が備えるマイクロプロセッサを、
前記パーティションへのデータの書き込みに際して前記パーティションの終端側に上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っているか否かを判定する残存記憶領域判定手段、
前記残存記憶領域判定手段により上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていると判定された場合には、前記パーティションの論理構成を維持する一方、前記残存記憶領域判定手段により上書き可能領域として残るデータ記憶領域の容量が予め設定された記憶容量を上回っていないと判定された場合には、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段、
少なくとも、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップのラップ番号と、前記パーティション再構築手段によって更新されたパーティションの終端とされたラップのラップ番号、および、前記パーティション再構築手段によって更新されたパーティションの始端とされたラップの最初のデータブロックのブロックIDを磁気テープのカートリッジの不揮発性メモリに更新して記憶させるパーティション情報更新手段、および、
上位装置から与えられる磁気ヘッドの位置づけコマンドによって指定されるブロックIDの値と前記不揮発性メモリに記憶されたブロックIDの値とを比較し、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値以上の場合には、位置づけコマンドによって指定されるブロックIDの位置に磁気ヘッドを位置づけする一方、位置づけコマンドによって指定されるブロックIDの値が前記不揮発性メモリに記憶されたブロックIDの値未満の場合には、前記不揮発性メモリにパーティションの始端としてラップ番号を記憶されたパーティションに磁気ヘッドを位置づけする位置づけ制御手段として機能させることを特徴とした磁気テープ装置用制御プログラム。
A microprocessor provided in a magnetic tape device for overwriting data in a logical partition constituted by a plurality of wraps of the magnetic tape and storing the data in a circular manner;
A remaining storage area determination means for determining whether or not the capacity of the data storage area remaining as an overwritable area on the terminal end side of the partition at the time of writing data to the partition exceeds a preset storage capacity;
When the remaining storage area determination unit determines that the capacity of the data storage area remaining as an overwritable area exceeds a preset storage capacity, the logical structure of the partition is maintained, while the remaining storage area When it is determined by the determination means that the capacity of the data storage area remaining as the overwritable area does not exceed the preset storage capacity, the wrap constituting the partition is cyclically terminated from the partition start end side in units of laps. Partition rebuilding means for updating the logical configuration of the partition,
At least the wrap number of the wrap updated by the partition rebuilding means, the wrap number of the wrap updated by the partition rebuilding means, and the partition rebuilding means Partition information updating means for updating and storing the block ID of the first data block of the wrap which is the start of the partition updated by the non-volatile memory of the magnetic tape cartridge; and
The block ID value specified by the positioning command of the magnetic head given from the host device is compared with the block ID value stored in the nonvolatile memory, and the block ID value specified by the positioning command is If the value is equal to or greater than the block ID value stored in the memory, the magnetic head is positioned at the block ID position specified by the positioning command, while the block ID value specified by the positioning command is stored in the nonvolatile memory. If the value is less than the block ID value, the magnetic tape device control functioning as a positioning control means for positioning the magnetic head in the partition in which the lap number is stored as the start of the partition in the nonvolatile memory. program.
磁気テープが有する複数のラップによって構成される論理的なパーティションにデータ本体と当該データ本体の読み出し開始位置を含むインデックス情報を上書きして循環的に記憶させる磁気テープ装置が備えるマイクロプロセッサを、
上位装置からのデータ記憶領域拡張指令の入力の有無を判定するコマンド判定手段、
前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知しなければ前記パーティションの論理構成を維持する一方、前記コマンド判定手段がデータ記憶領域拡張指令の入力を検知した場合には、前記パーティションを構成する始端のラップに記憶されているデータ本体に対応したインデックス情報を削除し、次のラップの最初のデータブロックのブロックIDを有効なブロックIDとして未削除のインデックス情報と共に記憶させると共に、前記パーティションを構成するラップをラップ単位で循環的にパーティション始端側から終端側にずらし、前記パーティションの論理構成を更新するパーティション再構築手段、
上位装置から1世代以上前のインデックス情報の読み出し指令が与えられると、インデックス情報のブロックIDの値を1世代前のものから順に時系列を遡って検出し、インデックス情報のブロックIDが検出される度に、そのブロックIDの値が最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であるか否かを判定するインデックス情報有効性判定手段、
前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDが最新のインデックス情報と共に記憶されている有効なブロックIDの値以上であると判定された場合に、このインデックス情報が上位装置からの読み出し指令で与えられたインデックス情報と一致するか否かを判定する一致不一致判定手段、および、
前記一致不一致判定手段が一致の判定をした場合に、このインデックス情報の内部的な読み出しを実行し、最新のインデックス情報と共に記憶されている有効なブロックIDの値と前記一致したインデックス情報に含まれる読み出し開始位置の各々との大小を比較し、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満の読み出し開始位置を有するデータ本体に対応するインデックス情報を除いたインデックス情報の読み出しを上位装置に許容する一方、前記一致不一致判定手段が一致の判定をすることなく、前記インデックス情報有効性判定手段により検出されているインデックス情報のブロックIDの値が、最新のインデックス情報と共に記憶されている有効なブロックIDの値未満であると判定された場合に、インデックス情報の読み出しを非実行としてインデックス情報の読み出しエラーを上位装置に知らせる出力情報制限手段として機能させることを特徴とした磁気テープ装置用制御プログラム。
A microprocessor included in a magnetic tape device that overwrites and stores index information including a data main body and a reading start position of the data main body in a logical partition constituted by a plurality of wraps included in the magnetic tape,
Command determination means for determining whether or not a data storage area expansion command is input from the host device;
If the command determination means does not detect the input of the data storage area expansion command, the logical configuration of the partition is maintained. On the other hand, if the command determination means detects the input of the data storage area expansion command, the partition is configured. Delete the index information corresponding to the data body stored in the starting wrap, store the block ID of the first data block of the next wrap as a valid block ID together with the undeleted index information, and store the partition Partition reconstructing means for cyclically shifting the wrap to be configured in units of laps from the partition start side to the end side and updating the logical configuration of the partition;
When a read command for index information of one generation or more before is given from the host device, the block ID value of the index information is detected by going back in time sequence from the previous generation, and the block ID of the index information is detected. Index information validity determination means for determining whether the value of the block ID is equal to or greater than the value of the valid block ID stored together with the latest index information each time,
When it is determined that the block ID of the index information detected by the index information validity determination means is equal to or greater than the value of the valid block ID stored together with the latest index information, the index information is sent from the host device. A match / mismatch determination means for determining whether or not the index information given by the read command is matched, and
When the coincidence / non-coincidence judging unit judges coincidence, the index information is internally read and included in the index information that matches the valid block ID value stored together with the latest index information. Compares the size with each of the read start positions, and reads the index information excluding the index information corresponding to the data body having the read start position less than the valid block ID value stored together with the latest index information. While permitting the apparatus, the block ID value of the index information detected by the index information validity determining unit is stored together with the latest index information without the matching / non-matching determining unit determining a match. If it is determined that the value is less than the valid block ID value, the index Magnetic tape device control program, characterized in that to function reading error of the index information as output information limiting means for notifying the host device to read the information as non-executable.
JP2011045010A 2011-03-02 2011-03-02 Control method of magnetic tape device, magnetic tape device, and control program thereof Withdrawn JP2012181896A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011045010A JP2012181896A (en) 2011-03-02 2011-03-02 Control method of magnetic tape device, magnetic tape device, and control program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011045010A JP2012181896A (en) 2011-03-02 2011-03-02 Control method of magnetic tape device, magnetic tape device, and control program thereof

Publications (1)

Publication Number Publication Date
JP2012181896A true JP2012181896A (en) 2012-09-20

Family

ID=47012967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011045010A Withdrawn JP2012181896A (en) 2011-03-02 2011-03-02 Control method of magnetic tape device, magnetic tape device, and control program thereof

Country Status (1)

Country Link
JP (1) JP2012181896A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015215788A (en) * 2014-05-12 2015-12-03 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Efficient use of meta information accompanying file writing to media
US9330708B2 (en) 2014-06-24 2016-05-03 International Business Machines Corporation Erasing recorded data by utilizing read head and write head
US9684664B2 (en) 2013-10-02 2017-06-20 International Business Machines Corporation Elimination of fragmentation of files in storage medium by utilizing head movement time
US9858158B2 (en) 2014-09-29 2018-01-02 International Business Machines Corporation File system for rolling back data on tape

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9684664B2 (en) 2013-10-02 2017-06-20 International Business Machines Corporation Elimination of fragmentation of files in storage medium by utilizing head movement time
JP2015215788A (en) * 2014-05-12 2015-12-03 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Efficient use of meta information accompanying file writing to media
US9330708B2 (en) 2014-06-24 2016-05-03 International Business Machines Corporation Erasing recorded data by utilizing read head and write head
US9536558B2 (en) 2014-06-24 2017-01-03 International Business Machines Corporation Erasing recorded data by utilizing read head and write head
US9858158B2 (en) 2014-09-29 2018-01-02 International Business Machines Corporation File system for rolling back data on tape
US9886355B2 (en) 2014-09-29 2018-02-06 International Business Machines Corporation File system for rolling back data on tape
US10417100B2 (en) 2014-09-29 2019-09-17 International Business Machines Corporation File system for rolling back data on tape

Similar Documents

Publication Publication Date Title
US10915244B2 (en) Reading and writing via file system for tape recording system
US9330713B2 (en) Linear recording executing optimum writing upon receipt of series of commands including mixed read and write commands
US9262081B2 (en) Method for reading file using plurality of tape media
JP5623239B2 (en) Storage device for eliminating duplication of write record, and write method thereof
JP5325078B2 (en) Tape recording apparatus and tape recording method
JP6041839B2 (en) Method, program and tape recording system for storing meta information
JP5925280B2 (en) Method, program, and tape device for erasing files written on tape
US9601141B2 (en) Linear recording device for executing optimum writing upon receipt of series of commands including mixed read and write commands and a method for executing the same
US20150095566A1 (en) Reading Speed of Updated File by Tape Drive File System
JP6005010B2 (en) Method, storage system, and program for spanning one file on multiple tape media
US9721610B2 (en) Method of managing, writing, and reading file on tape
JP5874525B2 (en) Control device, storage device, and storage control method
US9236065B2 (en) Reclamation of data on tape cartridge
JP2012181896A (en) Control method of magnetic tape device, magnetic tape device, and control program thereof
JP5506926B2 (en) Tape storage device and writing method thereof
JP2013161185A (en) Magnetic tape device and control method of the same
JP6109012B2 (en) Recovering data written on tape media prior to formatting
US20180067667A1 (en) Method for backing up data on tape
JP5949122B2 (en) Control device, storage device, and storage control method
JP2008269520A (en) Recorder and recording method
JP2006338731A (en) Data write method
JP2013045474A (en) Magnetic tape device, cyclic recording control method for magnetic tape, and control program thereof

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20140513