JPH0651918A - Semiconductor disk device - Google Patents

Semiconductor disk device

Info

Publication number
JPH0651918A
JPH0651918A JP20581692A JP20581692A JPH0651918A JP H0651918 A JPH0651918 A JP H0651918A JP 20581692 A JP20581692 A JP 20581692A JP 20581692 A JP20581692 A JP 20581692A JP H0651918 A JPH0651918 A JP H0651918A
Authority
JP
Japan
Prior art keywords
data
disk device
time
disk
disk devices
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
JP20581692A
Other languages
Japanese (ja)
Inventor
Kuniya Maedo
邦也 前戸
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 JP20581692A priority Critical patent/JPH0651918A/en
Publication of JPH0651918A publication Critical patent/JPH0651918A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To surely save data in a non-volatile medium, with respect to a semiconductor disk device. CONSTITUTION:Data stored in a semiconductor memory 3 allocated with plural logic drives are successively read for each logic drive and simultaneously written in plural disk devices 6-8 while being divided so as to save the data at this semiconductor disk device. This device is provided with a table 20 to record the number of times of data error generation with the fault generation of the disk devices 6-8 for each of disk devices 6-8 and to record a flag instructing disconnection for each of disk devices 6-8, and control means 21 to count time required for saving data for each logic drive when data save processing is continued by retry with the fault generation at the disk devices 6-8, and to disconnect the disk device, for which the number of times of data error generation is maximum, by referring to the table 20 when the total count time exceeds prescribed time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は揮発性の半導体メモリを
使用する半導体ディスク装置に係り、特に装置電源停止
に対応して設けられたデータ退避用の不揮発性媒体に対
するデータ退避を確実に実行し得るようにした半導体デ
ィスク装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a semiconductor disk device using a volatile semiconductor memory, and more particularly, it reliably executes data saving to a non-volatile medium for saving data provided corresponding to a power supply stoppage of the device. The present invention relates to a semiconductor disk device.

【0002】近年、計算機システムの高速化に伴い、外
部記憶装置の処理の高速化が要求されている。このた
め、磁気ディスク装置に比較して、十倍以上の高速アク
セスが可能な半導体ディスク装置が提供されている。
In recent years, as computer systems have become faster, there has been a demand for faster processing of external storage devices. For this reason, a semiconductor disk device has been provided which is capable of high speed access ten times or more as compared with a magnetic disk device.

【0003】しかし、この半導体ディスク装置は、揮発
性の半導体メモリを使用しているため、装置の電源が停
止すると半導体メモリに記憶されているデータが消滅す
る。従って、装置電源の停止を検出して不揮発性媒体、
例えば、磁気ディスク装置に対し、半導体メモリの記憶
しているデータを、バックアップ電源が電源を供給して
いる間に確実に退避させることが必要である。
However, since this semiconductor disk device uses a volatile semiconductor memory, the data stored in the semiconductor memory is erased when the power supply of the device is stopped. Therefore, the non-volatile medium is detected by detecting the stop of the power supply of the device.
For example, it is necessary for the magnetic disk device to reliably save the data stored in the semiconductor memory while the backup power supply is supplying power.

【0004】[0004]

【従来の技術】図7は従来技術の一例を説明するブロッ
ク図で、図8はディスク制御部の詳細ブロック図であ
る。
2. Description of the Related Art FIG. 7 is a block diagram for explaining an example of a conventional technique, and FIG. 8 is a detailed block diagram of a disk controller.

【0005】図7において、インタフェース制御部1は
図示省略したチャネルからの各種コマンドの受領と、チ
ャネルとの間のデータ転送を行うと共に、メモリアクセ
ス制御部2との間のデータ転送を行う。
In FIG. 7, the interface control unit 1 receives various commands from a channel (not shown) and transfers data to and from the channel, and also transfers data to and from the memory access control unit 2.

【0006】メモリアクセス制御部2は半導体メモリ3
を制御してデータの書込み又は読出しを行うと共に、イ
ンタフェース制御部1との間のデータ転送を行う。そし
て、制御監視部4からの指示があった場合は、ディスク
制御部5との間のデータ転送を行う。
The memory access controller 2 includes a semiconductor memory 3
Is controlled to write or read data and transfer data to or from the interface control unit 1. Then, when there is an instruction from the control monitoring unit 4, data transfer with the disk control unit 5 is performed.

【0007】ディスク制御部5は制御監視部4の指示に
基づき、ディスク装置6〜8を制御して、メモリアクセ
ス制御部2が送出するデータを分割して夫々ディスク装
置6と7に書込むと共に、ディスク装置6と7に書込ま
れるデータの各ビット毎の排他的論理和をディスク装置
8に書込む。
The disk control unit 5 controls the disk devices 6 to 8 based on the instruction from the control monitoring unit 4, divides the data sent by the memory access control unit 2 and writes the data into the disk devices 6 and 7, respectively. , The exclusive OR of each bit of the data written in the disk devices 6 and 7 is written in the disk device 8.

