JPH03260956A - Magnetic disk re-formatting system - Google Patents

Magnetic disk re-formatting system

Info

Publication number
JPH03260956A
JPH03260956A JP5918490A JP5918490A JPH03260956A JP H03260956 A JPH03260956 A JP H03260956A JP 5918490 A JP5918490 A JP 5918490A JP 5918490 A JP5918490 A JP 5918490A JP H03260956 A JPH03260956 A JP H03260956A
Authority
JP
Japan
Prior art keywords
data
track
write
magnetic disk
formatting
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
JP5918490A
Other languages
Japanese (ja)
Other versions
JP2789772B2 (en
Inventor
Morio Takeishi
竹石 守雄
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 JP2059184A priority Critical patent/JP2789772B2/en
Publication of JPH03260956A publication Critical patent/JPH03260956A/en
Application granted granted Critical
Publication of JP2789772B2 publication Critical patent/JP2789772B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To dispense with data transfer between a host device and to improve the working efficiency of a system by performing re-formatting processing by performing the internal folding of data. CONSTITUTION:A write control part 4 receiving a write start instruction, after detecting an index mark, fetches format data stored in a data buffer 1 as one row of data via a selector 8. Next, when the final write data is detected by a final data position stored in a one-track data amount control part 2, the completion of the write of the data is instructed by a write instruction signal 13. The write control part 4 to which the completion of the write of the data is instructed by the write instruction signal 13 erases a remaining part on the track up to the index mark. By performing such operation, the re-formatting of one track can be completed.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は磁気ディスクのりフォーマット方式に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to a magnetic disk adhesive formatting method.

〔従来の技術〕[Conventional technology]

従来、磁気ディスクリフォーマットは、通常の読取り/
書込み命令を用いて、1度、主記憶へ1トラック分のデ
ータを読み出し、これを再度書込むことにより行なって
いた。
Traditionally, magnetic disk reformatting is performed using normal reading/
This is accomplished by reading one track of data into the main memory once using a write command and then writing it again.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来の磁気ディスクリフォーマット方式は、デ
ータ転送の経路が、磁気ディスク装置から磁気ディスク
処理装置及び入出力チャネルを介して主記憶メモリへ、
さらに主記憶メモリから入出力チャネル及び磁気ディス
ク処理装置を介して磁気ディスク装置へとなっているの
で、リフオーマット処理中には、主記憶メモリ上に、1
トラック分のデータ格納用エリアの確保と、データ転送
のために入出力チャネルの占有時間が必要でありシステ
ムの使用効率が低下する欠点がある。
In the conventional magnetic disk reformatting method described above, the data transfer path is from the magnetic disk device to the main storage memory via the magnetic disk processing device and input/output channel.
Furthermore, since the main memory is connected to the magnetic disk device via the input/output channel and the magnetic disk processing device, during reformat processing, one memory is stored on the main memory.
It is necessary to secure a data storage area for a track and occupy time for input/output channels for data transfer, which has the disadvantage of reducing system usage efficiency.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の磁気ディスクリフォーマット方式は、中央処理
装置の入出力チャネルと一群の磁気ディスク装置との間
でのデータ転送及び磁気ディスクの動作を制御する磁気
ディスク処理装置に、磁気ディスク上の1トラック分の
データを格納するのに十分なデータバッファと、 1つのトラック上の各フィールドを連続的に処理して1
トラックのデータを1つのデータ列として読出す手段と
、 1つのデータ列をトラック上の各フィールドとして連続
的に書き込む手段と、 1トラックのデータ量を検出して書き込みの開始及び終
了を制御する手段とを設けたことを特徴とする。
In the magnetic disk reformatting method of the present invention, a magnetic disk processing device that controls data transfer between an input/output channel of a central processing unit and a group of magnetic disk devices and the operation of the magnetic disks has one track on a magnetic disk. A data buffer with enough data to store 10 minutes of data and 1
means for reading data on a track as one data string; means for continuously writing one data string as each field on the track; and means for detecting the amount of data in one track and controlling the start and end of writing. It is characterized by having the following.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

データバッファ1は磁気ディスク上の1トラック分のデ
ータを格納するのに十分な容量を持ち、磁気ディスク装
置からの読取りデータを格納するために、データ信号線
22.24とセレクタ7を介して読取り制御部3に接続
され、また格納されたデータを磁気ディスク装置に書込
むために、データ信号線25.27とセレクタ8を介し
て書込み制御部4に接続される。
The data buffer 1 has a capacity sufficient to store data for one track on a magnetic disk, and is read via data signal lines 22 and 24 and the selector 7 in order to store read data from the magnetic disk device. It is connected to the control unit 3, and is also connected to the write control unit 4 via data signal lines 25, 27 and the selector 8 in order to write stored data to the magnetic disk device.

読取り制御部3は、下位インタフェース制御部6から読
取りデータ21を受け、セレクタ7へのデータ信号線2
2に出力し、1トラックの全てのデータの読取終了を読
取り終了信号11によって、1トラックデ一タ量制御部
2へ通知する。
The read control unit 3 receives read data 21 from the lower interface control unit 6 and sends the data signal line 2 to the selector 7.
The read end signal 11 notifies the one track data amount control section 2 of the completion of reading all the data of one track.

書込み制御部4は、1トラックデ一タ量制御部2からの
書込み指示信号13によりセレクタ8を介して、データ
バッファ1に格納されているデータを順次読出した時と
同一のフォーマットでデータを出力し、最後のデータの
処理が終るとそのトラックの残りの部分をインデックス
マークまでの消去制御を行う。
The write control unit 4 outputs data in the same format as when the data stored in the data buffer 1 is sequentially read out via the selector 8 in response to the write instruction signal 13 from the 1-track data amount control unit 2. When the last data has been processed, the remaining portion of the track is controlled to be erased up to the index mark.

1トラックデ一タ量制御部2は、データバッファ1から
のデータバッファアドレス12及び読取り制御部3から
の読取り終了信号11を受け、データの書込みを制御す
る書込み指示信号13を出力する。
The one-track data amount control section 2 receives a data buffer address 12 from the data buffer 1 and a read end signal 11 from the read control section 3, and outputs a write instruction signal 13 for controlling data writing.

以下、第1図の実施例の動作について説明する。The operation of the embodiment shown in FIG. 1 will be explained below.

外部よりリフオーマット処理の指示を受けると、読取り
制御部3は、磁気ディスク装置上のインデックスマーク
まで待つ。インデックスマーク検出後、ホームアドレス
(HA、 )より順に、レコード0からトラック上の最
終レコードまてのカウント部、キ一部、データ部の情報
を連続して読み取り、データ信号線22.24及びセレ
クタ7を介して、データバッファ1への1つのデータ列
として格納する。
Upon receiving an instruction for reformat processing from the outside, the read control section 3 waits until an index mark is reached on the magnetic disk device. After detecting the index mark, the information in the count section, key section, and data section from record 0 to the last record on the track is read sequentially from the home address (HA, ), and the data signal lines 22, 24 and selector are read. 7, and is stored as one data string in the data buffer 1.

ここで再度インデックスマークを検出すると、読取り制
御部3は、1トラックデ一タ量制御部2へ読取り終了信
号11により、1トラックのデータを全て読取り終った
ことを通知する。読取り終了信号11を受けた1トラッ
クデ一タ量制御部2は、データバッファ1からのデータ
バッファアドレス信号12により最後のデータの位置を
記憶し、5 書込み制御部4に対して、書込み指示信号13によりデ
ータの書込み開始を指示する。
When the index mark is detected again, the read control section 3 notifies the one-track data amount control section 2 by a read end signal 11 that all data of one track has been read. The one-track data amount control unit 2 that receives the read end signal 11 stores the position of the last data using the data buffer address signal 12 from the data buffer 1, and sends a write instruction signal to the write control unit 4. 13 instructs to start writing data.

書込み開始指示を受けた書込み制御部4は、磁気ディス
ク装置上のインデックスマークまで待ち、インデックス
マーク検出後、1つのデータ列としてデータバッファ1
に格納されているフォーマットデータをデータ信号線2
5.27及びセレクタ8を介して取り出し、磁気ディス
ク装置へホームアドレスより順にレコードOから最終レ
コードまでのカウント部、キ一部、データ部として連続
動作で書込むことによりリフオーマットし、1トラック
デ一タ量制御部2が記憶していた最終データ位置により
最後の書込みデータを検出すると、書込み指示信号13
により、データの書込み終了を指示する。
The write control unit 4, which has received the write start instruction, waits until the index mark on the magnetic disk device is reached, and after detecting the index mark, writes the data into the data buffer 1 as one data string.
The format data stored in the data signal line 2
5.27 and selector 8, and re-format it by sequentially writing it to the magnetic disk device from the home address as the count section, key section, and data section from record O to the final record, and one track data. When the last write data is detected by the last data position stored in the data amount control unit 2, the write instruction signal 13
This instructs the end of data writing.

書込み指示信号13により、データの書込み終了を指示
された書込み制御部4は、そのトラックの残りの部分を
インデックスマークまで消去する。
The write control section 4, which is instructed to finish writing data by the write instruction signal 13, erases the remaining portion of the track up to the index mark.

以上の動作により1トラックのりフォーマットがここで
リフオーマット処理の指示を上位装置から行うようにす
ればオンラインリフオーマットが可能であり、また、磁
気ディスク処理装置に本実施例とは別にリフオーマット
するトラックを順次変化させ、磁気ディスク装置上の全
トラックを処理するように管理する機能を追加すること
によりオンラインリフオーマットを行うこともできる。
With the above operation, online re-formatting is possible by instructing the higher-level device to perform ref-formatting when one track is formatted.In addition, it is possible to perform online re-formatting by instructing the higher-level device to perform ref-formatting. Online re-format can also be performed by adding a function to manage the data so that all tracks on the magnetic disk device are processed.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、磁気ディスク処理装置に
て、データ内部折返しして、リフオーマット処理するこ
とにより、上位装置との間でのデータ転送が不用となる
ので、実行時間の短縮が可能となり、システムの使用効
率を向上する効果がある。
As explained above, in the present invention, data is internally folded back and re-formatted in a magnetic disk processing device, thereby eliminating the need for data transfer with a host device, thereby reducing execution time. This has the effect of improving system usage efficiency.

6・・・・・・下位インタフェース制御部、7,8・・
・・・・セレクタ、11・・・・・・読取り終了信号、
12・・・・・・データバッファアドレス線、13・・
・・・・書込み指示信号、21〜28・・・・・・デー
タ信号線。
6... Lower interface control unit, 7, 8...
...Selector, 11...Reading end signal,
12... Data buffer address line, 13...
...Write instruction signal, 21-28...Data signal line.

Claims (1)

【特許請求の範囲】 中央処理装置の入出力チャネルと一群の磁気ディスク装
置との間でのデータ転送及び磁気ディスクの動作を制御
する磁気ディスク処理装置に、磁気ディスク上の1トラ
ック分のデータを格納するのに十分なデータバッファと
、 1つのトラック上の各フィールドを連続的に処理して1
トラックのデータを1つのデータ列として読出す手段と
、 1つのデータ列をトラック上の各フィールドとして連続
的に書き込む手段と、 1トラックのデータ量を検出して書き込みの開始及び終
了を制御する手段とを設けたことを特徴とする磁気ディ
スクリフォーマット方式。
[Claims] Data for one track on a magnetic disk is sent to a magnetic disk processing device that controls data transfer between an input/output channel of a central processing unit and a group of magnetic disk devices and the operation of the magnetic disks. Enough data buffer to store and sequentially process each field on one track
means for reading data on a track as one data string; means for continuously writing one data string as each field on the track; and means for detecting the amount of data in one track and controlling the start and end of writing. A magnetic disk reformat method characterized by the following.
JP2059184A 1990-03-09 1990-03-09 Magnetic disk reformatting method Expired - Fee Related JP2789772B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2059184A JP2789772B2 (en) 1990-03-09 1990-03-09 Magnetic disk reformatting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2059184A JP2789772B2 (en) 1990-03-09 1990-03-09 Magnetic disk reformatting method

Publications (2)

Publication Number Publication Date
JPH03260956A true JPH03260956A (en) 1991-11-20
JP2789772B2 JP2789772B2 (en) 1998-08-20

Family

ID=13106069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2059184A Expired - Fee Related JP2789772B2 (en) 1990-03-09 1990-03-09 Magnetic disk reformatting method

Country Status (1)

Country Link
JP (1) JP2789772B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7035994B2 (en) 2002-06-04 2006-04-25 International Business Machines Corporation Storage device, information processing system having storage device, format method for storage device, data recording method, and program for implementing formatting and data recording

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63257962A (en) * 1987-04-15 1988-10-25 Nec Corp Data saving/recovering system for magnetic disk at the time of reformatting
JPH01286016A (en) * 1988-05-13 1989-11-17 Canon Electron Inc Information recording and reproducing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63257962A (en) * 1987-04-15 1988-10-25 Nec Corp Data saving/recovering system for magnetic disk at the time of reformatting
JPH01286016A (en) * 1988-05-13 1989-11-17 Canon Electron Inc Information recording and reproducing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7035994B2 (en) 2002-06-04 2006-04-25 International Business Machines Corporation Storage device, information processing system having storage device, format method for storage device, data recording method, and program for implementing formatting and data recording

Also Published As

Publication number Publication date
JP2789772B2 (en) 1998-08-20

Similar Documents

Publication Publication Date Title
JPH03260956A (en) Magnetic disk re-formatting system
JPH0535415A (en) Information storage device
JP2794839B2 (en) Recording and playback device
JPH06187249A (en) Disk array device
JP2701372B2 (en) Magneto-optical disk drive
JPH054693B2 (en)
JP2854438B2 (en) Access control method for optical disk device
JPS6325876A (en) Optical disk controller
JP4474742B2 (en) Data recording / reproducing apparatus and data re-recording processing method
JPH0628779A (en) Method for recording and controlling data in disk device
JP2725343B2 (en) Data recording device and method
JPH0520791A (en) Magnetic disk device
JPH04322341A (en) Disk cache controller
JPH05173720A (en) Disk controller, disk device and disk control system
JPH08179894A (en) Memory system, and memory system applied to disk recording and reproducing device
JPH01223529A (en) Semiconductor disk device
JPH05242605A (en) Disk control device
JPS62288926A (en) Magnetic disk access control system
JPH0659820A (en) Control method for magnetic disk device of duplicate recording system
JPH0567022A (en) High speed data access system
JPH05217286A (en) Magnetic disk controller
JPH02270166A (en) Magnetic disk device
JPS6051129B2 (en) Record information reading processing method
JPH08263220A (en) Data input and output device
JPS63124124A (en) Method for reading out data from disk device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees