JP3705048B2 - Data writing control method for magnetic tape device and magnetic tape device - Google Patents

Data writing control method for magnetic tape device and magnetic tape device Download PDF

Info

Publication number
JP3705048B2
JP3705048B2 JP31474899A JP31474899A JP3705048B2 JP 3705048 B2 JP3705048 B2 JP 3705048B2 JP 31474899 A JP31474899 A JP 31474899A JP 31474899 A JP31474899 A JP 31474899A JP 3705048 B2 JP3705048 B2 JP 3705048B2
Authority
JP
Japan
Prior art keywords
data
magnetic tape
tape
air
writing
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 - Fee Related
Application number
JP31474899A
Other languages
Japanese (ja)
Other versions
JP2001135041A (en
Inventor
彰一 芹澤
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP31474899A priority Critical patent/JP3705048B2/en
Publication of JP2001135041A publication Critical patent/JP2001135041A/en
Application granted granted Critical
Publication of JP3705048B2 publication Critical patent/JP3705048B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、磁気テープ装置に関し、特に磁気テープ装置における書込みエラー時のエラーリトライ方法に関する。
【0002】
【従来の技術】
磁気テープ装置でのデータの書込み制御方式に関して、JIS等の規格に従えば、データの書込み時に書込みエラーが発生した場合、テープを巻き戻し、書込みエラーが発生した位置から(規格に従ってある一定の区間)イレーズパターンを書込んで、エラーが発生したテープ上の領域をスキップさせて、再度の書込み処理を行う。
【0003】
再度の書込み処理にて、再び書込みエラーが発生した場合、同様にエラーが発生したテープ上の領域にイレーズパターンを書込んで、テープ上のエラーの領域をスキップして、再度書込み処理を行う。以上の再書込み処理を規定回数行い(イレーズパターンの連続書込み回数は、規格にて決められている)、それでもエラーが回復しない場合は、書込みエラーを制御装置に報告し処理を中断する。
前述のJIS規格としては、JIS_X6135がある。
【0004】
また、特開平8−45520号公報では、書込みエラー発生時の回避方法として大まかに、
▲1▼書込みデータブロックの大きさを変える。
▲2▼密度IDパターン長を変化させる。
▲3▼テープ先端部のボリュームID書込み後にイレーズパターンを書込む。
▲4▼イレーズパターンを書込む長さを変化させる。
▲5▼ダミーブロックを書込む。
▲6▼エラー発生位置を中心に、テープを前後に往復走行させる。
▲7▼ヘッド部分からのエアーの吹き出し量を変化させる。
等の様々なエラー救済方法を提示している。
【0005】
【発明が解決しようとする課題】
磁気テープ装置でのデータ書込み時に、書込みエラーが発生する原因としては、
1.テープ媒体上のキズ
2.ごみ等の付着
が主な要因として挙げられる。
【0006】
媒体上のキズに起因する書込みエラーがあった場合には、従来技術に依る再書込み方式で、書込みエラーを救うことが出来る。即ち、テープ媒体上のキズは、通常ならほんの僅かでしかないから、イレーズパターンを書込んでエラーが発生したテープ媒体の場所をスキップさせれば、キズの位置を外れるので、再書込みにてデータを正しく書込むことが出来る。
【0007】
しかし、ごみに起因する書込みエラーの場合には、従来技術に依るエラーリトライ方式では、書込みエラーを救えない可能性がある。テープ媒体へのデータの読み書きは、テープ媒体と磁気ヘッドが常に接触して行っている。また、テープ媒体に付着したごみは、通常は、磁気ヘッドの前に設置されているテープクリーナによって取り除かれる。しかし、粘着性のあるごみは、このテープクリーナで除去できない場合がある。特開平8−45520号公報の公知例の様にテープをエラー発生位置を中心に前後に走行させたり、ヘッドのエアー吹き出し量を変化させる方法でも、粘着性のあるごみはなかなか取り除くことが出来ない。
【0008】
そのため、書込み動作時に粘着性のあるごみが磁気ヘッドに粘り付き、ヘッド周辺に溜まってしまう。この磁気ヘッドの汚れにより、常に書込みエラーが発生してしまう可能性がある。この場合、エラーリトライ動作が常に実行されるので、処理時間が非常に長くなってしまうという問題がある。また、エラーリトライによって、イレーズパターンの書込み領域が、長大(最大)になるという問題もある。これは、無駄な領域(イレーズパターン書込みエリア)を浪費してしまうことになるので、記憶容量的にも効率が悪くなってしまう。更にヘッドが汚れたままのリトライであるので、時間を掛けてリトライを行っても、書込みエラーを救えない可能性がある。
【0009】
本発明の目的は、磁気テープ装置でのデータ書込み時における書込みエラー発生時の再書込み方法に関し、粘着性のあるごみの磁気ヘッドへの付着による書込みエラーにも対処可能な、データ書込み制御処理方式及び、書込みエラーのリトライ方式及びこれらを用いた磁気テープ装置を提供することにある。
【0010】
また、合わせて、簡素なエラーリトライ方式を提供することにより、リトライの所用時間を短縮することにある。
【0011】
更に、書込みエラーを救うことで、テープ上の無駄なイレーズパターンの領域を減らし、テープ記憶容量を有効に使用することにある。
【0012】
【課題を解決するための手段】
本発明の目的を達成する為に、テープ媒体へのデータ書込み処理において、書込みエラーが発生した場合、書込みエラーが発生したデータブロックの先頭へ再位置付けする。このBSB(Back Space Block)動作は、ヘッドからのエアー吹き出しを止めて、テープと磁気ヘッドを密着させた状態で行うことを特徴とする。粘着性のあるごみに起因する書込みエラーの場合、このヘッドからのエアー吹き出しを止めた状態でのテープのBSB動作により、磁気ヘッドに付着したごみを移動させる効果、あるいは、振り落とす効果がある。その後、データの再書込み処理を行なうことで、確実にデータの書込みが出来る。このBSB動作を含む再書込みを規定回数行なっても書込みエラーが回復しない場合、書込みエラーの発生原因は磁気ヘッド周辺に溜まったごみでは無く、テープ媒体のキズであると判断する。
【0013】
この場合、同じくBSB動作にてエラーが発生したデータブロックの先頭に再位置付けした後、従来と同じくイレーズパターンを書込んで、テープ媒体上のエラーが発生した領域をスキップさせる。その後、データの再書込み処理を行う。テープ媒体上のキズに起因する書込みエラーは、本手段で救う事が可能である。この簡単なリトライ動作は、リトライに長い時間を必要としない利点も併せ持つ。
【0014】
本発明による書込み/リトライ制御においては、先にイレーズパターン書込みによる書込みエラーの救済を行なわないのが特徴である。イレーズパターンの書込みによるエラーリトライを先に行なってしまうと、粘着性のあるごみが原因の場合、リトライに長時間掛かってしまうばかりでなく、エラーが救えない可能性があるからである。
【0015】
【発明の実施の形態】
以下、本発明の一実施例を、図1から図13により説明する。図1に、本発明である磁気テープ装置のデータ書込み制御処理方式に依るデータ書込み制御フローチャートを示す。図2に、磁気テープ装置(テープデッキ)の一般的な構成(部品の配置)とテープクリーナの構造を示す。図3に、粘着性のあるごみが付着した磁気ヘッドの状態と本発明の効果を示す。図4に、磁気テープサブシステムの論理回路構成を示す。
【0016】
図5から図11に、磁気ヘッドに粘着性のあるごみが付着した場合の、従来方式で書込んだ場合の書込みフォーマットと、本発明のデータ書込み制御処理方式を用いて書込んだ場合の書込みフォーマットを示す。
【0017】
図12及び図13に、本発明のデータ書込み制御処理方式を用いた場合の、テープ媒体にキズがあった場合のデータ書込みフォーマットを示す。
【0018】
図1は、本発明によるデータ書込み制御フローチャートである。データの書込み要求が、CPU等の上位装置より磁気テープ装置の制御装置に要求される(1)と、磁気テープへのデータの書込みが行われる(2)。データを書込んだ結果(3)、エラーが無ければ、データ書込みの要求は正常終了となり、上位装置からの次の要求を待つ(14)。書込みエラーが検出された場合は、データを書込んだ領域(Block)の先頭にテープを巻き戻す(4)。
【0019】
この時、磁気ヘッドからのエアーの吹き出しは止めた状態で行なう。そして、再度データの書込みを行なう(5)。書込みエラーのチェックを行い(6)、エラーが無ければ、データ書込みの要求は正常終了となり、上位装置からの次の要求を待つ(14)。再び書込みエラーが検出された場合は、エアー吹き出しを止めた状態でのBSB動作の回数がチェックされ(7)、設定した回数以内であれば、再びデータを書込んだ領域(Block)の先頭にヘッドからのエアー吹き出しを止めた状態でテープを巻き戻し(4)、そこから再度データの書込みを行なう(5)。
【0020】
以上の(4)〜(7)を設定した回数行なっても、書込みエラーが回復しない場合(設定した回数を越えたら)、データを書込んだ領域(Block)の先頭にテープを巻き戻し(8)、イレーズパターンを書込み、エラーがあった領域をスキップさせる。その後に改めて、データを書き直す(9)。イレーズパターンを書込んだことを示すカウンタを加算し、イレーズパターンの連続書込み回数を管理する(10)。(イレーズパターンの連続書込み回数は、JIS等の規格で定められており、50回となっている。)ここで、イレーズパターンに続いて書込んだデータについて、書込みエラーの有無がチェックされる(11)。エラーが無ければ、先程と同じく、データ書込みの要求は正常終了となり、上位装置からの次の要求を待つ(14)。この時、イレーズパターン書込みカウンタは、リセットされる。
【0021】
再び書込みエラーが検出された場合は、イレーズパターンの連続書込み回数がチェックされ(12)、許容される回数以内であれば、再びデータを書込んだ領域(Block)の先頭にテープを巻き戻し(8)、そこからイレーズパターンを書込んで、エラーがあった領域をスキップさせる。その後に改めて、データを書き直す(9)。イレーズパターンを書込んだ事を示すカウンタを加算し(10)、イレーズパターンの連続書込み回数を加算する。イレーズパターンの連続書込みの規定回数以内に書込みエラーが回復した場合は、データ書込みの要求は正常終了とし、上位装置からの次の要求を待つ(14)。イレーズパターン書込みカウンタは、リセットされる。書込みエラーが回復しなかった場合は、JOBを中断し、書込みエラーを上位装置に報告して終了する(14)。
【0022】
図2は、テープデッキの一般的な構成とテープクリーナの構造である。磁気テープがテープデッキ20に装填されると、テープ(リーダーブロック)は自動でマシンリール26へロードされる。磁気テープファイルリール21からマシンリール26の間には、テープのテンションバッファ22、テープクリーナ23、ヘッドガイド24、磁気ヘッド25がある。テープクリーナ23は、磁気テープに付着したごみを取り去る役目を持っている。図2に示す通り、テープ表面のごみを掻き取る構造をしており、効率良くごみを取り去る為、負圧のエアー(吸い込み)を掛けて(31)、テープクリーナにテープ媒体が密着する様にしている(32)。
【0023】
磁気ヘッド25には、エアーの吹き出し口が有り、通常、テープへの書込み/読み出し以外のロケート動作の時にエアーを吹き出して、磁気ヘッドからテープ媒体を浮き上がらせる(密着させない)様にしている。テープクリーナ23や磁気ヘッド25へのエアーは、エアーポンプ27から送られる。
【0024】
図3に粘着性のあるごみが付着した磁気ヘッドの状態を示す。粘着性のあるごみは、磁気ヘッドの突端付近に付着し易い(41)。従来の動作では、データの書込み/読み出し以外のテープのロケート動作では、ヘッドからエアーを吹き出してテープとヘッドを接触させない様に制御している(42)。これは、ヘッド及びテープ媒体自身の無用な摩耗を防ぐ為である。
【0025】
しかし、粘着性のあるごみがヘッドに付着したままでのデータ書込み/読み出し動作は、いくらリトライを行なっても救える可能性が低い。したがって、エラーが発生したら、まずヘッドの汚れを疑う。データの再書込みの為にBSBコマンドでテープを巻き戻す(45)際に、ヘッドからのエアー吹き出しを止め、テープ媒体とヘッドが密着する様に制御する(44)。すると、粘着性のあるごみは、テープの走行方向へ移動し、ヘッドの突端付近には無くなっていく(43)。移動したごみは、ある程度の固まりになって吹き飛んでしまうものもある。
【0026】
図4に磁気テープサブシステムの論理回路の構成を示す。書込みデータは、CPU72から磁気テープサブシステムの制御装置(MTC)のチャネルIF80へ送られる。MTCでは、書き込みデータはチャネルIF80から、データ圧縮81、データバッファ82を経由して、ドライブIF83から磁気テープ装置(MTU)へ送られる。MTCを制御するマイクロプログラムは、フロッピーディスク(FD84)から読み込みプログラムメモリ86にロードされる。このプログラムにより、MTCのマイクロプロセッサ(MP85)がMTCの各論理回路を制御する。
【0027】
一方、MTUもマイクロプログラムで制御される。そのプログラムは、MTCのFD84に共用で格納されており、MTCのドライブIF83とMTUのドライブIF96を介して、MTUのプログラムメモリ88に格納される。
【0028】
MTUには、マシンリールモータ90やファイルリールモータ91などを制御するサーボマイクロプロセッサ(MP89)とそれ以外のI/Oコントロール92やエアーポンプ91などを制御するMTUマイクロプロセッサ(MP87)の2つのプロセッサが搭載されており、お互いが通信しながら連係してMTUを制御している。
【0029】
MTCからの書込みデータは、MTUのドライブIF96経由でWR/RDアンプ95から磁気ヘッド94を経てテープへ書込まれる。読取りデータはこの逆の経路を通ってCPU72へ送られる。
【0030】
図2のテープデッキ20は、図4のMTUの論理構成で制御され、図1のデータ書込み制御のマイクロプログラムは、MTUのMP87及びサーボMP89で実行される。
【0031】
以上のデータ書込み制御方式を用いて、図2の装置構成でのデータ書込み手順とテープ上のフォーマットを、図5から図11にて説明する。カートリッジテープをテープデッキ20に装填すると、カートリッジテープ自体がファールリール21となり、テープ走行経路(30)に沿って、マシンリール26に巻き付く。走行経路(30)の途中にあるテープクリーナ23は、テープに付着したごみを取り除く役目を果たす。図2に示す様に、ごみを掻き取る形をしており、内部は空洞状でエアーを吸い出す構造になっている。これにより、テープクリーナとテープ媒体とを密着させて、確実にごみを取り除く様にしている。
【0032】
通常のごみやホコリ程度のものならば、このテープクリーナで吸い取られて、ヘッドを汚すことは無い。しかし、粘着性のあるごみの場合は、テープクリーナのエッジの部分にこびり付いてしまう。ある程度こびり付くと、テープクリーナの先に位置するヘッドガイド24や磁気ヘッド25にこびり付き始めてしまう。テープクリーナのエアーでは、粘着性のあるごみは、吸い取ることが出来ない。
【0033】
磁気ヘッド25は、エアーを吹き出す構造で、テープをロケートする場合(データの読み書き以外)は、エアーを吹き出してテープ媒体をヘッドと密着させない様になっているが、データを読み書きする時は密着させる為、読み出し/書込みを繰り返していると、ヘッドに粘着性のあるごみが溜まってきてしまう。この状態を図3に示す。ごみは、磁気ヘッド、WRヘッド47とRDヘッド48それぞれの最頂部に溜まる(41)。
【0034】
この状態で従来方法でのデータの書込みを行なう場合を、図5から図7に示す。図5にて、IBG(52)の次にBLKb(53)を書き足そうとするが、磁気ヘッド25が粘着性のあるごみで汚れているので、書込みに失敗する。リトライにより、BLK(54)の位置にはイレーズパターン(以下ERG)a(54) とIBG(55)が書込まれる。IBG(55)に続いてBLKb(56)の再書込みを行なうが(図6)、磁気ヘッド25に付着した汚れが取れていない為、またも失敗する。以後はこの繰り返しで、規定回数イレーズパターンを書込んだ状態で、イレーズパターンの連続書込みの規定回数に達して、リトライは終了、書込みはABENDとなる(図7)。
【0035】
本発明の方法によるデータの書込みを図8から図11に示す。従来の方法と同じく、図8にてIBG(52)の次にBLKb(53)を書き足そうとするが、磁気ヘッド25が粘着性のあるごみで汚れているので、書込みに失敗する(図9)。そこで、リトライによるテープのBSB動作を、磁気ヘッド25からのエアーの吹き出しを止めた状態にて行なう。すると、ヘッド上のごみは、図3の(43)に示す様に、テープの走行方向へ移動する。BSB動作後、BLKb(53)を書込む位置にテープを位置付け(図10)、BLKbの再書込みを行なう(図11)。先程のエアーを止めたBSB動作により、磁気ヘッド25上の粘着性のあるごみは、ヘッド突端から移動しており、BLKbの書込みに成功する(64)(65)。ここで、再度のBLKbの書込みに失敗した場合(再度エラーが発生した場合)は、図1のフローチャートに示す様に、規定回数以内までエアーを止めたBSB動作を繰り返して(7)、磁気ヘッドのごみを取り除く様にする。
【0036】
以上の動作に依り、磁気ヘッドに粘着性のあるごみが付着した場合でも、データを正しく書き込む事が出来る。
【0037】
次に、テープ媒体にキズがあった場合のデータ書込み手順を、図12、図13にて説明する。
【0038】
図12にて、テープ上に既にデータブロック(以下BLK)a(51)とそれに付随するブロック区切り:Inter block Gap(以下IBG)(52)が書かれており、これに続いてBLKb(54)を書込もうとするが、ちょうどBLKb(54)を書込む場所に、キズ(71)がある。図1のデータ書込み制御方式に従い、BLKb(54)を書込むと、キズ(71)によって書込みエラーチェック(3)にてエラーを検出し、粘着性のあるごみの付着と判断され、エアーの吹き出しストップに依るBSBのリトライ動作(4)〜(7)を規定回数行なう。
【0039】
しかし、書込みエラーの原因はテープ媒体上のキズに依る物なので、(4)〜(7)のリトライでは救えない。リトライの規定回数を越えると、一旦テープは巻き戻され(8)、IBG(52)の直後に位置付けられる。図13にて、イレーズバターン(54)が書込まれ(9)、最後に付随するIBG(55)が書込まれる。引き続き、改めて(56)の位置にBLKbが書込まれる。BLKb(56)を書込む領域にはキズはないので、エラーチェック(11)にてノーエラーとなり、JOBは、正常終了する(13)。
【0040】
以上の手順に依り、テープ上にキズがあった場合にも、本発明による書込み制御処理方式により、正しくデータを書込むことが出来る。
【0041】
以上の様なデータ書込み制御処理方式を用いることで、データ書込みエラー発生時、テープする書込みエラー媒体に付着した粘着性のあるごみに起因する書込みエラーを救うだけでなく、テープ媒体のキズに起因する書込みエラーでも、同様にエラーを救うことが可能となる。
【0042】
更に、この様なテープをドライブから排出した時に、ドライブのメッセージパネルに「ヘッドクリーニング要求」メッセージを表示させ、ユーザーに、クリーニングテープによる磁気テープ装置のクリーニングを促すことができる。
【0043】
【発明の効果】
本発明によれば、磁気テープ装置でのデータ書込みにおいて、テープ媒体への粘着性のあるごみの付着に起因するデータ書込みエラーを救うことが可能となる。また、エラーリトライに要する時間を短縮することが可能となる。イレーズパターンを書込む領域も減少できるので、テープの記憶容量の損失を最小に留める事が出来る。
【図面の簡単な説明】
【図1】本発明である磁気テープ装置のデータ書込み制御方法を示すフローチャートである。
【図2】磁気テープ装置(テープデッキ)の一般的な構成(部品の配置)とテープクリーナの構造を示す図である。
【図3】粘着性のあるごみが付着した磁気ヘッドの状況と、本発明の効果を示す図である。
【図4】本発明による磁気テープサブシステムの論理回路の構成を示す図である。
【図5】磁気ヘッドに粘着性のあるごみが付着している場合に、従来の方法でデータを書込もうとする際のフォーマットを示す図である。
【図6】磁気ヘッドに粘着性のあるごみが付着している場合に、従来の方法で一度リトライを行なった状態のフォーマットを示す図である。
【図7】磁気ヘッドに粘着性のあるごみが付着している場合に、従来の方法でイレーズパターンを規格で定められた限度まで書込んだ状態のフォーマットを示す図である。
【図8】磁気ヘッドに粘着性のあるごみが付着している場合に、データを書込もうとするフォーマットを示す図である。
【図9】磁気ヘッドに粘着性のあるごみが付着している場合に、ヘッドが汚れたままデータを書込んだ状態のフォーマットを示す図である。
【図10】磁気ヘッドに粘着性のあるごみが付着している場合に、本発明によるデータ書込み制御にて磁気ヘッドからのエアー吹き出しを止めてBSB動作を行なった状態のフォーマットを示す図である。
【図11】磁気ヘッドに粘着性のあるごみが付着している場合に、本発明によるデータ書込み制御にてBSB動作のリトライ後にデータの再書込みを行なったフォーマットを示す図である。
【図12】テープ媒体上にキズがある場合の、データを書込む前のフォーマットを示す図である。
【図13】テープ媒体上にキズがある場合に、本発明によるデータ書込み制御方式を用いてデータを書込んだフォーマットを示す図である。
【符号の説明】
20:テープデッキ
23:テープクリーナ
25:磁気ヘッド
27:エアーポンプ
31:エアー吸い込み口
40:エアー吹き出し口
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a magnetic tape device, and more particularly to an error retry method when a write error occurs in a magnetic tape device.
[0002]
[Prior art]
Regarding the data write control method in the magnetic tape device, according to the standard such as JIS, when a write error occurs when writing data, the tape is rewound and the position where the write error occurred (from a certain interval according to the standard) ) Write the erase pattern, skip the area on the tape where the error occurred, and perform the write process again.
[0003]
If a write error occurs again in the write process again, the erase pattern is similarly written in the area on the tape where the error has occurred, the error area on the tape is skipped, and the write process is performed again. The above rewrite process is performed a specified number of times (the number of continuous write of the erase pattern is determined by the standard). If the error is still not recovered, a write error is reported to the control device and the process is interrupted.
As the above-mentioned JIS standard, there is JIS_X6135.
[0004]
In Japanese Patent Laid-Open No. 8-45520, as a method of avoiding a write error,
(1) Change the size of the write data block.
(2) The density ID pattern length is changed.
(3) Write the erase pattern after writing the volume ID at the tip of the tape.
(4) Change the length of writing the erase pattern.
(5) Write a dummy block.
(6) The tape is moved back and forth around the error occurrence position.
(7) Change the amount of air blown from the head.
Various error remedy methods are presented.
[0005]
[Problems to be solved by the invention]
Causes of writing errors when writing data on a magnetic tape device include:
1. Scratches on the tape medium The main factor is adhesion of garbage.
[0006]
When there is a writing error due to a scratch on the medium, the writing error can be saved by a rewriting method according to the conventional technique. In other words, the scratches on the tape medium are usually very small, so if you write the erase pattern and skip the location of the tape medium where the error occurred, the scratch position will be removed, so rewriting the data Can be written correctly.
[0007]
However, in the case of a write error caused by dust, there is a possibility that the write error cannot be saved by the error retry method according to the conventional technique. Reading and writing data to and from the tape medium is always performed by contacting the tape medium and the magnetic head. Further, dust adhering to the tape medium is usually removed by a tape cleaner installed in front of the magnetic head. However, sticky debris may not be removed with this tape cleaner. Even when the tape is moved back and forth around the position where the error occurred or the air blowing amount of the head is changed as in the publicly known example of Japanese Patent Laid-Open No. 8-45520, sticky dust cannot be easily removed. .
[0008]
Therefore, sticky dust sticks to the magnetic head during the writing operation and accumulates around the head. This contamination of the magnetic head may always cause a write error. In this case, since the error retry operation is always executed, there is a problem that the processing time becomes very long. There is also a problem that the erase pattern write area becomes long (maximum) due to error retry. This wastes a useless area (erase pattern writing area), so that the storage capacity becomes inefficient. Further, since the retry is performed with the head still dirty, there is a possibility that the writing error cannot be saved even if the retry is performed over a long time.
[0009]
An object of the present invention relates to a rewriting method at the time of writing error at the time of data writing in a magnetic tape device, and a data writing control processing system capable of coping with a writing error due to adhesion of sticky dust to a magnetic head Another object of the present invention is to provide a write error retry method and a magnetic tape device using them.
[0010]
At the same time, it is intended to shorten the time required for retry by providing a simple error retry method.
[0011]
Furthermore, by saving the write error, it is possible to reduce a useless erase pattern area on the tape and to effectively use the tape storage capacity.
[0012]
[Means for Solving the Problems]
In order to achieve the object of the present invention, when a write error occurs in the data writing process to the tape medium, the data block is repositioned at the head of the data block where the write error has occurred. This BSB (Back Space Block) operation is performed in a state where the air blowing from the head is stopped and the tape and the magnetic head are in close contact with each other. In the case of a write error due to sticky dust, there is an effect of moving or dusting off dust attached to the magnetic head by the BSB operation of the tape with air blowing from the head stopped. Thereafter, the data can be reliably written by performing the data rewriting process. If the write error is not recovered even if the rewrite including the BSB operation is performed a specified number of times, it is determined that the cause of the write error is not a dust collected around the magnetic head but a scratch on the tape medium.
[0013]
In this case, after repositioning at the head of the data block in which the error has occurred in the BSB operation, the erase pattern is written as in the conventional case to skip the area in which the error has occurred on the tape medium. Thereafter, data rewrite processing is performed. Write errors caused by scratches on the tape medium can be saved by this means. This simple retry operation also has the advantage of not requiring a long time for the retry.
[0014]
The write / retry control according to the present invention is characterized in that the write error is not relieved by the erase pattern write first. This is because if the error retry by writing the erase pattern is performed first, if it is caused by sticky dust, not only will it take a long time to retry, but the error may not be saved.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 shows a data write control flowchart according to the data write control processing method of the magnetic tape apparatus of the present invention. FIG. 2 shows a general configuration (component arrangement) of a magnetic tape device (tape deck) and a structure of a tape cleaner. FIG. 3 shows the state of the magnetic head to which sticky dust is attached and the effect of the present invention. FIG. 4 shows a logic circuit configuration of the magnetic tape subsystem.
[0016]
FIG. 5 to FIG. 11 show the writing format when writing by the conventional method and the writing when writing by using the data writing control processing method of the present invention when sticky dust adheres to the magnetic head. Indicates the format.
[0017]
12 and 13 show the data writing format when the tape medium is damaged when the data writing control processing system of the present invention is used.
[0018]
FIG. 1 is a flowchart of data write control according to the present invention. When a data write request is requested from the host device such as a CPU to the control device of the magnetic tape device (1), data is written to the magnetic tape (2). If there is no error as a result of writing the data (3), the data write request ends normally, and the next request from the host device is waited (14). If a write error is detected, the tape is rewound to the beginning of the area (Block) where the data has been written (4).
[0019]
At this time, air blowing from the magnetic head is stopped. Then, data is written again (5). A write error is checked (6). If there is no error, the data write request is terminated normally and the next request from the host device is waited (14). If a write error is detected again, the number of BSB operations with the air blowing stopped is checked (7). If it is within the set number of times, the data is again written at the beginning of the area (Block). The tape is rewound with the air blown from the head stopped (4), and data is written again from there (5).
[0020]
If the write error is not recovered even if the above (4) to (7) are performed for the set number of times (when the set number is exceeded), the tape is rewound to the head of the area (Block) in which the data is written (8 ) Write the erase pattern and skip the area where there was an error. After that, the data is rewritten (9). A counter indicating that the erase pattern has been written is added to manage the number of times the erase pattern is continuously written (10). (The number of times the erase pattern is continuously written is determined by standards such as JIS and is 50.) Here, the data written following the erase pattern is checked for the presence of a write error ( 11). If there is no error, the data write request ends normally and waits for the next request from the host device (14). At this time, the erase pattern write counter is reset.
[0021]
If a write error is detected again, the number of consecutive writes of the erase pattern is checked (12), and if it is within the allowable number, the tape is rewound to the head of the area (Block) where data has been written again ( 8) The erase pattern is written from there, and the area with the error is skipped. After that, the data is rewritten (9). A counter indicating that the erase pattern has been written is added (10), and the number of times of continuous writing of the erase pattern is added. If the write error is recovered within the prescribed number of times of continuous write of the erase pattern, the data write request is terminated normally and the next request from the host device is waited (14). The erase pattern write counter is reset. If the write error is not recovered, the job is interrupted, the write error is reported to the host device, and the process is terminated (14).
[0022]
FIG. 2 shows a general structure of a tape deck and a structure of a tape cleaner. When the magnetic tape is loaded into the tape deck 20, the tape (leader block) is automatically loaded onto the machine reel 26. Between the magnetic tape file reel 21 and the machine reel 26 are a tape tension buffer 22, a tape cleaner 23, a head guide 24, and a magnetic head 25. The tape cleaner 23 has a role of removing dust attached to the magnetic tape. As shown in Fig. 2, it has a structure that scrapes off the dust on the tape surface. In order to remove the dust efficiently, negative pressure air (suction) is applied (31) so that the tape medium is in close contact with the tape cleaner. (32).
[0023]
The magnetic head 25 has an air outlet and normally blows air during a locating operation other than writing / reading on the tape so that the tape medium is lifted (not brought into close contact) from the magnetic head. Air to the tape cleaner 23 and the magnetic head 25 is sent from an air pump 27.
[0024]
FIG. 3 shows a state of the magnetic head to which sticky dust is attached. Sticky dust tends to adhere to the vicinity of the tip of the magnetic head (41). In the conventional operation, in the tape locating operation other than the data writing / reading, air is blown out from the head so that the tape and the head are not brought into contact with each other (42). This is to prevent unnecessary wear of the head and the tape medium itself.
[0025]
However, data writing / reading operations with sticky dust remaining on the head are unlikely to be saved no matter how many retries are performed. Therefore, if an error occurs, first suspect the head is dirty. When the tape is rewound by the BSB command for data rewriting (45), the air blowing from the head is stopped and the tape medium and the head are controlled to be in close contact (44). Then, the sticky dust moves in the tape running direction and disappears near the tip of the head (43). Some debris that has moved will be blown away in a certain amount of mass.
[0026]
FIG. 4 shows the configuration of the logic circuit of the magnetic tape subsystem. The write data is sent from the CPU 72 to the channel IF 80 of the magnetic tape subsystem controller (MTC). In MTC, write data is sent from the drive IF 83 to the magnetic tape unit (MTU) from the channel IF 80 via the data compression 81 and data buffer 82. The microprogram for controlling the MTC is read from the floppy disk (FD 84) and loaded into the program memory 86. With this program, the MTC microprocessor (MP85) controls each logic circuit of the MTC.
[0027]
On the other hand, the MTU is also controlled by a microprogram. The program is shared and stored in the FD 84 of the MTC, and is stored in the program memory 88 of the MTU via the MTC drive IF 83 and the MTU drive IF 96.
[0028]
The MTU includes two processors: a servo microprocessor (MP89) that controls the machine reel motor 90, the file reel motor 91, and the like, and an MTU microprocessor (MP87) that controls the other I / O control 92, the air pump 91, and the like. Are installed and control the MTU in cooperation with each other while communicating with each other.
[0029]
Write data from the MTC is written to the tape via the magnetic head 94 from the WR / RD amplifier 95 via the drive IF 96 of the MTU. The read data is sent to the CPU 72 through this reverse path.
[0030]
The tape deck 20 of FIG. 2 is controlled by the logical configuration of the MTU of FIG. 4, and the data write control microprogram of FIG. 1 is executed by the MPU MP87 and the servo MP89.
[0031]
The data writing procedure and the format on the tape in the apparatus configuration of FIG. 2 will be described with reference to FIGS. When the cartridge tape is loaded into the tape deck 20, the cartridge tape itself becomes the foul reel 21, and is wound around the machine reel 26 along the tape traveling path (30). The tape cleaner 23 in the middle of the travel path (30) serves to remove dust adhering to the tape. As shown in FIG. 2, it is shaped to scrape off dust, and the inside is hollow and sucks out air. As a result, the tape cleaner and the tape medium are brought into close contact with each other to reliably remove dust.
[0032]
If it is about normal garbage or dust, it will be sucked out by this tape cleaner and will not stain the head. However, in the case of sticky garbage, it sticks to the edge of the tape cleaner. If it sticks to some extent, it will start sticking to the head guide 24 or the magnetic head 25 located at the tip of the tape cleaner. Adhesive dust cannot be sucked out with tape cleaner air.
[0033]
The magnetic head 25 has a structure that blows out air, and when locating the tape (other than reading and writing data), the air is blown out so that the tape medium does not adhere to the head, but it adheres when reading and writing data. For this reason, when reading / writing is repeated, sticky dust accumulates on the head. This state is shown in FIG. Garbage accumulates at the top of each of the magnetic head, WR head 47 and RD head 48 (41).
[0034]
The case where data is written by the conventional method in this state is shown in FIGS. In FIG. 5, an attempt is made to add BLKb (53) after IBG (52), but writing fails because the magnetic head 25 is dirty with sticky dust. As a result of the retry, an erase pattern (hereinafter referred to as ERG) a (54) and IBG (55) are written at the position of BLK (54). The BLKb (56) is rewritten following the IBG (55) (FIG. 6), but again fails because the dirt attached to the magnetic head 25 has not been removed. Thereafter, in this state, the erase pattern is written a specified number of times, and the specified number of continuous write of the erase pattern is reached, the retry is completed, and the write is ABEND (FIG. 7).
[0035]
Data writing according to the method of the present invention is illustrated in FIGS. As with the conventional method, in FIG. 8, I try to add BLKb (53) next to IBG (52), but writing fails because the magnetic head 25 is dirty with sticky dust (FIG. 8). 9). Therefore, the BSB operation of the tape by retrying is performed in a state where the blowing of air from the magnetic head 25 is stopped. Then, the dust on the head moves in the running direction of the tape as shown in (43) of FIG. After the BSB operation, the tape is positioned at the position where BLKb (53) is written (FIG. 10), and BLKb is rewritten (FIG. 11). Due to the BSB operation in which the air is stopped, the sticky dust on the magnetic head 25 has moved from the head tip and succeeded in writing BLKb (64) (65). Here, when the writing of BLKb again fails (when an error occurs again), as shown in the flowchart of FIG. 1, the BSB operation in which the air is stopped within a specified number of times is repeated (7), and the magnetic head Try to remove the garbage.
[0036]
According to the above operation, data can be written correctly even when sticky dust adheres to the magnetic head.
[0037]
Next, the data writing procedure when the tape medium is damaged will be described with reference to FIGS.
[0038]
In FIG. 12, a data block (hereinafter referred to as BLK) a (51) and an accompanying block delimiter: Inter block Gap (hereinafter referred to as IBG) (52) are already written on the tape, followed by BLKb (54). However, there is a scratch (71) at the place where BLKb (54) is written. When BLKb (54) is written in accordance with the data write control system of FIG. 1, an error is detected by the write error check (3) by the scratch (71), and it is determined that sticky dust is attached, and air is blown out. The BSB retry operation (4) to (7) depending on the stop is performed a specified number of times.
[0039]
However, since the cause of the write error depends on the scratch on the tape medium, the retries (4) to (7) cannot be saved. Once the specified number of retries is exceeded, the tape is rewound (8) and positioned immediately after IBG (52). In FIG. 13, the erase pattern (54) is written (9), and the accompanying IBG (55) is written. Subsequently, BLKb is written again at the position (56). Since there is no scratch in the area where BLKb (56) is written, no error occurs in error check (11), and JOB ends normally (13).
[0040]
According to the above procedure, even when there is a scratch on the tape, the data can be written correctly by the write control processing method according to the present invention.
[0041]
By using the data write control processing method as described above, when a data write error occurs, it not only saves the write error due to sticky dust adhering to the write error medium to be taped but also due to scratches on the tape medium. Even if a write error occurs, it is possible to save the error as well.
[0042]
Further, when such a tape is ejected from the drive, a “head cleaning request” message is displayed on the message panel of the drive, and the user can be prompted to clean the magnetic tape device with the cleaning tape.
[0043]
【The invention's effect】
ADVANTAGE OF THE INVENTION According to this invention, it becomes possible to rescue the data write error resulting from adhesion of the sticky refuse to a tape medium in the data write in a magnetic tape apparatus. In addition, the time required for error retry can be shortened. Since the area where the erase pattern is written can be reduced, the loss of the storage capacity of the tape can be minimized.
[Brief description of the drawings]
FIG. 1 is a flowchart showing a data write control method of a magnetic tape device according to the present invention.
FIG. 2 is a diagram showing a general configuration (component arrangement) of a magnetic tape device (tape deck) and a structure of a tape cleaner.
FIG. 3 is a diagram showing the situation of a magnetic head to which sticky dust is attached and the effect of the present invention.
FIG. 4 is a diagram showing a configuration of a logic circuit of a magnetic tape subsystem according to the present invention.
FIG. 5 is a diagram showing a format when data is written by a conventional method when sticky dust is attached to the magnetic head.
FIG. 6 is a diagram showing a format in a state where a retry is performed once by a conventional method when sticky dust is attached to the magnetic head.
FIG. 7 is a diagram showing a format in which an erase pattern is written to a limit defined by a standard by a conventional method when sticky dust is attached to a magnetic head.
FIG. 8 is a diagram showing a format to write data when sticky dust is attached to the magnetic head.
FIG. 9 is a diagram showing a format in which data is written while the head is dirty when sticky dust adheres to the magnetic head.
FIG. 10 is a diagram showing a format in a state where a BSB operation is performed by stopping air blowing from the magnetic head by data write control according to the present invention when sticky dust adheres to the magnetic head. .
FIG. 11 is a diagram showing a format in which data is rewritten after a BSB operation is retried in the data write control according to the present invention when sticky dust is attached to the magnetic head.
FIG. 12 is a diagram showing a format before data is written when there is a scratch on the tape medium.
FIG. 13 is a diagram showing a format in which data is written using the data write control method according to the present invention when there is a scratch on the tape medium.
[Explanation of symbols]
20: Tape deck 23: Tape cleaner 25: Magnetic head 27: Air pump 31: Air inlet 40: Air outlet

