JPH0738246B2 - Magnetic tape unit - Google Patents

Magnetic tape unit

Info

Publication number
JPH0738246B2
JPH0738246B2 JP21008788A JP21008788A JPH0738246B2 JP H0738246 B2 JPH0738246 B2 JP H0738246B2 JP 21008788 A JP21008788 A JP 21008788A JP 21008788 A JP21008788 A JP 21008788A JP H0738246 B2 JPH0738246 B2 JP H0738246B2
Authority
JP
Japan
Prior art keywords
magnetic tape
block
data
unevenness
write
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 - Lifetime
Application number
JP21008788A
Other languages
Japanese (ja)
Other versions
JPH0258707A (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.)
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 JP21008788A priority Critical patent/JPH0738246B2/en
Publication of JPH0258707A publication Critical patent/JPH0258707A/en
Publication of JPH0738246B2 publication Critical patent/JPH0738246B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、磁気テープ装置に関し、特に、磁気テープ装
置の障害処理に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic tape device, and more particularly, to failure handling of the magnetic tape device.

従来の技術 従来、この種の磁気テープ装置は、磁気テープ媒体の不
良をあるブロックの書込み直後に読み取りヘッドを用い
て読み出すことにより検出し、上位装置にその障害を報
告するのみであった。
2. Description of the Related Art Conventionally, a magnetic tape device of this type has only detected a defect of a magnetic tape medium by reading it with a read head immediately after writing a block, and only reports the failure to a host device.

発明が解決しようとする課題 上述した従来の磁気テープ装置は、磁気テープ媒体の不
良をあるブロックのデータ書込み処理中に検出している
ので、凹凸部への書込み不良(誤った情報を記録又は読
み出し不可能なデータとして記録)が発生し、データ読
み取り時にデータブロック抜け又は喪失という重障害を
発生させるという欠点がある。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention Since the above-described conventional magnetic tape device detects a defect of the magnetic tape medium during the data writing process of a certain block, a writing defect (wrong information is recorded or read) on the uneven portion. (Recording as impossible data) occurs, which causes a serious obstacle such as missing or loss of a data block when reading data.

本発明は従来の上記実情に鑑みてなされたものであり、
従って本発明の目的は、従来の技術に内在する上記欠点
を解消することを可能とした新規な磁気テープ装置を提
供することにある。
The present invention has been made in view of the above-mentioned conventional circumstances,
Therefore, it is an object of the present invention to provide a novel magnetic tape device capable of solving the above-mentioned drawbacks inherent in the conventional technique.

課題を解決するための手段 上記目的を達成するために、本発明に係る磁気テープ装
置は、該磁気テープ装置全体を制御する制御部と、実用
的1ブロックに対応した容量を持ち1ブロック分の書込
みデータを記憶する記憶手段と、磁気テープ媒体の凹凸
を実用的1ブロック長より前に検出する凹凸検出手段
と、前記凹凸検出手段により凹凸検出後に書込み処理を
中断する手段と、前記書込み処理を中断後に一定の長さ
のダミーブロックを作成する手段と、前記ダミーブロッ
ク作成後自動的にブロックの先頭に戻す手段と、前記不
良ブロックの先頭から凹凸迄の距離を越えて消去処理を
行う手段と、前記記憶データを磁気テープ媒体に記録す
る手段とを備えて構成される。
Means for Solving the Problems In order to achieve the above object, a magnetic tape device according to the present invention has a control section for controlling the entire magnetic tape device and a capacity corresponding to one practical block, and one block's worth of capacity. Storage means for storing write data; unevenness detection means for detecting unevenness of the magnetic tape medium before a practical one block length; means for interrupting the writing process after the unevenness detection by the unevenness detection means; Means for creating a dummy block of a fixed length after interruption, means for automatically returning to the head of the block after creating the dummy block, and means for performing erasing processing beyond the distance from the head of the defective block to the unevenness And means for recording the stored data on a magnetic tape medium.

実施例 次に本発明をその好ましい一実施例について図面を参照
して具体的に説明する。
Embodiment Next, the present invention will be described in detail with reference to the drawings for a preferred embodiment thereof.

第1図は本発明の一実施例を示すブロック構成図であ
る。
FIG. 1 is a block diagram showing an embodiment of the present invention.

第1図を参照するに、磁気テープ装置1は、制御部2、
ダミーデータ記憶部3、駆動部4、磁気テープ媒体9へ
の書込データ23を制御する書込・消去制御部5、磁気テ
ープ媒体9の凹凸検出部6、磁気テープ媒体9のデータ
を読取る読取ヘッド7及び書込ヘッド8から構成されて
いる。
Referring to FIG. 1, the magnetic tape device 1 includes a controller 2,
Dummy data storage unit 3, drive unit 4, write / erase control unit 5 for controlling write data 23 to the magnetic tape medium 9, unevenness detection unit 6 for the magnetic tape medium 9, and reading for reading data on the magnetic tape medium 9. It is composed of a head 7 and a writing head 8.

第2図は本発明により磁気テープ媒体9の磁性面に記録
された各ブロックの状態と同磁気テープ上のきず100と
の関係を示した図である。
FIG. 2 is a diagram showing the relationship between the state of each block recorded on the magnetic surface of the magnetic tape medium 9 and the flaw 100 on the magnetic tape according to the present invention.

次にブロックn-1を記録する場合について説明する。Next, the case of recording the block n-1 will be described.

制御部2は、上位装置(図示せず)から制御線10を介し
て書き込み命令を受けると、駆動部4に対し順方向走行
指示信号15を送出し、一定時間経過後に書込制御線11を
介して書込・消去制御部5に書き込みを指示すると共に
上位装置から送られたブロック番号n-1のデータをデー
タ線20介して受け、データ線21を介して送り出す。同時
にデータ線20のデータはデータ線22を介して記憶部19に
記憶される。
When the control unit 2 receives a write command from a higher-level device (not shown) via the control line 10, the control unit 2 sends a forward travel instruction signal 15 to the drive unit 4, and after a certain time elapses, the write control line 11 is turned on. The write / erase control unit 5 is instructed to write the data via the data line 20, and the data of the block number n-1 sent from the host device is received via the data line 20 and sent out via the data line 21. At the same time, the data on the data line 20 is stored in the storage unit 19 via the data line 22.

データの書き込みが完了すると、制御線12を介して報告
を受けた直後に制御部2は、消去信号13を送出し、磁気
テープ媒体9内に一定の長さを持つギャップcの作成を
書込・消去制御部5に指示する。消去指示を受けた書込
・消去制御部5は、書込ヘッド8、書込データ23を介し
てギャップcを作成し、制御線12を介して終了報告を制
御部2に行う。終了報告12を受けた制御部2は、上位装
置に制御線10を介して書き込み命令の終了を報告し、書
込動作を完了する。尚この間は、一定速度で磁気テープ
媒体9が送られている。
When the writing of the data is completed, immediately after receiving the report via the control line 12, the control unit 2 sends an erasing signal 13 to write the creation of the gap c having a certain length in the magnetic tape medium 9. -Instruct the erase control unit 5. The writing / erasing control unit 5 that has received the erasing instruction creates the gap c via the write head 8 and the write data 23, and reports the end to the control unit 2 via the control line 12. Upon receiving the end report 12, the control unit 2 reports the end of the write command to the host device via the control line 10 and completes the write operation. During this period, the magnetic tape medium 9 is being sent at a constant speed.

次に第1図及び第2図を用いて本発明に関する動作を説
明する。
Next, the operation relating to the present invention will be described with reference to FIG. 1 and FIG.

前述の様にしてブロックn-1及びギャップcの作成を完
了した後に、次のブロックnの書込処理を上位装置から
のブロックn書込命令受信後に開始する。開始直後に距
離aをおいて媒体9上のきず100(凹凸)は凹凸検出部
6により検出される。距離aは実用的1ブロック長以上
の長さを持つ。つまり、凹凸検出部6は、書込ヘッド8
より距離aをへだてて設置され、常に1ブロック以上前
の磁気テープ媒体の状態を監視している。凹凸検出部6
からの検出信号14を受けた制御部2は、データ線20から
の書込データをデータ線21を介しての送出を中止し、同
時にダミーデータ記憶部3からのダミーデータをデータ
線24を介して読み出しデータ線21に送出し続ける。この
結果、磁気テープ媒体9には、ブロックn′が記録され
る。
After the creation of the block n-1 and the gap c is completed as described above, the writing process of the next block n is started after the block n write command is received from the host device. Immediately after the start, at a distance a, the flaw 100 (unevenness) on the medium 9 is detected by the unevenness detecting unit 6. The distance a has a practical length of one block or more. That is, the unevenness detection unit 6 uses the write head 8
The magnetic tape medium is installed over a distance a and constantly monitors the state of the magnetic tape medium one block or more before. Unevenness detection unit 6
The control unit 2 receiving the detection signal 14 from the data line 20 stops transmitting the write data from the data line 20 via the data line 21, and simultaneously sends the dummy data from the dummy data storage unit 3 via the data line 24. And continues to send it to the read data line 21. As a result, the block n ′ is recorded on the magnetic tape medium 9.

