JPS61272821A - Magnetic disc controller - Google Patents

Magnetic disc controller

Info

Publication number
JPS61272821A
JPS61272821A JP11572485A JP11572485A JPS61272821A JP S61272821 A JPS61272821 A JP S61272821A JP 11572485 A JP11572485 A JP 11572485A JP 11572485 A JP11572485 A JP 11572485A JP S61272821 A JPS61272821 A JP S61272821A
Authority
JP
Japan
Prior art keywords
address
alternative
sector
magnetic disk
magnetic disc
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
JP11572485A
Other languages
Japanese (ja)
Inventor
Tomio Komatsu
小松 富夫
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 JP11572485A priority Critical patent/JPS61272821A/en
Publication of JPS61272821A publication Critical patent/JPS61272821A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To get quickly the address of the substituting destination if a magnetic disc device encounters a substituted sector at accessing the magnetic disc device, by storing preliminarily a substitution table in a storage device. CONSTITUTION:When the address of a sector to be accessed is transferred from a higher device 20, a magnetic disc controller 10 starts accessing a magnetic disc device 30, and the controller 10 retrieves the substitution table if the objective sector cannot be found. When a corresponding alternative address exists as the result of retrieval, a control circuit 15 stores this alternative address in an alternative address storage circuit 14 and returns this alternative address to the high-order device 20 as the response. The device 20 detects it by this response that a part of the area on the magnetic disc 30 which is the object of the requested access is substituted with another sector, and the device 20 accesses the device 30 again.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は磁気ディスク制御装置、特にハードセクタ方式
磁気ディスク装置の代替処理機能を有する磁気ディスク
制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a magnetic disk control device, and particularly to a magnetic disk control device having an alternative processing function to a hard sector type magnetic disk device.

〔従来の技術〕[Conventional technology]

従来の磁気ディスク制御装置燻、ハードセクタ方式の磁
気ディスク装置において媒体の不良箇所を他の良好な箇
所に代替えする場合はセクタ単位に代替えを行なうのが
一般的である。実際の代替え処理に轟っては代替光アド
レス(そのセクタが不良で他に代替え用のセクタが割シ
当てられているセクタのアドレス)と代替先アドレス(
それ自身は良好なセクタであるが他の不良セクタの代替
えセクタとして割シ当てられているセクタのアドレス)
の対を構成要素とするテーブルを磁気ディスク装置自身
に書き込んでおき、磁気ディスク装置へのアクセス時に
目的とするセクタが見つからなかった場合は前記テーブ
ルを引くことによりて代替先を決定していた。
In conventional magnetic disk control devices and hard sector type magnetic disk devices, when a defective location on a medium is replaced with another good location, the replacement is generally performed sector by sector. The actual replacement process involves the replacement optical address (the address of the sector where the sector is defective and a replacement sector has been allocated) and the replacement destination address (
Address of a sector that is itself a good sector but is allocated as a replacement sector for another bad sector)
A table with pairs of elements as components is written in the magnetic disk device itself, and if a target sector is not found when accessing the magnetic disk device, an alternative destination is determined by looking up the table.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

テーブルを引く度に磁気ディスクへのアクセスを必要と
するため全体としてのスルーブツトを低下させるという
欠点がある。
Since it is necessary to access the magnetic disk each time the table is pulled, there is a drawback that the overall throughput is reduced.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の磁気ディスク制御装置は、代替テーブルを記憶
する代替テーブル記憶手段と、上位装置から代替テーブ
ルを受け取り前記代替テーブル記憶手段に格納するだめ
の代替テーブル格納手段と、上位装置から送られて来る
磁気ディスクのアクセスアドレスを格納するアクセスア
ドレス格納手段と、前記代替テーブルをサーチして得ら
れた代替アドレスを上位装置へ送るだめの代替アドレス
転送手段と、前記代替アドレスを転送するまで記憶する
ための代替アドレス記憶手段とを有して構成される。
The magnetic disk control device of the present invention includes an alternative table storage means for storing an alternative table, an alternative table storage means for receiving an alternative table from a host device and storing it in the alternative table storage means, and an alternative table storage means for receiving an alternative table from the host device. access address storage means for storing the access address of the magnetic disk; alternative address transfer means for sending the alternative address obtained by searching the alternative table to the host device; and means for storing the alternative address until it is transferred. and alternative address storage means.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を含むブロック図である。第
1図に示す磁気ディスクシステムは、3つの部分よシ栴
成される、すなわち、磁気ディスク制御装&10と、上
位装置20と、磁気ディスク装置30である。
FIG. 1 is a block diagram containing one embodiment of the present invention. The magnetic disk system shown in FIG. 1 is composed of three parts: a magnetic disk controller &10, a host device 20, and a magnetic disk device 30.

磁気ディスク制御装置10において、記憶回路11は代
替テーブルを記憶するための回路、代替テーブル転送制
御回路12は上位装置20から代替テーブルを受け取り
記憶回路11に格納するための回路、アドレス格納回路
13は上位装[20から転送されて来る磁気ディスク装
置をアクセスするためのアクセスアドレスを格納するた
めの回路、代替アドレス格納回路14は上位装置20へ
転送すべき代替アドレスを格納するための回路、アドレ
ス制御回路15は記憶回路11の内容に基づいて代替ア
ドレスを検索し上位装置20に転送するための回路であ
る。また、代替テーブル記憶部31は磁気ディスク装置
30における代替テーブルの記憶部位である。
In the magnetic disk control device 10, a storage circuit 11 is a circuit for storing an alternative table, an alternative table transfer control circuit 12 is a circuit for receiving an alternative table from a host device 20 and stored in the storage circuit 11, and an address storage circuit 13 is a circuit for storing an alternative table. The alternative address storage circuit 14 is a circuit for storing the access address for accessing the magnetic disk device transferred from the host device 20, and the alternative address storage circuit 14 is a circuit for storing the alternative address to be transferred to the host device 20, and an address control circuit. The circuit 15 is a circuit for searching for an alternative address based on the contents of the storage circuit 11 and transferring it to the host device 20. Further, the alternative table storage unit 31 is a storage part of the alternative table in the magnetic disk device 30.

第2図は代替テーブルの形式を示す概念図であシ、アク
セスアドレスは上位装置20から指定されるアドレス、
代替アドレスはアクセスアドレスに対して代替されてい
るセクタのアドレスである。。
FIG. 2 is a conceptual diagram showing the format of the alternative table, where the access address is an address specified by the host device 20,
The alternate address is the address of the sector that is substituted for the access address. .

さて、通常の処理の開始に先立って上位装置20は磁気
ディスク装置30の代替テーブル記憶部31から代替テ
ーブルを読み出し磁気ディスク制御装置10に転送する
。磁気ディスク制御装置10は、代替テーブル転送制御
回路12が上位装置20から転送されて来る代替テーブ
ルを受け取り記憶回路11に格納する。
Now, prior to starting normal processing, the host device 20 reads the alternative table from the alternative table storage section 31 of the magnetic disk device 30 and transfers it to the magnetic disk controller 10. In the magnetic disk control device 10 , an alternative table transfer control circuit 12 receives the alternative table transferred from the host device 20 and stores it in the storage circuit 11 .

次に、通常の処理における磁気ディスク制御装置10の
動作を説明する。
Next, the operation of the magnetic disk control device 10 in normal processing will be explained.

上位装置20からアクセスすべきセクタのアドレスを示
すアクセスアドレスが転送されて来るとアドレス制御回
路15が動作しアドレス格納回路13にこのアクセスア
ドレスを格納する。この後、磁気ディスク制御装置10
はこのアクセスアドレスに基づいて磁気ディスク装置へ
のアクセスを開始するがアクセス中に目的とするセクタ
が見っからない場合は別セクタに代替されている可能性
があるため、すでに記憶装置11に格納されている代替
テーブルを検索する。検索に当ってはアドレス制御回路
15が、見つからなかったセクタのアドレスをキーとし
第2図に示す代替テーブルの形式を基に、キーに対応す
る代替アドレスが存在するか否かをサーチし決定する。
When an access address indicating the address of the sector to be accessed is transferred from the host device 20, the address control circuit 15 operates and stores this access address in the address storage circuit 13. After this, the magnetic disk controller 10
starts accessing the magnetic disk device based on this access address, but if the target sector is not found during access, it may have been replaced by another sector, so the data has already been stored in the storage device 11. Find an alternative table that is During the search, the address control circuit 15 uses the address of the sector that was not found as a key and searches and determines whether or not an alternative address corresponding to the key exists based on the format of the alternative table shown in FIG. .

検索の結果対応する代替アドレスが存在すれば、アドレ
ス制御回路15はこの代替アドレスを代替アドレス格納
回路14に格納し、しかる後にこの代替アドレスを上位
装置20に応答として返す。
If a corresponding alternative address exists as a result of the search, the address control circuit 15 stores this alternative address in the alternative address storage circuit 14, and then returns this alternative address to the host device 20 as a response.

上位装置20はこの応答によって自らが磁気ディスク制
御装置10に対して要求したアクセスの対象となる磁気
ディスク装置30上のエリアの一部が他のセクタに代替
されていることを知シ、磁気ディスク制御装置10から
応答として転送されて来る代替アドレスを基に改めてア
クセスし直すことが可能となる。
Based on this response, the host device 20 learns that part of the area on the magnetic disk device 30 that is the target of the access it requested from the magnetic disk control device 10 has been replaced with another sector, and It becomes possible to access again based on the alternative address transferred as a response from the control device 10.

一方、検索の結果対応する代替アドレスが存在しなけれ
ば、磁気ディスク制御装[10はエラーとして上位装置
20に対して応答する。
On the other hand, if a corresponding alternative address does not exist as a result of the search, the magnetic disk controller [10] responds to the host device 20 as an error.

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

本発明の磁気ディスク制御装置は代替テーブルを予め記
憶装置に格納しておくことにより、磁気ディスク装置へ
のアクセス時に代替されているセクタに遭遇した場に代
替先のアドレスを迅速に知ることができるという効果が
ある。
By storing the substitution table in advance in the storage device, the magnetic disk control device of the present invention can quickly learn the address of the substitution destination when a sector being substituted is encountered during access to the magnetic disk device. There is an effect.

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

第1図は本発明の一実施例を含むブロック図、第2図位
第1図に示す実施例を説明するための代替テーブルの概
念図である。 10・・・・・・磁気ティスフ制御装置、11・・・・
・・記憶回路、12・・・・・・代替テーブル転送制御
回路、13・・・・・・アドレス格納回路、14・・・
・・・代替アドレス格納回路、15・・・・・・アドレ
ス制御回路、20・・・・・・上位装置、30・・・・
・・磁気ディスク装置、31・・・・・・代替テーブル
記憶部。 一゛、 代理人 弁理士  内 原   音   第 f  図 茅 2 国
FIG. 1 is a block diagram including an embodiment of the present invention, and FIG. 2 is a conceptual diagram of an alternative table for explaining the embodiment shown in FIG. 10...Magnetic tisf control device, 11...
...Storage circuit, 12...Alternative table transfer control circuit, 13...Address storage circuit, 14...
... Alternative address storage circuit, 15 ... Address control circuit, 20 ... Host device, 30 ...
. . . Magnetic disk device, 31 . . . Alternative table storage unit. 1. Agent Patent Attorney Uchihara Sound Part F Figure 2 Country

Claims (1)

【特許請求の範囲】[Claims] アクセスアドレスと対応する代替アドレスとの複数対か
らなる代替テーブルを記憶するための代替テーブル記憶
手段と、上位装置から代替テーブルを受け取り前記代替
テーブル記憶手段に格納するための代替テーブル格納手
段と、上位装置から送られて来る磁気ディスクのアクセ
スアドレスを格納するアクセスアドレス格納手段と、前
記代替テーブル記憶手段をサーチして前記アクセスアド
レスに対応する代替アドレスを得てこの代替アドレスを
上位装置へ送るための代替アドレス転送手段と、サーチ
された代替アドレスを転送するまで記憶しておくための
代替アドレス記憶手段とを含むことを特徴とする磁気デ
ィスク制御装置。
an alternative table storage means for storing an alternative table consisting of a plurality of pairs of access addresses and corresponding alternative addresses; an alternative table storage means for receiving an alternative table from a host device and storing it in the alternative table storage means; an access address storage means for storing the access address of the magnetic disk sent from the device; and a means for searching the alternative table storage means to obtain an alternative address corresponding to the access address and sending this alternative address to the host device. A magnetic disk control device comprising an alternative address transfer means and an alternative address storage means for storing a searched alternative address until it is transferred.
JP11572485A 1985-05-29 1985-05-29 Magnetic disc controller Pending JPS61272821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11572485A JPS61272821A (en) 1985-05-29 1985-05-29 Magnetic disc controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11572485A JPS61272821A (en) 1985-05-29 1985-05-29 Magnetic disc controller

Publications (1)

Publication Number Publication Date
JPS61272821A true JPS61272821A (en) 1986-12-03

Family

ID=14669547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11572485A Pending JPS61272821A (en) 1985-05-29 1985-05-29 Magnetic disc controller

Country Status (1)

Country Link
JP (1) JPS61272821A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63247853A (en) * 1987-03-30 1988-10-14 インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン Dasd cash management
JPH03176861A (en) * 1989-12-01 1991-07-31 Nec Corp Magnetic disk controller

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63247853A (en) * 1987-03-30 1988-10-14 インターナシヨナル・ビジネス・マシーンズ・コーポレーシヨン Dasd cash management
JPH0564814B2 (en) * 1987-03-30 1993-09-16 Ibm
JPH03176861A (en) * 1989-12-01 1991-07-31 Nec Corp Magnetic disk controller

Similar Documents

Publication Publication Date Title
US8655977B2 (en) System and method for caching inquiry data about sequential access devices
US7111192B2 (en) Method for operating storage system including a main site and a backup
JP2002244817A (en) Mirroring agent
JP2007265403A (en) Remote mirroring method between tiered storage systems
JP2004538569A (en) Method and system for accessing a tape device in a computer system
US5586290A (en) Cache system of external storage device
US6748494B1 (en) Device for controlling access to units of a storage device
JP2002123424A (en) System and method for dynamically reallocating memory in computer system
JPH04243458A (en) Communication system between asynchronous channel direct access storage device
JPH09198308A (en) Data storage system
US6693754B2 (en) Method and apparatus for a disc drive adaptive file system
JPS61272821A (en) Magnetic disc controller
KR900002189A (en) Method and apparatus for improving data reliability in computer system
US20070143554A1 (en) Controller, copy control method, and computer product
JPH07302171A (en) Disk controller
JPH11327802A (en) Disk system
JPH0567005A (en) Recording medium access system
JP3157673B2 (en) Virtual storage system
JPS6371721A (en) Ram disk operating system
JPH08161123A (en) Disk array device
JP2000047941A (en) Disk cache controller
JP2003186629A (en) Data copy system
WO1991008537A1 (en) Data record copy apparatus for a virtual memory system
JPH05189346A (en) Disk controller
JP3313207B2 (en) Information storage device and information management method