JPH06236240A - Magnetic disk system - Google Patents

Magnetic disk system

Info

Publication number
JPH06236240A
JPH06236240A JP5020918A JP2091893A JPH06236240A JP H06236240 A JPH06236240 A JP H06236240A JP 5020918 A JP5020918 A JP 5020918A JP 2091893 A JP2091893 A JP 2091893A JP H06236240 A JPH06236240 A JP H06236240A
Authority
JP
Japan
Prior art keywords
magnetic disk
data
disk device
unit
address
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.)
Withdrawn
Application number
JP5020918A
Other languages
Japanese (ja)
Inventor
Yuichi Seki
雄一 関
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 Fielding Ltd
Original Assignee
NEC Fielding 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 NEC Fielding Ltd filed Critical NEC Fielding Ltd
Priority to JP5020918A priority Critical patent/JPH06236240A/en
Publication of JPH06236240A publication Critical patent/JPH06236240A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To save the cost and space for installing sub system magnetic disk device by duplexing a magnetic disk device by mixing the data of two main system magnetic disk devices and writing those data in one sub system magnetic disk device. CONSTITUTION:The write data of two main system magnetic disk devices Eik and Fik are mixed by exclusive OR at a data mix/restoration part 5 and written in a correspondent sub system magnetic disk device Gik corresponding to the contents of a unit address translation table 15 stored in a storage part 7. When reading is disabled since any fault is generated at the main system magnetic disk device Eik, for example, the data of the main system magnetic disk device Eik can be restored from the read data of the main system magnetic disk device Fik and the sub system magnetic disk device Gik by the exclusive OR at the data mix/restoration part 5. Thus, two main system magnetic disk devices EF can be duplexed by one sub system magnetic disk device G.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、磁気ディスクシステム
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic disk system.

【0002】[0002]

【従来の技術】図17は従来の技術によるコンピュータ
システムの部分構成の一例を示すブロック図である。
2. Description of the Related Art FIG. 17 is a block diagram showing an example of a partial configuration of a conventional computer system.

【0003】中央処理装置1にj(jは1以上の整数)
組の磁気ディスクシステムDK1〜DKjが接続されて
いる。任意の磁気ディスクシステムDKi(iは1≦i
≦jなる整数)は、大別して磁気ディスク制御装置DC
iと、それに接続されたn(nは1以上の整数)台の磁
気ディスク装置Di1〜Dinとn台の磁気ディスク装
置di1〜dinとで構成されている。更に磁気ディス
ク装置は、正系磁気ディスク装置Dと副系磁気ディスク
装置dとで二重化されている。
In the central processing unit 1, j (j is an integer of 1 or more)
A set of magnetic disk systems DK1 to DKj are connected. Arbitrary magnetic disk system DKi (i is 1 ≦ i
≤ j) is roughly classified into a magnetic disk controller DC
i, and n (n is an integer of 1 or more) magnetic disk devices Di1 to Din and n magnetic disk devices di1 to din connected to i. Further, the magnetic disk device is duplicated with a primary magnetic disk device D and a secondary magnetic disk device d.

【0004】図18は図17の磁気ディスクシステムD
Kiの詳細を示すブロック図である。
FIG. 18 shows the magnetic disk system D of FIG.
It is a block diagram which shows the detail of Ki.

【0005】磁気ディスク制御装置DCiは、全体の動
作を制御する中央処理部16と、中央処理装置1からの
コマンド及びデータを受信するコマンド・データ受信部
3と、中央処理装置1へ応答およびデータを送信する応
答・データ送信部4と、正系磁気ディスク装置D又は副
系磁気ディスク装置dへ書き込むデータを蓄える書き込
みデータバッファ9と、正系磁気ディスク装置D又は副
系磁気ディスク装置dから読み取ったデータを蓄える読
み取りデータバッファ10と、中央処理部16からの指
令でユニットアドレス信号UAとシリンダアドレス信号
CAと,ヘッドアドレス信号HAと,書き込み指令信号
WGと,読み取り指令信号RGとを発生する制御信号発
生部11とで構成されている。
The magnetic disk controller DCi has a central processing unit 16 for controlling the overall operation, a command / data receiving unit 3 for receiving commands and data from the central processing unit 1, and a response and data for the central processing unit 1. , A write data buffer 9 for storing data to be written to the primary magnetic disk device D or the secondary magnetic disk device d, and a read data buffer 9 for reading from the primary magnetic disk device D or the secondary magnetic disk device d. Control for generating a unit address signal UA, a cylinder address signal CA, a head address signal HA, a write command signal WG, and a read command signal RG by a command from the central processing unit 16. It is composed of a signal generator 11.

【0006】図19は図18の中央処理装置1のデータ
書き込み処理を説明するための流れ図である。図20は
図18の中央処理装置1のデータ読み取り処理を説明す
るための流れ図である。図21〜図23は図19,図2
0に示した磁気ディスク制御装置DCiの動作(ステッ
プS2,ステップS8)の詳細を説明するための流れ図
である。図24は図21に示した磁気ディスク装置Di
kの装置選択動作(ステップSc4)の詳細を説明する
ための流れ図である。図25は図22に示した磁気ディ
スク装置Dikのデータ書き込み動作(ステップSc1
0)の詳細を説明するための流れ図である。図26は図
23に示した磁気ディスク装置Dikのデータ読み取り
動作(ステップSc15)の詳細を説明するための流れ
図である。
FIG. 19 is a flow chart for explaining the data writing process of the central processing unit 1 of FIG. FIG. 20 is a flow chart for explaining the data reading process of the central processing unit 1 of FIG. 21 to 23 are shown in FIGS.
6 is a flowchart for explaining details of the operation (step S2, step S8) of the magnetic disk controller DCi shown in FIG. FIG. 24 shows the magnetic disk device Di shown in FIG.
It is a flow chart for explaining the details of the device selection operation of k (step Sc4). FIG. 25 shows a data write operation of the magnetic disk device Dik shown in FIG. 22 (step Sc1
It is a flow chart for explaining the details of 0). FIG. 26 is a flow chart for explaining the details of the data reading operation (step Sc15) of the magnetic disk device Dik shown in FIG.

【0007】次に、中央処理装置1が任意の磁気ディス
ク装置Dik(kは1≦k≦nなる整数)にデータを書
き込む場合の動作について図18,図19,図21〜図
25を用いて説明する。
Next, the operation when the central processing unit 1 writes data to an arbitrary magnetic disk device Dik (k is an integer 1 ≦ k ≦ n) will be described with reference to FIGS. 18, 19 and 21 to 25. explain.

【0008】中央処理装置1は、書き込みを指令するコ
マンドとデータを磁気ディスク制御装置DCiに対して
送信する(ステップS1)。このコマンドにはデータを
書き込む対象となる磁気ディスク装置を選択するユニッ
トアドレスと書き込み位置を示すシリンダアドレスとヘ
ッドアドレスが付加されている。
The central processing unit 1 sends a command instructing writing and data to the magnetic disk controller DCi (step S1). To this command, a unit address for selecting a magnetic disk device to which data is to be written, a cylinder address indicating a writing position, and a head address are added.

【0009】磁気ディスク制御装置DCiは、コマンド
とデータを受け取ると動作を開始する(ステップS
2)。
The magnetic disk controller DCi starts its operation upon receiving the command and data (step S).
2).

【0010】ステップS2の詳細は図21〜図23に示
されているので、これらの図を参照して説明する。
Details of step S2 are shown in FIGS. 21 to 23 and will be described with reference to these figures.

【0011】磁気ディスク制御装置DCiのコマンド・
データ受信部3は、中央処理装置1から受信したコマン
ドとデータを保持する(ステップSc1)。中央処理部
16は、コマンド・データ受信部3に保持されたコマン
ドを解析し(ステップSc2)、制御信号発生部11に
対してユニットアドレス信号UAの出力を指示する(ス
テップSc3)。このユニットアドレス信号UAはビッ
トの組み合わせで構成されていて、磁気ディスク装置の
選択に用いられる信号である。磁気ディスク装置Dik
は、ユニットアドレス信号UAが入力されると装置選択
動作を開始する(ステップSc4)。
Command of the magnetic disk controller DCi
The data receiving unit 3 holds the command and data received from the central processing unit 1 (step Sc1). The central processing unit 16 analyzes the command held in the command / data receiving unit 3 (step Sc2) and instructs the control signal generating unit 11 to output the unit address signal UA (step Sc3). The unit address signal UA is composed of a combination of bits and is a signal used for selecting the magnetic disk device. Magnetic disk device Dik
Starts the device selecting operation when the unit address signal UA is input (step Sc4).

【0012】ステップSc4の詳細は図24に示されて
いるので、この図を参照して説明する。
Details of step Sc4 are shown in FIG. 24, and will be described with reference to this figure.

【0013】ユニットアドレス信号UAは、磁気ディス
ク制御装置DCiに接続されている全ての磁気ディスク
装置Di1〜Din,di1〜dinに入力される(ス
テップSs1)。磁気ディスク装置Di1〜Din,d
i1〜dinには1台毎に固有のユニットアドレスが設
定されており、ユニットアドレス信号UAで示されるユ
ニットアドレスと自装置のユニットアドレスとを比較し
(ステップSs2)、一致した磁気ディスク装置Dik
のみが状態通知信号STを出力し、装置の状態を磁気デ
ィスク制御装置DCiに対して通知する(ステップSs
3)。この状態通知信号STは、ビットの組み合わせで
構成されていて、磁気ディスク装置が動作可能状態か動
作不能状態かと、動作中か動作終了かと、エラーの有無
と、エラーが発生している場合はその内容とを通知する
為に用いられる信号である。磁気ディスク装置Dik以
外の磁気ディスク装置Di1〜Din,di1〜din
は状態通知信号STを出力しない。これで図21の磁気
ディスク装置Dikの装置選択動作(ステップSc4)
は終了する。
The unit address signal UA is input to all the magnetic disk devices Di1 to Din and di1 to din connected to the magnetic disk control device DCi (step Ss1). Magnetic disk devices Di1 to Din, d
A unique unit address is set to each of i1 to din, and the unit address indicated by the unit address signal UA is compared with the unit address of the own device (step Ss2), and the matched magnetic disk device Dik
Only outputs the status notification signal ST to notify the status of the device to the magnetic disk controller DCi (step Ss).
3). The status notification signal ST is composed of a combination of bits, and indicates whether the magnetic disk device is in an operable state or an inoperable state, whether it is in operation or in operation, whether there is an error, and if an error has occurred, the It is a signal used to notify the contents. Magnetic disk devices Di1 to Din, di1 to din other than the magnetic disk device Dik
Does not output the status notification signal ST. With this, the device selection operation of the magnetic disk device Dik of FIG. 21 (step Sc4)
Ends.

【0014】図21の磁気ディスク制御装置DCiの動
作に戻り、続きを説明する。
Returning to the operation of the magnetic disk controller DCi shown in FIG. 21, the description will be continued.

【0015】中央処理部16は、状態通知信号STを入
力し(ステップSc5)、その内容を判断し(ステップ
Sc6)、その内容が動作不可状態を示していたら再度
状態通知信号を入力し(ステップSc5)、動作可能と
なるのを待つ。状態通知信号STの内容が動作可能状態
を示していたら、前述の(ステップSc2)で解析した
コマンド種別を判断し(ステップSc7)、それが書き
込みを指令するコマンドである場合、コマンド・データ
受信部3に保持されているデータを書き込みデータバッ
ファ9へ転送し(ステップSc8)、シリンダアドレス
信号CAとヘッドアドレス信号HAと書き込み指令信号
WGの出力を制御信号発生部11に対して指示する(ス
テップSc9)。このシリンダアドレス信号CAとヘッ
ドアドレス信号HAとはビットの組み合わせで構成され
ていて、データの書き込み又は読み取りの対象となる磁
気ディスク上のアドレスの選択に用いられる信号であ
る。
The central processing unit 16 inputs the state notification signal ST (step Sc5), judges the content thereof (step Sc6), and if the content indicates the inoperable state, inputs the state notification signal again (step). Sc5), wait until it becomes operable. If the content of the state notification signal ST indicates the operable state, the command type analyzed in the above (Step Sc2) is judged (Step Sc7), and if it is the command to instruct the writing, the command / data receiving unit 3 is transferred to the write data buffer 9 (step Sc8), and the control signal generator 11 is instructed to output the cylinder address signal CA, the head address signal HA, and the write command signal WG (step Sc9). ). The cylinder address signal CA and the head address signal HA are composed of a combination of bits, and are signals used for selecting an address on the magnetic disk which is a target for writing or reading data.

【0016】磁気ディスク装置Dikは、書き込み指令
信号WGが入力されるとデータ書き込み動作を開始する
(ステップSc10)。
The magnetic disk device Dik starts a data write operation when the write command signal WG is input (step Sc10).

【0017】ステップSc10の詳細は図25に示され
ているので、この図を参照して説明る。
Details of step Sc10 are shown in FIG. 25, and will be described with reference to this figure.

【0018】書き込みデータWDとシリンダアドレス信
号CAとヘッドアドレス信号HAと書き込み指令信号W
Gとは、磁気ディスク装置Di1〜Din,di1〜d
inに入力されるが(ステップSw1)、ユニットアド
レス信号UAが一致した磁気ディスク装置Dik以外の
磁気ディスク装置はこれを無視する。磁気ディスク装置
Dikは、状態通知信号STによって動作中であること
を磁気ディスク制御装置DCiに対して通知し(ステッ
プSw2)、シリンダアドレス信号CAとヘッドアドレ
ス信号HAとで示されるアドレスへ書き込みデータWD
の内容を書き込む(ステップSw3)。書き込み動作を
終了すると磁気ディスク装置Dikは、エラー発生の有
無を判断し(ステップSw4)、エラーが無い場合は状
態通知信号STへエラー無しを示す情報を付加し(ステ
ップSw5)、エラーが有る場合は状態通知信号STへ
エラー有りを示す情報とエラーの内容を付加し(ステッ
プSw6)、その状態通知信号STによって動作終了を
磁気ディスク制御装置DCiへ通知する(ステップSw
7)。
Write data WD, cylinder address signal CA, head address signal HA, and write command signal W
G means the magnetic disk devices Di1 to Din, di1 to d
Although input to in (step Sw1), the magnetic disk devices other than the magnetic disk device Dik with which the unit address signals UA match are ignored. The magnetic disk device Dik notifies the magnetic disk controller DCi that it is operating by the status notification signal ST (step Sw2), and writes data WD to the address indicated by the cylinder address signal CA and the head address signal HA.
The content of is written (step Sw3). Upon completion of the write operation, the magnetic disk device Dik determines whether or not an error has occurred (step Sw4), and if there is no error, adds information indicating no error to the status notification signal ST (step Sw5). Adds the information indicating the presence of an error and the content of the error to the status notification signal ST (step Sw6), and notifies the magnetic disk controller DCi of the operation end by the status notification signal ST (step Sw6).
7).

【0019】これで図22の磁気ディスク装置Dikの
データ書き込み動作(ステップSc10)は終了する。
This completes the data writing operation (step Sc10) of the magnetic disk device Dik of FIG.

【0020】図22の磁気ディスク制御装置DCiの動
作に戻り、続きを説明する。
Returning to the operation of the magnetic disk controller DCi shown in FIG. 22, the description will be continued.

【0021】中央処理部16は、磁気ディスク装置Di
kから状態通知信号STを入力し(ステップSc1
1)、その内容を判断し(ステップSc12)、その内
容が動作中を示していたら再度状態通知信号STを入力
し(ステップSc11)、動作終了となるのを待つ。状
態通知信号STの内容が動作終了を示した場合は、動作
終了の応答を応答・データ送信部4を介して中央処理装
置1へ送信する(ステップSc13)。この応答には状
態通知信号STに含まれるエラーの有無と、エラーがあ
る場合はその内容が付加されている。
The central processing unit 16 is a magnetic disk device Di.
The status notification signal ST is input from k (step Sc1
1) The contents are judged (step Sc12), and if the contents indicate that the operation is in progress, the state notification signal ST is input again (step Sc11) and the operation is awaited. When the content of the state notification signal ST indicates the end of the operation, the response of the end of the operation is transmitted to the central processing unit 1 via the response / data transmitting unit 4 (step Sc13). The response includes the presence / absence of an error included in the status notification signal ST and, if there is an error, the content thereof.

【0022】これで図19の磁気ディスク制御装置DC
iの動作(ステップS2)は終了する。
Now, the magnetic disk controller DC of FIG.
The operation of i (step S2) ends.

【0023】図19の中央処理装置1のデータ書き込み
処理に戻り、続きを説明する。
Returning to the data writing process of the central processing unit 1 of FIG. 19, the continuation will be described.

【0024】中央処理装置1は、磁気ディスク制御装置
DCiから応答を受信し(ステップS3)、その内容か
らエラーの有無を判断し(ステップS4)、それがエラ
ー有りを示している場合は、中央処理装置1は書き込み
エラー修復処理を行い(ステップS5)、エラー無しを
示している場合は、書き込みエラー修復処理を行わな
い。
The central processing unit 1 receives the response from the magnetic disk controller DCi (step S3), judges the presence or absence of an error from the contents (step S4), and if it indicates that there is an error, the central processing unit 1 The processing device 1 performs the write error restoration process (step S5), and when it indicates that there is no error, does not perform the write error restoration process.

【0025】一般的な書き込みエラー修復処理では、デ
ータ書き込み処理を再試行し、一定回数再試行を繰り返
してもエラーが発生する場合は、そのアドレスは使用不
可領域として以後は使用せず代替領域を使用する方法が
用いられる。この代替領域はあらかじめディスク上に確
保しておく方法と、書き込みエラーが発生したアドレス
の次のアドレスを使用する方法とがある。
In a general write error recovery process, if the data write process is retried and an error occurs even after retrying a certain number of times, the address is regarded as an unusable area and is not used thereafter. The method used is used. This alternative area can be secured on the disk in advance, or the address next to the address where the write error has occurred can be used.

【0026】中央処理装置1は、磁気ディスク装置Di
kへのデータ書き込みが終了すると、前記(ステップS
1〜ステップS5)で説明した磁気ディスク装置Dik
へのデータ書き込み動作と同じ手順で、磁気ディスク装
置dikへデータを書き込む(ステップS6)。この場
合の書き込みデータは直前に磁気ディスク装置Dikに
書き込んだデータと同一であり、書き込むアドレスも同
一である。
The central processing unit 1 is a magnetic disk unit Di.
When the writing of data to k is completed, (step S
1 to step S5) the magnetic disk device Dik described in
Data is written to the magnetic disk device dik by the same procedure as the data writing operation to (step S6). The write data in this case is the same as the data written to the magnetic disk device Dik immediately before, and the write address is also the same.

【0027】以上の動作によって正系磁気ディスク装置
Dと副系磁気ディスク装置dとは、常に同一内容のデー
タが書き込まれている。
By the above operation, the same magnetic disk device D and the secondary magnetic disk device d are always written with the same data.

【0028】次に、中央処理装置1が磁気ディスク装置
Dikからデータを読み取る場合の動作について図1
8,図20〜図24,図26を用いて説明する。
Next, the operation when the central processing unit 1 reads the data from the magnetic disk device Dik is shown in FIG.
8, FIG. 20 to FIG. 24, and FIG. 26 will be described.

【0029】中央処理装置1は、読み取りを指令するコ
マンドを磁気ディスク制御装置DCiに対して送信する
(ステップS7)。このコマンドにはデータを読み取る
対象となる磁気ディスク装置を選択するユニットアドレ
スと読み取り位置を示すシリンダアドレスとヘッドアド
レスとが付加されている。
The central processing unit 1 sends a command instructing reading to the magnetic disk controller DCi (step S7). This command is added with a unit address for selecting a magnetic disk device from which data is read, a cylinder address indicating a read position, and a head address.

【0030】磁気ディスク制御装置DCiは、コマンド
を受け取ると動作を開始する(ステップS8)。
Upon receiving the command, the magnetic disk controller DCi starts its operation (step S8).

【0031】ステップS8の詳細は図21〜図23に示
されているので、これらの図を参照して説明する。
Details of step S8 are shown in FIGS. 21 to 23 and will be described with reference to these figures.

【0032】磁気ディスク制御装置DCiは、前記の書
き込み動作の説明と同様の手順で磁気ディスク装置Di
kを選択する(ステップSc1〜ステップSc6)。
The magnetic disk controller DCi follows the same procedure as the description of the write operation described above.
k is selected (step Sc1 to step Sc6).

【0033】中央処理部16は、状態通知信号STの内
容が動作可能状態を示した場合は、前記(ステップSc
2)で解析したコマンド種別を判断し(ステップSc
7)、それが読み取りを指令するコマンドである場合、
シリンダアドレス信号CAとヘッドアドレス信号HAと
読み取り指令信号RGの出力を制御信号発生部11に対
して指示する(ステップSc14)。磁気ディスク装置
Dikは、読み取り指令信号RGが入力されるとデータ
読み取り動作を開始する(ステップSc15)。
When the content of the status notification signal ST indicates the operable status, the central processing unit 16 executes the above-mentioned (step Sc
The command type analyzed in 2) is determined (step Sc
7), if it is a command to command a read,
The control signal generator 11 is instructed to output the cylinder address signal CA, the head address signal HA, and the read command signal RG (step Sc14). When the read command signal RG is input, the magnetic disk device Dik starts a data read operation (step Sc15).

【0034】ステップSc15の詳細は図26に示され
ているので、この図を参照して説明する。
The details of step Sc15 are shown in FIG. 26, and will be described with reference to this figure.

【0035】シリンダアドレス信号CAとヘッドアドレ
ス信号HAと読み取り指令信号RGとは、磁気ディスク
装置Di1〜Din,di1〜dinに入力されるが
(ステップSr1)、ユニットアドレス信号UAが一致
した磁気ディスク装置Dik以外の磁気ディスク装置は
これを無視する。磁気ディスク装置Dikは、状態通知
信号STによって動作中であることを磁気ディスク制御
装置DCiに対して通知し(ステップSr2)、シリン
ダアドレス信号CAとヘッドアドレス信号HAとで示さ
れるアドレスのデータを読み取る(ステップSr3)。
読み取り動作を終了すると磁気ディスク装置Dikは、
エラー発生の有無を判断し(ステップSr4)、エラー
が無い場合は読み取りデータRDを出力し、状態通知信
号STへエラー無しを示す情報を付加し(ステップSr
5)、エラーが有る場合は状態通知信号STへエラー有
りを示す情報とエラーの内容を付加し(ステップSr
6)、その状態通知信号STによって動作終了を磁気デ
ィスク制御装置DCiへ通知する(ステップSr7)。
The cylinder address signal CA, the head address signal HA, and the read command signal RG are input to the magnetic disk devices Di1 to Din and di1 to din (step Sr1), but the unit address signal UA is the same. Magnetic disk devices other than Dik ignore this. The magnetic disk device Dik notifies the magnetic disk controller DCi that it is operating by the status notification signal ST (step Sr2), and reads the data at the address indicated by the cylinder address signal CA and the head address signal HA. (Step Sr3).
When the reading operation is completed, the magnetic disk device Dik
Whether or not an error has occurred is determined (step Sr4), and if there is no error, the read data RD is output, and information indicating no error is added to the status notification signal ST (step Sr4).
5) If there is an error, information indicating that there is an error and the content of the error are added to the status notification signal ST (step Sr).
6) Then, the status notification signal ST is used to notify the magnetic disk controller DCi of the end of the operation (step Sr7).

【0036】これで図23の磁気ディスク装置Dikの
データ読み取り動作(ステップSc15)は終了する。
This completes the data reading operation (step Sc15) of the magnetic disk device Dik of FIG.

【0037】図23の磁気ディスク制御装置DCiの動
作に戻り、続きを説明する。
Returning to the operation of the magnetic disk controller DCi of FIG. 23, the continuation will be described.

【0038】読み取りデータRDは、磁気ディスク制御
装置DCiの読み取りデータバッファ10に蓄えられる
(ステップSc16)。中央処理部16は、磁気ディス
ク装置Dikから状態通知信号STを入力し(ステップ
Sc17)、その内容を判断し(ステップSc18)、
その内容が動作中を示していたら読み取りデータRDの
蓄積(ステップSc16)を継続し、再度状態通知信号
STを入力し(ステップSc17)、動作終了となるの
を待つ。 状態通知信号STの内容が動作終了を示して
いたら、動作終了の応答と読み取りデータバッファ10
に保持されている読み取りデータとを、応答・データ送
信部4を介して中央処理装置1へ送信する(ステップS
c19)。この応答には状態通知信号STに含まれるエ
ラーの有無とエラーがある場合はその内容が付加されて
いる。
The read data RD is stored in the read data buffer 10 of the magnetic disk controller DCi (step Sc16). The central processing unit 16 inputs the status notification signal ST from the magnetic disk device Dik (step Sc17), judges its content (step Sc18),
If the content indicates that the operation is in progress, the accumulation of the read data RD (step Sc16) is continued, the status notification signal ST is input again (step Sc17), and the operation is awaited. If the content of the status notification signal ST indicates the end of the operation, the response of the end of the operation and the read data buffer 10
The read data stored in the central processing unit 1 is transmitted to the central processing unit 1 via the response / data transmission unit 4 (step S
c19). The presence or absence of an error included in the status notification signal ST and the content of the error, if any, are added to this response.

【0039】これで図20の磁気ディスク制御装置DC
iの動作(ステップS8)は終了する。
Now, the magnetic disk controller DC of FIG.
The operation of i (step S8) ends.

【0040】図20の中央処理装置1のデータ読み取り
処理に戻り、続きを説明する。
Returning to the data reading process of the central processing unit 1 of FIG. 20, the continuation will be described.

【0041】中央処理装置1は、磁気ディスク制御装置
DCiから応答を受信し(ステップS9)、その内容か
らエラーの有無を判断し(ステップS10)、それがエ
ラー無しを示している場合は、磁気ディスク装置Dik
からのデータ読み取り処理を終了する。
The central processing unit 1 receives the response from the magnetic disk controller DCi (step S9), judges the presence / absence of an error from the contents (step S10), and when it indicates that there is no error, the magnetic Disk device Dik
The data reading process from is ended.

【0042】応答がエラー有りを示している場合は、中
央処理装置1は読み取りエラー修復処理を行う(ステッ
プS11)。
When the response indicates that there is an error, the central processing unit 1 performs a read error repairing process (step S11).

【0043】一般的な読み取りエラー修復処理では、デ
ータ読み取り処理を一定回数再試行する。
In a general read error repair process, the data read process is retried a certain number of times.

【0044】再試行の結果を判断し(ステップS1
2)、エラー修復に成功した場合は磁気ディスク装置D
ikからのデータ読み取り処理を終了する。
The result of the retry is judged (step S1
2), if the error recovery is successful, the magnetic disk device D
The data reading process from ik ends.

【0045】エラー修復に失敗した場合は、磁気ディス
ク装置Dikからのデータ読み取り処理を中止し、二重
化されている他方の磁気ディスク装置dikの同一アド
レスを、前述の(ステップS7〜ステップS11)で説
明した磁気ディスク装置Dikのデータ読み取り動作と
同じ手順で読み取る(ステップS13)。
When the error recovery fails, the data reading process from the magnetic disk device Dik is stopped, and the same address of the other duplicated magnetic disk device dik will be described in the above (steps S7 to S11). The data is read by the same procedure as the data reading operation of the magnetic disk device Dik (step S13).

【0046】以上の動作によって正系磁気ディスク装置
Dが故障した場合、あるいは正系磁気ディスク装置Dに
書き込まれたデータが何らかの原因で破壊された場合で
も、副系磁気ディスク装置dが正常であれば、そのデー
タを使用することによってコンピュータシステムの運転
を継続できる。
Even if the primary magnetic disk device D fails due to the above operation, or the data written in the primary magnetic disk device D is destroyed for some reason, the secondary magnetic disk device d can be normal. The data can then be used to keep the computer system running.

【0047】[0047]

【発明が解決しようとする課題】従来の磁気ディスクシ
ステムで磁気ディスク装置を二重化する場合、正系磁気
ディスク装置と同数の副系磁気ディスク装置が必要とな
り、導入費用および設置スペースが二重化しない場合の
2倍必要になるという問題点があった。
In the case of duplicating the magnetic disk devices in the conventional magnetic disk system, the same number of secondary magnetic disk devices as the primary magnetic disk devices are required, and the introduction cost and the installation space are not duplicated. There was a problem that it would be required twice.

【0048】[0048]

【課題を解決するための手段】本発明の磁気ディスクシ
ステムは、情報を記憶する偶数台の正系磁気ディスク装
置と、前記正系磁気ディスク装置2台につき1台の割合
で設置される副系磁気ディスク装置と、 中央処理装置
からのコマンド及びデータを受信するコマンド・データ
受信部と、前記中央処理装置への応答およびデータを送
信する応答・データ送信部と、前記副系磁気ディスク装
置へ書き込む混合データの生成と混合データから元のデ
ータの復元を行うデータ混合復元部と、書き込みデータ
を一時的に保留するデータ保留部と、前記中央処理装置
から与えられる仮想ユニットアドレスを実ユニットアド
レスへの変換に用いるユニットアドレス変換テーブルを
格納する記憶部と、このユニットアドレス変換テーブル
の内容を更新するために用いる操作部と、前記正系磁気
ディスク装置又は副系磁気ディスク装置へ書き込むデー
タを蓄える書き込みデータバッファと、前記正系磁気デ
ィスク装置又は副系磁気ディスク装置から読み取ったデ
ータを蓄える読み取りデータバッファと、前記正系磁気
ディスク装置および副系磁気ディスク装置に対してユニ
ットアドレス信号とシリンダアドレス信号とヘッドアド
レス信号と書き込み指令信号と読み取り指令信号とを発
生する制御信号発生部と、これら全体の動作を制御する
中央処理部とで構成される磁気ディスク制御装置とを備
えて構成される。
In the magnetic disk system of the present invention, an even number of primary magnetic disk devices for storing information and one secondary system for every two primary magnetic disk devices are installed. A magnetic disk device, a command / data receiving unit for receiving commands and data from a central processing unit, a response / data transmitting unit for transmitting a response and data to the central processing unit, and writing to the secondary magnetic disk unit A data mixing / restoring unit for generating mixed data and restoring original data from the mixed data, a data holding unit for temporarily holding write data, and a virtual unit address given from the central processing unit to a real unit address. The storage unit that stores the unit address conversion table used for conversion and the contents of this unit address conversion table are updated. An operation unit used for the purpose, a write data buffer for storing data to be written in the primary magnetic disk device or the secondary magnetic disk device, and a read data buffer for storing data read from the primary magnetic disk device or the secondary magnetic disk device And a control signal generator for generating a unit address signal, a cylinder address signal, a head address signal, a write command signal, and a read command signal for the primary magnetic disk device and the secondary magnetic disk device, and the operation of all of them. And a magnetic disk controller constituted by a central processing unit for controlling the.

【0049】[0049]

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

【0050】図1は本発明の一実施例の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【0051】この実施例の磁気ディスク制御装置DWi
は、全体の動作を制御する中央処理部2と、中央処理装
置1からのコマンド及びデータを受信するコマンド・デ
ータ受信部3と、中央処理装置1へ応答およびデータを
送信する応答・データ送信部4と、副系磁気ディスク装
置Gへ書き込むための混合データの生成と混合データか
ら元のデータの復元を行うデータ混合復元部5と、書き
込みデータを一時的に保留するデータ保留部6と、中央
処理装置1から与えられる仮想ユニットアドレスを実ユ
ニットアドレスに変換するために用いるユニットアドレ
ス変換テーブル15を格納する記憶部7と、ユニットア
ドレス変換テーブル15の内容を更新するために用いる
操作部8と、正系磁気ディスク装置EF又は副系磁気デ
ィスク装置Gへ書き込むデータを蓄える書き込みデータ
バッファ9と、正系磁気ディスク装置EF又は副系磁気
ディスク装置Gから読み取ったデータを蓄える読み取り
データバッファ10と、中央処理部2からの指令でユニ
ットアドレス信号UAとシリンダアドレス信号CAとヘ
ッドアドレス信号HAと書き込み指令信号WGと読み取
り指令信号RGとを発生する制御信号発生部11とで構
成されている。
The magnetic disk controller DWi of this embodiment
Is a central processing unit 2 that controls the overall operation, a command / data receiving unit 3 that receives commands and data from the central processing unit 1, and a response / data transmission unit that sends responses and data to the central processing unit 1. 4, a data mixing / restoring unit 5 for generating mixed data for writing to the secondary magnetic disk device G and restoring the original data from the mixed data, a data holding unit 6 for temporarily holding the write data, and a central unit. A storage unit 7 for storing a unit address conversion table 15 used for converting a virtual unit address given from the processing device 1 into a real unit address; and an operation unit 8 used for updating the contents of the unit address conversion table 15. A write data buffer 9 for storing data to be written in the primary magnetic disk device EF or the secondary magnetic disk device G; A read data buffer 10 for storing data read from the magnetic disk device EF or the secondary magnetic disk device G, and a unit address signal UA, a cylinder address signal CA, a head address signal HA, and a write command signal WG according to commands from the central processing unit 2. And a control signal generator 11 for generating a read command signal RG.

