JPH0156463B2 - - Google Patents
Info
- Publication number
- JPH0156463B2 JPH0156463B2 JP5925982A JP5925982A JPH0156463B2 JP H0156463 B2 JPH0156463 B2 JP H0156463B2 JP 5925982 A JP5925982 A JP 5925982A JP 5925982 A JP5925982 A JP 5925982A JP H0156463 B2 JPH0156463 B2 JP H0156463B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- storage means
- magnetic tape
- writing
- stripes
- 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.)
- Expired
Links
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1816—Testing
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B20/00—Signal processing not specific to the method of recording or reproducing; Circuits therefor
- G11B20/10—Digital recording or reproducing
- G11B20/18—Error detection or correction; Testing, e.g. of drop-outs
- G11B20/1816—Testing
- G11B2020/183—Testing wherein at least one additional attempt is made to read or write the data when a first attempt is unsuccessful
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Digital Magnetic Recording (AREA)
Description
【発明の詳細な説明】
(a) 発明の技術分野
本発明は大容量記憶システムに係り、特にホス
ト計算機より磁気デイスクを経由せず直接データ
カートリツジの磁気テープにアクセスする方式に
於けるデータ書込み時の再試行方法に関する。[Detailed Description of the Invention] (a) Technical Field of the Invention The present invention relates to a mass storage system, and particularly to data writing in a method in which a host computer directly accesses a magnetic tape of a data cartridge without going through a magnetic disk. Regarding the time retry method.
(b) 技術の背景
大容量記憶システムに用いられるデータカート
リツジは第1図に示す如きフオーマツトを有する
磁気テープが格納されている。1は磁気テープ、
2は各ストライプ固有のストライプ番号が予め記
録されたIDトラツク、3,3′は回転ヘツドがス
トライプの中央に来る様に制御するサーボトラツ
ク、4はデータを記録するストライプである。ス
トライプは例えば13544本あり、1本のストライ
プは4096バイトのデータが記録される。従来の大
容量記憶システムに於ては仮想磁気デイスクの概
念を導入しており、磁気テープのデータを一旦磁
気デイスクに移し、ホスト計算機は直接磁気テー
プにアクセスせず磁気デイスクにアクセスしてデ
ータの授受を行なつている。そして磁気テープの
ストライプを典型的な例に於て67本をまとめて1
ブロツクとし磁気デイスクのシリンダと対応させ
ている。従つて磁気テープは第2図に示す如くブ
ロツクごとに分割されデータストライプ61本、不
良ストライプの交代用に4本、システム用に2本
で、該システム用のストライプ1本が各ブロツク
の区分を表わす。第2図に於て5は1ブロツクを
示しストライプ67本が含まれる。6はシステム用
のストライプで1本分を示す。このブロツクと磁
気デイスクのシリンダとの間でデータの授受が行
なわれる。(b) Background of the Technology A data cartridge used in a mass storage system stores a magnetic tape having a format as shown in FIG. 1 is a magnetic tape,
2 is an ID track on which a stripe number unique to each stripe is recorded in advance; 3 and 3' are servo tracks for controlling the rotary head to come to the center of the stripe; and 4 is a stripe for recording data. For example, there are 13,544 stripes, and each stripe records 4,096 bytes of data. Conventional mass storage systems have introduced the concept of virtual magnetic disks, in which the data on the magnetic tape is temporarily transferred to the magnetic disk, and the host computer accesses the magnetic disk instead of directly accessing the magnetic tape. Giving and receiving. As a typical example of magnetic tape stripes, 67 strips are combined into one.
The block corresponds to the cylinder of the magnetic disk. Therefore, the magnetic tape is divided into blocks as shown in Figure 2, with 61 data stripes, 4 for replacing defective stripes, and 2 for the system, and one stripe for the system separates each block. represent In FIG. 2, 5 indicates one block, which includes 67 stripes. 6 indicates one stripe for the system. Data is exchanged between this block and the cylinder of the magnetic disk.
磁気テープ1のストライプ4にデータの書込み
を行なう場合、IDトラツク2のストライプ番号
を読取りデータ記録対象ストライプを確認し、続
いてサーボトラツク3を読取りオントラツクを確
認してストライプ4にデータを書込むが、この時
磁気テープ1が動いたり、サーボ信号による磁気
テープ1の位置決めが正常に行なわれないと隣接
ストライプにデータを書込んで既にデータの記録
されている隣接ストライプを破壊する恐れがあ
る。このためサーボトラツク3′が読取れぬ場合
正常にデータ書込みが完了せず隣接ストライプを
破壊する恐れのあるエラーが発生したと判定す
る。この様なエラーが発生すると従来の大容量記
憶システムではデータが磁気デイスクに残つてい
るので各ブロツクの先頭に回転ヘツドを戻してデ
ータの再書込みを行なうがホスト計算機が磁気デ
イスクを経由せず直接データカートリツジの磁気
テープにアクセスしてデータの授受を行なう方式
に於ては、磁気テープのストライプにデータの書
込み中隣接のストライプを破壊する恐れのあるエ
ラーが発生した場合、それ迄に処理したデータが
ホスト計算機のメモリに残つている保証がないた
め前記の如き従来方式の再書込みは行なえない。
即ちホスト計算機が直接磁気テープにアクセスす
る方式では有効に磁気テープのストライプを利用
し、処理速度を上げるためには種々の長さのデー
タセツトを順次詰めて記録する必要がある。デー
タには長短様々な長さがあり、ブロツク毎に割当
てていては使用しないストライプが発生し磁気テ
ープの利用率が低下する。従つて未使用のストラ
イプを発生させないためにデータセツトを順次第
3図の如く詰めて記録する。第3図に於て、1は
磁気テープ、a1,a2,a3,a4,a5はデ
ータセツトである。例えばデータセツトa3程度
の短いデータを1ブロツクに割当てていては未使
用のストライプが多く無駄なため図の如く詰めて
記録するが、この場合隣接ストライプを破壊する
恐れのあるエラーが発生した場合再試行の方法が
問題で、その対策が望まれている。 When writing data to stripe 4 of magnetic tape 1, read the stripe number of ID track 2 to confirm the stripe on which data is to be recorded, then read servo track 3 to confirm the on-track, and then write data to stripe 4. At this time, if the magnetic tape 1 moves or if the magnetic tape 1 is not properly positioned by the servo signal, there is a risk that data will be written to the adjacent stripe and the adjacent stripe on which data has already been recorded will be destroyed. Therefore, if the servo track 3' cannot be read, it is determined that data writing has not been completed normally and an error has occurred that may destroy adjacent stripes. When such an error occurs, in conventional large-capacity storage systems, the data remains on the magnetic disk, so the rotary head is returned to the beginning of each block to rewrite the data, but the host computer writes the data directly without going through the magnetic disk. In the method of sending and receiving data by accessing the magnetic tape of a data cartridge, if an error occurs that could destroy an adjacent stripe while data is being written to a stripe of the magnetic tape, it is necessary to Since there is no guarantee that the data will remain in the memory of the host computer, rewriting using the conventional method as described above cannot be performed.
That is, in a system in which a host computer directly accesses a magnetic tape, it is necessary to effectively utilize the stripes of the magnetic tape and to sequentially record data sets of various lengths in order to increase processing speed. Data has various lengths, and if it is allocated to each block, unused stripes will occur, reducing the utilization rate of the magnetic tape. Therefore, in order to prevent the occurrence of unused stripes, data sets are sequentially packed and recorded as shown in FIG. In FIG. 3, 1 is a magnetic tape, and a1, a2, a3, a4, and a5 are data sets. For example, if short data such as data set a3 is allocated to one block, there will be many unused stripes and it will be wasteful, so the data will be recorded in a compressed manner as shown in the figure. In this case, if an error occurs that may destroy adjacent stripes, the data will be re-recorded. There is a problem with the trial method, and countermeasures are desired.
(c) 発明の目的
本発明の目的は上記要望に基づき、データを一
時記憶する記憶手段を設けて記録ずみのデータが
消滅することを防止し、隣接ストライプを破壊す
る恐れのあるエラーが発生した場合、該記憶手段
に残されたデータにより再書込みすることで、ホ
スト計算機が直接データカートリツジにアクセス
する方式に於ける磁気テープの利用率が高く、デ
ータ書込み処理速度の速い磁気記録再生装置の再
試行方法を提供することにある。(c) Purpose of the Invention Based on the above requirements, the purpose of the present invention is to provide a storage means for temporarily storing data, to prevent recorded data from being erased, and to prevent an error from occurring that may destroy adjacent stripes. In this case, by rewriting the data left in the storage means, a magnetic recording and reproducing device with a high utilization rate of magnetic tape and a fast data writing processing speed in a method in which the host computer directly accesses the data cartridge can be used. The purpose is to provide a retry method.
(d) 発明の構成
本発明の構成は書込みデータを記憶する複数の
記憶手段と該記憶手段の一つよりデータを読出し
て書込む手段と該データの書込み中に隣接ストラ
イプを破壊する恐れのあるエラーの発生を検出す
る手段とを設け、一回の起動で書込むデータの最
大量は前記記憶手段の一つの最大容量と同一と
し、第1の記憶手段のデータ書込みが完了しても
該データを消去せずに保持させ、若し第2の記憶
手段のデータ書込み中に隣接ストライプを破壊す
る恐れのあるエラーが発生した場合、第1の記憶
手段に残されているデータにより、該第1の記憶
手段のデータが書込まれている磁気テープのデー
タ領域を始めの位置に回転ヘツドが来る様に磁気
テープを巻戻して再書込みをするようにしたもの
である。又第2の記憶手段のデータ書込みが無事
書込まれた時は第1の記憶手段のデータを消去し
新なデータを記憶させて磁気テープに書込みを行
なわせ、この場合は第2の記憶手段のデータは消
去せずに保持させておき、第1の記憶手段のデー
タ書込み中上記同様のエラーが発生した場合は前
記同様に第2の記憶手段のデータが書込まれてい
る磁気テープのデータ領域の始め迄回転ヘツドの
位置を戻して再書込みするものである。(d) Structure of the Invention The structure of the present invention includes a plurality of storage means for storing write data, a means for reading and writing data from one of the storage means, and a method that may destroy adjacent stripes during writing of the data. The maximum amount of data to be written in one activation is the same as the maximum capacity of one of the storage means, and even if data writing to the first storage means is completed, the data will not be stored. is retained without being erased, and if an error that may destroy adjacent stripes occurs while writing data to the second storage means, the data remaining in the first storage means will cause the first The magnetic tape is rewound and rewritten so that the rotary head returns to the starting position in the data area of the magnetic tape in which the data of the storage means has been written. Also, when data is successfully written in the second storage means, the data in the first storage means is erased and new data is stored and written on the magnetic tape. If an error similar to the above occurs while writing data to the first storage means, the data of the magnetic tape on which the data of the second storage means has been written is saved. The rotary head is moved back to the beginning of the area and rewritten.
(e) 発明の実施例
第4図は本発明の一実施例を示す回路のブロツ
ク図である。ホスト計算機より送られたデータは
インタフエース10を介してバツフアメモリ11
に記憶され、バツフアメモリ11にデータが満杯
になるとバツフアメモリ12にデータが送り込ま
れると共に制御回路13の制御によりマルチプレ
クサ14はバツフアメモリ11のデータをインタ
フエース15を経て書込み回路16に送り制御回
路17の制御によりデータカートリツジ19に格
納されている磁気テープにデータの書込みを行な
う。例えば第5図に示す磁気テープ1の21で示
す領域に書込んだとする。制御部13はバツフア
メモリ11のデータを消去せずに保持させ、バツ
フアメモリ12のデータを前記同様に第5図磁気
テープ1の22で示す領域に書込む。バツフアメ
モリ12のデータ書込みが完了すると制御部13
はバツフアメモリ11のデータを消去し次の新し
いデータをホスト計算機よりバツフアメモリ11
に書込ませ、バツフアメモリ12のデータは消去
せずに保持させる。バツフアメモリ11のデータ
を前記同様第5図23で示す領域に書込み中エラ
ー検出回路18が隣接ストライプを破壊する恐れ
のあるエラーを検出すると、制御回路17、イン
ターフエース15を経て制御回路13へ報告し、
制御回路13は磁気テープ1を第5図矢印で示す
如く領域22の始め迄巻戻すよう指示する。バツ
フアメモリ11又は12の容量はストライプn本
分あるとすれば、エラー発生迄書込んだストライ
プの本数を計数することで磁気テープ1の上記巻
戻しは可能である。制御回路13は消去せずに残
してあるバツフアメモリ12のデータを再度マル
チプレクサ14、インターフエース15を経て書
込み回路16へ送り第5図磁気テープ1の領域2
2の始めより再書込みを行なう。(e) Embodiment of the Invention FIG. 4 is a block diagram of a circuit showing an embodiment of the invention. Data sent from the host computer is sent to buffer memory 11 via interface 10.
When the buffer memory 11 is full of data, the data is sent to the buffer memory 12 and under the control of the control circuit 13 the multiplexer 14 sends the data in the buffer memory 11 to the write circuit 16 via the interface 15 under the control of the control circuit 17. Data is written on the magnetic tape stored in the data cartridge 19. For example, suppose that data is written in the area indicated by 21 on the magnetic tape 1 shown in FIG. The control section 13 causes the data in the buffer memory 11 to be held without erasing it, and writes the data in the buffer memory 12 in the area indicated by 22 on the magnetic tape 1 in FIG. 5 in the same manner as described above. When data writing to the buffer memory 12 is completed, the control unit 13
erases the data in the buffer memory 11 and transfers the next new data from the host computer to the buffer memory 11.
, and the data in the buffer memory 12 is held without being erased. When the error detection circuit 18 detects an error that may destroy adjacent stripes while writing data in the buffer memory 11 to the area shown in FIG. ,
The control circuit 13 instructs the magnetic tape 1 to be rewound to the beginning of the area 22 as indicated by the arrow in FIG. Assuming that the buffer memory 11 or 12 has a capacity for n stripes, it is possible to rewind the magnetic tape 1 by counting the number of stripes written until an error occurs. The control circuit 13 sends the data remaining in the buffer memory 12 without erasing it again to the write circuit 16 via the multiplexer 14 and the interface 15 to area 2 of the magnetic tape 1 in FIG.
Rewriting is performed from the beginning of 2.
尚本実施例はハードウエアで説明したがホスト
計算機の記憶領域を用いソフトウエアで上記動作
を行なわせ得ることは勿論である。 Although this embodiment has been described using hardware, it goes without saying that the above operations can be performed using software using the storage area of the host computer.
またバツフアの数は2つで説明したが、3つ以
上でも同等あるいはそれ以上の効果がある。 Also, although the number of buffers has been explained as two, three or more will have the same or greater effect.
(f) 発明の効果
以上説明した如く本発明はホスト計算機が直接
磁気テープにアクセスする大容量記憶システムに
於て、データ書込み中に発生する隣接ストライプ
を破壊する恐れのあるエラー発生があつても支障
なく再試行する方法を提供し得るため、その効果
は大なるものがある。(f) Effects of the Invention As explained above, the present invention can be used in a mass storage system in which a host computer directly accesses a magnetic tape, even if an error occurs during data writing that may destroy adjacent stripes. The effect is great because it provides a way to retry without any problems.
第1図は磁気テープのフオーマツトを示す図、
第2図は磁気テープのブロツクを説明する図、第
3図はデータセツトを磁気テープに記録する例を
説明する図、第4図は本発明の一実施例を示す回
路のブロツク図、第5図は本発明のデータ記録方
法を説明する図である。
1は磁気テープ、2はIDトラツク、3,3′は
サーボトラツク、4はストライプ、5はブロツ
ク、10,15はインタフエース、11,12は
バツフアメモリ、13,17は制御回路、14は
マルチプレクサ、16は書込み回路、18はエラ
ー検出回路、19はデータカートリツジである。
Figure 1 is a diagram showing the format of magnetic tape.
FIG. 2 is a diagram for explaining blocks of a magnetic tape, FIG. 3 is a diagram for explaining an example of recording a data set on a magnetic tape, FIG. 4 is a block diagram of a circuit showing an embodiment of the present invention, and FIG. The figure is a diagram explaining the data recording method of the present invention. 1 is a magnetic tape, 2 is an ID track, 3 and 3' are servo tracks, 4 is a stripe, 5 is a block, 10 and 15 are interfaces, 11 and 12 are buffer memories, 13 and 17 are control circuits, 14 is a multiplexer, 16 is a write circuit, 18 is an error detection circuit, and 19 is a data cartridge.
Claims (1)
に形成されたストライプに回転ヘツドを用いて記
録又は再生を行う磁気記録再生装置に於て、書込
みデータを記憶する複数の記憶手段と該記憶手段
の一つよりデータを読出して書込む手段と該デー
タの書込み中に隣接ストライプを破壊する恐れの
あるエラーの発生を検出する手段とを設け、一回
の起動で書込むデータの量は前記記憶手段の一つ
の最大容量とし、第1の記憶手段のデータ書込み
が完了しても該データを消去せずに保持させ、第
2の記憶手段のデータ書込み中に隣接ストライプ
を破壊する恐れのあるエラーが発生した場合、前
記第1の記憶手段のデータ記録領域より、前記第
1の記憶手段のデータを用いて再書込みすること
を特徴とする磁気記録再生装置の再試行方法。1. In a magnetic recording and reproducing device that uses a rotating head to record or reproduce data on stripes formed perpendicularly or diagonally to the longitudinal direction of a recording medium, a plurality of storage means for storing written data and a plurality of storage means for storing written data are used. Means for reading and writing data from one stripe and means for detecting the occurrence of an error that may destroy adjacent stripes during writing of the data are provided, and the amount of data written in one activation is determined by the storage means. The maximum capacity of one of the storage means is set to one of the maximum capacities, and the data is retained without being erased even after data writing to the first storage means is completed, and an error that may destroy adjacent stripes is prevented during data writing to the second storage means. 1. A retry method for a magnetic recording/reproducing apparatus, characterized in that, if this occurs, rewriting is performed from a data recording area of the first storage means using the data of the first storage means.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5925982A JPS58177507A (en) | 1982-04-09 | 1982-04-09 | Retrying method of magnetic recording and reproducing device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5925982A JPS58177507A (en) | 1982-04-09 | 1982-04-09 | Retrying method of magnetic recording and reproducing device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS58177507A JPS58177507A (en) | 1983-10-18 |
| JPH0156463B2 true JPH0156463B2 (en) | 1989-11-30 |
Family
ID=13108192
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP5925982A Granted JPS58177507A (en) | 1982-04-09 | 1982-04-09 | Retrying method of magnetic recording and reproducing device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS58177507A (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US4704641A (en) * | 1985-04-12 | 1987-11-03 | American Telephone And Telegraph Company, At&T Bell Laboratories | Recovery of stored data from mutilated tape data blocks |
-
1982
- 1982-04-09 JP JP5925982A patent/JPS58177507A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS58177507A (en) | 1983-10-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5297124A (en) | Tape drive emulation system for a disk drive | |
| NL193177B (en) | Method and device for recording information on an optical disk. | |
| US5982572A (en) | Method and apparatus for enabling fast access to a logical block on a tape medium | |
| US7062682B2 (en) | Data recorder and data recording method avoiding data loss due to data transfer error | |
| JPH0156463B2 (en) | ||
| JP3632213B2 (en) | Signal processing device | |
| JPH0156465B2 (en) | ||
| JPH0156464B2 (en) | ||
| Damron et al. | A random access terabit magnetic memory | |
| JP3104188B2 (en) | Data recorder | |
| JP4626059B2 (en) | Recording / playback device | |
| JPH02113467A (en) | Disk control method | |
| CN121644753A (en) | Video storage method, video reading method, magnetic disk and electronic equipment | |
| JPS63195873A (en) | Information recording and reproducing method on rotating information recording medium | |
| JPS6238794B2 (en) | ||
| JPH0254584B2 (en) | ||
| JPH04205132A (en) | How to control a magnetic tape device | |
| JPH01227273A (en) | File format method | |
| JPH03137876A (en) | Data recording system of rotary head type tape recorder | |
| JPH0554537A (en) | Digital data recording and reproducing device | |
| JPH07262701A (en) | Optical information storage device | |
| JPH03276457A (en) | Rewritable optical disc device | |
| JPH0240173A (en) | External memory device | |
| JPH08180603A (en) | Magnetic tape processing device | |
| JPH0469880A (en) | Magnetic tape storage device |