JP2000020251A - Method and device for alternative sector processing of magnetic disk array device - Google Patents

Method and device for alternative sector processing of magnetic disk array device

Info

Publication number
JP2000020251A
JP2000020251A JP10199494A JP19949498A JP2000020251A JP 2000020251 A JP2000020251 A JP 2000020251A JP 10199494 A JP10199494 A JP 10199494A JP 19949498 A JP19949498 A JP 19949498A JP 2000020251 A JP2000020251 A JP 2000020251A
Authority
JP
Japan
Prior art keywords
sector
magnetic disk
read
alternative
disk array
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
JP10199494A
Other languages
Japanese (ja)
Inventor
Hirobumi Takigami
博文 瀧上
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 JP10199494A priority Critical patent/JP2000020251A/en
Publication of JP2000020251A publication Critical patent/JP2000020251A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a method and device for alternative sector processing of a magnetic disk device which have processing capability for alternative sectors improved while added memory capacity is minimized. SOLUTION: When an object sector to be read or written is an alternative sector, it is judged whether or not the magnetic disk array device 1 decreases in performance when the alternative sector is read or written directly. When it is judged that the performance does not decrease so much even when a direct read/write process is performed, the alternative sector of the magnetic disk device is read or written directly, but when it is judged that the performance greatly decreases when the direct read/write process is performed, an exclusively provided alternative sector storage circuit 6 is read or written.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、磁気ディスクアレ
イ装置の代替セクタ処理方法及び装置に関するものであ
り、特に、リード/ライト処理をおこなう目的のセクタ
が代替セクタであった場合の処理能力を高めるようにし
た磁気ディスクアレイ装置の代替セクタ処理方法および
装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for processing a substitute sector of a magnetic disk array device, and in particular, to enhance the processing capability when a sector for performing read / write processing is a substitute sector. The present invention relates to an alternative sector processing method and apparatus for a magnetic disk array device as described above.

【0002】[0002]

【従来の技術】従来のディスクアレイ装置においては、
上位回路からのリード/ライト命令が、その命令を実行
するセクタが代替セクタであるか非代替セクタであるか
に関わらず、そのセクタの論理セクタ番号を下位の磁気
ディスク装置に送り、リード/ライト処理を行うように
している。このような装置では、上位回路からの命令を
実行するセクタが、代替セクタである場合でも、代替セ
クタ処理はアレイ側では行われず、磁気ディスク装置が
内部に持っているテーブルを参照して行われる。
2. Description of the Related Art In a conventional disk array device,
The read / write command from the upper circuit sends the logical sector number of the sector to the lower magnetic disk device, regardless of whether the sector executing the command is a replacement sector or a non-replacement sector, and reads / writes it. Processing is performed. In such a device, even when the sector executing the instruction from the higher-level circuit is a replacement sector, the replacement sector processing is not performed on the array side, but is performed with reference to a table stored in the magnetic disk device. .

【0003】[0003]

【発明が解決すべき課題】このように磁気ディスク装置
で代替処理を行う場合に、欠陥セクタと、この欠陥セク
タの代替セクタとの物理的な位置が近い場合は、リード
/ライトヘッドわずかな量だけ余分に移動させることで
処理することができる。例えば、代替セクタが欠陥セク
タ位置と同一のトラック内にある場合は、代替セクタを
含めて該トラックを連続してリード/ライト処理を行え
ば、1つのセクタを余分に処理するだけで代替セクタ処
理が完了し、オーバーヘッド量は通常の処理とほとんど
変わらない。しかし、欠陥セクタからの代替セクタの物
理的位置が遠い場合は、オーバーヘッドの量も大きくな
ってしまう。すなわち、代替セクタの物理的な位置が欠
陥セクタと同一シリンダ内にある場合でも、この代替セ
クタ処理を行うためには、回転待ち時間+ヘッド切替時
間+1セクタ処理時間+その他雑処理時間等が必要とな
る。更に、代替セクタの物理的な位置が欠陥セクタとは
別のシリンダにある場合は、上記処理時間に加えてシー
ク時間も必要となり、オーバーヘッド量はますます大き
くなり、磁気ディスクアレイ装置のパフォーマンスが著
しく下がってしまう。
When the replacement process is performed by the magnetic disk device, if the physical position of the defective sector and the replacement sector of the defective sector are close to each other, a small amount of the read / write head is required. It can be processed by moving only extra. For example, if the replacement sector is located in the same track as the position of the defective sector, the read / write processing is continuously performed on the track including the replacement sector. Is completed, and the overhead amount is almost the same as the normal processing. However, if the physical position of the replacement sector is far from the defective sector, the amount of overhead also increases. In other words, even when the physical position of the replacement sector is in the same cylinder as the defective sector, in order to perform this replacement sector processing, rotation waiting time + head switching time + 1 sector processing time + other processing time is required. Becomes Further, when the physical position of the replacement sector is located in a different cylinder from the defective sector, a seek time is required in addition to the processing time described above, and the overhead amount is further increased, and the performance of the magnetic disk array device is significantly increased. Will go down.

【0004】このような問題を解決すべく、特開平7−
307061号公報に記載されている装置では、代替セ
クタ用メモリを別に設けて、上位回路からのリード/ラ
イト命令が代替セクタに対するものである場合に、この
専用メモリに代替セクタ処理を行うようにして処理能力
を上げるようにしている。
In order to solve such a problem, Japanese Patent Laid-Open No.
In the device described in Japanese Patent No. 307061, an alternative sector memory is separately provided, and when a read / write instruction from an upper circuit is for an alternative sector, an alternative sector process is performed on the dedicated memory. We try to increase processing capacity.

【0005】しかしながら、この方法では、代替セクタ
全部に対してメモリを設ける必要があるため、大量の物
理量(個数)のメモリが必要となり、実装面積がこのメ
モリで占められてしまうと共に、大量のメモリを必要と
するため製品価格が高くなってしまうという欠点があ
る。
However, in this method, it is necessary to provide a memory for all the substitute sectors, so that a large amount of physical quantity (number) of memory is required, and the mounting area is occupied by this memory, and a large amount of memory is required. However, there is a drawback that the product price is increased due to the necessity.

【0006】[0006]

【課題を解決するための手段】このような問題を解決す
るために、本発明の代替セクタ処理方法は、上位回路か
らの命令によって情報のリード/ライト処理をおこなう
磁気ディスクアレイ装置における代替セクタ処理方法に
おいて、リードライト処理を行う目的セクタが代替セク
タであった場合に、当該代替セクタに、直接リード/ラ
イト処理をおこなった場合に磁気ディスクアレイ装置の
パフォーマンスが著しく落ちるか否かを判断して、直接
リードライト処理を行っても磁気ディスクアレイ装置の
パーフォーマンスが落ちないと判断した時には当該代替
セクタに対して直接リード/ライト処理をおこない、そ
の代替セクタに直接リード/ライト処理をおこなうと磁
気ディスクアレイ装置のパフォーマンスが著しく落ちる
と判断した場合には専用に設けた代替セクタ用記憶回路
に対してリード/ライト処理を行うようにしたことを特
徴とする。
In order to solve such a problem, an alternative sector processing method according to the present invention provides an alternative sector processing in a magnetic disk array device which performs information read / write processing in accordance with an instruction from an upper circuit. In the method, when the target sector for performing the read / write processing is an alternative sector, it is determined whether or not the performance of the magnetic disk array device is significantly reduced when the read / write processing is performed directly on the alternative sector. If it is determined that the performance of the magnetic disk array device does not decrease even if the direct read / write processing is performed, the read / write processing is performed directly on the alternative sector, and the read / write processing is performed on the alternative sector. If it is determined that the performance of the disk array Characterized in that to perform the read / write processing to the alternative sector storage circuit provided only.

【0007】また、本発明の磁気ディスクアレイ装置
は、上位回路からの命令によって情報のリード/ライト
処理をおこなう磁気ディスクアレイ装置であって、磁気
ディスク装置と、代替セクタ用記憶装置とを具える磁気
ディスクアレイ装置において、磁気ディスク装置と、代
替セクタ用記憶装置と、前記上位回路からの命令を受け
て、リードライト処理を行う目的セクタが代替セクタで
ある場合に、当該代替セクタに直接リード/ライト処理
をおこなった場合に磁気ディスクアレイ装置のパフォー
マンスが著しく落ちるか否かを判断する判断手段と、当
該判断手段における判断に基づいて磁気ディスク装置に
リード/ライト命令をおくるか、あるいは前記代替セク
タ用記憶装置に対してリードライト命令を送るかを選択
する選択手段とを具え、前記判断手段が前記代替セクタ
に直接リードライト処理を行っても磁気ディスクアレイ
装置のパーフォーマンスが著しく落ちないと判断した時
には前記磁気ディスク装置の代替セクタに対して直接リ
ード/ライト処理を行う命令を送り、前記判断手段が前
記代替セクタに直接リードライト処理を行うと磁気ディ
スクアレイ装置のパフォーマンスが著しく落ちると判断
した場合には前記代替セクタ用記憶装置に対してリード
/ライト命令を送るようにしたことを特徴とする。
A magnetic disk array device according to the present invention is a magnetic disk array device for performing information read / write processing in accordance with an instruction from a higher-level circuit, and includes a magnetic disk device and a storage device for a substitute sector. In a magnetic disk array device, when a target sector for performing read / write processing is an alternative sector in response to a command from the magnetic disk device, a storage device for an alternative sector, and the upper circuit, direct read / write to the alternative sector is performed. Determining means for determining whether or not the performance of the magnetic disk array device is significantly degraded when the write processing is performed; and issuing a read / write command to the magnetic disk device based on the determination by the determining means, or Selection means for selecting whether to send a read / write command to the storage device. When the determining means determines that the performance of the magnetic disk array device does not significantly decrease even if the read / write process is directly performed on the substitute sector, an instruction for performing a direct read / write process on the substitute sector of the magnetic disk device is provided. If the determination means determines that the performance of the magnetic disk array device is significantly reduced if the read / write processing is performed directly on the replacement sector, a read / write command is sent to the storage device for the replacement sector. It is characterized by having done.

【0008】このように、本発明の代替セクタ処理方法
および装置では、リード/ライト処理を行う目的セクタ
が代替セクタである場合に、当該代替セクタに、直接リ
ード/ライト処理をおこなった場合に磁気ディスクアレ
イ装置のパフォーマンスが落ちるか否かを判断して、直
接リードライト処理を行っても磁気ディスクアレイ装置
のパーフォーマンスがあまり落ちないと判断した時には
磁気ディスク装置の代替セクタに対して直接リード/ラ
イト処理をおこない、その代替セクタに直接リード/ラ
イト処理をおこなうと磁気ディスクアレイ装置のパフォ
ーマンスが著しく落ちると判断した場合には専用に設け
た代替セクタ用記憶回路に対してリード/ライト処理を
行うようにしている。磁気ディスク装置の代替セクタに
直接リード/ライトを行うと装置のパフォーマンスが落
ちると判断した場合にのみ、代替セクタ用記憶装置にリ
ード/ライトを行っているため、代替セクタ全部に対し
て専用メモリを設ける必要がなく、付加するメモリ量を
最少限に抑え、かつ装置の処理能力を上げることができ
る。また、代替セクタに直接リード/ライトを行うと装
置のパフォーマンスが落ちると判断したセクタについて
は、代替セクタ用の記憶装置にリード/ライト処理を行
うようにしているので、装置の処理能力を向上させるこ
とができる。
As described above, according to the alternative sector processing method and apparatus of the present invention, when the target sector for performing read / write processing is an alternative sector, the magnetic field is applied when direct read / write processing is performed on the alternative sector. It is determined whether or not the performance of the disk array device is degraded. If it is determined that the performance of the magnetic disk array device is not significantly reduced even if the direct read / write processing is performed, direct reading / writing to the alternative sector of the magnetic disk device is performed. If it is determined that the performance of the magnetic disk array device is significantly reduced if the write process is performed and the read / write process is performed directly on the substitute sector, the read / write process is performed on the dedicated sector storage circuit provided exclusively. Like that. Only when it is determined that performing the read / write directly to the alternative sector of the magnetic disk device deteriorates the performance of the device, the read / write is performed to the storage device for the alternative sector. There is no need to provide this, and the amount of memory to be added can be minimized, and the processing capability of the device can be increased. In addition, for a sector that is determined to perform poorly when the read / write is performed directly on the substitute sector, the read / write processing is performed on the storage device for the substitute sector, so that the processing performance of the device is improved. be able to.

【0009】なお、磁気ディスク装置に直接リード/ラ
イト処理をおこなった場合に、磁気ディスクアレイ装置
のパフォーマンスが落ちるか否かの判断は、前記欠陥セ
クタからリードライト処理を行うべき代替セクタまでの
物理的距離に応じて行うのが好ましい。例えば、欠陥セ
クタとその代替セクタが同一トラック内に位置している
かどうかを認識して、同一トラック内に位置している場
合には、当該代替セクタに直接リード/ライト処理を行
っても磁気ディスクアレイ装置のパフォーマンスが落ち
ないとし、他の場合には、当該代替セクタに直接リード
/ライト処理を行うと磁気ディスクアレイ装置のパフォ
ーマンスが落ちると判断するようにする。
When the read / write processing is directly performed on the magnetic disk drive, it is determined whether or not the performance of the magnetic disk array apparatus is degraded. It is preferable to carry out according to the target distance. For example, it is recognized whether a defective sector and its substitute sector are located in the same track. If the defective sector and the substitute sector are located in the same track, the magnetic disk can be read / written directly to the substitute sector. It is assumed that the performance of the array device is not degraded. In other cases, it is determined that the performance of the magnetic disk array device is degraded if the read / write processing is performed directly on the substitute sector.

【0010】[0010]

【発明の実施の形態】以下に、図面を参照して本発明の
実施の形態を説明する。図1に示すように、本発明の磁
気ディスクアレイ装置1は、アレイ制御回路2、代替位
置監視回路3、代替制御回路4、HDD制御回路5、代
替データ記憶回路6、HDD7とを具える。
Embodiments of the present invention will be described below with reference to the drawings. As shown in FIG. 1, a magnetic disk array device 1 of the present invention includes an array control circuit 2, an alternative position monitoring circuit 3, an alternative control circuit 4, an HDD control circuit 5, an alternative data storage circuit 6, and an HDD 7.

【0011】アレイ制御回路2は上位コントローラ11
に接続されており、上位コントローラ11からの“リー
ド/ライト処理命令を含む各種命令”(制御信号a)を
受けてこれを解釈し、この解釈した“リード/ライト処
理命令を含む各種命令”を代替位置監視回路3に出力す
る。
The array control circuit 2 includes a host controller 11
, Receives and interprets “various commands including a read / write processing command” (control signal a) from the host controller 11, and interprets the interpreted “various commands including a read / write processing command”. Output to the alternative position monitoring circuit 3.

【0012】また、アレイ制御回路2は、起動時に、H
DD7からHDD制御回路6、代替位置監視回路4を介
して代替セクタ情報を入手し、各代替セクタについて、
そのセクタに直接リード/ライト処理を行った場合に
“磁気ディスクアレイ装置のパフォーマンスが著しく落
ちる”かどうかを判断し、この判断情報とアドレスとを
代替位置監視回路5に送り(監視信号e)記憶させる。
更に、アレイ制御回路2は、HDD7に直接リード/ラ
イト処理を行うと“磁気ディスクアレイ装置のパフォー
マンスが著しく落ちる”と判断した代替セクタのアドレ
スとデータ(代替信号f)を代替位置監視回路3、代替
制御回路4を介して代替データ記憶回路6に送り記憶さ
せておく。
When the array control circuit 2 is activated,
The substitute sector information is obtained from the DD 7 via the HDD control circuit 6 and the substitute position monitoring circuit 4, and for each substitute sector,
If the read / write processing is directly performed on the sector, it is determined whether or not “the performance of the magnetic disk array device is significantly reduced”, and this determination information and the address are sent to the alternative position monitoring circuit 5 (monitoring signal e) and stored. Let it.
Further, the array control circuit 2 sends the address and data (alternative signal f) of the alternative sector, which is determined to perform "read / write processing directly to the HDD 7" to "remarkably degrade the performance of the magnetic disk array device", to the alternative position monitoring circuit 3, The data is sent to the alternative data storage circuit 6 via the alternative control circuit 4 and stored therein.

【0013】代替位置監視回路3は、アレイ制御回路2
に接続されており、まず、アレイ制御回路2が上位回路
11から受け取ったリードライト処理命令の対象が代替
セクタであるか、非代替セクタであるかによって、リー
ド/ライト処理を行う制御回路を選択して、処理命令を
送る。リード/ライト処理の対象が代替セクタでない場
合、すなわち、通常のリード/ライト処理命令である場
合は、HDD制御回路5に対してリード/ライト処理命
令を送り(HDD信号c)、HDD7ではこれを受けて
該当するセクタに通常のリード/ライト処理が行われ
る。
The alternative position monitoring circuit 3 includes the array control circuit 2
First, the array control circuit 2 selects a control circuit for performing read / write processing depending on whether the target of the read / write processing command received from the upper circuit 11 is an alternative sector or a non-replacement sector. And send a processing instruction. If the target of the read / write process is not the substitute sector, that is, if it is a normal read / write process command, the read / write process command is sent to the HDD control circuit 5 (HDD signal c), and the HDD 7 sends this command. In response, normal read / write processing is performed on the corresponding sector.

【0014】次に、代替位置監視回路3は、アレイ制御
回路2が上位回路11から受け取ったリード/ライト処
理命令の対象が代替セクタである場合の選択を行う。す
なわち、アレイ制御回路2が、“直接リード/ライト処
理を行っても磁気ディスクアレイ装置のパフォーマンス
があまり落ちない”と判断した代替セクタについては、
通常のリード/ライト処理と同様に、HDD制御回路5
に対してリード/ライト処理命令を送り(HDD信号
c)、HDD7ではその代替セクタに対してリード/ラ
イト処理を行う。
Next, the alternative position monitoring circuit 3 performs selection when the target of the read / write processing command received by the array control circuit 2 from the upper circuit 11 is an alternative sector. That is, for the alternative sector that the array control circuit 2 has determined that "the performance of the magnetic disk array device does not degrade significantly even if the direct read / write processing is performed",
As with the normal read / write processing, the HDD control circuit 5
, A read / write processing command is sent (HDD signal c), and the HDD 7 performs read / write processing on the substitute sector.

【0015】また、代替位置監視回路3は、アレイ制御
回路2が上位コントローラ11から受け取ったリード/
ライト処理命令の対象が代替セクタであって、アレイ制
御回路2が“この代替セクタへリード/ライト処理を行
うと磁気ディスクアレイ装置のパフォーマンスが著しく
落ちる”と判断した代替セクタについては、代替制御回
路4に対してリード/ライト処理命令を送り(代替制御
信号d)、代替制御回路4を介して代替データ記憶回路
6においてリード/ライト処理が行われる。
Further, the alternative position monitoring circuit 3 reads the read / write data received by the array control circuit 2 from the host controller 11.
If the target of the write processing instruction is a substitute sector, and the array control circuit 2 determines that “performing read / write processing to this substitute sector will significantly reduce the performance of the magnetic disk array device”, the substitute control circuit Then, a read / write processing instruction is sent to the alternative data memory 4 (alternate control signal d), and the alternative data storage circuit 6 performs the read / write processing via the alternative control circuit 4.

【0016】代替位置監視回路3は、起動時に、アレイ
制御回路2からの命令によって、HDD7からHDD制
御回路6を介して代替セクタ情報を入手して、この代替
セクタ情報をアレイ制御回路2に送る。このようにして
HDD7から入手した代替セクタ情報は、上述したとお
り、アレイ制御回路2で各代替セクタについて“磁気デ
ィスクアレイ装置のパフォーマンスがおちる代替セク
タ”であるかどうかが判断され、代替位置監視回路3に
この判断情報が送られる。代替位置監視回路3ではこの
アレイ制御回路2から送られてくる判断情報を記憶し
て、更に、アレイ制御回路2が“磁気ディスクアレイ装
置のパフォーマンスが著しくおちる代替セクタである”
と判断した代替セクタのアドレスとデータを代替制御回
路4を経由してデータ記憶回路6に記憶させておく。
At the time of startup, the substitute position monitoring circuit 3 obtains substitute sector information from the HDD 7 via the HDD control circuit 6 according to a command from the array control circuit 2, and sends the substitute sector information to the array control circuit 2. . As described above, the alternative sector information obtained from the HDD 7 is determined by the array control circuit 2 as to whether or not each alternative sector is an "alternative sector in which the performance of the magnetic disk array device falls" as described above. 3 is sent this determination information. The alternative position monitoring circuit 3 stores the judgment information sent from the array control circuit 2, and further determines that the array control circuit 2 is "an alternative sector in which the performance of the magnetic disk array device is significantly reduced".
The address and data of the alternative sector determined as above are stored in the data storage circuit 6 via the alternative control circuit 4.

【0017】代替制御回路4は、代替位置監視回路3に
接続されており、代替位置監視回路3から送られてくる
“リード/ライト処理命令を含む各種命令”をメモリ用
命令に変換して、複数のメモリで構成される代替データ
記憶回路6に出力する。なお、ここで処理される“リー
ド/ライト処理命令を含む各種命令”は、処理対象が、
代替セクタであり、“当該代替セクタへ直接リード/ラ
イト処理を行うと磁気ディスクアレイ装置のパフォーマ
ンスが著しく落ちる”とアレイ制御回路2が判断した命
令である。
The substitution control circuit 4 is connected to the substitution position monitoring circuit 3 and converts "various instructions including a read / write processing instruction" sent from the substitution position monitoring circuit 3 into memory instructions. The data is output to the alternative data storage circuit 6 composed of a plurality of memories. The “various instructions including the read / write processing instruction” processed here are processed by
This is an instruction that is determined by the array control circuit 2 to be "alternate sector" and that "if the read / write processing is directly performed on the alternative sector, the performance of the magnetic disk array device will be significantly reduced".

【0018】代替制御回路4は、起動時に、アレイ制御
回路2が本磁気ディスクアレイ装置のパフォーマンスが
著しく落ちる代替セクタであると判断した代替セクタに
ついての、代替位置監視回路3を経由して送られてくる
当該代替セクタのアドレスとデータを複数のメモリで構
成されている代替データ記憶回路6に送り、記憶させて
おくようにする。
The substitute control circuit 4 is sent via the substitute position monitoring circuit 3 at the time of startup, for the substitute sector that the array control circuit 2 has determined to be a substitute sector in which the performance of the magnetic disk array device is significantly reduced. The address and data of the replacement sector are sent to the replacement data storage circuit 6 composed of a plurality of memories and stored therein.

【0019】HDD制御回路5も、代替位置監視回路3
に接続されており、代替位置監視回路3から送られてく
る“リード/ライト処理命令を含む各種命令”を磁気デ
ィスク用命令に変換して、複数の磁気ディスク装置で構
成されるHDD7に出力する(HDD制御信号b)。な
お、ここで処理される“リード/ライト処理命令を含む
各種命令”は、処理対象が、非代替セクタであるものに
対する命令、および、代替セクタの内の“当該代替セク
タへ直接リード/ライト処理を行うと磁気ディスクアレ
イ装置のパフォーマンスが著しく落ちる”とアレイ制御
回路2が判断した代替セクタに対する命令である。
The HDD control circuit 5 also has the alternative position monitoring circuit 3
And converts the “various commands including the read / write command” sent from the alternative position monitoring circuit 3 into magnetic disk commands, and outputs them to the HDD 7 composed of a plurality of magnetic disk devices. (HDD control signal b). The “various instructions including a read / write processing instruction” processed here include an instruction for a non-replacement sector to be processed and a “read / write processing directly to the replacement sector” in the replacement sector. When this is done, the performance of the magnetic disk array device will be significantly reduced. "

【0020】HDD制御回路5は、起動時には、アレイ
制御回路2から出力されて代替位置監視回路3を経由し
てきた命令によって、HDD7から代替セクタ情報を入
手し、この代替セクタ情報を代替位置監視回路3を経由
してアレイ制御回路2に送る。
At the time of startup, the HDD control circuit 5 obtains substitute sector information from the HDD 7 according to an instruction output from the array control circuit 2 and passed through the substitute position monitoring circuit 3, and uses this substitute sector information as a substitute position monitor circuit. 3 to the array control circuit 2.

【0021】代替データ記憶回路6は代替制御回路4に
接続されており、複数のメモリから構成されている。代
替制御回路4から送られてくる、“磁気ディスクアレイ
装置のパフォーマンスが著しく落ちる代替セクタ”のデ
ータとアドレスを記憶し、また、代替制御回路4の命令
によってこのデータとアドレスを書き換えられるように
構成されている。
The alternative data storage circuit 6 is connected to the alternative control circuit 4 and is composed of a plurality of memories. It stores the data and address of "alternative sector that significantly degrades the performance of the magnetic disk array device" sent from the alternative control circuit 4, and can rewrite this data and address by the instruction of the alternative control circuit 4. Have been.

【0022】HDD7は、複数の磁気ディスク装置で構
成されている。HDD制御回路5に接続されており、制
御回路5からの“リード/ライト処理命令を含む各種命
令”に応じてリード/ライト処理動作等を行う。また、
起動時には、アレイ制御回路2から出力され、代替位置
監視回路3、HDD制御回路5を経由してきた命令に応
じて、代替セクタ情報をHDD制御回路5、代替位置監
視回路3を経由してアレイ制御回路に出力する。
The HDD 7 is composed of a plurality of magnetic disk devices. It is connected to the HDD control circuit 5 and performs a read / write processing operation or the like in accordance with “various commands including a read / write command” from the control circuit 5. Also,
At the time of startup, in response to a command output from the array control circuit 2 and passed through the alternative position monitoring circuit 3 and the HDD control circuit 5, the alternative sector information is transmitted to the array control circuit via the HDD control circuit 5 and the alternative position monitoring circuit 3. Output to the circuit.

【0023】このように構成された本発明の磁気ディス
ク装置は以下のとおり動作する。まず、起動時には、ア
レイ制御回路2が、HDD制御回路5、代替位置監視回
路3を介して、HDD7から代替セクタ情報を入手す
る。アレイ制御回路2は、この代替セクタ情報に含まれ
ている各代替セクタについて、“磁気ディスクアレイ装
置のパフォーマンスが著しく落ちる代替セクタである”
か、あるいは、“磁気ディスクアレイ装置のパフォーマ
ンスがあまり落ちない代替セクタであるか”を、それぞ
れの代替セクタの欠陥セクタに対する物理的位置に応じ
て判断する。この判断情報は代替位置監視回路3に送ら
れてそこに記憶される。この判断は、例えば、欠陥セク
タと当該欠陥セクタに対する代替セクタとが同一トラッ
ク上にある場合に、その代替セクタを“磁気ディスクア
レイ装置のパフォーマンスがあまり落ちない代替セクタ
である”と判断し、同一トラック上にない場合に、その
代替セクタを“磁気ディスクアレイ装置のパフォーマン
スが著しく落ちる代替セクタである”と判断するように
する。
The magnetic disk drive of the present invention thus configured operates as follows. First, at the time of startup, the array control circuit 2 obtains substitute sector information from the HDD 7 via the HDD control circuit 5 and the substitute position monitoring circuit 3. The array control circuit 2 regards each of the replacement sectors included in the replacement sector information as “a replacement sector that significantly reduces the performance of the magnetic disk array device”.
Alternatively, it is determined according to the physical position of each of the replacement sectors with respect to the defective sector whether or not the replacement sector does not significantly degrade the performance of the magnetic disk array device. This determination information is sent to the alternative position monitoring circuit 3 and stored therein. This determination is made, for example, when a defective sector and an alternative sector for the defective sector are on the same track, the alternative sector is determined to be “an alternative sector that does not significantly degrade the performance of the magnetic disk array device”, and If it is not on the track, the alternative sector is determined to be "an alternative sector that significantly degrades the performance of the magnetic disk array device".

【0024】また、アレイ制御回路2はが“磁気ディス
クアレイ装置のパフォーマンスが著しく落ちる代替セク
タである”と判断した代替セクタについては、そのアド
レスとデータを代替位置監視回路3、代替制御回路4を
介して代替データ記憶回路6に送り、そこに記憶させて
おくようにする。
For the alternative sector determined by the array control circuit 2 to be "an alternative sector that significantly degrades the performance of the magnetic disk array device", the address and data are transferred to the alternative position monitoring circuit 3 and the alternative control circuit 4. The data is sent to the alternative data storage circuit 6 via the external data storage device and stored there.

【0025】一方、通常動作時には、まず、アレイ制御
回路2が上位コントローラ11から送られてくる“リー
ド/ライト処理命令”を解釈して、この解釈した“リー
ド/ライト処理命令を含む各種命令”を代替位置監視回
路3に送る。リード/ライト処理をする目的セクタが非
代替セクタである場合は、代替位置監視回路3はアレイ
制御回路2から送られてくる“リード/ライト処理命
令”に示されるアドレスが代替セクタではないので、H
DD制御回路5に“リード/ライト処理命令”を送る。
HDD制御回路5では、この“リード/ライト処理命
令”を磁気ディスク用命令に変換して、複数の磁気ディ
スク装置で構成されるHDD7に出力し、HDD7で
は、この命令に基づいてデータのリード/ライト処理を
行う。
On the other hand, at the time of normal operation, first, the array control circuit 2 interprets the "read / write processing command" sent from the upper controller 11, and interprets the interpreted "various commands including the read / write processing command". To the alternative position monitoring circuit 3. If the target sector for the read / write processing is a non-replacement sector, the replacement position monitoring circuit 3 determines that the address indicated in the “read / write processing instruction” sent from the array control circuit 2 is not a replacement sector. H
A “read / write processing command” is sent to the DD control circuit 5.
The HDD control circuit 5 converts the “read / write processing command” into a magnetic disk command and outputs the command to the HDD 7 including a plurality of magnetic disk devices. The HDD 7 reads / writes data based on the command. Perform write processing.

【0026】次に、リード/ライト処理をする目的セク
タが代替セクタではあるが、アレイ制御回路2が、この
代替セクタにリード/ライトを行っても“磁気ディスク
装置1のパフォーマンスをほとんど落とさない代替セク
タ”であると判断した場合は、非代替セクタの場合と同
様に、アレイ制御回路2は解釈した“リード/ライト処
理命令を含む各種命令”を代替位置監視回路3に送る。
代替位置監視回路3は“リード/ライト処理命令”に示
される物理アドレスが、代替セクタではあるが“磁気デ
ィスク装置11のパフォーマンスをほとんど落とさない
代替セクタ”であるので、非代替セクタの場合と同様
に、HDD制御回路5に“リード/ライト処理命令”を
送る。HDD制御回路5では、この“リード/ライト処
理命令”を磁気ディスク用命令に変換して、複数の磁気
ディスク装置で構成されるHDD7に出力し、HDD7
では、この命令に基づいて所定の代替セクタに対してリ
ード/ライト処理を行う。
Next, although the target sector for the read / write processing is a replacement sector, the array control circuit 2 reads / writes the replacement sector even if the replacement sector does not substantially degrade the performance of the magnetic disk device 1. If it is determined that the sector is a "sector", the array control circuit 2 sends the interpreted "various commands including a read / write processing command" to the replacement position monitoring circuit 3, as in the case of the non-substitute sector.
Since the physical address indicated in the “read / write processing command” is the “alternate sector” which is a substitute sector but hardly degrades the performance of the magnetic disk device 11, the substitute position monitoring circuit 3 is similar to the non-replacement sector. Then, a “read / write processing command” is sent to the HDD control circuit 5. The HDD control circuit 5 converts the “read / write processing command” into a command for the magnetic disk, and outputs the command to the HDD 7 including a plurality of magnetic disk devices.
Then, read / write processing is performed on a predetermined alternative sector based on this command.

【0027】更に、リード/ライト処理をする目的セク
タが代替セクタであり、アレイ制御回路2がこの代替セ
クタにリード/ライトを行うと“磁気ディスク装置1の
パフォーマンスが著しく落ちる代替セクタ”であると判
断した場合は、アレイ制御回路2は解釈した“リード/
ライト処理命令を含む各種命令”を代替位置監視回路3
に送る。代替位置監視回路3はこの“リード/ライト処
理命令”に示される物理アドレスが、代替セクタであり
“磁気ディスク装置11のパフォーマンスを著しく落と
す代替セクタ”であるので、HDD制御回路5ではな
く、代替セクタ制御回路4に“リード/ライト処理命
令”を送る。代替セクタ制御回路4では、この“リード
/ライト処理命令”をメモリ用命令に変換して、複数の
メモリで構成される代替データ記憶回路6に出力し、代
替データ記憶回路6で、この代替セクタ制御回路4から
送られてくるアドレスおよびデータのリード/ライト処
理を行う。
Further, the target sector for the read / write processing is a replacement sector, and when the array control circuit 2 reads / writes this replacement sector, it is a "replacement sector in which the performance of the magnetic disk device 1 is significantly reduced". If it is determined, the array control circuit 2 interprets the interpreted “read /
Alternate position monitoring circuit 3
Send to Since the physical address indicated in the “read / write processing command” is a substitute sector and “a substitute sector that significantly degrades the performance of the magnetic disk device 11”, the substitute position monitoring circuit 3 A “read / write processing command” is sent to the sector control circuit 4. The alternative sector control circuit 4 converts the “read / write processing instruction” into a memory instruction and outputs it to an alternative data storage circuit 6 composed of a plurality of memories. The address and data sent from the control circuit 4 are read / written.

【0028】なお、上位コントローラ11から命令がこ
ない場合は、アレイ制御回路2は代替位置監視回路3に
対して命令を送り、代替位置監視回路3で、代替データ
記憶回路6において変更がなされているがまだHDD7
に書きこまれていないアドレスのデータを代替制御回路
4を介して読み出し、このデータをHDD制御回路5を
経由してHDD7に書き込んで、データの整合を取るよ
うにする。
If no command is received from the upper controller 11, the array control circuit 2 sends a command to the substitute position monitoring circuit 3, and the substitute position monitoring circuit 3 changes the data in the substitute data storage circuit 6. But still HDD7
The data at the address not written into the HDD is read out via the alternative control circuit 4 and the data is written to the HDD 7 via the HDD control circuit 5 so as to match the data.

【0029】[0029]

【発明の効果】上述した通り、本発明の磁気ディスクア
レイ装置では、すべての代替セクタではなく、各代替セ
クタについて、そのセクタが磁気ディスクアレイ装置の
パフォーマンスを下げるものであるかどうかの判断を行
って、パフォーマンスを著しく下げる代替セクタのみに
ついて、代替セクタ記憶回路6に情報のリード/ライト
処理を行うようにしているため、代替セクタ記憶回路6
のメモリ量を必要最小限に抑えることができる。また、
装置のパフォーマンスを著しく下げる代替セクタの処理
を、処理に時間のかかる磁気ディスク装置に対してでは
なく、処理時間の短いメモリ対して行うようにしている
ため、ぢ帯セクタ処理の高速化を図ることができる。
As described above, in the magnetic disk array device of the present invention, it is determined whether or not each of the alternative sectors, not all of the alternative sectors, lowers the performance of the magnetic disk array device. As a result, information is read / written from / to the alternative sector storage circuit 6 only for the alternative sector that significantly reduces the performance.
Can be minimized. Also,
Since the processing of the alternative sector, which significantly lowers the performance of the device, is performed not on the magnetic disk device, which takes a long time, but on a memory with a short processing time, the speed of the band sector processing should be increased. Can be.

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

【図1】本発明のディスクアレイ装置の一実施の形態の
構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of an embodiment of a disk array device according to the present invention.

【符号の説明】[Explanation of symbols]

1 ディスクアレイ装置 2 アレイ制御回路 3 代替位置監視回路 4 代替制御回路 5 HDD制御回路 6 代替データ記憶回路 7 HDD 11 上位コントローラ REFERENCE SIGNS LIST 1 disk array device 2 array control circuit 3 alternative position monitoring circuit 4 alternative control circuit 5 HDD control circuit 6 alternative data storage circuit 7 HDD 11 host controller

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G11B 20/12 G11B 20/12 20/18 570 20/18 570Z 572 572F ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G11B 20/12 G11B 20/12 20/18 570 20/18 570Z 572 572F

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 上位回路からの命令によって情報のリー
ド/ライト処理をおこなう磁気ディスクアレイ装置にお
ける代替セクタ処理方法において、 リードライト処理を行う目的セクタが代替セクタであっ
た場合に、当該代替セクタに、直接リード/ライト処理
をおこなった場合に磁気ディスクアレイ装置のパフォー
マンスが著しく落ちるか否かを判断して、直接リードラ
イト処理を行っても磁気ディスクアレイ装置のパーフォ
ーマンスが落ちないと判断した時には当該代替セクタに
対して直接リード/ライト処理をおこない、その代替セ
クタに直接リード/ライト処理をおこなうと磁気ディス
クアレイ装置のパフォーマンスが著しく落ちると判断し
た場合には専用に設けた代替セクタ用記憶回路に対して
リード/ライト処理を行うようにしたことを特徴とする
磁気ディスクアレイ装置の代替セクタ処理方法。
In an alternative sector processing method in a magnetic disk array device that performs information read / write processing in accordance with an instruction from a higher-level circuit, if a target sector for performing read / write processing is an alternative sector, the replacement sector is used. When it is determined whether the performance of the magnetic disk array device is significantly reduced when the direct read / write processing is performed, and when it is determined that the performance of the magnetic disk array device is not reduced even when the direct read / write processing is performed, A read / write process is performed directly on the replacement sector, and if it is determined that the performance of the magnetic disk array device is significantly reduced if the read / write process is performed directly on the replacement sector, a storage circuit for the replacement sector provided exclusively. Read / write processing for Alternate sector processing method of a magnetic disk array apparatus according to claim and.
【請求項2】 請求項1に記載の磁気ディスクアレイ装
置の代替セクタ処理方法において、前記磁気ディスクア
レイ装置のパフォーマンスが落ちるか否かの判断を、欠
陥セクタから当該代替セクタに対する物理的距離に応じ
て判断することを特徴とする磁気ディスクアレイ装置の
代替セクタ処理方法。
2. The alternative sector processing method for a magnetic disk array device according to claim 1, wherein the determination as to whether or not the performance of the magnetic disk array device deteriorates is made according to a physical distance from a defective sector to the alternative sector. The alternative sector processing method of the magnetic disk array device, characterized in that:
【請求項3】 請求項2に記載の磁気ディスクアレイ装
置の代替セクタ処理方法において、磁気ディスクアレイ
装置のパフォーマンスが落ちるか否かの判断を前記代替
セクタが前記欠陥セクタと同一トラック内にある場合
に、前記代替セクタに直接リードライト処理を行っても
磁気ディスクアレイ装置のパーフォーマンスが落ちない
と判断することを特徴とする磁気ディスクアレイ装置の
代替セクタ処理方法。
3. The alternative sector processing method for a magnetic disk array device according to claim 2, wherein whether the performance of the magnetic disk array device is degraded is determined when the alternative sector is in the same track as the defective sector. And determining that the performance of the magnetic disk array device does not decrease even if the read / write processing is directly performed on the substitute sector.
【請求項4】 上位回路からの命令によって情報のリー
ド/ライト処理をおこなう磁気ディスクアレイ装置であ
って、磁気ディスク装置と、代替セクタ用記憶装置とを
具える磁気ディスクアレイ装置において、 磁気ディスク装置と、代替セクタ用記憶装置と、前記上
位回路からの命令を受けて、リードライト処理を行う目
的セクタが代替セクタである場合に、当該代替セクタに
直接リード/ライト処理をおこなった場合に磁気ディス
クアレイ装置のパフォーマンスが著しく落ちるか否かを
判断する判断手段と、当該判断手段における判断に基づ
いて磁気ディスク装置にリード/ライト命令をおくる
か、あるいは前記代替セクタ用記憶装置に対してリード
ライト命令を送るかを選択する選択手段とを具え、前記
判断手段が前記代替セクタに直接リードライト処理を行
っても磁気ディスクアレイ装置のパーフォーマンスが著
しく落ちないと判断した時には前記磁気ディスク装置の
代替セクタに対して直接リード/ライト処理を行う命令
を送り、前記判断手段が前記代替セクタに直接リードラ
イト処理を行うと磁気ディスクアレイ装置のパフォーマ
ンスが著しく落ちると判断した場合には前記代替セクタ
用記憶装置に対してリード/ライト命令を送るようにし
たことを特徴とする磁気ディスクアレイ装置。
4. A magnetic disk array device for performing information read / write processing in accordance with an instruction from a higher-level circuit, comprising a magnetic disk device and a storage device for a substitute sector. An alternative sector storage device, and a magnetic disk when a target sector for performing read / write processing in response to an instruction from the upper-level circuit is an alternative sector, and when read / write processing is directly performed on the alternative sector. Determining means for determining whether or not the performance of the array device is significantly degraded; and issuing a read / write instruction to the magnetic disk device based on the determination by the determining means, or a read / write instruction to the alternate sector storage device. Selection means for selecting whether or not to send the data, wherein the determination means directly sends the data to the alternative sector. When it is determined that the performance of the magnetic disk array device does not significantly decrease even after performing the read / write process, an instruction for directly performing a read / write process is performed on the alternative sector of the magnetic disk device, and the determination unit sends the replacement sector to the alternative sector. If it is determined that the performance of the magnetic disk array device is significantly reduced when the direct read / write processing is performed, a read / write command is sent to the alternative sector storage device.
【請求項5】 請求項4に記載の磁気ディスクアレイ装
置において、更に、欠陥セクタから当該欠陥セクタに対
する代替セクタの物理的距離を認識する認識手段を具
え、前記判断手段における前記磁気ディスクアレイ装置
のパフォーマンスが落ちるか否かの判断を、前記認識手
段で認識した欠陥セクタから当該欠陥セクタに対する代
替セクタまでの物理的距離に応じて行うように構成した
ことを特徴とする磁気ディスクアレイ装置。
5. The magnetic disk array device according to claim 4, further comprising a recognizing means for recognizing a physical distance from a defective sector to an alternative sector with respect to the defective sector, A magnetic disk array device characterized in that the determination as to whether or not the performance is reduced is made in accordance with the physical distance from the defective sector recognized by the recognition means to a substitute sector for the defective sector.
【請求項6】 請求項4または5に記載の磁気ディスク
アレイ装置において、前記代替セクタ用記憶回路を複数
のメモリで構成したことを特徴とする磁気ディスクアレ
イ装置。
6. The magnetic disk array device according to claim 4, wherein said alternative sector storage circuit comprises a plurality of memories.
JP10199494A 1998-07-01 1998-07-01 Method and device for alternative sector processing of magnetic disk array device Pending JP2000020251A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10199494A JP2000020251A (en) 1998-07-01 1998-07-01 Method and device for alternative sector processing of magnetic disk array device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10199494A JP2000020251A (en) 1998-07-01 1998-07-01 Method and device for alternative sector processing of magnetic disk array device

Publications (1)

Publication Number Publication Date
JP2000020251A true JP2000020251A (en) 2000-01-21

Family

ID=16408758

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10199494A Pending JP2000020251A (en) 1998-07-01 1998-07-01 Method and device for alternative sector processing of magnetic disk array device

Country Status (1)

Country Link
JP (1) JP2000020251A (en)

Similar Documents

Publication Publication Date Title
KR100801015B1 (en) Hybrid hard disk drive and data storing method
US8032698B2 (en) Hybrid hard disk drive control method and recording medium and apparatus suitable therefore
US20080162803A1 (en) Magnetic disk apparatus and method of controlling the same
US6523142B1 (en) Apparatus and method of performing in a disk drive commands issued from a host system
JPH1091361A (en) Initialization calibration routine execution method for hard disk drive
KR100274742B1 (en) Initiating method for copying hard-disk drive and copying apparatus thereof
JP2000020251A (en) Method and device for alternative sector processing of magnetic disk array device
US6957300B2 (en) Reducing delay of command completion due to overlap condition
JPH04111113A (en) Hard disk emulator
US6795893B2 (en) Recordable disk recording controller with batch register controller
JPH10171713A (en) Disk storage device and method for controlling cache applied to the same device
US7441050B2 (en) Data processing system, data processing method, computer-readable storage medium, and disk drive
JP2794839B2 (en) Recording and playback device
KR100383638B1 (en) Method for recording virus backup program on magnetic disk in magnetic disk recording device for preventing computer virus
JPH1049312A (en) Magnetic disk drive
JPH10162503A (en) Data recording and reproducing apparatus having rewritable non-volatile memory, and method for changing setting data in rewritable non-volatile memory
KR100419394B1 (en) Method for recording error management program for analyzing and repairing malfunction of magnetic disk recording device
JPS6013360A (en) Storage device
JPS60101788A (en) Optical disk controller
KR100383639B1 (en) Circuit of preamplifier for bank servo write
JPH05182369A (en) Magnetic disk control method
JPH01315070A (en) Disk substitution control system
JPH06119717A (en) Hard disk device
JPH0883151A (en) Magnetic disk device
JPH076003A (en) Magnetic disk controller