【0052】即ち、データ混合復元部5と、データ保留
部6と、記憶部7と、操作部8とを設けたことが従来例
の磁気ディスク制御装置DCi(図17・18参照)と
異なる。
That is, the data mixing / restoring unit 5, the data holding unit 6, the storage unit 7, and the operation unit 8 are different from the conventional magnetic disk controller DCi (see FIGS. 17 and 18).

【0053】図2は図1のデータ混合復元部5の詳細を
示すブロック図である。このデータ混合復元部5は、デ
ータの混合あるいはデータの復元をするために入力され
るデータを保持するデータバッファ12,13と、デー
タバッファ12とデータバッファ13とが保持している
データの排他的論理和を出力する排他的論理和回路14
とを有している。
FIG. 2 is a block diagram showing details of the data mixing / restoring unit 5 of FIG. The data mixing / restoring unit 5 holds data buffers 12 and 13 for holding data input for mixing data or restoring data, and exclusive use of data held by the data buffers 12 and 13. Exclusive OR circuit 14 that outputs a logical sum
And have.

【0054】図3は図1のユニットアドレス変換テーブ
ル15の内容の一例を示す説明図である。従来例では図
18で説明した通り、中央処理装置1が送信するコマン
ドに付加されるユニットアドレスと、正系磁気ディスク
装置Dおよび副系磁気ディスク装置dを選択するための
ユニットアドレス信号UAとは一対一に対応していた
が、本発明では仮想ユニットアドレスを使用している。
FIG. 3 is an explanatory diagram showing an example of the contents of the unit address conversion table 15 of FIG. In the conventional example, as described with reference to FIG. 18, the unit address added to the command transmitted by the central processing unit 1 and the unit address signal UA for selecting the primary magnetic disk device D and the secondary magnetic disk device d are Although there was a one-to-one correspondence, the present invention uses virtual unit addresses.

【0055】図3において、仮想ユニットアドレス列T
C1は、ユニットアドレス変換のキーとして用いる。副
系標識列TC2は、内容が「1」の場合はそのユニット
アドレスは副系磁気ディスク装置であることを示し、
「0」の場合は正系磁気ディスク装置であることを示
す。実ユニットアドレス列TC3は、仮想ユニットアド
レス列TC1に対応する磁気ディスク装置の実ユニット
アドレスを示す。第一正系実アドレス列TC4は、副系
標識列TC2が「1」の場合のみ有効であり、その副系
磁気ディスク装置に対応する正系磁気ディスク装置の実
ユニットアドレスを示す。
In FIG. 3, the virtual unit address string T
C1 is used as a unit address conversion key. If the content is "1", the sub system indicator column TC2 indicates that the unit address is the sub system magnetic disk device,
When it is "0", it indicates that it is a primary magnetic disk device. The real unit address string TC3 indicates the real unit address of the magnetic disk device corresponding to the virtual unit address string TC1. The first primary system real address column TC4 is valid only when the secondary system indicator column TC2 is "1" and indicates the real unit address of the primary magnetic disk device corresponding to the secondary magnetic disk device.

【0056】本発明では、後記で説明する方法で2台の
正系磁気ディスク装置のデータを混合して副系磁気ディ
スク装置に書き込むが、第二正系実アドレス列TC5は
第一正系実アドレス列TC4で示される正系磁気ディス
ク装置のデータに混合するもう一方の正系磁気ディスク
装置の実ユニットアドレスを示す。第二正系実アドレス
列TC5は副系標識列TC2が「1」の場合のみ有効で
ある。
In the present invention, the data of two primary magnetic disk devices are mixed and written in the secondary magnetic disk device by the method described later, but the second primary real address string TC5 is the first primary real disk. The real unit address of the other primary magnetic disk device mixed with the data of the primary magnetic disk device indicated by the address column TC4 is shown. The second primary system real address sequence TC5 is valid only when the secondary system sequence column TC2 is "1".

【0057】図4は図1の磁気ディスクシステムを用い
たコンピュータシステムの一部分のブロック図である。
FIG. 4 is a block diagram of a part of a computer system using the magnetic disk system of FIG.

【0058】中央処理装置1にj組の磁気ディスクシス
テムDS1〜DSjが接続されている。任意の磁気ディ
スクシステムDSiは、大別して磁気ディスク制御装置
DWiと、それに接続されたn台の磁気ディスク装置E
i1〜Einとn台の磁気ディスク装置Fi1〜Fin
とn台の磁気ディスク装置Gi1〜Ginとで構成され
ている。磁気ディスク装置は、正系磁気ディスク装置E
Fと、副系磁気ディスク装置Gとで二重化されている。
To the central processing unit 1, j sets of magnetic disk systems DS1 to DSj are connected. The arbitrary magnetic disk system DSi is roughly classified into a magnetic disk controller DWi and n magnetic disk devices E connected thereto.
i1 to Ein and n magnetic disk devices Fi1 to Fin
And n magnetic disk devices Gi1 to Gin. The magnetic disk device is the primary magnetic disk device E.
F and the secondary magnetic disk device G are duplicated.

【0059】即ち、正系磁気ディスク装置EF2台に1
台の割合で副系磁気ディスク装置Gが設置されているこ
とが、従来例の磁気ディスクシステムDKiと異なる。
図5と図6とは図1の中央処理装置1のデータ書き込み
処理を説明するための流れ図、図7と図8は図1の中央
処理装置1のデータ読み取り処理を説明するための流れ
図、図9〜図16は図5〜図8に示した磁気ディスク制
御装置DWiの動作(ステップN2,ステップN7,ス
テップN12,ステップN18)の詳細を説明するため
の流れ図である。
That is, one in two primary magnetic disk drives EF
It is different from the conventional magnetic disk system DKi in that the secondary magnetic disk devices G are installed in proportion to the number of units.
5 and 6 are flowcharts for explaining the data writing process of the central processing unit 1 in FIG. 1, and FIGS. 7 and 8 are flowcharts for explaining the data reading process of the central processing unit 1 in FIG. 9 to 16 are flowcharts for explaining the details of the operation (step N2, step N7, step N12, step N18) of the magnetic disk controller DWi shown in FIGS. 5 to 8.

【0060】次に、この実施例について図1〜図16を
用いて動作の説明をする。
Next, the operation of this embodiment will be described with reference to FIGS.

【0061】図3のユニットアドレス変換テーブル15
の内容は、仮想ユニットアドレス「2」の副系磁気ディ
スク装置Gと対になる正系磁気ディスク装置EFの仮想
ユニットアドレスが「0」で、仮想ユニットアドレス
「3」の副系磁気ディスク装置Gと対になる正系磁気デ
ィスク装置EFの仮想ユニットアドレスが「1」である
場合の例である。
Unit address conversion table 15 of FIG.
Means that the virtual magnetic disk unit EF of the primary magnetic disk unit EF paired with the secondary magnetic disk unit G of the virtual unit address "2" has the virtual unit address "0" and the virtual unit address "3" has the virtual magnetic unit G This is an example of a case where the virtual unit address of the primary magnetic disk device EF paired with is a "1".

【0062】はじめに磁気ディスク装置Eikの実ユニ
ットアドレスが「0」、磁気ディスク装置Fikの実ユ
ニットアドレスが「1」、磁気ディスク装置Gikの実
ユニットアドレスが「2」で、ユニットアドレス変換テ
ーブル15の内容が図3の通りである場合の、仮想ユニ
ットアドレス「2」の副系磁気ディスク装置Gへデータ
を書き込む動作を説明する。
First, the real unit address of the magnetic disk device Eik is "0", the real unit address of the magnetic disk device Fik is "1", the real unit address of the magnetic disk device Gik is "2", and the unit address conversion table 15 An operation of writing data to the secondary magnetic disk device G of the virtual unit address "2" when the content is as shown in FIG. 3 will be described.

【0063】磁気ディスク制御装置DWiが、ユニット
アドレス信号UAで正系磁気ディスク装置EFまたは副
系磁気ディスク装置Gを選択する動作、シリンダアドレ
ス信号CAとヘッドアドレス信号HAと書き込み指令信
号WGとでデータを書き込む動作、シリンダアドレス信
号CAとヘッドアドレス信号HAと読み取り指令信号R
Gとでデータを読み取る動作、および状態通知信号ST
で状態を判断する動作は、図18における従来例の磁気
ディスク制御装置DCiと磁気ディスク装置Dおよび磁
気ディスク装置dの場合と同様である。
The magnetic disk control device DWi selects the primary magnetic disk device EF or the secondary magnetic disk device G by the unit address signal UA, and the data by the cylinder address signal CA, the head address signal HA and the write command signal WG. Writing operation, cylinder address signal CA, head address signal HA, and read command signal R
Operation to read data with G and status notification signal ST
The operation for determining the state in step S6 is the same as that of the conventional magnetic disk controller DCi, magnetic disk device D, and magnetic disk device d in FIG.

【0064】中央処理装置1は、仮想ユニットアドレス
「2」の副系磁気ディスク装置Gへのデータ書き込みを
指令するコマンドとデータを磁気ディスク制御装置DW
iに対して送信する(ステップN1)。磁気ディスク制
御装置DWiは、コマンドとデータを受け取ると動作を
開始する(ステップN2)。
The central processing unit 1 sends a command and data for instructing the writing of data to the secondary magnetic disk device G of the virtual unit address "2" to the magnetic disk control device DW.
It is transmitted to i (step N1). The magnetic disk control device DWi starts its operation upon receiving the command and the data (step N2).

【0065】ステップN2の詳細は図9〜図16に示さ
れているので、これらの図を参照して説明する。
Details of step N2 are shown in FIGS. 9 to 16 and will be described with reference to these figures.

【0066】磁気ディスク制御装置DWiのコマンド・
データ受信部3は、中央処理装置1から受信したコマン
ドとデータを保持する(ステップNc1)。中央処理部
2は、コマンド・データ受信部3に保持されたコマンド
を解析し(ステップNc2)、そのコマンドに付加され
ている仮想ユニットアドレス「2」をキーとしてユニッ
トアドレス変換テーブル15から、副系標識列TC2と
実ユニットアドレス列TC3と第一正系実アドレス列T
C4と第二正系実アドレス列TC5を読み取る(ステッ
プNc3)。
Command of magnetic disk controller DWi
The data receiving unit 3 holds the command and data received from the central processing unit 1 (step Nc1). The central processing unit 2 analyzes the command held in the command / data receiving unit 3 (step Nc2), and from the unit address conversion table 15 using the virtual unit address "2" added to the command as a key, the subsystem Marker column TC2, real unit address column TC3, first primary system real address column T
C4 and the second real system real address sequence TC5 are read (step Nc3).

【0067】その副系標識列TC2が「1」か「0」か
を判断し(ステップNc4)、TC2=1の場合は、そ
の仮想ユニットアドレスは副系磁気ディスク装置Gであ
ると認識し、TC2=0の場合は正系磁気ディスク装置
EFであると認識する。この例ではTC2=1であるか
ら仮想ユニットアドレス「2」は副系磁気ディスク装置
Gであることを認識する。
It is judged whether the subsystem flag column TC2 is "1" or "0" (step Nc4). If TC2 = 1, the virtual unit address is recognized as the subsystem magnetic disk device G, If TC2 = 0, it is recognized as the primary magnetic disk device EF. In this example, since TC2 = 1, the virtual unit address "2" is recognized as the secondary magnetic disk device G.

【0068】前記(ステップNc2)で解析したコマン
ド種別を判断し(ステップNc13)、それが書き込み
を指令するコマンドである場合、コマンド・データ受信
部3に保持されているデータをデータ保留部6へ転送す
る(ステップNc14)。第二正系実アドレス列TC5
をユニットアドレス信号UAとして磁気ディスク装置F
ikを選択し(ステップNc15)、磁気ディスク装置
Fikからデータを読み取り、読み取りデータバッファ
10に蓄積する(ステップNc16)。磁気ディスク装
置Fikの読み取りのエラーの有無を判断し(ステップ
Nc17)、エラーが無い場合は、読み取りデータバッ
ファ10に保持されているデータを、データ混合復元部
5のデータバッファ12へ転送する(ステップNc1
8)。データ保留部6に保持されているデータをデータ
バッファ13へ転送し(ステップNc19)、排他的論
理和回路14の出力データを書き込みデータバッファ9
へ転送する(ステップNc20)。
When the command type analyzed in the above (step Nc2) is judged (step Nc13) and the command is a command for writing, the data held in the command / data receiving part 3 is sent to the data holding part 6. Transfer (step Nc14). Second real system real address string TC5
As a unit address signal UA
ik is selected (step Nc15), data is read from the magnetic disk device Fik and stored in the read data buffer 10 (step Nc16). It is determined whether or not there is a reading error of the magnetic disk device Fik (step Nc17), and if there is no error, the data held in the read data buffer 10 is transferred to the data buffer 12 of the data mixing / restoring unit 5 (step). Nc1
8). The data held in the data holding unit 6 is transferred to the data buffer 13 (step Nc19), and the output data of the exclusive OR circuit 14 is written into the write data buffer 9
(Step Nc20).

【0069】ここで書き込みデータバッファ9へ転送さ
れたデータは、中央処理装置1から受信した仮想ユニッ
トアドレス「2」の副系磁気ディスク装置Gへ書き込む
データと、磁気ディスク装置Fikからの読み取りデー
タとを排他的論理和で混合したデータである。実ユニッ
トアドレス列TC3をユニットアドレス信号UAとして
磁気ディスク装置Gikを選択し(ステップNc2
1)、磁気ディスク装置Gikへ前記混合データを書き
込み(ステップNc22)、中央処理装置1へ動作終了
の応答を送信する(ステップNc23)。先に述べた磁
気ディスク装置Fikの読み取りのエラーの有無の判断
(ステップNc17)で、エラーが有る場合は、磁気デ
ィスク装置Eikと磁気ディスク装置Gikのデータか
ら磁気ディスク装置Fikのデータの復元動作を行う。
Here, the data transferred to the write data buffer 9 are the data to be written to the secondary magnetic disk device G of the virtual unit address “2” received from the central processing unit 1 and the read data from the magnetic disk device Fik. It is the data that is mixed by exclusive OR. The magnetic disk device Gik is selected by using the real unit address string TC3 as a unit address signal UA (step Nc2
1), the mixed data is written in the magnetic disk device Gik (step Nc22), and a response of operation completion is transmitted to the central processing unit 1 (step Nc23). If there is an error in the determination as to whether or not there is an error in the reading of the magnetic disk device Fik described above (step Nc17), if there is an error, the operation of restoring the data of the magnetic disk device Fik from the data of the magnetic disk device Eik and the magnetic disk device Gik To do.

【0070】次に、磁気ディスク装置Eikと磁気ディ
スク装置Gikとのデータから磁気ディスク装置Fik
のデータを復元する動作を説明をする。
Next, from the data of the magnetic disk device Eik and the magnetic disk device Gik, the magnetic disk device Fik is used.
The operation of restoring the data will be described.

【0071】実ユニットアドレス列TC3をユニットア
ドレス信号UAとして磁気ディスク装置Gikを選択し
(ステップNc24)、磁気ディスク装置Gikからデ
ータを読み取り、読み取りデータバッファ10へ蓄積す
る(ステップNc25)。磁気ディスク装置Gikの読
み取りのエラーの有無を判断し(ステップNc26)、
エラーが無い場合は、読み取りデータバッファ10に保
持されているデータを、データ混合復元部5のデータバ
ッファ12へ転送する(ステップNc27)。次に、第
一正系実アドレス列TC4をユニットアドレス信号UA
として磁気ディスク装置Eikを選択し(ステップNc
28)、磁気ディスク装置Eikからデータを読み取
り、読み取りデータバッファ10に蓄積する(ステップ
Nc29)。
The magnetic disk device Gik is selected by using the real unit address string TC3 as a unit address signal UA (step Nc24), the data is read from the magnetic disk device Gik and stored in the read data buffer 10 (step Nc25). It is determined whether or not there is a reading error of the magnetic disk device Gik (step Nc26),
If there is no error, the data held in the read data buffer 10 is transferred to the data buffer 12 of the data mixing / restoring unit 5 (step Nc27). Next, the first primary system real address sequence TC4 is set to the unit address signal UA.
Select the magnetic disk device Eik as (step Nc
28), the data is read from the magnetic disk device Eik and stored in the read data buffer 10 (step Nc29).

【0072】磁気ディスク装置Eikの読み取りのエラ
ーの有無を判断し(ステップNc30)、エラーが無い
場合は読み取りデータバッファ10に保持されているデ
ータを、データ混合復元部5のデータバッファ13へ転
送し(ステップNc31)、排他的論理和回路14から
出力されるデータをデータバッファ12へ入力する(ス
テップNc32)。ここで排他的論理和回路14から出
力されたデータは、復元された磁気ディスク装置Fik
のデータである。
It is judged whether or not there is a reading error of the magnetic disk device Eik (step Nc30), and if there is no error, the data held in the read data buffer 10 is transferred to the data buffer 13 of the data mixing / restoring unit 5. (Step Nc31), the data output from the exclusive OR circuit 14 is input to the data buffer 12 (step Nc32). Here, the data output from the exclusive OR circuit 14 is the restored magnetic disk device Fik.
Data.

【0073】前述の磁気ディスク装置Gikの読み取り
のエラーの有無の判断(ステップNc26)または磁気
ディスク装置Eikの読み取りのエラーの有無の判断
(ステップNc30)で、エラーが有る場合は、仮想ユ
ニットアドレス「2」の副系磁気ディスク装置Gの書き
込みエラーとして、中央処理装置1へ動作終了の応答を
送信する(ステップNc33)。
If there is an error in the determination as to whether or not there is a read error in the magnetic disk device Gik (step Nc26) or the determination as to whether or not there is a read error in the magnetic disk device Eik (step Nc30), the virtual unit address " As a write error of the secondary magnetic disk device G of "2", a response of operation completion is transmitted to the central processing unit 1 (step Nc33).

【0074】以上の動作(ステップNc24〜ステップ
Nc32)で、磁気ディスク装置Eikのデータと磁気
ディスク装置Gikのデータから磁気ディスク装置Fi
kのデータを復元したら、前記の磁気ディスク装置Fi
kの読み取りでエラーが無い場合の動作(ステップNc
19〜ステップNc23)と同じ動作をする。これで図
5の磁気ディスク制御装置DWiの動作(ステップN
2)は終了する。
By the above operation (steps Nc24 to Nc32), the data of the magnetic disk device Eik and the data of the magnetic disk device Gik are used to calculate the magnetic disk device Fi.
When the data of k is restored, the above-mentioned magnetic disk device Fi
Operation when there is no error in reading k (step Nc
19 to step Nc23). Now, the operation of the magnetic disk controller DWi in FIG. 5 (step N
2) ends.

【0075】ここで図5の中央処理装置1のデータ書き
込み処理に戻り、続きを説明する。
Now, returning to the data writing process of the central processing unit 1 of FIG. 5, the description will be continued.

【0076】中央処理装置1は、磁気ディスク制御装置
DWiから応答を受信し(ステップN3)、その内容か
らエラーの有無を判断し(ステップN4)、それがエラ
ー有りを示している場合は、中央処理装置1は書き込み
エラー修復処理を行い(ステップN5)、エラー無しを
示している場合は、書き込みエラー修復処理を行わな
い。また、中央処理装置1は、仮想ユニットアドレス
「2」の副系磁気ディスク装置Gへのデータ書き込み処
理を終了すると、その副系磁気ディスク装置Gと対とな
っている仮想ユニットアドレス「0」の正系磁気ディス
ク装置EFへのデータ書き込み処理を開始する。この仮
想ユニットアドレス「0」の正系磁気ディスク装置EF
へ書き込むデータの内容と書き込むアドレスは、仮想ユ
ニットアドレス「2」の副系磁気ディスク装置Gへ直前
に書き込んだデータおよびアドレスと同じである。
The central processing unit 1 receives the response from the magnetic disk control unit DWi (step N3), judges the presence / absence of an error from the content (step N4), and if it indicates that there is an error, the central processing unit 1 The processing device 1 performs the write error restoration process (step N5), and when it indicates that there is no error, does not perform the write error restoration process. Further, when the central processing unit 1 finishes the data writing process to the secondary magnetic disk device G of the virtual unit address “2”, it stores the virtual unit address “0” of the virtual magnetic disk device G paired with the secondary magnetic disk device G. The data writing process to the primary magnetic disk device EF is started. Primary magnetic disk device EF of this virtual unit address "0"
The contents of the data to be written to and the address to be written are the same as the data and the address written immediately before to the secondary magnetic disk device G of the virtual unit address “2”.