Claims (4)

磁気ヘッドと、ファイルリール及びマシンリールを含み、前記磁気ヘッド上に磁気テープを走行させるためのテープ走行経路と、エアーポンプと、前記磁気ヘッドと前記磁気テープとが対向する面にエアーを供給するエアー吹き込みパイプとを有する磁気テープ装置のデータ書込制御方法であって、
前記エアー吹き込みパイプから供給されるエアーにより前記磁気ヘッド上から前記磁気テープを浮上させた状態で前記磁気テープを走行させデータを書き込むステップと、
データ書き込み中に書き込みエラーが発生した場合は、前記エアーの供給を停止して前記磁気テープを巻き戻すステップと、
該データを再書き込みするステップと、
該再書き込みでエラーが発生した場合に、該データについてデータ再書き込みを行った回数が規定回数以下のときは、前記磁気テープを巻き戻すステップと該データを再書き込みするステップを繰り返すことを特徴とする磁気テープ装置のデータ書込制御方法。
Air is supplied to a surface including a magnetic head, a file reel, and a machine reel, a tape running path for running the magnetic tape on the magnetic head, an air pump, and a surface where the magnetic head and the magnetic tape face each other. A data writing control method for a magnetic tape device having an air blowing pipe,
Writing the data by running the magnetic tape in a state where the magnetic tape is levitated above the magnetic head by air supplied from the air blowing pipe;
If a write error occurs during data writing, stopping the air supply and rewinding the magnetic tape;
Rewriting the data;
When an error occurs in the rewriting, if the number of times data is rewritten with respect to the data is less than a specified number, the step of rewinding the magnetic tape and the step of rewriting the data are repeated. Data write control method for magnetic tape device.
前記再書き込みでエラーが発生した場合に、該データについてデータ再書き込みを行った回数が前記規定回数を超えたときは、前記テープを巻き戻すステップと、
イレーズパターンを書き込むステップと、
データの再書き込みを行うステップとを有することを特徴とする請求項1記載の磁気テープ装置のデータ書込制御方法。
When an error occurs in the rewriting, when the number of times data rewriting has been performed on the data exceeds the specified number, the step of rewinding the tape;
Writing an erase pattern; and
2. The data writing control method for a magnetic tape device according to claim 1, further comprising a step of rewriting data.
磁気ヘッドと、ファイルリール及びマシンリールを含み、前記磁気ヘッド上に磁気テープを走行させるためのテープ走行経路と、エアーポンプと、前記磁気ヘッドと前記磁気テープとが対向する面にエアーを供給するエアー吹き込みパイプと、前記エアーポンプとファイルリールとマシンリールとを制御する制御部とを有し、前記磁気テープの走行時は前記エアー吹き込みパイプから供給されるエアーにより前記磁気ヘッド上から前記磁気テープを浮上させる磁気テープ装置において、
前記制御部は、データ書込時にエラーが発生した場合は、前記エアー吹き出しパイプからのエアーの供給を停止して前記磁気テープを巻き戻し、該データの再書き込みを行うことを特徴とする磁気テープ装置。
Air is supplied to a surface including a magnetic head, a file reel, and a machine reel, a tape running path for running the magnetic tape on the magnetic head, an air pump, and a surface where the magnetic head and the magnetic tape face each other. An air blowing pipe; and a control unit that controls the air pump, the file reel, and the machine reel, and the magnetic tape is moved from above the magnetic head by air supplied from the air blowing pipe when the magnetic tape is running. In the magnetic tape device that floats
The control unit, when an error occurs during data writing, stops supplying air from the air blowing pipe, rewinds the magnetic tape, and rewrites the data. apparatus.
請求項3記載の磁気テープ装置において、前記エアー吹き出しパイプからのエアーの供給を停止した状態での前記磁気テープを巻き戻しと前記データの再書き込みとを所定の回数繰り返しても書き込みエラーが発生する場合は、イレーズパターンを書き込むことを特徴とする磁気テープ装置。4. The magnetic tape device according to claim 3, wherein a write error occurs even if the rewinding of the magnetic tape and the rewriting of the data are repeated a predetermined number of times while the supply of air from the air blowing pipe is stopped. In the case, the magnetic tape device is characterized by writing an erase pattern.
JP31474899A 1999-11-05 1999-11-05 Data writing control method for magnetic tape device and magnetic tape device Expired - Fee Related JP3705048B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31474899A JP3705048B2 (en) 1999-11-05 1999-11-05 Data writing control method for magnetic tape device and magnetic tape device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31474899A JP3705048B2 (en) 1999-11-05 1999-11-05 Data writing control method for magnetic tape device and magnetic tape device