【0008】そして、制御監視部4の指示により、ディ
スク装置6と7から読出したデータをメモリアクセス制
御部2を経て半導体メモリ3に書込む。この時、ディス
ク装置6又はディスク装置7の何方か一方が障害を発生
している場合、例えば、ディスク装置6が障害であれ
ば、ディスク制御部5はディスク装置7とディスク装置
8のデータから、ディスク装置6に格納されたデータを
復元して、半導体メモリ3に書込む。
Then, in accordance with an instruction from the control monitoring section 4, the data read from the disk devices 6 and 7 is written into the semiconductor memory 3 via the memory access control section 2. At this time, if one of the disk device 6 and the disk device 7 has a failure, for example, if the disk device 6 is a failure, the disk control unit 5 determines from the data of the disk device 7 and the disk device 8 that The data stored in the disk device 6 is restored and written in the semiconductor memory 3.

【0009】制御監視部4は、停電の検出、データ退避
と復元動作の確認及びその結果の保持等、半導体ディス
ク装置全体の制御を司る。バックアップ電源9は、電池
等で構成され、図示省略した装置電源が切断された時、
インタフェース制御部1、メモリアクセス制御部2、半
導体メモリ3、ディスク制御部5、ディスク装置6〜8
及び制御監視部4に電流を所定の時間供給する。
The control monitoring section 4 controls the entire semiconductor disk device, such as detection of power failure, confirmation of data saving / restoring operation, and holding of the result. The backup power source 9 is composed of a battery or the like, and when the power source of the device (not shown) is cut off,
Interface controller 1, memory access controller 2, semiconductor memory 3, disk controller 5, disk devices 6-8
Also, a current is supplied to the control monitoring unit 4 for a predetermined time.

【0010】通常、インタフェース制御部1とメモリア
クセス制御部2により、チャネルと半導体メモリ3の間
でデータの転送が行われ、チャネルが送出するデータが
半導体メモリ3に書込まれ、半導体メモリ3から読出さ
れたデータはチャネルに送出される。
Normally, the interface controller 1 and the memory access controller 2 transfer data between the channel and the semiconductor memory 3, the data sent by the channel is written in the semiconductor memory 3, and the semiconductor memory 3 outputs the data. The read data is sent to the channel.

【0011】制御監視部4が装置電源の切断を検出する
と、ディスク制御部5に対してデータの退避動作開始を
指示する。従って、ディスク制御部5はメモリアクセス
制御部2との間のデータ転送シーケンスを起動すると共
に、ディスクインタフェースを介してディスク装置6〜
8との間のデータ転送シーケンスも起動する。
When the control / monitoring unit 4 detects the disconnection of the power source of the device, it instructs the disk control unit 5 to start the data saving operation. Therefore, the disk control unit 5 activates the data transfer sequence with the memory access control unit 2, and at the same time, the disk devices 6 to
The data transfer sequence with 8 is also activated.

【0012】従って、メモリアクセス制御部2により半
導体メモリ3から読出されたデータは、ディスク制御部
5を経て前記の如く、ディスク装置6と7に書込まれる
と共に、データ復元用のデータがディスク装置8に書込
まれる。
Therefore, the data read from the semiconductor memory 3 by the memory access control unit 2 is written to the disk devices 6 and 7 via the disk control unit 5 as described above, and the data for data restoration is also used as the disk device. Written in 8.

【0013】そして、電源が回復すると、制御監視部4
の指示により、ディスク装置6と7から同時に読出され
たデータが半導体メモリ3に書込まれる。ディスク制御
部5は図8に示す如き構成で、制御監視部4からのデー
タ退避指示がディスク制御部5に対して発行されると、
プロセッサ17がこれを検出し、制御回路18を起動す
る。制御回路18はデータマネージャ11〜13とディ
スク装置6〜8の動作設定を行い、データ転送を開始さ
せる。
Then, when the power is restored, the control monitoring unit 4
In accordance with this instruction, the data simultaneously read from the disk devices 6 and 7 are written in the semiconductor memory 3. The disk controller 5 has a configuration as shown in FIG. 8, and when a data save instruction from the control monitor 4 is issued to the disk controller 5,
The processor 17 detects this and activates the control circuit 18. The control circuit 18 sets the operation of the data managers 11 to 13 and the disk devices 6 to 8 and starts data transfer.

【0014】データマネージャ11と12は、ハードウ
ェアによりデータの自動転送を行うように構成されてお
り、メモリアクセス制御部2からデータバス19を経て
送出されるデータを分割して、夫々バッファメモリ14
と15を経てディスク装置6と7に夫々書込む。
The data managers 11 and 12 are configured to automatically transfer data by hardware, divide the data sent from the memory access control unit 2 via the data bus 19 into buffer memories 14, respectively.
And 15 and write to the disk devices 6 and 7, respectively.

【0015】データ復元回路10は、データバス19を
経て入るデータから、前記の如く、データマネージャ1
1と12により分割されてディスク装置6と7に夫々書
込まれるデータの各ビット毎の排他的論理和を作成する
と、データマネージャ13とバッファメモリ16を経て
ディスク装置8に書込ませる。
The data restoration circuit 10 receives the data from the data bus 19 and uses the data manager 1 as described above.
When an exclusive OR for each bit of the data divided by 1 and 12 and written in the disk devices 6 and 7 is created, the data is written in the disk device 8 via the data manager 13 and the buffer memory 16.

【0016】データを半導体メモリ3に書込む際に、前
記の如く、ディスク装置6が障害であれば、データ復元
回路10はディスク装置8から読出したデータをデータ
マネージャ11に送出し、データマネージャ11は、こ
のデータからディスク装置6に書込まれるべきデータを
復元すると、データバス19に送出する。
When the data is written in the semiconductor memory 3, if the disk device 6 is in trouble as described above, the data restoration circuit 10 sends the data read from the disk device 8 to the data manager 11, and the data manager 11 When the data to be written in the disk device 6 is restored from this data, the data is sent to the data bus 19.

【0017】プロセッサ17は、各ディスク装置6〜8
のデータ転送状況を監視し、転送が完了した時には制御
監視部4に対して終了報告を行う。データの書込み時に
ディスク装置6又は7に障害が発生した時、その故障モ
ードとしては、完全故障により、その後の処理継続が不
可能な場合と、ディスク装置6又は7の内部リトライ或
いは、データマネージャ11又は12によるリトライに
より、処理継続が可能な場合とがある。
The processor 17 includes the disk devices 6-8.
The data transfer status is monitored, and when the transfer is completed, a completion report is sent to the control monitoring unit 4. When a failure occurs in the disk device 6 or 7 at the time of writing data, the failure mode is a case where the subsequent processing cannot be continued due to a complete failure, the internal retry of the disk device 6 or 7, or the data manager 11 Alternatively, there is a case in which the process can be continued by the retry by 12.

【0018】[0018]

【発明が解決しようとする課題】上記の如く、従来はデ
ィスク装置6又は7の故障モードに、処理継続不可能な
場合と、リトライによる処理継続が可能な場合とがあ
る。
As described above, conventionally, there are cases where the failure mode of the disk device 6 or 7 cannot continue processing and cases where it is possible to continue processing by retry.

【0019】処理継続が不可能な場合は、即座に障害デ
ィスク装置が処理の対象外とされ、残りのディスク装置
によりデータ転送が継続されるため、処理時間も最悪一
回のリトライに要する遅延時間が発生するのみである。
If the processing cannot be continued, the faulty disk device is immediately excluded from the processing, and the data transfer is continued by the remaining disk devices. Therefore, the processing time is also the delay time required for one retry. Occurs only.

【0020】しかし、リトライによる処理継続が可能な
場合、リトライが連続的に発生した場合は、データ転送
完了までの遅延時間が増大し、規定時間内にデータ転送
を完了させることが出来なくなる。
However, if the processing can be continued by retrying, or if retries occur continuously, the delay time until the completion of data transfer increases, and it becomes impossible to complete the data transfer within the specified time.

【0021】このような状態となった場合、バックアッ
プ電源9のバックアップ時間が経過すると、電流を供給
することが不可能となり、半導体メモリ3に格納されて
いるデータを全て退避させることが出来ず、データの紛
失が発生するという問題がある。
In such a state, when the backup time of the backup power supply 9 elapses, it becomes impossible to supply the current, and it is impossible to save all the data stored in the semiconductor memory 3. There is a problem of data loss.

【0022】本発明はこのような問題点に鑑み、ディス
ク装置に障害が発生し、リトライが頻発した場合におい
ても、バックアップ電源9のバックアップ能力の範囲内
で、確実にデータ退避を完了させることを目的としてい
る。
In view of such a problem, the present invention ensures that the data saving is completed within the backup capacity of the backup power supply 9 even when a failure occurs in the disk device and frequent retries occur. Has an aim.

【0023】[0023]

【課題を解決するための手段】図1は本発明の原理を説
明するブロック図である。半導体ディスク装置は、バッ
クアップ電源9から電流を供給されて、複数の論理ドラ
イブを割付けた半導体メモリ3に格納されたデータを、
該論理ドライブ毎に順次読出して、複数のディスク装置
6〜8に同時に分割して書込むことにより、データの退
避処理を行う。
FIG. 1 is a block diagram for explaining the principle of the present invention. The semiconductor disk device is supplied with a current from the backup power supply 9 and stores data stored in the semiconductor memory 3 to which a plurality of logical drives are allocated,
Data is saved by sequentially reading out the data for each logical drive and simultaneously dividing and writing to a plurality of disk devices 6 to 8.

【0024】そして、該ディスク装置6〜8の障害発生
に伴うデータエラー発生回数を、該ディスク装置6〜8
毎に記録すると共に、該ディスク装置6〜8毎の切離し
を指示するフラグを記録するテーブル20と、該ディス
ク装置6〜8の障害発生に伴うリトライによって、デー
タ退避処理が継続する場合、前記論理ドライブ毎にデー
タ退避処理に要した時間を計数させると共に、該計数時
間の合計が所定の時間を越えた時、該テーブル20を参
照して、データエラー発生回数が最大のディスク装置を
切り離す処理を行う制御手段21とを設けている。
Then, the number of data error occurrences due to the failure occurrence of the disk devices 6 to 8 is calculated as follows.
When the data saving process is continued by the table 20 for recording the data for each disk device and the flag for instructing the disconnection of each of the disk devices 6-8 and the retry due to the failure occurrence of the disk devices 6-8, The time required for the data saving process is counted for each drive, and when the total of the counted time exceeds a predetermined time, the table 20 is referred to and the disk device having the largest number of data error occurrences is disconnected. The control means 21 which performs is provided.

【0025】そして、該ディスク装置の切離し処理後に
必要なデータ退避処理時間を、前記所定の時間に加えた
時間が、前記バックアップ電源9の能力から定まる一定
時間以下となるように該所定の時間を設定し、前記デー
タの退避処理を実行中に発生する前記データエラー発生
回数を前記テーブル20に記録して、前記フラグが該テ
ーブル20に記録された時は、該フラグが指定するディ
スク装置を除外して、データ退避処理を継続する。
Then, the predetermined time is set so that the data saving processing time required after the disconnection processing of the disk device is added to the predetermined time to be a predetermined time or less determined by the capacity of the backup power supply 9. When the flag is recorded in the table 20, the number of times the data error occurs that is set and the data saving process is performed is recorded in the table 20, and the disk device designated by the flag is excluded. Then, the data saving process is continued.

【0026】[0026]

【作用】上記の如く構成することにより、バックアップ
電源9の能力に対し、最適なリトライ回数までリカバリ
処理が実行された後、障害発生のディスク装置が切り離
されるため、リカバリ処理を最適化させることが出来る
と共に、確実にデータ退避を完了させることが出来る。
With the above-described configuration, the recovery device can be optimized because the disk device in which the failure has occurred is disconnected after the recovery process has been executed up to the optimal number of retries for the capacity of the backup power supply 9. In addition to being able to do so, the data saving can be surely completed.

【0027】[0027]

【実施例】図2は本発明の一実施例を示す回路のブロッ
ク図で、図3はテーブルの一例を説明する図で、図4は
データ転送時間の監視方法を説明する図である。
2 is a block diagram of a circuit showing an embodiment of the present invention, FIG. 3 is a diagram for explaining an example of a table, and FIG. 4 is a diagram for explaining a data transfer time monitoring method.

【0028】図2において、図8と同一符号は同一機能
のものを示す。プロセッサ22はプロセッサ17とプロ
グラムが相違しており、テーブル20とタイマ23を用
いて、データエラー発生回数の多いディスク装置の切離
し制御と、データ退避時間の計数を行う。
In FIG. 2, the same reference numerals as those in FIG. 8 indicate the same functions. The processor 22 has a different program from the processor 17, and uses the table 20 and the timer 23 to control the disconnection of the disk device in which the number of data error occurrences is large and to count the data save time.

【0029】テーブル20は図3に示す如き構成で、テ
ーブルAは図3(A) に示すように、各ディスク装置6〜
8のエラー発生回数と、切離しを指示する切離しフラグ
とが記録されるようになっており、テーブルBは図3
(B) に示す如く、論理ドライブ番号毎にデータ転送が完
了したか否かを示す完了フラグの記録と、当該論理ドラ
イブの転送容量の記録と、データ転送に要する標準時間
の記録と、データ転送するのに実際に必要とした実施時
間の記録とが行われるようになっている。
The table 20 has a structure as shown in FIG. 3, and the table A has disk devices 6 to 6 as shown in FIG. 3 (A).
8 and the disconnection flag for instructing disconnection are recorded.
As shown in (B), recording of a completion flag indicating whether or not data transfer is completed for each logical drive number, recording of the transfer capacity of the logical drive, recording of the standard time required for data transfer, and data transfer The actual time required to do this is recorded and recorded.

【0030】プロセッサ22は、このテーブル20の内
容を参照して、図4に示す方法でデータ転送時間の監視
を行う。即ち、縦軸に時間を横軸に転送済のデータ量を
とると、データ転送完了時点の転送済のデータ量は、図
3(B) の総計に示す欄のXである。
The processor 22 refers to the contents of the table 20 and monitors the data transfer time by the method shown in FIG. That is, when the time is plotted on the vertical axis and the transferred data amount is plotted on the horizontal axis, the transferred data amount at the time when the data transfer is completed is X in the column shown in the total of FIG. 3B.

【0031】そして、標準的な処理時間の総計は図3
(B) の総計に示すYであり、処理途中の時間経過は直線
(d) で示される。直線(a) は図7に示す制御監視部4が
監視する規定時間、即ち、バックアップ電源9のバック
アップ能力によって定まる時間である。
The total standard processing time is shown in FIG.
It is Y shown in the total of (B), and the elapsed time during processing is a straight line.
It is indicated by (d). The straight line (a) is a specified time monitored by the control monitoring unit 4 shown in FIG. 7, that is, a time determined by the backup capacity of the backup power supply 9.

【0032】又、直線(b) はプロセッサ22が監視する
時間であり、直線(c) は障害の発生したディスク装置を
切離した後、データ転送を完了させるまでの残り時間を
示し、余裕を持たせるため転送済のデータ量が0の時、
Yが示す時間より大きくしてある。
Further, the straight line (b) is the time monitored by the processor 22, and the straight line (c) shows the remaining time until the data transfer is completed after disconnecting the disk device in which the failure has occurred, and has a margin. When the amount of transferred data is 0,
It is set larger than the time indicated by Y.

【0033】従って、直線(b) の転送済のデータ量が0
の時の時間は、直線(b) の転送済のデータ量がXの時の
時間に、直線(c) の転送済のデータ量が0の時の時間を
加えた時間が、直線(a) を越えないように設定され、直
線(d) と平行している。
Therefore, the transferred data amount of the straight line (b) is 0.
The time when is the time when the transferred data amount of the straight line (b) is X and the time when the transferred data amount of the straight line (c) is 0 is the straight line (a) It is set so that it does not exceed and is parallel to the straight line (d).

【0034】直線(e) はディスク装置の障害が発生した
時に、実際にデータ転送に要した時間を示し、図3(B)
の総計に示すZの経過を表す。プロセッサ22は、デー
タ退避動作を図7に示す制御監視部4から指示される
と、制御回路18を経てデータマネージャ11〜13の
モード設定を行った後、タイマ23を起動して、データ
マネージャ11〜13にデータ転送開始を指示する。
The straight line (e) shows the time actually required for data transfer when a failure occurs in the disk device.
Represents the course of Z shown in the total. When the processor 22 is instructed by the control monitor unit 4 shown in FIG. 7 to perform the data saving operation, the processor 22 sets the mode of the data managers 11 to 13 via the control circuit 18, and then activates the timer 23 to start the data manager 11 To 13 to start data transfer.

【0035】そして、一つの論理ドライブのデータ転送
が完了すると、各データマネージャ11〜13をチェッ
クして、エラー発生状況を確認すると共に、タイマ23
から転送に要した時間を読取る。
When the data transfer of one logical drive is completed, the data managers 11 to 13 are checked to check the error occurrence status and the timer 23.
Read the transfer time from.

【0036】そして、テーブル20の図3(A) に示す如
く、例えば、ディスク装置6においてエラーが一回発生
していれば、エラー発生回数(1) を記録し、ディスク装
置7にエラーが15回発生していれば、エラー発生回数
(15)を記録し、ディスク装置8でエラー発生が無けれ
ば、エラー発生回数(0) を記録する。
Then, as shown in FIG. 3A of the table 20, for example, if an error occurs once in the disk device 6, the error occurrence frequency (1) is recorded and the error is recorded in the disk device 7 as 15 times. If it has occurred once, the number of error occurrences
If (15) is recorded and no error occurs in the disk device 8, the number of error occurrences (0) is recorded.

【0037】又、図3(B) に示す論理ドライブ番号(0)
のデータ転送が完了すると、完了フラグ "1”を記録
し、タイマ23が示す時間が1分であれば、実施時間
(1) と記録する。
Logical drive number (0) shown in FIG. 3 (B)
When the data transfer is completed, the completion flag "1" is recorded, and if the time indicated by the timer 23 is 1 minute, the execution time
Record as (1).

【0038】ディスク装置6〜8に障害が発生しなけれ
ば、全ての論理ドライブのデータは、図3(B) の標準時
間でデータ転送が完了し、その合計時間はYとなるた
め、プロセッサ22が監視する時間、即ち、図4に示す
直線(b) を超過しない。
If no failure occurs in the disk devices 6 to 8, the data transfer of the data of all the logical drives is completed in the standard time shown in FIG. 3B, and the total time becomes Y, so the processor 22 Does not exceed the monitoring time, that is, the straight line (b) shown in FIG.

【0039】若し、例えば、ディスク装置7に障害が発
生し、リトライ処理が頻発したため、論理ドライブ番号
(1) のデータ転送時間が標準で1分であるところを、7
分を要して完了し、プロセッサ22が監視する時間、即
ち、図4に示す直線(b) を越えると、プロセッサ22は
テーブル20を参照し、図3(A) に示す如くディスク装
置7が最大のエラー発生回数を示しているため、ディス
ク装置7の切離しフラグ欄には "1”を設定して、デー
タマネージャ12に対し、ディスク装置7の切離しを指
示する。
If, for example, a failure occurs in the disk device 7 and retry processing occurs frequently, the logical drive number
If the data transfer time of (1) is 1 minute as standard,
When it takes time to complete and exceeds the time monitored by the processor 22, that is, the straight line (b) shown in FIG. 4, the processor 22 refers to the table 20 and the disk device 7 operates as shown in FIG. Since the maximum number of error occurrences is shown, "1" is set in the disconnection flag column of the disk device 7 to instruct the data manager 12 to disconnect the disk device 7.

【0040】そして、ディスク装置6と8を使用して残
りの論理ドライブ(2) 〜Nのデータ転送処理を実行させ
る。図5と図6は図2の動作を説明するフローチャート
である。
Then, the disk drives 6 and 8 are used to execute the data transfer processing of the remaining logical drives (2) to N. 5 and 6 are flowcharts for explaining the operation of FIG.

【0041】プロセッサ22は、ステップ(1) でデータ
転送開始を受信すると、ステップ(2) でテーブル20の
内容を記憶する。即ち、論理ドライブ番号に対応して転
送容量や標準時間を記憶する。
Upon receiving the data transfer start in step (1), the processor 22 stores the contents of the table 20 in step (2). That is, the transfer capacity and standard time are stored in correspondence with the logical drive number.

【0042】そして、ステップ(3) でデータマネージャ
等の転送モードを設定し、ステップ(4) でタイマ23を
起動した後、ステップ(5) でテーブル20に切離しフラ
グが設定されているか調べる。
Then, the transfer mode of the data manager or the like is set in step (3), the timer 23 is started in step (4), and it is checked in step (5) whether the disconnection flag is set in the table 20.

【0043】切離しフラグが設定されていなければ、ス
テップ(6) でデータ転送を開始させる。そして、ステッ
プ(7) でエラー発生か調べ、エラー発生していなけれ
ば、ステップ(11)で監視時間が超過したか調べ、超過し
ていなければ、ステップ(12)で一つの論理ドライブ転送
終了か調べる。
If the separation flag is not set, data transfer is started in step (6). Then, in step (7), it is checked whether an error has occurred.If no error has occurred, it is checked in step (11) if the monitoring time has expired. If not, in step (12) whether one logical drive transfer has ended. Find out.

【0044】一つの論理ドライブの転送が終了していな
ければ、ステップ(7) の処理に戻り、終了していれば、
ステップ(13)でタイマ23のリセットと、テーブル20
の内容を更新する。即ち、完了フラグの設定と、実施時
間の記録を行う。
If the transfer of one logical drive is not completed, the process returns to step (7), and if it is completed,
In step (13), the timer 23 is reset and the table 20
Update the contents of. That is, the completion flag is set and the execution time is recorded.

【0045】そして、ステップ(14)で総ての論理ドライ
ブの転送が終了したか調べ、終了していなければステッ
プ(3) の処理に戻り、終了ならば正常終了とする。ステ
ップ(7) でエラーが発生していると、ステップ(8) でテ
ーブル20のエラー発生回数の記録を更新する。そし
て、ステップ(9) でリトライ処理可能か調べ、可能であ
ればステップ(10)でリトライを実施させて、ステップ(1
1)の処理に移行し、リトライ不可であれば、ステップ(1
6)でテーブル20の切離しフラグを設定し、ステップ(1
7)で残りのディスク装置を使用して処理を継続させ、ス
テップ(5) の処理に戻る。
Then, in step (14), it is checked whether the transfer of all the logical drives is completed, and if not completed, the process returns to step (3), and if completed, it is judged as a normal end. If an error has occurred in step (7), the record of the number of error occurrences in the table 20 is updated in step (8). Then, in step (9), it is checked whether retry processing is possible, and if possible, retry is executed in step (10), and step (1
Move to the process of 1) and if retry is not possible, proceed to step (1
In step 6), set the disconnection flag of table 20 and
In step 7), the processing is continued using the remaining disk device, and the process returns to step (5).

【0046】ステップ(11)で監視時間を超過した場合、
ステップ(15)でテーブル20のエラー発生回数を参照
し、ステップ(16)の処理に移行する。ステップ(5) でテ
ーブル20の切離しフラグが設定されていると、ステッ
プ(18)で新規のデータ転送か調べる。一つの論理ドライ
ブのデータ転送途中であれば、ステップ(19)で一つの論
理ドライブの転送終了か調べ、終了ならばステップ(13)
の処理に移行し、終了でなければステップ(21)でデータ
転送を継続させ、ステップ(22)でエラー発生か調べる。
When the monitoring time is exceeded in step (11),
In step (15), the number of error occurrences in the table 20 is referred to, and the process proceeds to step (16). If the disconnect flag of the table 20 is set in step (5), it is checked in step (18) whether the data is new data transfer. If data transfer of one logical drive is in progress, check whether the transfer of one logical drive is completed in step (19), and if it is completed, step (13)
If not completed, the data transfer is continued in step (21), and it is checked in step (22) whether an error has occurred.

【0047】エラー発生でなければ、ステップ(19)の処
理に戻り、エラー発生であれば、ステップ(23)でリトラ
イ処理可能か調べる。リトライ処理可能であれば、ステ
ップ(24)でリトライ処理を実施させ、ステップ(19)の処
理に戻り、ステップ(23)でリトライ処理不可であれば異
常終了する。
If no error occurs, the process returns to step (19). If an error occurs, it is checked in step (23) whether retry processing is possible. If the retry process is possible, the retry process is executed in step (24), the process returns to step (19), and if the retry process is not possible in step (23), the process ends abnormally.

【0048】ステップ(18)で新規のデータ転送であれ
ば、ステップ(20)で残りのディスク装置を使用してデー
タ転送を開始させ、ステップ(21)の処理に移行する。
If it is new data transfer in step (18), data transfer is started using the remaining disk devices in step (20), and the process proceeds to step (21).

【0049】[0049]

【発明の効果】以上説明した如く、本発明はデータ退避
用のディスク装置に障害が発生した場合、遅延時間と残
りのデータ転送に要する時間を管理することにより、障
害ディスク装置の切離しタイミングを制御することが可
能となるため、可能な限り救済処理が可能であり、しか
も規定時間内にデータ退避処理を完了させることが出来
る。
As described above, according to the present invention, when a failure occurs in the disk device for saving data, the delay time and the time required for the remaining data transfer are managed to control the disconnection timing of the failed disk device. Therefore, the rescue process can be performed as much as possible, and the data saving process can be completed within the specified time.

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

【図1】 本発明の原理を説明するブロック図FIG. 1 is a block diagram illustrating the principle of the present invention.

【図2】 本発明の一実施例を示す回路のブロック図FIG. 2 is a block diagram of a circuit showing an embodiment of the present invention.

【図3】 テーブルの一例を説明する図FIG. 3 is a diagram illustrating an example of a table.

【図4】 データ転送時間の監視方法を説明する図FIG. 4 is a diagram illustrating a method of monitoring a data transfer time.

【図5】 図2の動作を説明するフローチャート(その
1)
FIG. 5 is a flowchart explaining the operation of FIG. 2 (No. 1).

【図6】 図2の動作を説明するフローチャート(その
2)
FIG. 6 is a flowchart (part 2) explaining the operation of FIG. 2;

【図7】 従来技術の一例を説明するブロック図FIG. 7 is a block diagram illustrating an example of a conventional technique.

【図8】 ディスク制御部の詳細ブロック図FIG. 8 is a detailed block diagram of a disk control unit.

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

1 インタフェース制御部 2 メモリアクセス制御部 3 半導体メモリ 4 制御監視部 5 ディスク制御部 6〜8 ディスク装置 9 バックアップ電源 10 データ復元回路 11〜13 データマネージャ 14〜16 バッファメモリ 17、22 プロセッサ 18 制御回路 19 データバス 20 テーブル 21 制御手段 23 タイマ 1 interface control unit 2 memory access control unit 3 semiconductor memory 4 control monitoring unit 5 disk control unit 6 to 8 disk device 9 backup power supply 10 data restoration circuit 11 to 13 data manager 14 to 16 buffer memory 17, 22 processor 18 control circuit 19 Data bus 20 Table 21 Control means 23 Timer

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 バックアップ電源(9) から電流を供給さ
れて、複数の論理ドライブを割付けた半導体メモリ(3)
に格納されたデータを、該論理ドライブ毎に順次読出し
て、複数のディスク装置(6) 〜(8) に同時に分割して書
込むことにより、データの退避処理を行う半導体ディス
ク装置であって、 該ディスク装置(6) 〜(8) の障害発生に伴うデータエラ
ー発生回数を該ディスク装置(6) 〜(8) 毎に記録すると
共に、該ディスク装置(6) 〜(8) 毎の切離しを指示する
フラグを記録するテーブル(20)と、 該ディスク装置(6) 〜(8) の障害発生に伴うリトライに
よって、データ退避処理が継続する場合、前記論理ドラ
イブ毎にデータ退避処理に要した時間を計数させると共
に、該計数時間の合計が所定の時間を越えた時、該テー
ブル(20)を参照して、データエラー発生回数が最大のデ
ィスク装置を切り離す処理を行う制御手段(21)と、 を設け、該ディスク装置の切離し処理後に必要なデータ
退避処理時間を、前記所定の時間に加えた時間が、前記
バックアップ電源(9) の能力から定まる一定時間以下と
なるように該所定の時間を設定し、前記データの退避処
理を実行中に発生する前記データエラー発生回数を前記
テーブル(20)に記録して、前記フラグが該テーブル(20)
に記録された時は、該フラグが指定するディスク装置を
除外して、データ退避処理を継続することを特徴とする
半導体ディスク装置。
1. A semiconductor memory (3) having a plurality of logical drives allocated thereto, which is supplied with a current from a backup power supply (9).
A semiconductor disk device that performs data save processing by sequentially reading the data stored in each logical drive, and simultaneously dividing and writing to a plurality of disk devices (6) to (8), The number of data error occurrences due to the failure occurrence of the disk devices (6) to (8) is recorded for each of the disk devices (6) to (8), and the disconnection of each of the disk devices (6) to (8) is performed. If the data saving process continues due to the table (20) recording the instructing flag and the retry due to the failure of the disk device (6) to (8), the time required for the data saving process for each logical drive. And counting means, when the total of the counting time exceeds a predetermined time, referring to the table (20), a control means (21) for performing a process of disconnecting the disk device with the maximum number of data error occurrences, After the disconnection process of the disk device Execute the data saving process by setting the required data saving process time so that the time added to the specified time is less than or equal to a certain time determined by the capacity of the backup power supply (9). The number of data error occurrences that occur during recording is recorded in the table (20), and the flag is set in the table (20).
When the data is recorded in, the semiconductor disk device is characterized in that the disk device specified by the flag is excluded and the data saving process is continued.
JP20581692A 1992-08-03 1992-08-03 Semiconductor disk device Withdrawn JPH0651918A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP20581692A JPH0651918A (en) 1992-08-03 1992-08-03 Semiconductor disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20581692A JPH0651918A (en) 1992-08-03 1992-08-03 Semiconductor disk device

Publications (1)

Publication Number Publication Date
JPH0651918A true JPH0651918A (en) 1994-02-25

Family

ID=16513178

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20581692A Withdrawn JPH0651918A (en) 1992-08-03 1992-08-03 Semiconductor disk device

Country Status (1)

Country Link
JP (1) JPH0651918A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007252415A (en) * 2006-03-20 2007-10-04 Toshiba Corp X-ray diagnostic device
JP2009059280A (en) * 2007-09-03 2009-03-19 Mitsubishi Electric Corp Storage control system
WO2015011825A1 (en) * 2013-07-26 2015-01-29 株式会社日立製作所 Storage system and control method for storage system
JP2015115051A (en) * 2013-12-16 2015-06-22 富士通株式会社 Control device, control method, and control program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007252415A (en) * 2006-03-20 2007-10-04 Toshiba Corp X-ray diagnostic device
JP2009059280A (en) * 2007-09-03 2009-03-19 Mitsubishi Electric Corp Storage control system
WO2015011825A1 (en) * 2013-07-26 2015-01-29 株式会社日立製作所 Storage system and control method for storage system
US9223655B2 (en) 2013-07-26 2015-12-29 Hitachi, Ltd. Storage system and method for controlling storage system
JP2015115051A (en) * 2013-12-16 2015-06-22 富士通株式会社 Control device, control method, and control program
US9588567B2 (en) 2013-12-16 2017-03-07 Fujitsu Limited Control apparatus, computer-readable storage medium, and information processing apparatus

Similar Documents

Publication Publication Date Title
EP0784272B1 (en) Input/output controller
US6000039A (en) Data reconstruction method and system wherein timing of data reconstruction is controlled in accordance with conditions when a failure occurs
US7065620B2 (en) Systems and methods for backing up data
US8751766B2 (en) Storage system having volatile memory and non-volatile memory
US20020038436A1 (en) Disk array apparatus, error control method for the same apparatus, and control program for the same method
US6125459A (en) Information storing method, information storing unit, and disk drive
US7190537B2 (en) Self-raid system using hard disk drive having backup head and method of writing data to and reading data from hard disk drive having backup head
US6434711B1 (en) Disk array apparatus that avoids premature declarations of faults
JPH05166287A (en) Method for starting array disk device
JPH1195933A (en) Disk array system
JPH0651918A (en) Semiconductor disk device
JPH10275060A (en) Array disk controller
JP2671299B2 (en) Electronic journal control system
JP2000137584A (en) Controller for external storage device, method for substituting defective block and storage medium storing defective block substitution control program
JP4098400B2 (en) Semiconductor disk device
JP2001282402A (en) Recording medium controller
US7962781B2 (en) Control method for information storage apparatus, information storage apparatus and computer readable information recording medium
JP2735801B2 (en) I / O control unit
JPH08147112A (en) Error recovery device for disk array device
JP3172872B2 (en) Storage device and data restoration method thereof
JPH04195617A (en) Recording and reproducing device and information processor
JPH08221219A (en) Disk array device
JP2002091632A (en) Computer system
JP2910847B2 (en) Array type disk controller
JPH09274542A (en) Disk array device

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: 19991005