【0077】中央処理装置1は、仮想ユニットアドレス
「0」の正系磁気ディスク装置EFへのデータ書き込み
を指令するコマンドとデータとを、磁気ディスク制御装
置DWiに対して送信する(ステップN6)。磁気ディ
スク制御装置DWiは、コマンドとデータを受け取ると
動作を開始する(ステップN7)。ステップN7の詳細
は図9〜図16に示されているので、これらの図を参照
して説明する。
The central processing unit 1 sends to the magnetic disk controller DWi a command and data for instructing the writing of data to the primary magnetic disk unit EF of the virtual unit address "0" (step N6). The magnetic disk controller DWi starts its operation upon receiving the command and the data (step N7). Details of step N7 are shown in FIGS. 9 to 16 and will be described with reference to these figures.

【0078】磁気ディスク制御装置DWiのコマンド・
データ受信部3は、中央処理装置1から受信したコマン
ドとデータを保持する(ステップNc1)。中央処理部
2は、コマンド・データ受信部3に保持されたコマンド
を解析し(ステップNc2)、そのコマンドに付加され
ている仮想ユニットアドレス「0」をキーとしてユニッ
トアドレス変換テーブル15から、副系標識列TC2と
実ユニットアドレス列TC3と第一正系実アドレス列T
C4と第二正系実アドレス列TC5を読み取る(ステッ
プNc3)。
Command of magnetic disk controller DWi
The data receiving unit 3 holds the command and data received from the central processing unit 1 (step Nc1). The central processing unit 2 analyzes the command held in the command / data receiving unit 3 (step Nc2), and uses the virtual unit address "0" added to the command as a key to convert the unit address conversion table 15 to the sub system. Marker column TC2, real unit address column TC3, first primary system real address column T
C4 and the second real system real address sequence TC5 are read (step Nc3).

【0079】その副系標識列TC2が「1」か「0」か
を判断し(ステップNc4)、TC2=1の場合は、そ
の仮想ユニットアドレスは副系磁気ディスク装置Gであ
ると認識し、TC2=0の場合は正系磁気ディスク装置
EFであると認識する。この例ではTC2=0であるか
ら仮想ユニットアドレス「0」は正系磁気ディスク装置
EFであることを認識する。実ユニットアドレス列TC
3をユニットアドレス信号UAとして磁気ディスク装置
Eikを選択し(ステップNc5)、前記(ステップN
c2)で解析したコマンド種別を判断し(ステップNc
6)、それが書き込みを指令するコマンドである場合、
コマンド・データ受信部3に保持されているデータを書
き込みデータバッファ9へ転送する(ステップNc
7)。磁気ディスク装置Eikへそのデータを書き込み
(ステップNc8)、中央処理装置1へ動作終了の応答
を送信する(ステップNc9)。これで図6の磁気ディ
スク制御装置DWiの動作(ステップN7)は終了す
る。
It is judged whether the subsystem flag column TC2 is "1" or "0" (step Nc4). When TC2 = 1, the virtual unit address is recognized as the subsystem magnetic disk device G, If TC2 = 0, it is recognized as the primary magnetic disk device EF. In this example, since TC2 = 0, it is recognized that the virtual unit address "0" is the primary magnetic disk device EF. Real unit address string TC
3 is selected as the unit address signal UA and the magnetic disk device Eik is selected (step Nc5).
The command type analyzed in c2) is judged (step Nc
6), if it is a command to command a write,
The data held in the command / data receiving unit 3 is transferred to the write data buffer 9 (step Nc).
7). The data is written to the magnetic disk device Eik (step Nc8), and a response of operation completion is transmitted to the central processing unit 1 (step Nc9). This completes the operation (step N7) of the magnetic disk controller DWi in FIG.

【0080】図6の中央処理装置1のデータ書き込み処
理に戻り、続きを説明する。
Returning to the data writing process of the central processing unit 1 of FIG. 6, the description will be continued.

【0081】中央処理装置1は、磁気ディスク制御装置
DWiから応答を受信し(ステップN8)、その内容か
らエラーの有無を判断し(ステップN9)、それがエラ
ー有りを示している場合は、中央処理装置1は書き込み
エラー修復処理を行い(ステップN10)、エラー無し
を示している場合は、書き込みエラー修復処理を行わな
い。
The central processing unit 1 receives the response from the magnetic disk control unit DWi (step N8), judges the presence or absence of an error from its contents (step N9), and if it indicates that there is an error, the central processing unit 1 The processing device 1 performs the write error restoration process (step N10), and when it indicates that there is no error, does not perform the write error restoration process.

【0082】以上説明した動作(ステップN1〜ステッ
プN10)によって磁気ディスク装置Gikには磁気デ
ィスク装置Eikのデータと磁気ディスク装置Fikの
データの排他的論理和により混合されたデータが書き込
まれている。
By the operation described above (steps N1 to N10), the data mixed by the exclusive OR of the data of the magnetic disk device Eik and the data of the magnetic disk device Fik is written in the magnetic disk device Gik.

【0083】次に中央処理装置1が、仮想ユニットアド
レス「0」の正系磁気ディスク装置EFからデータを読
み取る動作の説明をする。
Next, the operation of the central processing unit 1 for reading data from the primary magnetic disk device EF of the virtual unit address "0" will be described.

【0084】中央処理装置1は、仮想ユニットアドレス
「0」の正系磁気ディスク装置EFからデータの読み取
りを指令するコマンドを磁気ディスク制御装置DWiに
対して送信する(ステップN11)。磁気ディスク制御
装置DWiは、コマンドを受け取ると動作を開始する
(ステップN12)。
The central processing unit 1 sends to the magnetic disk control unit DWi a command instructing to read data from the primary magnetic disk unit EF of the virtual unit address "0" (step N11). Upon receiving the command, the magnetic disk control device DWi starts its operation (step N12).

【0085】ステップN12の詳細は図9〜図16に示
されているので、これらの図を参照して説明する。
Details of step N12 are shown in FIGS. 9 to 16, and will be described with reference to these figures.

【0086】磁気ディスク制御装置DWiのコマンド・
データ受信部3は、中央処理装置1から受信したコマン
ドを保持する(ステップNc1)。
Command of magnetic disk controller DWi
The data receiving unit 3 holds the command received from the central processing unit 1 (step Nc1).

【0087】中央処理部2は、コマンド・データ受信部
3に保持されたコマンドを解析し(ステップNc2)、
そのコマンドに付加されている仮想ユニットアドレス
「0」をキーとしてユニットアドレス変換テーブル15
から、副系標識列TC2と実ユニットアドレス列TC3
と第一正系実アドレス列TC4と第二正系実アドレス列
TC5を読み取る(ステップNc3)。その副系標識列
TC2が「1」か「0」かを判断し(ステップNc
4)、この例では「0」であるから正系磁気ディスク装
置EFであることを認識する。実ユニットアドレス列T
C3をユニットアドレス信号UAとして磁気ディスク装
置Eikを選択し(ステップNc5)、前記(ステップ
Nc2)で解析したコマンド種別を判断し(ステップN
c6)、それが読み取りを指令するコマンドである場
合、磁気ディスク装置Eikからデータを読み取る(ス
テップNc10)。読み取りデータRDの内容を読み取
りデータバッファ10に蓄積し(ステップNc11)、
読み取りを終了したら中央処理装置1へ動作終了の応答
と読み取りデータを送信する(ステップNc12)。
The central processing unit 2 analyzes the command held in the command / data receiving unit 3 (step Nc2),
The unit address conversion table 15 using the virtual unit address "0" added to the command as a key
From the sub system indicator column TC2 and the real unit address column TC3
Then, the first primary system real address sequence TC4 and the second primary system real address sequence TC5 are read (step Nc3). It is determined whether or not the sub system marker sequence TC2 is "1" or "0" (step Nc
4) In this example, since it is "0", it is recognized as the primary magnetic disk device EF. Real unit address string T
The magnetic disk device Eik is selected by using C3 as the unit address signal UA (step Nc5), and the command type analyzed in (step Nc2) is judged (step Nc).
c6), if the command is a command for reading, data is read from the magnetic disk device Eik (step Nc10). The content of the read data RD is accumulated in the read data buffer 10 (step Nc11),
When the reading is completed, the response of the operation completion and the read data are transmitted to the central processing unit 1 (step Nc12).

【0088】これで図7の磁気ディスク制御装置DWi
の動作(ステップN12)は終了し、中央処理装置1の
データ読み取り処理に戻り、続きを説明する。
This completes the magnetic disk controller DWi of FIG.
Operation (step N12) is completed, the process returns to the data reading process of the central processing unit 1, and the continuation will be described.

【0089】中央処理装置1は、磁気ディスク制御装置
DWiから応答を受信し(ステップN13)、その内容
からエラーの有無を判断し(ステップN14)、それが
エラー無しを示している場合は、仮想ユニットアドレス
「0」の正系磁気ディスク装置EFからのデータ読み取
り処理を終了する。応答がエラー有りを示している場合
は、中央処理装置1は読み取りエラー修復処理を行う
(ステップN15)。
The central processing unit 1 receives the response from the magnetic disk control unit DWi (step N13), judges the presence / absence of an error from the contents (step N14), and if it indicates that there is no error, the virtual processing is performed. The data reading process from the primary magnetic disk device EF of the unit address "0" is completed. If the response indicates that there is an error, the central processing unit 1 performs a read error recovery process (step N15).

【0090】読み取りエラー修復処理の結果を判断し
(ステップN16)、エラー修復に成功した場合は仮想
ユニットアドレス「0」の正系磁気ディスク装置EFか
らのデータ読み取り処理を終了する。
The result of the read error repair processing is judged (step N16), and if the error repair is successful, the data read processing from the primary magnetic disk device EF of the virtual unit address "0" is terminated.

【0091】エラー修復に失敗した場合は、中央処理装
置1は仮想ユニットアドレス「0」の正系磁気ディスク
装置EFからのデータ読み取りを中止し、仮想ユニット
アドレス「2」の副系磁気ディスク装置Gから、データ
読み取りを指令するコマンドを磁気ディスク制御装置D
Wiに対して送信する(ステップN17)。磁気ディス
ク制御装置DWiは、コマンドを受け取ると動作を開始
する(ステップN18)。
When the error recovery fails, the central processing unit 1 stops reading data from the primary magnetic disk device EF of the virtual unit address "0", and the secondary magnetic disk device G of the virtual unit address "2". From the magnetic disk controller D
It transmits to Wi (step N17). Upon receiving the command, the magnetic disk control device DWi starts its operation (step N18).

【0092】ステップN18の詳細は図9〜図16に示
されているので、これらの図を参照して説明する。
Details of step N18 are shown in FIGS. 9 to 16 and will be described with reference to these figures.

