JPS6289273A - Magnetic disk device - Google Patents

Magnetic disk device

Info

Publication number
JPS6289273A
JPS6289273A JP60228892A JP22889285A JPS6289273A JP S6289273 A JPS6289273 A JP S6289273A JP 60228892 A JP60228892 A JP 60228892A JP 22889285 A JP22889285 A JP 22889285A JP S6289273 A JPS6289273 A JP S6289273A
Authority
JP
Japan
Prior art keywords
magnetic disk
circuit
address
writing
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.)
Pending
Application number
JP60228892A
Other languages
Japanese (ja)
Inventor
Takayuki Mukuda
椋田 隆之
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 JP60228892A priority Critical patent/JPS6289273A/en
Publication of JPS6289273A publication Critical patent/JPS6289273A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To easily know a track address when a writing action is interrupted and to shorten greatly the data recovering time, by using a rewritable nonvolatile memory circuit to store a cylinder address and a head address when a writing instruction is received together with the receiving state of said instruction. CONSTITUTION:A writing state memory circuit 61 stores a cylinder address 23 and a head address 42 at the leading of a writing instruction 53. Here the circuit 61 consists of a CMOS memory element backed up by a battery, for example, and an electronic erasion type memory element. When a writing action is through in a normal state, a magnetic disk controller delivers a clear instruction 63 to clear the contents of the circuit 61. If a subsystem for magnetic disk has the abnormality of a power supply during a writing action, this writing action is interrupted and no instruction 63 is delivered as well. Thus the contents of the circuit 61 is kept in storing the track address that received a writing instruction.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は磁気ディスク装置に関し、特に磁気ディスク制
御装置および磁気ディスク装置を含めた磁気ディスクサ
プンステムでの書き込み制御に関するものである。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a magnetic disk device, and more particularly to write control in a magnetic disk control device and a magnetic disk subsystem including the magnetic disk device.

従来の技術 従来、この種の磁気ディスク装置は、少なくともシリン
ダアドレスレジスタと、シーク制御回路と、ヘッドアド
レスレジスタと、リードライト回路とを有し、書き込み
制御は磁気ディスク制御装置により行われていた。すな
わちあるレコードにデータを書き込む場合には、磁気デ
ィスク制御装置は該当レコードの存在するシリンダアド
レスを磁気ディスク装置に送出し、磁気ディスク装置は
与えられたシリンダアドレスへのシーク動作を行ない、
目的とするシリンダへのシーク動作が完了すると、シー
ク動作完了信号を磁気ディスク制御装置に送出する。磁
気ディスク制御装置がシーク動作完了を検知すると、該
当レコードの存在するヘッド選択を行ない、レコードの
サーチ動作を行う。磁気ディスク制御装置は読み出し命
令を磁気ディスク装置に送出し、アドレスフィールドの
読み出しを行い、該当レコードのアドレスと一致すると
、データフィールドへのデータの書き込みを行うように
なっていた。
2. Description of the Related Art Conventionally, this type of magnetic disk device has at least a cylinder address register, a seek control circuit, a head address register, and a read/write circuit, and write control has been performed by the magnetic disk control device. That is, when writing data to a certain record, the magnetic disk control device sends the cylinder address where the corresponding record exists to the magnetic disk device, and the magnetic disk device performs a seek operation to the given cylinder address.
When the seek operation to the target cylinder is completed, a seek operation completion signal is sent to the magnetic disk control device. When the magnetic disk control device detects the completion of the seek operation, it selects the head where the corresponding record exists and performs a record search operation. The magnetic disk control device sends a read command to the magnetic disk device, reads the address field, and when the address matches the address of the corresponding record, writes data to the data field.

したがって磁気ディスク装置がレコードの書き込み動作
中に電源の障害が発生すると、書き込み動作が中断し、
そのレコードは読み出しが不能となる。このような場合
には、電源の障害が復旧した後に磁気ディスク装置の全
てのレコードを読み出し、読み出し不能レコードを検出
して、データの復旧を行う必要があった。そして、この
データゆ旧作業には、大容量磁気ディスク装置が多数台
接続されている大規模コンピュータシステムにおいては
、膨大な時間が費やされるという欠点があった0 発明が解決しようとする問題点 本発明の目的は、上記の欠点、すなわち電源障害発生時
に、読み出し不能レコードを検出してデータ復旧するた
めに膨大な時間を費やすという問題点を解決した磁気デ
ィスク装置を提供することにある。
Therefore, if a power failure occurs while the magnetic disk device is writing a record, the writing operation will be interrupted.
The record becomes unreadable. In such a case, it is necessary to read all the records in the magnetic disk device after the power failure is restored, detect unreadable records, and recover the data. However, in a large-scale computer system in which a large number of large-capacity magnetic disk drives are connected, this data-storing work has the drawback of consuming an enormous amount of time. SUMMARY OF THE INVENTION An object of the invention is to provide a magnetic disk drive which solves the above-mentioned drawback, that is, when a power failure occurs, it takes a huge amount of time to detect unreadable records and recover data.

問題点を解決するための手段 本発明は上述の問題点を解決するために、少なくともシ
リンダアドレスレジスタと、シーク制御回路ト、ヘッド
アドレスレジスタと、リードライト回路と、書き込み命
令を受けたときのシリンダアドレス、ヘッドアドレスお
よび書き込み命令を受けた状態を記憶する再書き込み可
能な不揮発性記憶回路とを有する構成を採用するもので
ある。
Means for Solving the Problems In order to solve the above-mentioned problems, the present invention provides at least a cylinder address register, a seek control circuit, a head address register, a read/write circuit, and a cylinder when receiving a write command. This configuration employs a rewritable nonvolatile memory circuit that stores an address, a head address, and a state in which a write command has been received.

作用 本発明は上述のように構成したので、磁気ディスク制御
装置から制御されて、シリンダアドレスがシリンダアド
レスレジスタに格納されたのちシーク制御回路でシーク
動作が行われ、次にヘッドアドレスがヘッドアドレスレ
ジスタに格納され、リードライト回路によってヘッド選
択が行われ、トラックへの書き込み命令によってリード
ライト回路で書き込みが実行される。
Operation Since the present invention is configured as described above, the cylinder address is stored in the cylinder address register under the control of the magnetic disk control device, the seek operation is performed by the seek control circuit, and then the head address is stored in the head address register. Head selection is performed by the read/write circuit, and writing is executed by the read/write circuit in response to a write command to the track.

同時にこの喪き込み命令によって不揮発性記憶回路にシ
リンダアドレス、ヘッドアドレスおよび書き込み命令を
受けた状態を記憶させる。
At the same time, this write-in command causes the nonvolatile memory circuit to store the cylinder address, head address, and the state in which the write command has been received.

そして書き込み動作が通常に終了すると、クリア命令に
よって記憶回路の内容がクリアされる。
When the write operation normally ends, the contents of the memory circuit are cleared by a clear command.

したがって書き込み動作が電源の異常で中断すると、ク
リア命令が送出されず不揮発性記憶回路にその内容がそ
のまま記憶されている。
Therefore, if a write operation is interrupted due to an abnormality in the power supply, the contents are stored as they are in the nonvolatile memory circuit without a clear command being sent out.

実施例 次に本発明の実施例について図面を参照して説明する。Example Next, embodiments of the present invention will be described with reference to the drawings.

本発明の一実施例の書き込み動作部分をブロック図で示
す第1図を参照すると、本発明の磁気ディスク装置は、
磁気ディスク制御装置と接続するインタフェース部10
と、このインタフェース部10にアドレスバス11で接
続するシリンダアドレスレジスタ21およびヘッドアド
レスレジスタ41と、シリンダアドレスレジスタ21か
らシリンダアドレスを受けとるシーク制御回路31と、
ヘッドアドレスレジスタ41からヘッドアドレスを受け
とるリードライト回路51と、シリンダアドレスレジス
タ21およびヘッドアドレスレジスタ41に接続し、か
つインタフェース部からの書き込み命令53を入力され
、また電源異常時にそのステータス64を報告する書き
込み状態記憶回路61とを備えている。
Referring to FIG. 1, which shows a block diagram of a write operation portion of an embodiment of the present invention, the magnetic disk device of the present invention includes:
Interface section 10 connected to a magnetic disk control device
a cylinder address register 21 and a head address register 41 connected to this interface unit 10 via an address bus 11; a seek control circuit 31 that receives a cylinder address from the cylinder address register 21;
It is connected to a read/write circuit 51 that receives the head address from the head address register 41, the cylinder address register 21, and the head address register 41, receives a write command 53 from the interface section, and reports its status 64 in the event of a power failure. The write state storage circuit 61 is also provided.

次にこの第1図を用いて本実施例の書き込み動作を説、
明する。まず目的シリンダへのシーク動作を行うため、
アドレスバス11を通してシリンダセレクト22ととも
にシリンダアドレスがシリンダアドレスレジスタ21に
格納されたのち、シークスタート命令32が与えられる
と、シーク制御回路31の制御の下にシーク動作が開始
され、シーク動作が完了すると、シーク制御回路31は
シーク完了信号33を送出する。磁気ディスク制御装置
はシーク完了信号33を受けると、ヘッド選択のため、
ヘッドセレクト43とともにアドレスバス11全通して
ヘッドアドレスを送出する。ヘッドアドレスはヘッドア
ドレスレジスタ41に格納され、リードライト回路51
に与えられ、目的のヘッド選択がなされ、リードライト
回路51に与えられ、目的のヘッド選択がなされる。ト
ラックの書き込み動作はリードライト回路51へ書き込
み命令53が与えられている時に実行される。
Next, using FIG. 1, we will explain the write operation of this embodiment.
I will clarify. First, in order to perform a seek operation to the target cylinder,
After the cylinder address is stored in the cylinder address register 21 along with the cylinder select 22 through the address bus 11, when a seek start command 32 is given, a seek operation is started under the control of the seek control circuit 31, and when the seek operation is completed. , the seek control circuit 31 sends out a seek completion signal 33. When the magnetic disk control device receives the seek completion signal 33, it selects the head.
The head address is transmitted along with the head select 43 through the entire address bus 11. The head address is stored in the head address register 41, and the read/write circuit 51
The signal is applied to the read/write circuit 51 to select the desired head, and is applied to the read/write circuit 51 to select the desired head. A track write operation is executed when a write command 53 is given to the read/write circuit 51.

書き込み状態記憶回路61はシリンダアドレス23およ
びヘッドアドレス42を書き込み命令53の立上りで記
憶する。書き込み状態記憶回路61は、例えば電池バッ
クアップされたCMO8型O8素子または電子消去型の
記憶素子から構成される。
The write state storage circuit 61 stores the cylinder address 23 and head address 42 at the rising edge of the write command 53. The write state storage circuit 61 is composed of, for example, a battery-backed CMO8 type O8 element or an electronic erasable type storage element.

書き込み動作が正常に終了すると、磁気ディスク制御装
置は書き込み状態記憶回路61の内容をクリアするため
にクリア命令63を送出する。
When the write operation is completed normally, the magnetic disk controller sends a clear command 63 to clear the contents of the write status storage circuit 61.

書き込み動作中に磁気ディスクサブシステムに電源の異
常が発生すると、書き込み動作は中断され、クリア命令
63も送出されないため、書き込み状態記憶回路61の
内容は書き込み命令を受けたトラックアドレスを記憶し
たままである。電源の異常が回復後システムユーティリ
ティプログラムにより、システムに接続されている全て
の磁気ディスク装置の書き込み記憶回路61の内容を読
み出す。これにより、電源の異常が発生した時に書き込
み中であったか否かを判断することが容易にできる。
If a power failure occurs in the magnetic disk subsystem during a write operation, the write operation will be interrupted and the clear command 63 will not be sent, so the contents of the write state storage circuit 61 will continue to store the track address that received the write command. be. After the power supply abnormality is recovered, the contents of the write storage circuits 61 of all the magnetic disk devices connected to the system are read by the system utility program. This makes it easy to determine whether writing was in progress when the power supply abnormality occurred.

発明の効果 以上に説、明したようンこ、本発明によれば、書き込み
命令を受けたときに、シリンダアドレス、ヘッドアドレ
スおよび書き込み命令を受けた状態を再書き込み可能な
不揮発性記憶回路に記憶することにより、書き込み中断
時のトラックアドレスを知ることが容易にでき、データ
回復の時間を大幅に短縮できる効果がある。
According to the present invention, which has been explained and explained above and beyond the effects of the invention, when a write command is received, the cylinder address, head address, and state of receiving the write command are stored in a rewritable non-volatile memory circuit. By doing so, it is possible to easily know the track address at the time of writing interruption, which has the effect of significantly shortening the time for data recovery.

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

第1図は本発明の磁気ディスク装置の実施例における書
き込み動作部分を示すブロック図である。 10・・・・・・インタフェース部、11・・・・・・
アドレスバス、21・・・・・・シリンダアドレスレジ
スタ、22・・・・・・シリンダセレクト、23・・・
・・・シリンダアドレス、31・・・・・・シーク制御
回路、32・・・・・・シークスタート、33・・印・
シーク完了、41・・・・・・ヘッドアドレスレジスタ
、42・旧・・ヘッドアドレス、43・・・・・・ヘッ
ドセレクト、51・・団・リードライト回路、52・・
・・・・読み出し命令、53・・・・・・書き込み命令
、61・・・・・・書き込み状態記憶回路、62・・・
・・・ステータス読み出し命令、63・・・・・・クリ
ア命令。 代理人 弁理士  栗 1)春 雄 1屹
FIG. 1 is a block diagram showing a write operation portion in an embodiment of the magnetic disk device of the present invention. 10... Interface section, 11...
Address bus, 21... Cylinder address register, 22... Cylinder select, 23...
... Cylinder address, 31 ... Seek control circuit, 32 ... Seek start, 33 ... Mark.
Seek complete, 41... Head address register, 42... Old... Head address, 43... Head select, 51... Group read/write circuit, 52...
... Read command, 53 ... Write command, 61 ... Write state storage circuit, 62 ...
...Status read command, 63... Clear command. Agent Patent Attorney Kuri 1) Yu Haru 1

Claims (1)

【特許請求の範囲】[Claims] 少なくともシリンダアドレスレジスタと、シーク制御回
路と、ヘッドアドレスレジスタと、リードライト回路と
を有し、磁気ディスク制御装置から書き込み命令を受け
て書き込み動作を開始する磁気ディスク装置において、
前記書き込み命令を受けたときのシリンダアドレス、ヘ
ッドアドレスおよび書き込み命令を受けた状態を記憶す
る再書き込み可能な不揮発性記憶回路を設けたことを特
徴とする磁気ディスク装置。
A magnetic disk device includes at least a cylinder address register, a seek control circuit, a head address register, and a read/write circuit, and starts a write operation upon receiving a write command from a magnetic disk control device,
A magnetic disk device comprising a rewritable nonvolatile memory circuit that stores a cylinder address, a head address, and a state in which the write command was received when the write command was received.
JP60228892A 1985-10-16 1985-10-16 Magnetic disk device Pending JPS6289273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60228892A JPS6289273A (en) 1985-10-16 1985-10-16 Magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60228892A JPS6289273A (en) 1985-10-16 1985-10-16 Magnetic disk device

Publications (1)

Publication Number Publication Date
JPS6289273A true JPS6289273A (en) 1987-04-23

Family

ID=16883486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60228892A Pending JPS6289273A (en) 1985-10-16 1985-10-16 Magnetic disk device

Country Status (1)

Country Link
JP (1) JPS6289273A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03196328A (en) * 1989-12-26 1991-08-27 Sanyo Electric Co Ltd Information recorder
US7529904B2 (en) 2004-03-31 2009-05-05 International Business Machines Corporation Storing location identifier in array and array pointer in data structure for write process management

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03196328A (en) * 1989-12-26 1991-08-27 Sanyo Electric Co Ltd Information recorder
US7529904B2 (en) 2004-03-31 2009-05-05 International Business Machines Corporation Storing location identifier in array and array pointer in data structure for write process management
US7818533B2 (en) 2004-03-31 2010-10-19 International Business Machines Corporation Storing location identifier in array and array pointer in data structure for write process management

Similar Documents

Publication Publication Date Title
JP3485938B2 (en) Nonvolatile semiconductor memory device
EP0332210B1 (en) Backup control method and system in data processing system
US7911840B2 (en) Logged-based flash memory system and logged-based method for recovering a flash memory system
EP0990987B1 (en) Electrical device with flash memory built-in
JP2000112831A (en) Disk recording/reproducing method and device therefor
JPH02297770A (en) Optical disk device
US20040133741A1 (en) Disk array apparatus and data writing method used in the disk array apparatus
JPS6289273A (en) Magnetic disk device
JPH11272569A (en) Data restoration system for outer storage device using flash memory
JP2002373059A (en) Method for recovering error of disk array, and controller and device for disk array
JP3845239B2 (en) Disk array device and failure recovery method in disk array device
JPH09212425A (en) Write cache backup system
JP2003263894A (en) Method for controlling nonvolatile semiconductor memory device
JPH07160597A (en) Controller for flash memory
JPH10161942A (en) Method, device for storing information, and information processor
JP2003242788A (en) Nonvolatile semiconductor memory device and control method therefor
JPH01130243A (en) Fault recovering system for storage device
JP2960455B2 (en) External storage control method
JPH0588988A (en) Disk array device and method for restoring data
JPH09101866A (en) Disk array system and its application method
JP2595316B2 (en) Alternate assignment processing method
JP3335969B2 (en) Magnetic disk drive
JP3977859B2 (en) Nonvolatile semiconductor memory device and control method thereof
KR850002417Y1 (en) System of rewriting data in non-volatile memory
JP2652388B2 (en) Optical disk storage management method