このダミーデータの読み出しを終えた制御部2は、ギャ
ップc′を前述動作と同様にして作成する。次に制御部
2は、駆動部4に対し、逆方向走行指示信号16を指示
し、磁気テープ媒体9上の点α迄巻戻しを行う。巻戻し
動作は、次の様にして行われる。読み取りヘッド7から
の出力17を常にモニタし続けた制御部2は、上記ダミー
ブロックを検出後ギャップcを続けて検出を行い、逆方
向走行指示信号16をクリアして磁気テープ媒体9の走行
を停止する。
The control unit 2 that has finished reading the dummy data creates the gap c ′ in the same manner as the above-described operation. Next, the control unit 2 instructs the drive unit 4 to issue the backward running instruction signal 16, and rewinds to the point α on the magnetic tape medium 9. The rewinding operation is performed as follows. The controller 2, which has continuously monitored the output 17 from the reading head 7, detects the dummy block and continues to detect the gap c, and clears the backward running instruction signal 16 to run the magnetic tape medium 9. Stop.

次に、ギャップcの中間点αから距離b間の磁気テープ
媒体9を消去する為に、制御部2は書込・消去制御部5
に対して消去信号13を送出し続ける。消去完了後、制御
部2は、駆動部4に対して順方向走行指示信号15を送出
し、一定時間経過後に記憶部19からデータ線22を介して
ブロックnの書き込みデータを読み出し、データ線21へ
データ転送を開始すると共に、制御信号11を介して書込
・消去制御部5に対して書き込みを指示することにより
ブロックnが正しく記録される。
Next, in order to erase the magnetic tape medium 9 located at the distance b from the middle point α of the gap c, the control unit 2 controls the write / erase control unit 5
The erase signal 13 is continuously transmitted to the. After the erasing is completed, the control unit 2 sends a forward running instruction signal 15 to the drive unit 4, and after a certain time has elapsed, the write data of the block n is read from the storage unit 19 via the data line 22, and the data line 21 is read. By starting the data transfer to and writing to the write / erase control unit 5 via the control signal 11, the block n is correctly recorded.

以下ブロックn-1記録時と同様にして磁気テープ媒体9
へのデータ20の書き込みが続けられる。
Thereafter, the magnetic tape medium 9 is recorded in the same manner as when recording the block n-1.
The writing of the data 20 to is continued.

以上の様にしてきず100による書き込み不良を防止して
いる。
As described above, the defective writing due to the flaw 100 is prevented.

発明の効果 以上説明したように、本発明によれば、磁気テープ媒体
の不良(凹凸)をデータ書込み前に検出し、不良部を消
去することにより、凹凸部によるデータの書込み不良を
防止し、データ抜けをも防止し、システムの信頼性向上
及び資源の有効活用が計れる効果が得られる。
As described above, according to the present invention, a defect (unevenness) of a magnetic tape medium is detected before data writing, and a defective portion is erased, thereby preventing a data writing defect due to the uneven portion, It is possible to prevent data loss, improve system reliability, and effectively use resources.

【図面の簡単な説明】 第1図は本発明の一実施例を示すブロック構成図、第2
図は磁気テープ媒体の状態を示す図である。 1…磁気テープ装置、2…制御部、3…ダミーデータ記
憶部、4…駆動部、5…書込・消去制御部、6…凹凸検
出部、7…読取ヘッド、8…書込ヘッド、9…磁気テー
プ媒体、10、11,12,13,14,15,16,17…制御信号、19…記
憶部、20,21,22,23,24…データ線、100…磁気テープ上
のきず、n,n′…ブロック番号、a,b,c,c′…距離、α…
ギャップcの中間点
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG.
The figure shows the state of the magnetic tape medium. DESCRIPTION OF SYMBOLS 1 ... Magnetic tape device, 2 ... Control part, 3 ... Dummy data storage part, 4 ... Drive part, 5 ... Write / erase control part, 6 ... Unevenness detection part, 7 ... Read head, 8 ... Write head, 9 ... magnetic tape medium, 10, 11, 12, 13, 14, 15, 15, 16, 17 ... control signal, 19 ... storage section, 20, 21, 22, 23, 24 ... data line, 100 ... flaw on magnetic tape, n, n ′… block number, a, b, c, c ′… distance, α…
Midpoint of gap c

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】磁気テープ装置において、 該磁気テープ装置全体を制御する制御部と、 実用的1ブロックに対応した容量を持ち書込み専用に1
ブロック分の書込みデータを記憶する記憶手段と、 磁気テープ媒体表面の凹凸(不良)を実用的1ブロック
長より前に常時検出する凹凸検出手段と、 前記凹凸検出手段により凹凸検出後、書込み処理を中断
する手段と、 前記書込み処理中断後、一定の長さのダミーブロックを
作成する手段と、 前記ダミーブロック作成後自動的に不良ブロックの先頭
(前記ダミーブロックを含む処理中断を行ったブロック
の先頭)に戻す手段と、 前記不良ブロックの先頭から凹凸までの距離を越える一
定の長さを消去する手段と、 前記消去手段により消去後に前記記憶データを磁気テー
プ媒体に記録する手段と、 を有することを特徴とした磁気テープ装置。
1. A magnetic tape device, comprising: a control unit for controlling the entire magnetic tape device; and a write-only unit having a capacity corresponding to one practical block.
Storage means for storing write data for blocks, unevenness detection means for constantly detecting unevenness (defectiveness) on the surface of the magnetic tape medium before a practical one block length, and writing processing after unevenness detection by the unevenness detection means Means for interrupting, means for creating a dummy block of a certain length after the interrupting of the writing process, and head of a defective block automatically after the creation of the dummy block (head of a block including the dummy block in which processing is interrupted) ), Means for erasing a fixed length exceeding the distance from the head of the defective block to the unevenness, and means for recording the stored data on the magnetic tape medium after erasing by the erasing means. Magnetic tape device featuring.
JP21008788A 1988-08-24 1988-08-24 Magnetic tape unit Expired - Lifetime JPH0738246B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21008788A JPH0738246B2 (en) 1988-08-24 1988-08-24 Magnetic tape unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21008788A JPH0738246B2 (en) 1988-08-24 1988-08-24 Magnetic tape unit

Publications (2)

Publication Number Publication Date
JPH0258707A JPH0258707A (en) 1990-02-27
JPH0738246B2 true JPH0738246B2 (en) 1995-04-26

Family

ID=16583604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21008788A Expired - Lifetime JPH0738246B2 (en) 1988-08-24 1988-08-24 Magnetic tape unit

Country Status (1)

Country Link
JP (1) JPH0738246B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011216158A (en) 2010-03-31 2011-10-27 Fujitsu Ltd Drive device, library device, and control method
JP5925280B2 (en) 2014-11-04 2016-05-25 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method, program, and tape device for erasing files written on tape

Also Published As

Publication number Publication date
JPH0258707A (en) 1990-02-27

Similar Documents

Publication Publication Date Title
US5953177A (en) Write splicing for helical scan recorder
JPH0738246B2 (en) Magnetic tape unit
JP4464491B2 (en) Magnetic tape unit
JP2732884B2 (en) Data recording method, data reproducing method, data recording / reproducing method, recording device, reproducing device, and recording / reproducing device
JP2722744B2 (en) Digital data recording / reproducing device
JP2008533636A (en) Pause method for magnetic tape recording
JP2690690B2 (en) Magnetic tape unit
JPS5944693B2 (en) Abnormal data erasing device for magnetic tape storage devices
JPH0528635Y2 (en)
JPH04358360A (en) Recovery system for magnetic recording and reproducing device
JPS5944692B2 (en) Abnormal data erasing device for magnetic tape storage devices
JPH02123569A (en) Magnetic tape and data recording system using the same
KR100320749B1 (en) Tape running control method for long time recording in video recording device
JPH0445138Y2 (en)
JPH0233708A (en) Magnetic tape device
JP3704943B2 (en) Recording / reproducing apparatus and tape cassette
JPS6292105A (en) Magnetic tape recording system
JPH0614273Y2 (en) Magnetic recording / reproducing device
JPH01125705A (en) Magnetic tape device
JPH0687326B2 (en) Information recording / reproducing device
JPS6242353A (en) Track identification method
JPH087549A (en) Magnetic recording device
JPH09198850A (en) Hybrid type editing device
JPS63311649A (en) Drum drive control system
JPS6113416A (en) Cassette type magnetic tape device