【0093】磁気ディスク制御装置DWiのコマンド・
データ受信部3は、中央処理装置1から受信したコマン
ドを保持する(ステップNc1)。中央処理部2は、コ
マンド・データ受信部3に保持されたコマンドを解析し
(ステップNc2)、そのコマンドに付加されている仮
想ユニットアドレス「2」をキーとしてユニットアドレ
ス変換テーブル15から、副系標識列TC2と実ユニッ
トアドレス列TC3と第一正系実アドレス列TC4と第
二正系実アドレス列TC5を読み取る(ステップNc
3)。
Command of magnetic disk controller DWi
The data receiving unit 3 holds the command received from the central processing unit 1 (step Nc1). The central processing unit 2 analyzes the command held in the command / data receiving unit 3 (step Nc2), and from the unit address conversion table 15 using the virtual unit address "2" added to the command as a key, the subsystem The marker column TC2, the real unit address column TC3, the first normal system real address sequence TC4, and the second normal system real address sequence TC5 are read (step Nc).
3).

【0094】その副系標識列TC2が「1」か「0」か
を判断し(ステップNc4)、この例では「1」である
から副系磁気ディスク装置Gであることを認識する。前
述のステップNc2で解析したコマンド種別を判断し
(ステップNc13)、それが読み取りを指令するコマ
ンドである場合、実ユニットアドレス列TC3をユニッ
トアドレス信号UAとして磁気ディスク装置Gikを選
択し(ステップNc34)、磁気ディスク装置Gikか
らデータを読み取り、読み取りデータバッファ10に蓄
積する(ステップNc35)。磁気ディスク装置Gik
の読み取りのエラーの有無を判断し(ステップNc3
6)、エラーが無い場合は、読み取りデータバッファ1
0に保持されているデータを、データ混合復元部5のデ
ータバッファ12へ転送する(ステップNc37)。
It is judged whether the subsystem flag column TC2 is "1" or "0" (step Nc4), and since it is "1" in this example, the subsystem magnetic disk device G is recognized. The command type analyzed in step Nc2 is determined (step Nc13), and if the command is a command to read, the magnetic disk device Gik is selected using the real unit address sequence TC3 as the unit address signal UA (step Nc34). , Data is read from the magnetic disk device Gik and stored in the read data buffer 10 (step Nc35). Magnetic disk device Gik
Whether there is an error in reading (step Nc3
6), if there is no error, read data buffer 1
The data held in 0 is transferred to the data buffer 12 of the data mixing / restoring unit 5 (step Nc37).

【0095】次に、第二正系実アドレス列TC5をユニ
ットアドレス信号UAとして磁気ディスク装置Fikを
選択し(ステップNc38)、磁気ディスク装置Fik
からデータを読み取り、読み取りデータバッファ10に
蓄積する(ステップNc39)。磁気ディスク装置Fi
kの読み取りのエラーの有無を判断し(ステップNc4
0)、エラーが無い場合は、読み取りデータバッファ1
0に保持されているデータを、データ混合復元部5のデ
ータバッファ13へ転送し(ステップNc41)、排他
的論理和回路14の出力データを、読み取りデータとし
て動作終了の応答と共に中央処理装置1へ送信する(ス
テップNc42)。ここで排他的論理和回路14から出
力されたデータは、復元された磁気ディスク装置Eik
のデータである。
Next, the magnetic disk device Fik is selected by using the second normal real address column TC5 as the unit address signal UA (step Nc38), and the magnetic disk device Fik is selected.
The data is read from and stored in the read data buffer 10 (step Nc39). Magnetic disk device Fi
It is determined whether or not there is an error in reading k (step Nc4
0), read data buffer 1 if there is no error
The data held in 0 is transferred to the data buffer 13 of the data mixing / restoring unit 5 (step Nc41), and the output data of the exclusive OR circuit 14 is read as data to the central processing unit 1 together with the response of the operation end. It is transmitted (step Nc42). Here, the data output from the exclusive OR circuit 14 is the restored magnetic disk device Eik.
Data.

【0096】前述の磁気ディスク装置Gikの読み取り
のエラーの有無の判断(ステップNc36)または磁気
ディスク装置Fikの読み取りのエラーの有無の判断
(ステップNc40)で、エラーが有る場合は、仮想ユ
ニットアドレス「2」の副系磁気ディスク装置Gの読み
取りエラーとして、中央処理装置1へ動作終了の応答を
送信する(ステップNc43)。これで、図8の磁気デ
ィスク制御装置DWiの動作(ステップN18)は終了
する。
If there is an error in the determination as to whether or not there is a read error in the magnetic disk device Gik (step Nc36) or the determination as to whether or not there is a read error in the magnetic disk device Fik (step Nc40), the virtual unit address " As a reading error of the secondary magnetic disk device G of "2", a response of operation completion is transmitted to the central processing unit 1 (step Nc43). This completes the operation (step N18) of the magnetic disk controller DWi in FIG.

【0097】そこで、図8の中央処理装置1のデータ読
み取り処理に戻り、続きを説明する。
Therefore, returning to the data reading process of the central processing unit 1 in FIG. 8, the description will be continued.

【0098】中央処理装置1は、磁気ディスク制御装置
DWiから応答を受信し(ステップN19)、その内容
からエラーの有無を判断し(ステップN20)、それが
エラー有りを示している場合は、中央処理装置1は読み
取りエラー修復処理を行う(ステップN21)。応答が
エラー無しを示している場合は、仮想ユニットアドレス
「2」の副系磁気ディスク装置Gからのデータ読み取り
処理を終了する。
The central processing unit 1 receives the response from the magnetic disk control unit DWi (step N19), judges the presence or absence of an error from its contents (step N20), and if it indicates that there is an error, the central processing unit 1 The processing device 1 performs a read error recovery process (step N21). If the response indicates that there is no error, the data reading process from the secondary magnetic disk device G of the virtual unit address “2” is terminated.

【0099】以上説明した動作(ステップN11〜ステ
ップN21)によって、磁気ディスク装置Eikのデー
タを読み取れない場合でも、磁気ディスク装置Fikの
データと磁気ディスク装置Gikのデータとの排他的論
理和から磁気ディスク装置Eikのデータを復元するこ
とができる。
Even if the data of the magnetic disk device Eik cannot be read by the operation described above (steps N11 to N21), the magnetic disk is obtained from the exclusive OR of the data of the magnetic disk device Fik and the data of the magnetic disk device Gik. The data of the device Eik can be restored.

【0100】なお、中央処理部2,データ混合復元部
5,データ保留部6,記憶部7および操作部8は、中央
処理装置1内に内蔵しても、中央処理装置1と従来の磁
気ディスク制御装置DCiとの中間に独立した装置とし
て組み込んでもよい。
Even if the central processing unit 2, the data mixing / restoring unit 5, the data holding unit 6, the storage unit 7 and the operating unit 8 are built in the central processing unit 1, the central processing unit 1 and the conventional magnetic disk can be used. It may be incorporated as an independent device in the middle of the control device DCi.

【0101】[0101]

【発明の効果】以上説明したように、本発明は、2台の
正系磁気ディスク装置のデータを混合して、1台の副系
磁気ディスク装置に書き込むことにより、副系磁気ディ
スク装置の台数が従来の半数となり、その導入費用およ
び設置スペースを節約できるという効果を有する。
As described above, according to the present invention, the data of two primary magnetic disk devices are mixed and written in one secondary magnetic disk device, so that the number of secondary magnetic disk devices can be increased. However, it has an effect that the introduction cost and the installation space can be saved.

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

【図1】本発明の一実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】図1のデータ混合復元部の詳細を示すブロック
図。
FIG. 2 is a block diagram showing details of a data mixing / restoring unit in FIG.

【図3】図1のユニットアドレス変換テーブルの内容の
一例を示す説明図。
FIG. 3 is an explanatory diagram showing an example of contents of a unit address conversion table of FIG.

【図4】図1の磁気ディスクシステムを用いたコンピュ
ータシステムの一部分のブロック図。
4 is a block diagram of a part of a computer system using the magnetic disk system of FIG.

【図5】図1に示した中央処理装置1のデータ書き込み
処理を説明する流れ図。
5 is a flowchart illustrating a data write process of the central processing unit 1 shown in FIG.

【図6】図1に示した中央処理装置1のデータ書き込み
処理を説明する流れ図。
6 is a flowchart illustrating a data writing process of the central processing unit 1 shown in FIG.

【図7】図1に示した中央処理装置1のデータ読み取り
処理を説明する流れ図。
7 is a flowchart illustrating a data reading process of the central processing unit 1 shown in FIG.

【図8】図1に示した中央処理装置1のデータ読み取り
処理を説明する流れ図。
8 is a flowchart illustrating a data reading process of the central processing unit 1 shown in FIG.

【図9】図5〜図8に示した磁気ディスク制御装置DW
iの動作(ステップN2,ステップN7,ステップN1
2,ステップN18)の詳細を説明する流れ図。
FIG. 9 is a magnetic disk control device DW shown in FIGS.
i operation (step N2, step N7, step N1
2, a flow chart illustrating the details of step N18).

【図10】図5〜図8に示した磁気ディスク制御装置D
Wiの動作(ステップN2,ステップN7,ステップN
12,ステップN18)の詳細を説明する流れ図。
FIG. 10 is a magnetic disk control device D shown in FIGS.
Wi operation (step N2, step N7, step N
12 is a flowchart for explaining the details of step N18).

【図11】図5〜図8に示した磁気ディスク制御装置D
Wiの動作(ステップN2,ステップN7,ステップN
12,ステップN18)の詳細を説明する流れ図。
FIG. 11 is a magnetic disk control device D shown in FIGS.
Wi operation (step N2, step N7, step N
12 is a flowchart for explaining the details of step N18).

【図12】図5〜図8に示した磁気ディスク制御装置D
Wiの動作(ステップN2,ステップN7,ステップN
12,ステップN18)の詳細を説明する流れ図。
FIG. 12 is a magnetic disk control device D shown in FIGS.
Wi operation (step N2, step N7, step N
12 is a flowchart for explaining the details of step N18).

【図13】図5〜図8に示した磁気ディスク制御装置D
Wiの動作(ステップN2,ステップN7,ステップN
12,ステップN18)の詳細を説明する流れ図。
FIG. 13 is a magnetic disk control device D shown in FIGS.
Wi operation (step N2, step N7, step N
12 is a flowchart for explaining the details of step N18).

【図14】図5〜図8に示した磁気ディスク制御装置D
Wiの動作(ステップN2,ステップN7,ステップN
12,ステップN18)の詳細を説明する流れ図。
FIG. 14 is a magnetic disk control device D shown in FIGS.
Wi operation (step N2, step N7, step N
12 is a flowchart for explaining the details of step N18).

【図15】図5〜図8に示した磁気ディスク制御装置D
Wiの動作(ステップN2,ステップN7,ステップN
12,ステップN18)の詳細を説明する流れ図。
FIG. 15 is a magnetic disk control device D shown in FIGS.
Wi operation (step N2, step N7, step N
12 is a flowchart for explaining the details of step N18).

【図16】図5〜図8に示した磁気ディスク制御装置D
Wiの動作(ステップN2,ステップN7,ステップN
12,ステップN18)の詳細を説明する流れ図。
FIG. 16 is a magnetic disk control device D shown in FIGS.
Wi operation (step N2, step N7, step N
12 is a flowchart for explaining the details of step N18).

【図17】従来の技術によるコンピュータシステムの部
分構成一例を示すブロック図。
FIG. 17 is a block diagram showing an example of a partial configuration of a conventional computer system.

【図18】図17の磁気ディスクシステムの詳細を示す
ブロック図。
FIG. 18 is a block diagram showing details of the magnetic disk system shown in FIG. 17;

【図19】図18に示した中央処理装置1のデータ書き
込み処理を説明する流れ図。
19 is a flowchart illustrating a data write process of the central processing unit 1 shown in FIG.

【図20】図18に示した中央処理装置1のデータ読み
取り処理を説明する流れ図。
20 is a flowchart illustrating a data reading process of the central processing unit 1 shown in FIG.

【図21】図19,図20に示した磁気ディスク制御装
置DCiの動作(ステップS2,ステップS8)の詳細
を説明する流れ図。
FIG. 21 is a flowchart illustrating the details of the operation (step S2, step S8) of the magnetic disk controller DCi shown in FIGS. 19 and 20.

【図22】図19,図20に示した磁気ディスク制御装
置DCiの動作(ステップS2,ステップS8)の詳細
を説明する流れ図。
22 is a flowchart for explaining details of the operation (step S2, step S8) of the magnetic disk controller DCi shown in FIG. 19 and FIG. 20.

【図23】図19,図20に示した磁気ディスク制御装
置DCiの動作(ステップS2,ステップS8)の詳細
を説明する流れ図。
23 is a flowchart for explaining details of the operation (step S2, step S8) of the magnetic disk controller DCi shown in FIGS. 19 and 20. FIG.

【図24】図21に示した磁気ディスク装置Dikの装
置選択動作(ステップSc4)の詳細を説明する流れ
図。
24 is a flowchart illustrating the details of the device selection operation (step Sc4) of the magnetic disk device Dik shown in FIG. 21.

【図25】図22に示した磁気ディスク装置Dikのデ
ータ書き込み動作(ステップSc10)の詳細を説明す
る流れ図。
FIG. 25 is a flowchart illustrating details of a data write operation (step Sc10) of the magnetic disk device Dik shown in FIG. 22.

【図26】図23に示した磁気ディスク装置Dikのデ
ータ読み取り動作(ステップSc15)の詳細を説明す
る流れ図。
FIG. 26 is a flowchart illustrating the details of the data reading operation (step Sc15) of the magnetic disk device Dik shown in FIG. 23.

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

1 中央処理装置 2 中央処理部 3 コマンド・データ受信部 4 応答・データ送信部 5 データ混合復元部 6 データ保留部 7 記憶部 8 操作部 9 書き込みデータバッファ 10 読み取りデータバッファ 11 制御信号発生部 12,13 データバッファ 14 排他的論理和回路 15 ユニットアドレス変換テーブル 16 中央処理部 CA シリンダアドレス信号 D 正系磁気ディスク装置 d 副系磁気ディスク装置 D11〜D1m,Di1〜Din,Dik,Dj1〜D
jp 磁気ディスク装置 d11〜d1m,di1〜din,dik,dj1〜d
jp 磁気ディスク装置 DC1〜DCj,DCi,DW1〜DWj,DWi
磁気ディスク制御装置 DK1〜DKj,DKi,DS1〜DSj,DSi
磁気ディスクシステム EF 正系磁気ディスク装置 F11〜F1m,Fi1〜Fin,Fik,Fj1〜F
jp 磁気ディスク装置 G 副系磁気ディスク装置 G11〜G1m,Gi1〜Gin,Gik,Gj1〜G
jp 磁気ディスク装置 HA ヘッドアドレス信号 RD 読み取りデータ RG 読み取り指令信号 ST 状態通知信号 TC1 仮想ユニットアドレス列 TC2 副系標識列 TC3 実ユニットアドレス列 TC4 第一正系実アドレス列 TC5 第二正系実アドレス列 UA ユニットアドレス信号 WD 書き込みデータ WG 書き込み指令信号
1 central processing unit 2 central processing unit 3 command / data receiving unit 4 response / data transmitting unit 5 data mixing / restoring unit 6 data holding unit 7 storage unit 8 operation unit 9 write data buffer 10 read data buffer 11 control signal generating unit 12, 13 data buffer 14 exclusive OR circuit 15 unit address conversion table 16 central processing unit CA cylinder address signal D primary magnetic disk device d secondary magnetic disk device D11 to D1m, Di1 to Din, Dik, Dj1 to Dj
jp magnetic disk device d11-d1m, di1-din, dik, dj1-d
jp Magnetic disk device DC1 to DCj, DCi, DW1 to DWj, DWi
Magnetic disk controller DK1 to DKj, DKi, DS1 to DSj, DSi
Magnetic disk system EF Positive magnetic disk device F11 to F1m, Fi1 to Fin, Fik, Fj1 to F
jp magnetic disk device G secondary magnetic disk device G11 to G1m, Gi1 to Gin, Gik, Gj1 to Gj
jp Magnetic disk device HA Head address signal RD Read data RG Read command signal ST Status notification signal TC1 Virtual unit address sequence TC2 Subsystem indicator sequence TC3 Real unit address sequence TC4 First primary system real address sequence TC5 Second primary system real address sequence UA unit address signal WD write data WG write command signal

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 情報を記憶する偶数台の正系磁気ディス
ク装置と、前記正系磁気ディスク装置2台につき1台の
割合で設置される副系磁気ディスク装置と、 中央処理装置からのコマンド及びデータを受信するコマ
ンド・データ受信部と、前記中央処理装置への応答およ
びデータを送信する応答・データ送信部と、前記副系磁
気ディスク装置へ書き込む混合データの生成と混合デー
タから元のデータの復元を行うデータ混合復元部と、書
き込みデータを一時的に保留するデータ保留部と、前記
中央処理装置から与えられる仮想ユニットアドレスを実
ユニットアドレスへの変換に用いるユニットアドレス変
換テーブルを格納する記憶部と、このユニットアドレス
変換テーブルの内容を更新するために用いる操作部と、
前記正系磁気ディスク装置又は副系磁気ディスク装置へ
書き込むデータを蓄える書き込みデータバッファと、前
記正系磁気ディスク装置又は副系磁気ディスク装置から
読み取ったデータを蓄える読み取りデータバッファと、
前記正系磁気ディスク装置および副系磁気ディスク装置
に対してユニットアドレス信号とシリンダアドレス信号
とヘッドアドレス信号と書き込み指令信号と読み取り指
令信号とを発生する制御信号発生部と、これら全体の動
作を制御する中央処理部とで構成される磁気ディスク制
御装置と、 を備えて成ることを特徴とする磁気ディスクシステム。
1. An even number of primary magnetic disk devices for storing information, a secondary magnetic disk device installed at a ratio of one to two primary magnetic disk devices, a command from a central processing unit, and A command / data receiving unit for receiving data, a response / data transmitting unit for transmitting a response and data to the central processing unit, generation of mixed data to be written to the secondary magnetic disk device, and generation of original data from the mixed data. A data mixing / restoring unit for restoring, a data holding unit for temporarily holding write data, and a storage unit for storing a unit address conversion table used for converting a virtual unit address given from the central processing unit into a real unit address. And an operation unit used to update the contents of this unit address conversion table,
A write data buffer for storing data to be written to the primary magnetic disk device or the secondary magnetic disk device, and a read data buffer for storing data read from the primary magnetic disk device or the secondary magnetic disk device,
A control signal generator for generating a unit address signal, a cylinder address signal, a head address signal, a write command signal, and a read command signal for the primary magnetic disk device and the secondary magnetic disk device, and controlling the operation of these components. A magnetic disk system comprising:
JP5020918A 1993-02-09 1993-02-09 Magnetic disk system Withdrawn JPH06236240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5020918A JPH06236240A (en) 1993-02-09 1993-02-09 Magnetic disk system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5020918A JPH06236240A (en) 1993-02-09 1993-02-09 Magnetic disk system

Publications (1)

Publication Number Publication Date
JPH06236240A true JPH06236240A (en) 1994-08-23

Family

ID=12040609

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5020918A Withdrawn JPH06236240A (en) 1993-02-09 1993-02-09 Magnetic disk system

Country Status (1)

Country Link
JP (1) JPH06236240A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0969029A (en) * 1995-08-31 1997-03-11 Nec Corp Doubled disk drive
JP2007219809A (en) * 2006-02-16 2007-08-30 Nec Corp Data storage system, data storage method, and data storage program
JP2008257638A (en) * 2007-04-09 2008-10-23 Hitachi Computer Peripherals Co Ltd Magnetic disk system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0969029A (en) * 1995-08-31 1997-03-11 Nec Corp Doubled disk drive
JP2007219809A (en) * 2006-02-16 2007-08-30 Nec Corp Data storage system, data storage method, and data storage program
JP2008257638A (en) * 2007-04-09 2008-10-23 Hitachi Computer Peripherals Co Ltd Magnetic disk system

Similar Documents

Publication Publication Date Title
US5828823A (en) Method and apparatus for storing computer data after a power failure
US5511164A (en) Method and apparatus for determining the source and nature of an error within a computer system
US7577788B2 (en) Disk array apparatus and disk array apparatus control method
US6209002B1 (en) Method and apparatus for cascading data through redundant data storage units
US6542974B2 (en) Method and apparatus for independent and simultaneous access to a common data set
US7139782B2 (en) Method of and system for testing remote storage
JP4142438B2 (en) Restoring data between primary and backup systems
US6581143B2 (en) Data processing method and apparatus for enabling independent access to replicated data
US5784382A (en) Method and apparatus for dynamically testing a memory within a computer system
US5680537A (en) Method and apparatus for isolating an error within a computer system that transfers data via an interface device
KR960032199A (en) Direct access storage, machine readable data storage systems, data storage systems and methods of operating data storage systems
US5784393A (en) Method and apparatus for providing fault detection to a bus within a computer system
JP2001501002A (en) Method and system for generating a mirrored data copy image using a reference label
US7007129B2 (en) Tape management method by which a virtual tape file emulated on a disk drive is copied between disk drives
US7069305B2 (en) Computer system and a data transfer method thereof using remote direct memory access
JPH06236240A (en) Magnetic disk system
JP2001236258A (en) Storage controller
JPH11327918A (en) Dynamic conversion system
EP0544535A2 (en) Parallel data processing control system
US6968347B2 (en) Data recovery method and apparatus
JP2000339104A (en) Disk sub-system and data copying method
JPH01500935A (en) Method and apparatus for executing two instruction sequences according to predetermined rankings
JP3158679B2 (en) Memory diagnostic method
US6804728B2 (en) I/O control device and I/O control method
JPS59165165A (en) Fast input and output processing system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20000509