Publications (2)

Publication Number Publication Date
JP2001135041A JP2001135041A (en) 2001-05-18
JP3705048B2 true JP3705048B2 (en) 2005-10-12

Family

ID=18057121

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31474899A Expired - Fee Related JP3705048B2 (en) 1999-11-05 1999-11-05 Data writing control method for magnetic tape device and magnetic tape device

Country Status (1)

Country Link
JP (1) JP3705048B2 (en)

Also Published As

Publication number Publication date
JP2001135041A (en) 2001-05-18

Similar Documents

Publication Publication Date Title
JPH11232620A (en) Cleaning tape built-in type magnetic tape
JP3705048B2 (en) Data writing control method for magnetic tape device and magnetic tape device
TWI408680B (en) Cleaning system for tape head and tape drive system implementing same
US20040136105A1 (en) Information storage system, and a method of operating it
US20060238911A1 (en) Data transfer apparatus head cleaning
US7567402B2 (en) Storage device, control method thereof and program
US5347407A (en) Method and system for removing particles without requiring a separate cleaning mechanism from a tape in a tape drive system
US20010045479A1 (en) Packing of a magnetic tape to improve pack stability prior to removal from a tape drive
JP3598910B2 (en) Information recording / reproducing device
JP3469322B2 (en) Magnetic tape device and retry method
JP3389917B2 (en) Magnetic tape unit
JP3718202B2 (en) Magnetic tape device and retry method
JP3792673B2 (en) Magnetic head cleaning method and magnetic tape with cleaning function
JP4077471B2 (en) Magnetic tape device and retry method
JPH0589438A (en) Magnetic head cleaning method
US20050259350A1 (en) Library apparatus and its control method
US20060023336A1 (en) Cleaning read/write heads of a magnetic tape recording system
JP3607663B2 (en) Magnetic tape device and system
JP2007122263A (en) Information processor and method for controlling information processor
JPH0250354A (en) External memory
JP2005346914A (en) Magnetic tape device and retrying method
JPH0935417A (en) Method and device for backing up temporary storage information for information memory
JPH0258707A (en) Magnetic tape device
JP3102402B2 (en) Magnetic head cleaning mechanism
JPH04285772A (en) Abnormal medium deciding system for magnetic tape storage device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050628

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050705

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050718

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080805

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090805

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100805

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110805

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120805

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130805

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees