JPS6225318A - Automatic bus blocking system - Google Patents

Automatic bus blocking system

Info

Publication number
JPS6225318A
JPS6225318A JP16447285A JP16447285A JPS6225318A JP S6225318 A JPS6225318 A JP S6225318A JP 16447285 A JP16447285 A JP 16447285A JP 16447285 A JP16447285 A JP 16447285A JP S6225318 A JPS6225318 A JP S6225318A
Authority
JP
Japan
Prior art keywords
path
bus
input
host device
magnetic disk
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
JP16447285A
Other languages
Japanese (ja)
Inventor
Tatsuo Matoba
的場 辰夫
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP16447285A priority Critical patent/JPS6225318A/en
Publication of JPS6225318A publication Critical patent/JPS6225318A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the execution processing time of input/output instructions by blocking a trouble bus automatically by a disk controller on the basis of specific condition and returning unusable state information for input/output instructions from a host device. CONSTITUTION:If an error detecting circuit detects an error when data are transferred between a low-priority device and respective devices in a magnetic disk device with input/output instructions from the host device, an MPU decides whether bus trouble occurs or not. When the bus trouble is decided, counted values in corresponding device areas #0-#7 of a bus trouble occurrence frequency calculation table corresponding to the bus in the data transfer processing are summed up. Then, if there is a table area which exceeds a prescribed frequency, the magnetic disk device blocks the bus automatically and when a next input/output instruction is generated through the bus, unusable state information is sent back. The host device on receiving the information is allowed to sends and input/output instruction to the device from another bus.

Description

【発明の詳細な説明】 〔邊既要〕 パス自動閉塞方式であって、ディスクサブシステムでの
パス障害が発生した場合、所定条件に基づいてディスク
制御装置が障害パスを自動閉塞し、上位装置からの入出
力命令に対して使用不可能状態情報を返し、前記上位装
置からのソフMJI−ライで直ちに他パスからのアクセ
スで目標デバイスに対して実行させることにより、入出
力命令の実行時間の短縮が可能となる。
[Detailed description of the invention] [Already required] In the path automatic blockage method, when a path failure occurs in the disk subsystem, the disk control device automatically closes the failed path based on predetermined conditions, and the host device The execution time of the input/output command can be reduced by returning unusable state information in response to the input/output command from the host device, and having it executed on the target device immediately by accessing from another path using the software MJI-Ly from the host device. Shortening is possible.

〔産業上の利用分野〕[Industrial application field]

本発明は、ディスク制御装置及びディスク装置の障害等
に基づくパス障害発生時、該当パスを自動閉塞するパス
自動閉塞方式に関する。゛情報処理システムの利用が広
範囲となり、しかもその利用方法が高度化、複雑化する
に伴い、その処理速度に対する高速化要請が益々強くな
っている。特に、これらの問題点を解決するための対応
策としては、比較的その処理速度が遅いディスクサブシ
ステムでの処理の効率化を実現することがより重要な課
題である。
The present invention relates to a path automatic closing method that automatically closes a corresponding path when a path failure occurs due to a failure of a disk control device or a disk device. ``As the use of information processing systems has become more widespread and the methods of use have become more sophisticated and complex, the demand for higher processing speeds has become stronger. In particular, as a countermeasure for solving these problems, it is more important to realize processing efficiency in a disk subsystem whose processing speed is relatively slow.

〔従来の技術と発明が解決しようとする問題点〕従来技
術を磁気ディスクサブシステムを例に取り説明する。
[Prior art and problems to be solved by the invention] The prior art will be explained using a magnetic disk subsystem as an example.

第4図は従来例を説明するシステム構成図を示す。尚、
本例では磁気ディスク装置4内部に8ユニツトのデバイ
スが接続されているものとする。
FIG. 4 shows a system configuration diagram illustrating a conventional example. still,
In this example, it is assumed that eight units of devices are connected inside the magnetic disk drive 4.

第4図で示すような磁気ディスクサブシステムにおいて
、磁気ディスク制御装面2.磁気ディスク装置4等の障
害等に基づくパス障害が発生した場合、磁気ディスク制
御装置2は上位装置(図示してない)からの入出力命令
に対してエラー報告を行う。
In a magnetic disk subsystem as shown in FIG. 4, a magnetic disk control unit 2. When a path failure occurs due to a failure in the magnetic disk device 4 or the like, the magnetic disk control device 2 reports an error in response to an input/output command from a host device (not shown).

これにより、上位装置く図示してない)は内部記憶部に
貯蔵しているO5 (計算機プログラムの実行を制御す
るソフトウェア)によるソフト的なりトライでエラーの
回復を試みると言う方式を取っている。尚、一般的なソ
フト的なりトライとしては、障害の発生したパスに対し
て同一の入出力命令を何回か発行して、エラーの回復を
試みる。
As a result, the host device (not shown) attempts to recover from the error through software using O5 (software that controls the execution of computer programs) stored in its internal storage. Note that as a general software attempt, the same input/output command is issued several times to the path where the failure has occurred in an attempt to recover from the error.

しかし、同一障害によるリトライが規定回数失敗すると
、次は目的とするデバイス4(0)に4(7)に到達す
る他のパスから同一の入出力命令を発行し実行する。
However, if retries due to the same failure fail a specified number of times, then the same input/output command is issued and executed from another path that reaches the target device 4(0) and 4(7).

更に、新たな入出力命令は決まった一定のパスから優先
して発行されるのが一般的であるため、再び障害パスに
対して新たな入出力命令が発行される場合が多くなる。
Furthermore, since new input/output commands are generally issued with priority given to certain fixed paths, there are many cases where new input/output commands are issued again to the failed path.

この都度、この入出力命令はエラー処理され、前述と同
様なソフト的なりトライを行うことになる。
Each time, this input/output command is processed as an error, and a similar software attempt is made as described above.

つまり、上位装置(図示してない)からの1つの入出力
命令毎に「入出力命令発行」−「エラー処理」−「障害
パスに対するリトライ実行」−「規定回数失敗」−「他
パスからのりトライ実行」が繰り返されるため、1つの
入出力命令の実行時間が長くなると言う問題点がある。
In other words, for each input/output command from a host device (not shown), "Issue input/output command" - "Error processing" - "Retry execution for failed path" - "Failure for specified number of times" - "Retry from other path" Since "try execution" is repeated, there is a problem in that the execution time of one input/output instruction becomes long.

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

第1図は本発明の詳細な説明するブロック図を示す。 FIG. 1 shows a block diagram illustrating the invention in detail.

本ブロック図は第4図で説明した磁気ディスク制御装置
2の内部構成の一部を示すもので、上位装置とのチャネ
ルインタフェースa −cに対応して設けられており、
このチャネルインタフェースa −cを制御するチャネ
ルインタフェース制御回路21a〜21cと、 パス障害発生回数計算テーブル23a〜23cで所定回
数を越えたパス障害を計数した時、該当のパスを閉塞す
るパス閉塞制御部22a〜22cと、パス毎に各デバイ
スで発生したパス障害の発生回数を計数するパス障害発
生回数計算テーブル23a〜23c と、 」三位装置と各デバイスとの間のデータ転送を制御する
データ転送制御回路24と、 複数のデバイスと前記複数のデバイスの実行処理の監視
と制御を行うアダプタ部とからなる磁気ディスク装置と
の間のインタフェースd、eを制御するコントロールイ
ンタフェース制御回路25と、磁気ディスク制御装置2
の各種動作を所定手順に基づき制御するための制御プロ
グラム等を格納しているコントロールストレージ26と
、コントロールストレージ26に格納している制御プロ
グラムにより磁気ディスク制御装置2の各種動作を所定
手順で制御するマイクロプロセッサ(以下MPUと称す
る)27と、 データ転送制御回路24からエラーを検出するエラー検
出回路28と、 コントロールインタフェース制御回路25からエラーを
検出するエラー検出回路29とから構成される装置 〔作用〕 上位装置からの入出力命令により上位装置と磁気ディス
ク装置同各デバイスとの間でデータの転送を行っている
時、エラー検出回路でエラーが検出されるとMPUはパ
ス障害か否かを判定する。
This block diagram shows a part of the internal configuration of the magnetic disk control device 2 explained in FIG. 4, and is provided corresponding to the channel interfaces a to c with the host device.
Channel interface control circuits 21a to 21c that control the channel interfaces a to c, and a path blocking control unit that blocks the corresponding path when a path failure exceeds a predetermined number in the path failure frequency calculation tables 23a to 23c. 22a to 22c, and path failure occurrence count calculation tables 23a to 23c that count the number of path failures that have occurred in each device for each path; A control interface control circuit 25 for controlling interfaces d and e between a control circuit 24 and a magnetic disk device comprising a plurality of devices and an adapter unit that monitors and controls execution processing of the plurality of devices; Control device 2
A control storage 26 stores control programs etc. for controlling various operations of the magnetic disk controller 2 according to predetermined procedures, and the control programs stored in the control storage 26 control various operations of the magnetic disk controller 2 according to predetermined procedures. A device (function) consisting of a microprocessor (hereinafter referred to as MPU) 27, an error detection circuit 28 that detects errors from the data transfer control circuit 24, and an error detection circuit 29 that detects errors from the control interface control circuit 25. When an error is detected by the error detection circuit when data is being transferred between the host device and each device in the magnetic disk drive based on an input/output command from the host device, the MPU determines whether or not there is a path failure. .

もし、パス障害と判定されるとデータ転送処理を行って
いる該当パスに対応するパス障害発生回数計算テーブル
の該当デバイス領域#0〜#7の計数値を加算する。
If it is determined that a path failure has occurred, the count values of the corresponding device areas #0 to #7 of the path failure occurrence count calculation table corresponding to the corresponding path on which data transfer processing is being performed are added.

パス障害発生回数計算テーブルの各デバイスの計数値の
内、予め規定した回数を越えたテーブル領域があると、
磁気ディスク制御装置は直ちに該当パスを自動的に閉塞
し、次の入出力命令が該当パスを通じて発行されると使
用不可能状態情報(例えば、コンディションコード−3
)を返す。
If there is a table area where the count value of each device in the path failure occurrence count calculation table exceeds the predefined number of times,
The magnetic disk controller immediately automatically blocks the relevant path, and when the next I/O command is issued through the relevant path, unusable state information (for example, condition code -3) is sent.
)return it.

これを受けた上位装置は直ちに他パスから該当デバイス
に対する入出力命令を発行することが可能となり、入出
力命令の実行処理時間の短縮化が簡易な方式で可能とな
る。
Upon receiving this, the host device can immediately issue an input/output command to the corresponding device from another path, and the processing time for executing the input/output command can be shortened in a simple manner.

〔実施例〕〔Example〕

以下本発明の要旨を第1図〜第3図に示す実施例により
具体的に説明する。
The gist of the present invention will be specifically explained below with reference to embodiments shown in FIGS. 1 to 3.

第2図は本発明におけるパス障害発生回数計算テーブル
の実施例図、第3図は本発明の実施例の動作図をそれぞ
れ示す。面、全図を通じて同一符号は同一対象物を示す
FIG. 2 shows an embodiment of a path failure occurrence count calculation table according to the present invention, and FIG. 3 shows an operation diagram of the embodiment of the present invention. The same reference numerals indicate the same objects throughout the drawings.

第2図に示すパス障害発生回数計算テーブル23a〜2
3cはチャネルインタフェース3−%−Cにそれぞれ対
応しており、それぞれの計算テーブル23a〜23c内
部は各デバイス4(0)〜4(7)に対応するデバイス
テーブル領域#0〜#7を有する。
Path failure occurrence count calculation tables 23a to 2 shown in FIG.
3c corresponds to the channel interface 3-%-C, and the calculation tables 23a to 23c each have device table areas #0 to #7 corresponding to the devices 4(0) to 4(7).

次に、本実施例の動作を第3図の動作に基づき説明する
。尚、本実施例のデバイスは8ユニツト接続されている
ものとする。
Next, the operation of this embodiment will be explained based on the operation shown in FIG. It is assumed that eight units of devices are connected in this embodiment.

磁気ディスク制御装置2内の肝U27は上位装置(CP
U)la又は1bから発行された入出力命令を受領した
ことを確認すると、どの上位装置(CPU) la、 
lbから発行され、どのデバイス4(0)〜4(7)に
対して発行されたのかを判別する。(ステップ100)
判別の結果、当該上位装置(CPU) la、 lbに
対応するチャネルインタフェースaNCの当言亥デバイ
ス4(0)〜4(7)に対応するところのパス障害発生
回数計算テーブル23a〜23cを読取る。(ステップ
10読取ったテーブル23a〜23cの値が予め設定し
である規定値を越えてない場合には、該当デバイス4(
0)〜4(7)に対して入出力命令の実行を指示する。
The main unit U27 in the magnetic disk control device 2 is a host device (CP).
U) After confirming that the input/output command issued from la or 1b has been received, which higher-level device (CPU) la,
It is issued from lb, and it is determined to which devices 4(0) to 4(7) it has been issued. (Step 100)
As a result of the determination, the path failure frequency calculation tables 23a to 23c corresponding to the current devices 4(0) to 4(7) of the channel interface aNC corresponding to the relevant host device (CPU) la, lb are read. (If the values of the tables 23a to 23c read in step 10 do not exceed the preset specified values, the corresponding device 4 (
0) to 4(7) to execute input/output commands.

 (ステップ102.104) この実行処理中にエラーがエラー検出回路28,29等
で検出された場合、そのエラーが磁気ディスク制御装置
2.磁気ディスク装置4の障害等に基づくパス障害か否
かをMPU27が判別する。(ステップ105.106
) パス障害の場合は、当該上位装置(CPU) la、 
lbに対応するチャネルインタフェースa −cの当該
デバイス4(0)〜4(7)に対応するところのパス障
害発生回数計算テーブル23a〜23cを+1加算した
後、エラー処理終了報告を当該上位装置(CPU) l
a 、 lbにする。 (ステップ107.108) 一方、ステップ102の判定で、読取ったテーブル23
a〜23cの値が予め設定しである規定値を越えていた
場合は、その時点で該当パスは自動閉塞されているため
、入出力命令の実行は行わず直ちに当該上位装置(CP
U) la、 lbに使用不可能状態情報(例えば、コ
ンデジョンコード−3)を報告する。
(Steps 102 and 104) If an error is detected by the error detection circuits 28, 29, etc. during this execution process, the error is detected by the magnetic disk controller 2. The MPU 27 determines whether the path failure is due to a failure of the magnetic disk device 4 or the like. (Steps 105.106
) In the case of a path failure, the relevant higher-level device (CPU) la,
After adding +1 to the path failure occurrence count calculation tables 23a to 23c corresponding to the corresponding devices 4(0) to 4(7) of the channel interfaces a-c corresponding to lb, the error processing completion report is sent to the corresponding upper device ( CPU) l
a, lb. (Steps 107 and 108) On the other hand, in the judgment of step 102, the read table 23
If the value of a to 23c exceeds a preset value, the relevant path is automatically blocked at that point, so the relevant host device (CP
U) Report unavailability status information (eg, condesion code -3) to la, lb.

(ステップ103) 又、ステップ105の判定で、エラーの発生がない場合
は入出力命令の実行処理終了後に磁気ディスク制御装置
2から当該上位装置(CPU) Ia、 lbに対して
正常終了報告がなされる。(ステップ109)上述のよ
うに、磁気ディスク制御装置2.磁気ディスク装置4の
障害等に基づくパス障害が発生した場合、エラー終了報
告だけでなく所定条件を持って磁気ディスク制御装置2
が障害パスを自動的に閉塞し、次の入出力命令に対して
使用不可能状態情報を応答する。
(Step 103) Also, if it is determined in step 105 that no error has occurred, the magnetic disk control device 2 reports normal completion to the relevant host device (CPU) Ia, lb after the input/output command execution processing is completed. Ru. (Step 109) As described above, the magnetic disk controller 2. If a path failure occurs due to a failure in the magnetic disk device 4, etc., the magnetic disk controller 2
automatically closes the faulty path and responds with unusable status information to the next I/O command.

この使用不可能状態情報を受けた上位装置(CPUHa
、lb (内蔵しているO8による)は、その旨のメツ
セージを出力した後、直ちに目的のデバイス4(0)〜
4(7)に到達するための他のパスから同一の入出力命
令を発行する。これにより、ソフト的なりトライが省略
され、入出力命令の実行処理時間が大幅に短縮可能とな
る。
The host device (CPUHa) that received this unusable state information
, lb (according to the built-in O8), immediately after outputting a message to that effect, the target device 4 (0) ~
Issue the same input/output command from another path to reach 4(7). As a result, software trials are omitted, and the processing time for executing input/output instructions can be significantly shortened.

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

以上のような本発明によれば、入出力命令の実行処理時
間の短縮化が簡易な方式で出来ると言う効果がある。
According to the present invention as described above, the execution processing time of input/output instructions can be shortened in a simple manner.

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

第1図は本発明の詳細な説明するブロック図、第2図は
本発明におけるパス障害発生回数計算テーブルの実施例
図、 第3図は本発明の実施例の動作図、 第4図は従来例を説明するシステム構成図、をそれぞれ
示す。 図において、 la、lbは上位装置(CPU)、 2は磁気ディスク制御装置、 3a、3bはアダプタ部、  4は磁気ディスク装置、
4(0)〜4(7)はデバイス、 21a〜21cはチャネルインタフェース制御回路、2
2a〜22cはパス閉塞制御部、 23a〜23cはパス障害発生回数計算テーブル、24
はデータ転送制御回路、 25はコントロールインタフェース制御回路、26はコ
ントロールストレージ、 27はMPU、       28.29はエラー検出
回路をそれぞれ示す。 、I完g月l二、コ)′lブ5八°スnン宮介生ロ汐言
すJ[ブーツ′)は実左三f列回茅 2 凹 721、イタ5g月σフづP施脅りdフhrp 図ィX
ff11列−xiLgqオうシステム溝広肥≦ 4 品
Fig. 1 is a block diagram explaining the present invention in detail, Fig. 2 is an embodiment of a table for calculating the number of path failure occurrences in the present invention, Fig. 3 is an operation diagram of the embodiment of the present invention, and Fig. 4 is a conventional example. A system configuration diagram illustrating an example is shown, respectively. In the figure, la and lb are host devices (CPUs), 2 is a magnetic disk control device, 3a and 3b are adapter units, 4 is a magnetic disk device,
4(0) to 4(7) are devices, 21a to 21c are channel interface control circuits, 2
2a to 22c are path blockage control units; 23a to 23c are path failure frequency calculation tables; 24
25 is a data transfer control circuit, 25 is a control interface control circuit, 26 is a control storage, 27 is an MPU, and 28 and 29 are error detection circuits. , I complete g month l 2, ko)' l b 58 ° sunn miya keisei ro shio says J [boots') is the actual left third f row turn 2 concave 721, ita 5 g month σ fuzu P Threatening dfu hrp Figure X
ff11 row-xiLgq system groove wide fertilizer ≦ 4 items

Claims (1)

【特許請求の範囲】 上位装置とのチャネルインタフェース(a〜c)を複数
個有するディスク制御装置(2)と、 前記ディスク制御装置(2)により制御され、前記ディ
スク制御装置(2)から複数のコントロールインタフェ
ース(d、e)を経由して制御される複数のデバイスと
を有するディスク装置とからなるディスクサブシステム
において、 前記ディスク制御装置(2)内に各デバイスで発生した
パス障害の発生回数を該当パスのデバイス毎に計数する
パス障害計数手段(23a〜23c)と、前記パス障害
計数手段(23a〜23c)での計数値が所定値を越え
た場合、該当パスを自動閉塞するパス閉塞手段(22a
〜22c)とを設け、 前記上位装置からの入出力命令実行時に、前記ディスク
制御装置(2)及び該デバイスの障害等に基づくパス障
害が発生した場合、前記パス障害計数手段(23a〜2
3c)で該当パスでの各デバイス毎に発生したパス障害
の発生回数を計数し、その計数値が所定回数を越えた場
合は該当パスを自動閉塞し、前記上位装置へは使用不可
能状態情報を応答すことを特徴とするパス自動閉塞方式
[Scope of Claims] A disk control device (2) having a plurality of channel interfaces (ac) with a host device; and a disk control device (2) that is controlled by the disk control device (2) and has a plurality of In a disk subsystem consisting of a disk device having a plurality of devices controlled via control interfaces (d, e), the number of path failures occurring in each device in the disk control device (2) is calculated. Path failure counting means (23a to 23c) that counts each device on the corresponding path; and path blocking means that automatically blocks the corresponding path when the count value of the path failure counting means (23a to 23c) exceeds a predetermined value. (22a
~22c), and when a path failure occurs due to a failure of the disk control device (2) and the device during execution of an input/output command from the host device, the path failure counting means (23a~22c) is provided.
In step 3c), the number of path failures that have occurred for each device on the relevant path is counted, and if the counted value exceeds a predetermined number of times, the relevant path is automatically blocked, and unusable state information is sent to the higher-level device. A path automatic closure method characterized by responding to
JP16447285A 1985-07-25 1985-07-25 Automatic bus blocking system Pending JPS6225318A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16447285A JPS6225318A (en) 1985-07-25 1985-07-25 Automatic bus blocking system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16447285A JPS6225318A (en) 1985-07-25 1985-07-25 Automatic bus blocking system

Publications (1)

Publication Number Publication Date
JPS6225318A true JPS6225318A (en) 1987-02-03

Family

ID=15793824

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16447285A Pending JPS6225318A (en) 1985-07-25 1985-07-25 Automatic bus blocking system

Country Status (1)

Country Link
JP (1) JPS6225318A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012519316A (en) * 2009-04-06 2012-08-23 株式会社日立製作所 Storage subsystem and control method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012519316A (en) * 2009-04-06 2012-08-23 株式会社日立製作所 Storage subsystem and control method thereof

Similar Documents

Publication Publication Date Title
US5491816A (en) Input/ouput controller providing preventive maintenance information regarding a spare I/O unit
JP3284963B2 (en) Disk array control device and control method
CN109783210B (en) Multitasking method, apparatus, computer device and storage medium
JPS6225318A (en) Automatic bus blocking system
EP2096550B1 (en) Information processing apparatus and control method thereof
JP2548475B2 (en) Method of controlling data restoration amount of array disk device
JPS6146543A (en) Fault processing system of transfer device
JPS6015729A (en) Input and output control system
JPS592152A (en) Resetting system in case of fault
JP2644205B2 (en) I / O controller
JPS6095663A (en) Automatic switching device of dual type magnetic disk device
JPH0831077B2 (en) Channel path load factor equalization method for I / O subsystem
US8601179B1 (en) Method and system for data transfer
JPS6161141B2 (en)
JPH01231128A (en) Fault processing system
JPS59201110A (en) Programmable controller
JPS59221723A (en) Reporting system of completion of initialization for input and output controller
JPH04281534A (en) Input and output control system for computer
JPS5841407A (en) Magnetic disc device
JPH0713883A (en) Bus adapter device
JPS584365B2 (en) Reset control system
JPS6230464B2 (en)
JPS6349804B2 (en)
JPH0734296B2 (en) Hard disk control circuit
JPH03201053A (en) Dma controller