JPH0258707A - Magnetic tape device - Google Patents

Magnetic tape device

Info

Publication number
JPH0258707A
JPH0258707A JP21008788A JP21008788A JPH0258707A JP H0258707 A JPH0258707 A JP H0258707A JP 21008788 A JP21008788 A JP 21008788A JP 21008788 A JP21008788 A JP 21008788A JP H0258707 A JPH0258707 A JP H0258707A
Authority
JP
Japan
Prior art keywords
block
data
magnetic tape
medium
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.)
Granted
Application number
JP21008788A
Other languages
Japanese (ja)
Other versions
JPH0738246B2 (en
Inventor
Tadahiko Sakaguchi
坂口 忠彦
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

Landscapes

  • Digital Magnetic Recording (AREA)

Abstract

PURPOSE:To prevent occurrence of defective data writing and data omission caused by a recessed and projection part by providing a ruggedness detecting means, detecting and erasing a defecting part of a magnetic tape medium before writing data. CONSTITUTION:After receiving a block (n) writing instruction, a scratch (ruggedness) 100 on a medium 9 is detected by means of a ruggedness detecting section 6 at a distance (a). While a block (n') is recorded on the medium 9, a reverse running instructing signal 16 is outputted and the medium 9 is rewound until a point on the medium 9. Then the section of a distance (b) from the middle point alpha of a gap (c) of the medium 9 is erased. After the lapse of fixed time, the writing data of the block (n) are read out from a storing section 19 through a data line 22 and data transfer is started to a data line 21. At the same time, writing is instructed to a write/erase controlling section 5 by means of a control signal 11. As a result, the block (n) is properly recorded. Therefore, such a serious fault as omission or missing of a data block is not produced at the time of data reading.

Description

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

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

発明が解決しようとする課題 上述した従来の磁気テープ装置は、磁気テープ媒体の不
良をあるブロックのデータ書込み処理中に検出している
ので、凹凸部への書込み不良(誤った情報を記録又は読
み出し不可能なデータとして記録)が発生し、データ読
み取り時にチータブロック抜は又は喪失という重障害を
発生させるという欠点がある。
Problems to be Solved by the Invention The conventional magnetic tape device described above detects a defect in the magnetic tape medium during the data writing process for a certain block. This has the drawback that the cheetah block may be recorded as impossible data), causing serious problems such as removal or loss of the cheetah block when reading data.

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

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

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

第1図は本発明の一実施例を示すブロック構成図である
FIG. 1 is a block diagram showing one 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 control section 2,
Dummy data storage unit 3, drive unit 4, write/erase control unit 5 that controls write data 23 to the magnetic tape medium 9, unevenness detection unit 6 of the magnetic tape medium 9, reading that reads data from the magnetic tape medium 9 It is composed of a head 7 and a write head 8.

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

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

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

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

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

前述の様にしてブロックn−1及びギャップCの作成を
完了した後に、次のブロックnの書込処理を上位装置か
らのブロックn書込命令受信後に開始する。開始直後に
距離aをおいて媒体9上のきす100(凹凸)は凹凸検
出部6により検出される。
After completing the creation of block n-1 and gap C as described above, writing processing for the next block n is started after receiving a block n write command from the host device. Immediately after the start, a scratch 100 (unevenness) on the medium 9 is detected by the unevenness detection section 6 at a distance a.

距Maは実用的1ブロック長以上の長さを持つ。The distance Ma has a length longer than one practical block length.

つまり、凹凸検出部6は、書込ヘッド8より距離aをへ
だてて設置され、常に1ブロック以上前の磁気テープ媒
体の状態を監視している。凹凸検出部6からの検出信号
14を受けた制御部2は、データ線20からの書込デー
タをデータ線21を介しての送出を中止し、同時にダミ
ーデータ記憶部3からのダミーデータをデータ線24を
介して読み出しデータ線21に送出し続ける。この結果
、磁気テープ媒体9には、ブロックn′が記録される。
That is, the unevenness detecting section 6 is installed at a distance a from the write head 8, and constantly monitors the state of the magnetic tape medium one or more blocks in front. Upon receiving the detection signal 14 from the unevenness detecting section 6, the control section 2 stops sending the write data from the data line 20 via the data line 21, and at the same time transfers the dummy data from the dummy data storage section 3 to data. It continues to be sent to read data line 21 via line 24. As a result, block n' is recorded on the magnetic tape medium 9.

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

次に、ギャップCの中間点αから距離す間の磁気テープ
媒体9を消去する為に、制御部2は書込消去制御部5に
対して消去信号13を送出し続ける。消去完了後、制御
部2は、駆動部4に対して順方向走行指示信号15を送
出し、一定時間経過後に記憶部19からデータ線22を
介してブロックnの書き込みデータを読み出し、データ
線2】ヘデータ転送を開始すると共に、制御信号11を
介して書込消去制御部5に対して書き込みを指示するこ
とによりブロックrlか正しく記録される。
Next, in order to erase the magnetic tape medium 9 within a distance from the midpoint α of the gap C, the controller 2 continues to send the erase signal 13 to the write/erase controller 5. After the erasure is completed, the control unit 2 sends a forward direction running instruction signal 15 to the drive unit 4, reads out the write data of block n from the storage unit 19 via the data line 22 after a certain period of time has passed, and reads the write data of block n from the storage unit 19 via the data line 22. ] At the same time as starting data transfer to the block rl, the write/erase controller 5 is instructed to write via the control signal 11, thereby correctly recording the block rl.

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

以上の様にしできず100による書き込み不良を防止し
ている。
As described above, writing failures caused by the failure 100 are prevented.

発明の詳細 な説明したように、本発明によれは、磁気テープ媒体の
不良く凹凸)をデータ書込み前に検出し、不良部を消去
することにより、凹凸部によるデータの書込み不良を防
止し、データ抜けをも防止し、システムの信頼性向上及
び資源の有効活用が計れる効果が得られる。
As described in detail, the present invention detects irregularities (unevenness) on a magnetic tape medium before writing data, and erases the defective parts to prevent data writing failures due to the irregularities. It also prevents data omissions, improves system reliability, and makes effective use of resources.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すブロック構成図、第2
図は磁気テープ媒体の状態を示す図である。 1・・・磁気テープ装置、2・・・制御部、3・・・ダ
ミーデータ記憶部、4・・・駆動部、5・・書込・消去
制御部、6・・凹凸検出部、7・読取ヘッド、8・・・
書込ヘッド、9・・・磁気テープ媒体、10.11.1
2,1.3,141.5,16.17・・・制御信号、
19・・・記憶部、20,21,2223゜24・・デ
ータ線、]00・・・磁気テープ上のきす、nn′・・
・ブロック番号、a、b、c、c′ ・・距離、α・・
ギャップCの中間点 特許出願人   日木電気株式会社 代 理 人   弁理士 熊谷雄太部
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG.
The figure is a diagram showing the state of a 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. Reading head, 8...
Write head, 9...magnetic tape medium, 10.11.1
2, 1.3, 141.5, 16.17... control signal,
19... Storage section, 20, 21, 2223° 24... Data line, ]00... Scratch on magnetic tape, nn'...
・Block number, a, b, c, c' ・・Distance, α・・
Gap C midpoint patent applicant: Nichiki Electric Co., Ltd. Representative: Patent attorney: Yutabe Kumagai

Claims (1)

【特許請求の範囲】 磁気テープ装置において、 該磁気テープ装置全体を制御する制御部と、実用的1ブ
ロックに対応した容量を持ち書込み専用に1ブロック分
の書込みデータを記憶する記憶手段と、 磁気テープ媒体表面の凹凸(不良)を実用的1ブロック
長より前に常時検出する凹凸検出手段と、前記凹凸検出
手段により凹凸検出後、書込み処理を中断する手段と、 前記書込み処理中断後、一定の長さのダミーブロックを
作成する手段と、 前記ダミーブロック作成後自動的に不良ブロックの先頭
(前記ダミーブロックを含む処理中断を行ったブロック
の先頭)に戻す手段と、 前記不良ブロックの先頭から凹凸までの距離を越える一
定の長さを消去する手段と、 前記消去手段により消去後に前記記憶データを磁気テー
プ媒体に記録する手段と、 を有することを特徴とした磁気テープ装置。
[Scope of Claim] A magnetic tape device, comprising: a control unit that controls the entire magnetic tape device; a storage unit that has a capacity corresponding to one practical block and stores one block of write data exclusively for writing; unevenness detecting means for always detecting unevenness (defects) on the surface of a tape medium before the length of one practical block; means for interrupting the writing process after the unevenness detecting means detects the unevenness; means for creating a dummy block of the same length; means for automatically returning to the beginning of the bad block (the beginning of the block including the dummy block whose processing was interrupted) after creating the dummy block; and unevenness starting from the beginning of the bad block. 1. A magnetic tape device comprising: means for erasing a predetermined length that exceeds a distance from . . . , and means for recording the stored data on a magnetic tape medium after being erased by the erasing means.
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 true JPH0258707A (en) 1990-02-27
JPH0738246B2 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8630058B2 (en) 2010-03-31 2014-01-14 Fujitsu Limited Drive apparatus, library apparatus, and control method thereof
JP2016091575A (en) * 2014-11-04 2016-05-23 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method and program for erasing file written in tape, and tape device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8630058B2 (en) 2010-03-31 2014-01-14 Fujitsu Limited Drive apparatus, library apparatus, and control method thereof
JP2016091575A (en) * 2014-11-04 2016-05-23 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method and program for erasing file written in tape, and tape device
US9753930B2 (en) 2014-11-04 2017-09-05 International Business Machines Corporation Deleting files written on tape
US9984078B2 (en) 2014-11-04 2018-05-29 International Business Machines Corporation Deleting files written on tape
US10169344B2 (en) 2014-11-04 2019-01-01 International Business Machines Corporation Deleting files written on tape

Also Published As

Publication number Publication date
JPH0738246B2 (en) 1995-04-26

Similar Documents

Publication Publication Date Title
JPH0258707A (en) Magnetic tape device
JPH0876989A (en) Electronic apparatus driven by program and rewriting method for program
KR960005941B1 (en) Detecting method & recording method of recording end signal
JP2690690B2 (en) Magnetic tape unit
JP2722744B2 (en) Digital data recording / reproducing device
JPH0233708A (en) Magnetic tape device
KR0136704B1 (en) Edit period compensation method of vcr
JP3541435B2 (en) Magnetic recording device
JP2599798B2 (en) Rotating head type magnetic recording / reproducing device
JPH08180603A (en) Magnetic tape processing device
JPS5944693B2 (en) Abnormal data erasing device for magnetic tape storage devices
JP3102402B2 (en) Magnetic head cleaning mechanism
JPH0793912A (en) Optical disk recording/reproducing apparatus
JPH0233706A (en) Magnetic tape device and magnetic tape recording method used the same
JPH08214257A (en) Apparatus and method for editing and recording by erasing head control
JPH06267014A (en) Magnetic tape controller
JPH0536154A (en) Magnetic recording and reproducing device
JPH0215404A (en) Recording error retrying method for recording device
JPH1031564A (en) Data recording device
JPS5944692B2 (en) Abnormal data erasing device for magnetic tape storage devices
JPS59146466A (en) Magnetic tape recorder
JPH06259893A (en) Device for driving multi-beam magneto-optical disk
JPS5922207A (en) Control method of rewriting
JPH0845200A (en) Magnetic tape device and retry method
JPH0581784A (en) Magnetic recording and reproducing device