JP2008010051A - Magnetic tape device - Google Patents
Magnetic tape device Download PDFInfo
- Publication number
- JP2008010051A JP2008010051A JP2006177833A JP2006177833A JP2008010051A JP 2008010051 A JP2008010051 A JP 2008010051A JP 2006177833 A JP2006177833 A JP 2006177833A JP 2006177833 A JP2006177833 A JP 2006177833A JP 2008010051 A JP2008010051 A JP 2008010051A
- Authority
- JP
- Japan
- Prior art keywords
- data
- magnetic tape
- written
- read
- magnetic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、磁気テープ装置に係り、特にデータの書き込み及び読み出しの方法に関する。 The present invention relates to a magnetic tape device, and more particularly to a method for writing and reading data.
サーバーシステムのバックアップデバイスとして、大容量で高速アクセス可能なカートリッジ式磁気テープ装置が用いられている。カートリッジ式磁気テープ装置の記録方式には、磁気テープの走行方向に対して直線的に記録を行うシーケンシャル記録方式が採用されている。サーバーシステムの大容量化に伴い、磁気テープ装置へのバックアップ処理あるいはリストア処理が長時間化しており、バックアップ処理あるいはリストア処理の失敗による再実行が困難となっている。特許文献1には、データにエラー訂正符号を付加することによりエラーがあってもエラーリトライせずにそのエラーを復元すると共に、第1のデータバッファと第2のデータバッファを設けることによりデータバッファに対するアクセスを少なくすることで、エラー訂正演算処理のためにテープ走行を停止せずに、エラー訂正を行いながらストリーミング走行を可能とする技術が開示されている。
As a backup device for a server system, a cartridge type magnetic tape device capable of high-capacity and high speed access is used. As a recording system of the cartridge type magnetic tape apparatus, a sequential recording system that performs linear recording with respect to the traveling direction of the magnetic tape is employed. As the capacity of the server system is increased, backup processing or restoration processing to the magnetic tape device is taking a long time, and re-execution due to failure of the backup processing or restoration processing becomes difficult. In
磁気テープのデータ再生時にエラーが発生した場合、エラー訂正処理や読み出しリトライ処理で復元できる場合があるが、磁気ヘッドに塵埃等が付着して一時的に汚れが発生した場合や磁気テープに傷が発生した場合は、エラー訂正処理や読み出しリトライ処理ではデータを再生できない場合がある。また、読み出しリトライ処理は、読み出しができなかった部分に磁気テープを巻き戻して位置合わせを行った後、再度読み出す必要があるため、処理速度低下の要因となる。 If an error occurs during data reproduction on the magnetic tape, it may be recovered by error correction processing or read retry processing. However, if the magnetic head is temporarily contaminated with dust or the like, or the magnetic tape is scratched. If this occurs, data may not be reproduced by error correction processing or read retry processing. In addition, the read retry process causes a reduction in processing speed because it is necessary to read out again after rewinding the magnetic tape to a portion where reading could not be performed and performing alignment.
本発明の目的は、データ再生時の処理速度の低下を抑えた磁気テープ装置を提供することである。 An object of the present invention is to provide a magnetic tape device that suppresses a decrease in processing speed during data reproduction.
磁気テープと非接触型メモリを内蔵する磁気テープカートリッジに対してデータの書き込み及び読み出しを行う、本発明の磁気テープ装置においては、
書き込みヘッドと読み出しヘッドを備えた複数の磁気ヘッドと、
前記非接触型メモリに対する前記磁気テープの管理情報の書き込みを行うセンサ部と、
前記複数の磁気ヘッド及びセンサ部を制御する制御部と、を有し、
前記制御部の制御の基に、前記複数の磁気ヘッドのうちの2個の磁気ヘッドを用いて前記磁気テープに同一のデータを二重に書き込み、磁気テープに二重書きしたことを示す情報を前記非接触型メモリに書き込むことを特徴とする。
前記二重書きは、前記磁気テープの走行方向に対して平行に行われるのが望ましい。
前記二重書きしたデータを前記磁気ヘッドを用いて読み出し、読み出したデータから書き込みエラーが発生していることを検出した場合、書き込みエラーが発生した磁気ヘッドに代えて前記複数の磁気ヘッドのうちの他の磁気ヘッドを用いてデータの二重書きを行い、前記非接触型メモリに磁気ヘッドを変更したことを示す情報を書き込む。
前記磁気テープカートリッジからデータを読み出す場合、前記センサ部により前記非接触型メモリの管理情報を読み出して前記磁気テープに書き込まれたデータが二重書きされたものかどうかを判定し、二重書きされたものである場合には前記2個の磁気ヘッドにより二重書きされたデータを読み出し、二重書きされたデータのうち片方しか読み出せない場合にはその片方のデータを読み出すようにする。
前記二重書きされたデータが両方とも読み出せない場合には、読み出しリトライ処理を実行する。
In the magnetic tape device of the present invention for writing and reading data to and from a magnetic tape cartridge containing a magnetic tape and a non-contact type memory,
A plurality of magnetic heads comprising a write head and a read head;
A sensor unit for writing management information of the magnetic tape to the non-contact type memory;
A control unit for controlling the plurality of magnetic heads and the sensor unit,
Under the control of the control unit, information indicating that the same data is written twice on the magnetic tape using two of the plurality of magnetic heads, and information is written on the magnetic tape. Writing to the non-contact type memory.
The double writing is preferably performed in parallel with the traveling direction of the magnetic tape.
When the double-written data is read using the magnetic head and it is detected that a write error has occurred from the read data, the magnetic head of the plurality of magnetic heads is replaced with the magnetic head in which the write error has occurred. Data is written twice using another magnetic head, and information indicating that the magnetic head has been changed is written in the non-contact type memory.
When reading data from the magnetic tape cartridge, the sensor unit reads out the management information of the non-contact type memory to determine whether the data written on the magnetic tape is double-written, and is double-written. If the data is double, the data written in duplicate by the two magnetic heads is read out. If only one of the data written in the double can be read out, one of the data is read out.
If both of the double-written data cannot be read, a read retry process is executed.
本発明によれば、磁気テープにデータを二重化して書き込むことにより、磁気ヘッドに一時的な汚れがある場合でも、どちらかのヘッドが問題なければ書き込み及び読み出しを行うことができる。また、磁気テープに傷がある場合でも、どちらかのデータが読み出せれば、データを再生することができる。さらに、読み出しリトライ回数を低減できるので、処理速度の低下を抑えることができる。 According to the present invention, by writing data on a magnetic tape in duplicate, even if the magnetic head is temporarily contaminated, writing and reading can be performed if either head is satisfactory. Even if the magnetic tape is scratched, data can be reproduced if either data can be read. Furthermore, since the number of read retries can be reduced, a decrease in processing speed can be suppressed.
図2は、本発明の実施例による磁気テープ装置(磁気テープドライブ)をバックアップデバイスとするサーバーシステムのブロック図である。磁気テープドライブ4に記録媒体として装填される磁気テープカートリッジ1は、磁気テープ2と非接触型メモリ3を内蔵している。磁気テープドライブ4は、磁気テープカートリッジ1の磁気テープ2に対して、磁気的に書き込み/読み出しが出来る磁気ヘッド5と、非接触型メモリ3に対して無線通信で書き込み/読み出しが出来るセンサ部7を備えたRFインターフェース6と、それらを制御するドライブ制御部(制御部)8とを有している。サーバー等のシステム装置9は、CPU10と、メモリ11と、ハードディスク装置12とを有している。
FIG. 2 is a block diagram of a server system using a magnetic tape device (magnetic tape drive) according to an embodiment of the present invention as a backup device. A
図3は、磁気テープカートリッジ1の内部を透視で示す外観図である。磁気テープカートリッジ1の内部には磁気テープ2が収納されており、また磁気テープ1の管理情報を記録するための非接触型メモリ3が内蔵されている。非接触型メモリ3は例えば非接触型ICカード等であり、無線通信機能をもつRFインターフェースにより非接触で書き込み/読み出しが出来るものである。
FIG. 3 is an external view showing the inside of the
図2に示すシステムにおいて、システム装置9から磁気テープドライブ4に対して、データの書き込みあるいは読み出しの指示が出され、磁気テープ2に対してデータの記録あるいは再生が行われる。システム装置9から磁気テープドライブ4に対してデータの書き込みが指示されると、システム装置9から磁気テープドライブ4にデータが転送され、ドライブ制御部8の指示により磁気ヘッド5による磁気テープ2への書き込みが始まる。その際、同一のデータを二カ所に書き込むことでデータの二重化が行われる。データを二重化して書き込んだとき、データを二重化したことを示す情報を、RFインターフェース6に備え付けたセンサ部7により、非接触型メモリ3に書き込む。具体的には、非接触型メモリ3にデータの二重書き込みをしたというフラグを立てる。
In the system shown in FIG. 2, an instruction to write or read data is issued from the system device 9 to the magnetic tape drive 4, and data recording or reproduction is performed on the
システム装置9から磁気テープドライブ4に対してデータの読み出しが指示された場合は、RFインターフェース6のセンサ部7により非接触型メモリ3の記録内容を読み出し、データの二重化書き込みのフラグが立っているか確認し、磁気ヘッド5により磁気テープ2からデータを読み出す。このとき、二重化したデータのうち片方のデータだけでも読み出せれば継続してデータを読み出して、システム装置9へデータを転送する。
When the system device 9 instructs the magnetic tape drive 4 to read data, the recorded content of the non-contact type memory 3 is read by the
図1は、磁気テープ2のデータフォーマットと磁気ヘッド5の関係を示す図である。磁気ヘッド5は、書き込みヘッドとa読み出しヘッドbで構成され、磁気テープ2の幅方向に複数個配置されている。図1では、2個の磁気ヘッド5が示されており、書き込みヘッドは13a、14aで示され、読み出しヘッドは13b、14bで示されている。勿論、2個以上の磁気ヘッド5を配置することができる。書き込みヘッド13a及び14aにより、磁気テープ2に対してデータブロックA,B,C,D単位で同一データが二カ所に書き込まれる。図1では、磁気テープ2の走行方向に平行に書き込まれており、これにより、データの二重化が行われる。また、書き込みヘッド13a及び14aで書き込んだデータを読み出しヘッド13b及び14bで読み出すことにより、書き込みエラーが発生しているかどうかをチェックすることができる。
FIG. 1 is a diagram showing the relationship between the data format of the
図4は、図2に示すシステムにおいて、システム装置9から磁気テープ2へデータを書き込むときの処理を示すフローチャートである。図4を参照して、システム装置9から磁気テープドライブ4に対して、磁気テープカートリッジ1への書き込み指示が出された場合の処理を具体的に説明する。まず、システム装置9から磁気テープドライブ4に、書き込むべきデータが転送される(ステップ401)。次に、ドライブ制御装置8の制御の基に、磁気ヘッド5により磁気テープ2に対して同一データを二カ所に書き込む(ステップ402)。磁気テープ2にデータを二重化して書き込んだ後、RFインターフェース6のセンサ部7により、二重化書き込みを示すフラグを非接触型メモリ3に書き込む(ステップ403)。ここで、書き込んだデータを読み出しヘッド13b及び14bにより読み出し、書き込みエラーが発生したかどうか確認する(ステップ404)。書き込みエラーが発生していない場合は、正常終了となる。
FIG. 4 is a flowchart showing processing when data is written from the system apparatus 9 to the
書き込みエラーが発生している場合は、以前の書き込みも含めてエラーが発生していない磁気ヘッド5が2個以上残っているかどうかを確認する(ステップ405)。書き込みエラーが発生していない磁気ヘッド5が2個以上ある場合、書き込みエラーが発生した磁気ヘッド5は使用せずに、書き込みエラーが発生していない磁気ヘッド5を用いてデータの二重化書き込みを行い、データの二重化書き込みと変更した磁気ヘッド5を示すフラグを非接触型メモリに書き込む(ステップ406)。二重化書き込みした全ての磁気ヘッド5で書き込みエラーが発生している場合は、書き込みエラー処理を行う(407)。書き込みエラー処理としては、磁気ヘッドの自動清掃機能がある場合には磁気ヘッドの自動清掃を行い、自動清掃機能がない場合は、オペレータに磁気ヘッドの清掃が必要であることを警告する等の処理がある。
If a write error has occurred, it is checked whether or not there are two or more
図5は、システム装置9が磁気テープ2からデータを読み出すときの処理を示すフローチャートである。システム装置9から磁気テープドライブ4へデータの読み出し指示が出されると(ステップ501)、RFインターフェース6のセンサ部7により非接触型メモリ3の記録内容を読み出し、二重化書き込みを示すフラグがあるかどうかを確認する(ステップ502)。フラグがある場合は、磁気ヘッド5により磁気テープ2からデータを読み出せるかどうかを判定する(ステップ503)。この判定は、磁気ヘッド5の再生出力が所定のレベルに達しているかどうかで判定することができる。読み出せる場合は磁気テープ2から二重化したデータを読み出し(ステップ504)、システム装置9へとデータを転送する。
FIG. 5 is a flowchart showing processing when the system device 9 reads data from the
ステップ503において、読み出せない磁気ヘッドがある場合、二重化したデータの片方だけでも読み出せるかどうかを判定し(ステップ505)、読み出せる磁気ヘッドがある場合は、その読み出せる磁気ヘッド5により磁気テープ2からデータを読み出し(ステップ506)、システム装置9へとデータを転送する。ステップ505において、いずれの磁気ヘッドからも完全に読み出せない場合は、読み出しエラー処理をおこなう(ステップ507)。この場合の読み出しエラー処理とは、例えば読み出しリトライ処理である。ステップ506において、読み出したデータにエラーが発生していて正しく再生できない場合には、ステップ507においてエラー訂正処理を行う。ステップ502において、二重化書き込みを示すフラグがない場合は、通常の書き込み処理として認識し、通常の読み出し処理を実行する(ステップ508)。
In
上記実施例によれば、データを二重化して書き込むので、磁気ヘッドに一時的な汚れがある場合でも、どちらかのヘッドが問題なければ書き込み及び読み出しを行うことができる。また、磁気テープに傷がある場合でも、どちらかのデータが読み出せれば、データを再生することができる。さらに、読み出しリトライ回数を低減できるので、処理速度の低下を抑えることができる。 According to the above embodiment, data is written in duplicate, so that even if the magnetic head is temporarily contaminated, writing and reading can be performed if either head has no problem. Even if the magnetic tape is scratched, data can be reproduced if either data can be read. Furthermore, since the number of read retries can be reduced, a decrease in processing speed can be suppressed.
1…磁気テープカートリッジ、
2…磁気テープ、
3…非接触型メモリ、
4…磁気テープドライブ、
5…磁気ヘッド、
6…RFインターフェース、
7…センサ部、
8…ドライブ制御部、
9…システム装置、
10…CPU、
11…メモリ、
12…ハードディスク装置、
13a,14a…書き込みヘッド、
13b,14b…読み出しヘッド。
1 ... Magnetic tape cartridge,
2 ... Magnetic tape,
3 ... Non-contact memory,
4 ... Magnetic tape drive,
5 ... Magnetic head,
6… RF interface,
7 ... sensor part,
8 ... Drive controller,
9 ... System device,
10 ... CPU,
11 ... Memory,
12. Hard disk device,
13a, 14a ... write head,
13b, 14b... Read head.
Claims (5)
書き込みヘッドと読み出しヘッドを備えた複数の磁気ヘッドと、
前記非接触型メモリに対する前記磁気テープの管理情報の書き込みを行うセンサ部と、
前記複数の磁気ヘッド及びセンサ部を制御する制御部と、を有し、
前記制御部の制御の基に、前記複数の磁気ヘッドのうちの2個の磁気ヘッドを用いて前記磁気テープに同一のデータを二重に書き込み、磁気テープに二重書きしたことを示す情報を前記非接触型メモリに書き込むことを特徴とする磁気テープ装置。 In a magnetic tape device for writing and reading data to and from a magnetic tape cartridge containing a magnetic tape and a non-contact type memory,
A plurality of magnetic heads comprising a write head and a read head;
A sensor unit for writing management information of the magnetic tape to the non-contact type memory;
A control unit for controlling the plurality of magnetic heads and the sensor unit,
Under the control of the control unit, information indicating that the same data is written twice on the magnetic tape using two of the plurality of magnetic heads, and information is written on the magnetic tape. A magnetic tape device for writing into the non-contact type memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006177833A JP2008010051A (en) | 2006-06-28 | 2006-06-28 | Magnetic tape device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006177833A JP2008010051A (en) | 2006-06-28 | 2006-06-28 | Magnetic tape device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008010051A true JP2008010051A (en) | 2008-01-17 |
Family
ID=39068120
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006177833A Pending JP2008010051A (en) | 2006-06-28 | 2006-06-28 | Magnetic tape device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008010051A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015146223A (en) * | 2014-02-04 | 2015-08-13 | 幸彦 天木 | Data management system, and data management method |
-
2006
- 2006-06-28 JP JP2006177833A patent/JP2008010051A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015146223A (en) * | 2014-02-04 | 2015-08-13 | 幸彦 天木 | Data management system, and data management method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7423828B2 (en) | Off-track write error recovery | |
US8638514B2 (en) | Information recording device and information recording method | |
KR100858469B1 (en) | Magnetic disk control apparatus, magnetic disk apparatus, and method of correcting read error | |
US9304930B2 (en) | HDD write buffer zone for vibration condition | |
US20110202791A1 (en) | Storage control device , a storage system, a storage control method and a program thereof | |
JP2004206795A (en) | Disk storage device and light control method | |
JP2007280226A (en) | Control method of raid system, raid system, and control program of raid system | |
JP2008010051A (en) | Magnetic tape device | |
JP6799752B2 (en) | Optical disk device, optical disk reading method | |
JP5621801B2 (en) | Magnetic disk control device, magnetic disk device, and magnetic disk control method | |
JP5537593B2 (en) | Data recording method, data recording apparatus, and recording medium | |
JP5056081B2 (en) | Magnetic tape device and data recording method | |
JP2007122263A (en) | Information processor and method for controlling information processor | |
JP2003186627A (en) | Data backup control system for magnetic tape device | |
JP2002042303A (en) | Magnetic disk device and error-processing method of magnetic disk device | |
JP2779540B2 (en) | Magnetic tape unit | |
JP4780331B2 (en) | Disk array system | |
JPH0935417A (en) | Method and device for backing up temporary storage information for information memory | |
CN1851816B (en) | Information processing apparatus and method | |
JP2006277355A (en) | Path switching system and method for backup system | |
JP2008262673A (en) | Non-chronological av-stream recording | |
JP2010135034A (en) | Information recording/reproducing device | |
JPS63195877A (en) | Data recording and reproducing system | |
JP2008129619A (en) | Data storage device and data storage method | |
JPH0384778A (en) | Data check retrial system |