JPS6381658A - Alternating processing system for magnetic disk device - Google Patents

Alternating processing system for magnetic disk device

Info

Publication number
JPS6381658A
JPS6381658A JP22591786A JP22591786A JPS6381658A JP S6381658 A JPS6381658 A JP S6381658A JP 22591786 A JP22591786 A JP 22591786A JP 22591786 A JP22591786 A JP 22591786A JP S6381658 A JPS6381658 A JP S6381658A
Authority
JP
Japan
Prior art keywords
spare
sector
cylinder
sectors
processing
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
JP22591786A
Other languages
Japanese (ja)
Inventor
Takafumi Mazaki
真崎 孝文
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP22591786A priority Critical patent/JPS6381658A/en
Publication of JPS6381658A publication Critical patent/JPS6381658A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To improve processing speed by executing alternation processing to the stand-by sectors of other heads of a cylinder concerned if the stand-by sectors in the same track cannot be used. CONSTITUTION:If alternation processing conditions such as an unrecoverable data error in the (i) sector of (l) cylinder (m) head occurs, the stand-by sectors of (n) and (n+1) in the same track [(l) cylinder (m) head] are decided whether they can be used as an alternation destination or not. If they can be used, alternation processing is executed by using said sectors. If they cannot be used, the head is sequentially switched to (m+1), (m-1), (m+2), and (m-1), the stand-by sectors of (n) and (n+1) in respective tracks are decided whether they can be used or not, and alternation processing to the same cylinder [(l) cylinder] is executed. If all the stand-by sectors of the same cylinder [(l) cylinder] cannot be used, the stand-by sector of the stand-by track of a clinder (k) is sought and alternation-processed. Thus, the occurrence of a seek action can be reduced and processing speed can be improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、l!21転体を有する磁気記憶装置の欠陥セ
クタの交替処理方式に係り、交替先セクタを同一シリン
ダに割当てることで、予備トラック予備セクタへの交替
処理頻度の低減即ちシーク動作を低減させ、処理速度の
向上に好適な磁気ディスク装置の交替処理方式に関する
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides l! Regarding the replacement processing method for defective sectors in magnetic storage devices having 21 rotations, by allocating the replacement sectors to the same cylinder, the frequency of replacement processing to the spare track spare sector, that is, the seek operation, is reduced, and the processing speed is increased. The present invention relates to a replacement processing method for a magnetic disk device suitable for improvement.

〔従来の技術〕[Conventional technology]

従来は、第3図のように現用セクタにおいて回復不能な
データエラー等のセクタ交替処理条件が発生すると、当
該トラック上に割当てられた予備セクタを用いて交替処
理を行なうが、既に使用済等で使用不可の場合、別シリ
ンダの予備トラック予備セクタを用いて交替処理を行な
う為に、予備トラックへのシーク動作処理が発生し、シ
ーク動作時間による処理速度が低下する欠点があった。
Conventionally, when a sector replacement processing condition such as an unrecoverable data error occurs in a working sector as shown in Figure 3, replacement processing is performed using a spare sector allocated on the relevant track, but if the sector is already used, etc. If the spare track cannot be used, the spare track spare sector of another cylinder is used for replacement processing, so a seek operation process to the spare track occurs, which has the disadvantage that the processing speed is reduced due to the seek operation time.

なお、この種の装置として関連するものには例えば特開
昭56−162166号が挙げられる。
Note that related devices of this type include, for example, Japanese Patent Application Laid-open No. 162166/1983.

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

上記従来技術は、交替処理時のシーク動作処理による処
理時間の増大については配慮されておらず、処理速度の
低下の問題があった。
The above-mentioned conventional technology does not take into consideration the increase in processing time due to seek operation processing during replacement processing, and has the problem of a reduction in processing speed.

本発明の目的は、交替先セクタを可能な限り同一シリン
ダの予備セクタとすることにより、ヘッド切替処理のみ
で交替処理時のシーク動作の発生を低減させ、交替処理
の処理速度向上を図ることにある。
An object of the present invention is to reduce the occurrence of seek operations during replacement processing and improve the processing speed of replacement processing by using only head switching processing by making the replacement sector a spare sector of the same cylinder as much as possible. be.

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

上記目的は、同一シリンダの他ヘッドの予備セクタをヘ
ッド切替処理で使用可否を捜査する処理を設けることに
より、達成される。
The above object is achieved by providing a process of investigating whether or not a spare sector of another head of the same cylinder can be used in a head switching process.

〔作用〕[Effect]

ヘッド切替動作は、ヘッドの移動処理がない為ヘッド移
動を行なうシーク動作に比して、処理時間が極めて小さ
い。従ってヘッド切替による他ヘッドの予備セクタを用
いた交替処理の時間はシーク時間分だけ短縮可能となる
Since the head switching operation does not involve head movement processing, the processing time is extremely short compared to a seek operation that moves the head. Therefore, the time required for replacement processing using spare sectors of other heads due to head switching can be reduced by the seek time.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図、第2図および第4図
を用いて説明する。
An embodiment of the present invention will be described below with reference to FIGS. 1, 2, and 4.

第1図は、山気ディスク制御装f1と山気ディスク装置
2の概略ブロック図であり、磁気ディスク制御装置1は
上位装置および読出/書込制御回路14の制御を司どる
マイクロプロセッサ11.処理プログラムを格納するマ
イクロプログラム格納メモリ12と、磁気ディスク装置
2とのデータ送受信用のメモリバッファ13より構成さ
れる。
FIG. 1 is a schematic block diagram of the Yamaki disk controller f1 and the Yamaki disk device 2. The magnetic disk controller 1 includes a microprocessor 11. It is composed of a microprogram storage memory 12 for storing processing programs, and a memory buffer 13 for transmitting and receiving data to and from the magnetic disk device 2.

第2図は磁気ディスク装置2のセクタフォーマット概念
図であり、任意の現用セクタをlシリンダの(m−2)
から(m + 2 )ヘッドの0から(n−1)セクタ
、予備セクタをlシリンダの(m−2)から(m+2)
ヘッドのn、(n+1)セクタ、さらに予備トラック予
備セクタを4シリンダの総てのセクタとして割当ててい
る。
FIG. 2 is a conceptual diagram of the sector format of the magnetic disk device 2, in which any current sector is defined as (m-2) of l cylinder.
From (m + 2) sectors from 0 to (n-1) of the head, spare sector from (m-2) to (m+2) of l cylinder
The n and (n+1) sectors of the head and the spare track spare sector are allotted as all sectors of the four cylinders.

第4図は、本発明の一実施例の処理フローチャートであ
り、lシリンダmヘッドのiセクタで回復不能データエ
ラー等の交替処理条件が発生すると同一トラック(lシ
リンダmヘッド)のnと(n+1)の予備セクタが交替
先として使用可か否かを判定し、使用可ならば同予備セ
クタを用いて交替処理を行なう。
FIG. 4 is a processing flowchart of one embodiment of the present invention, in which when a replacement processing condition such as an unrecoverable data error occurs in sector i of l cylinder m head, n and (n+1) of the same track (l cylinder m head) ) is usable as a replacement destination or not. If it is usable, replacement processing is performed using the spare sector.

同一トラック(lシリンダmヘクト)のnと(n+1)
の予備セクタが使用済等の使用不可ならば、ヘッドを(
m+ 1 ) 、  (m −1) 、  (m+2)
(m−2)へ順次切替え、各トラックのnと(n+1)
の予備セクタの使用可否を捜査し、同一シリンダ(lシ
リンダ)の予備セクタへの交替処理を行なう。同一シリ
ンダ(lシリンダ)の予備セクタが総て使用不可ならば
4シリンダの予備トラック予備セクタヘシーク動作を行
ない、交替処理を実行する。
n and (n+1) of the same track (l cylinder m hect)
If the spare sector of the head is already used or unusable, the head (
m+1), (m-1), (m+2)
Switch sequentially to (m-2), n and (n+1) of each track
The spare sector of the same cylinder (l cylinder) is checked to see if it can be used, and the spare sector of the same cylinder (l cylinder) is replaced with the spare sector. If all the spare sectors of the same cylinder (l cylinder) are unusable, a seek operation is performed to the spare track spare sector of 4 cylinders, and replacement processing is executed.

以上の交替処理手順とすることで続出/書込動作での交
替処理において、予備トラックへの交替処理頻度の低減
、即ちシーク動作の発生を低減させることかり能となり
、交替処理の処理速度の向上が図れる効果がある。
By adopting the above replacement processing procedure, it becomes possible to reduce the frequency of replacement processing for spare tracks, that is, reduce the occurrence of seek operations in replacement processing for continuous/write operations, and improve the processing speed of replacement processing. There is an effect that can be achieved.

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

本発明によれば、読出/書込動作時の交替処理において
、シーク動作の発生を低減できるので交替処理の処理速
度の向上を図る効果がある。
According to the present invention, it is possible to reduce the occurrence of seek operations in the alternation process during read/write operations, thereby improving the processing speed of the alternation process.

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

第1図は本発明の一実施例の山気ディスク制御装置と磁
気ディスク装置の概略ブロック図、第2図は、磁気ディ
スク装置のセクタフォーマット概念図、 第5図は、従来技術での交替処理フローチャート、 第4図は、本発明の一実施例の交替処理フローチャート
である。 1・・・磁気ディスク制御装置、 2・・・磁気ディスク装置、 11・・・マイクロプロセッサ、 12・・・マイクロプログラム格納メモリ、16・・・
読出/書込制御回路。 第 1 の II 、、、ズイ7aゾロtヲ゛ワ′ ノ  ?r+−2ロ]ゴ丁−二1−−−−I工=■コm
−1ロ]]丁−工T二−−−−工=ロコ7n   ロ]
ゴ丁−丁!丁−−−へ一■工πコ”ltl  1−−・
i]][]I]::;:]]]]I]]]、−−−n−
7ゴ==ヨ==rコi王7コ笥す2    口】[■=
工=r−−ミ[コJ−−−n−Im省7rl−2ロ]=
エーエd−−−−n−iコm−に一・−工:W−−−−
計工=■コ用  ロロ=■−丁=二−−−−へ−7II
E]liコmすI   ロアm−−−丁コ=ゴニーーー
へ−IIE]五=コmf2  ロ■エニー■==−−−
−人−[コ躬 3 圀
FIG. 1 is a schematic block diagram of a Yamaki disk control device and magnetic disk device according to an embodiment of the present invention, FIG. 2 is a conceptual diagram of a sector format of the magnetic disk device, and FIG. 5 is a replacement process in the conventional technology. Flowchart FIG. 4 is a flowchart of replacement processing according to an embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Magnetic disk control device, 2... Magnetic disk device, 11... Microprocessor, 12... Microprogram storage memory, 16...
Read/write control circuit. 1st II...? r+-2 ro] Gotyo-21----I engineering=■com
-1 ro]] ding-ko T2----work = loco 7n ro]
Go-ding-ding! 1--・
i]][]I]::;:]]]]I]]], ---n-
7 Go = = Yo = = r Koi King 7 Koshasu 2 Mouth] [■=
Engineering=r--mi [ko J--n-Im Ministry 7rl-2ro]=
AE d----n-i ni 1・-engineering: W----
Mechanical = ■ For Roro = ■-Ding = 2--7II
E] li comms I Roa m---Cho = Gony - IIE] 5 = com mf2 Lo ■ Eny ■ ==----
-People- [Koman 3 Kuni]

Claims (1)

【特許請求の範囲】[Claims] 1、通常の読み出し書き込みに使用される現用セクタと
、同一トラック上に割当てられた交替処理時の交替先セ
クタとして使用される予備セクタと、予備セクタが使用
不可のときに使用される別シリンダに割当てられた予備
トラック予備セクタのフォーマットより成る磁気ディス
ク装置において、同一トラックの予備セクタが使用不可
の場合に当該シリンダの他ヘッドの予備セクタへの交替
処理を行なわせることで、予備トラックへの交替処理頻
度の低減即ち予備トラック予備セクタへのシーク動作を
低減させることを可能とし、処理速度の向上を図ること
を特徴とする磁気ディスク装置の交替処理方式。
1. A working sector used for normal reading and writing, a spare sector allocated on the same track that is used as a replacement sector during replacement processing, and a separate cylinder used when the spare sector is unavailable. In a magnetic disk device that has an allocated spare track spare sector format, when the spare sector of the same track is unavailable, the spare sector of another head of the cylinder is replaced with the spare sector, so that the spare track can be replaced with the spare sector. A replacement processing method for a magnetic disk device characterized by making it possible to reduce processing frequency, that is, reduce seek operations to spare tracks and spare sectors, thereby improving processing speed.
JP22591786A 1986-09-26 1986-09-26 Alternating processing system for magnetic disk device Pending JPS6381658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22591786A JPS6381658A (en) 1986-09-26 1986-09-26 Alternating processing system for magnetic disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22591786A JPS6381658A (en) 1986-09-26 1986-09-26 Alternating processing system for magnetic disk device

Publications (1)

Publication Number Publication Date
JPS6381658A true JPS6381658A (en) 1988-04-12

Family

ID=16836910

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22591786A Pending JPS6381658A (en) 1986-09-26 1986-09-26 Alternating processing system for magnetic disk device

Country Status (1)

Country Link
JP (1) JPS6381658A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6968752B2 (en) 2000-08-21 2005-11-29 Toshiaki Shimada Drive shaft moving device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6968752B2 (en) 2000-08-21 2005-11-29 Toshiaki Shimada Drive shaft moving device

Similar Documents

Publication Publication Date Title
US5784220A (en) Magnetic disk apparatus, recording and accessing method for performing density recording
JPS6381658A (en) Alternating processing system for magnetic disk device
JPS62243169A (en) Control method for rotary storage device
US5483389A (en) Reproducing apparatus for temporarily writing reproducing data into memory
JPH0573803A (en) Magnetic disk device
JPH07319636A (en) Controller for storing data of magnetic disk
JPS6246468A (en) Disk memory device
JPH02203416A (en) Magnetic storage
JPS6212958A (en) Magnetic disc controller
JPS63129563A (en) Altrenative system for defective sector of disk device
JPH0668886B2 (en) Defect avoidance control method for magnetic disk
JP3231121B2 (en) Non-tracking type playback device
JPS58199472A (en) Disk device
JP3984677B2 (en) Magnetic disk unit
JPH02103781A (en) Defective block substitution processing system for magnetic disk controller
JPH06348422A (en) Magnetic disk system
JPH1021653A (en) Magnetic disk device
JPH09147308A (en) Magnetic tape device
JPH01241060A (en) File retrieval system
JPS63244373A (en) Disk device
JPH0352167A (en) Allocation method and access method for logical sector of magnetic disk device
JPS63311667A (en) Hard disk defective sector alternating system
JPS58106647A (en) Accessing system for disc
JPS59211158A (en) Allotting system of alternate block
JPH02146104A (en) Head cleaning system for floppy disk device