JPH0335339A - Settlement processing system for occurrence of os fault - Google Patents

Settlement processing system for occurrence of os fault

Info

Publication number
JPH0335339A
JPH0335339A JP1169559A JP16955989A JPH0335339A JP H0335339 A JPH0335339 A JP H0335339A JP 1169559 A JP1169559 A JP 1169559A JP 16955989 A JP16955989 A JP 16955989A JP H0335339 A JPH0335339 A JP H0335339A
Authority
JP
Japan
Prior art keywords
storage device
auxiliary storage
data
buffer
cache memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP1169559A
Other languages
Japanese (ja)
Inventor
Junichi Kondo
純一 近藤
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP1169559A priority Critical patent/JPH0335339A/en
Publication of JPH0335339A publication Critical patent/JPH0335339A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent the erasion of the buffing data on a main storage and the data on a cache memory of an auxiliary storage device by using a settlement processing program which is started at occurrence of an OS (operating system) fault. CONSTITUTION:A data store area 13 is secured in an auxiliary storage device 11. At the same time, a 1st store means is added to a settlement processing means 17 which is started at occurrence of a fault of an OS 16 and performs a settlement process to write the data stored in a cache memory 12 of the storage device 11 to the corresponding area of the storage 11. Then a 2nd store means writes the data stored in a buffer 15 of a main storage 14 into the area 13 of the storage device 11 or the corresponding area of the storage device 11 in accordance with a fact whether the factor of the OS fault is caused by the buffing control of the buffer 15 or not. In such a constitution, the erasion of data can be prevented even if the OS 16 has a fault in a state where a write request is through logically and not through physically to the storage device 11.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) この発明は、O5(オペレーティングシステム)に障害
が発生した場合における後始末処理方式に係り、特に主
記憶上でバッファリング、されているデータおよび補助
記憶装置に設けられたキャッシュ上のデータの保存方式
に関する。
[Detailed Description of the Invention] [Objective of the Invention] (Industrial Application Field) The present invention relates to a cleanup processing method when a failure occurs in an O5 (operating system), and in particular, it relates to a method for cleaning up when a failure occurs in an O5 (operating system), and in particular, it involves buffering on main memory, The present invention relates to a method for storing data in a cache provided in an auxiliary storage device.

(従来の技術) 磁気ディスク装置等の補助記憶装置を備えたデータ処理
システムにおいては、補助記憶装置に対する入出力動作
は主記憶に対する入出力動作(主記憶アクセス)に比較
して極端に遅いことから、補助記憶装置に対する物理的
な入出力動作の発生を極力避け(て補助記憶装置の見掛
は上の入出力速度を向上させ)るために、従来は補助記
憶装置の機能としてキャッシュメモリを採用したり、O
Sの入出力制御(入出力制御プログラム)によって補助
記憶装置に対する書込み要求のデータを主記憶上(に確
保したバッファ)でバッファリングするといった手段を
採用するのが通常であった。
(Prior Art) In a data processing system equipped with an auxiliary storage device such as a magnetic disk device, input/output operations to the auxiliary storage device are extremely slow compared to input/output operations to the main memory (main memory access). In order to avoid the occurrence of physical input/output operations to the auxiliary storage device as much as possible (the apparent input/output speed of the auxiliary storage device is improved), cache memory was conventionally used as the function of the auxiliary storage device. Or, O
Normally, data for write requests to the auxiliary storage device is buffered in the main memory (in a buffer secured in the main memory) by the input/output control (input/output control program) of the S.

このようなシステムでは、ユーザ(アプリケーションプ
ログラム)から補助記憶装置上のデータの更新要求が出
された場合、主記憶上にバッファリングした゛データを
直ちに補助記憶装置に書込むとは限らず、主記憶上のバ
ッファが一杯(FULL)になる等の条件を満たすまで
は補助記憶装置に対する実際の出力(書込み)を行わな
いのが一般的であった。また、OSからの要求による補
助記憶装置への書込みも、補助記憶装置の持つキャッシ
ュメモリに対して行われるのに留まり、実際に書込みが
完了していない場合がある。即ち、補助記憶装置を備え
た従来のシステムでは、ユーザまたはOSからの補助記
憶装置への書込み要求に対し、見掛は上の書込み(論理
的な書込み)は直ちに行われても、実際の書込み(物理
的な書込み)は遅れて実行される虞があった。
In such systems, when a user (application program) issues a request to update data on the auxiliary storage device, the data buffered in the main memory is not necessarily written to the auxiliary storage device immediately; Generally, actual output (writing) to the auxiliary storage device is not performed until a condition such as a storage buffer becomes full (FULL) is met. Furthermore, writing to the auxiliary storage device in response to a request from the OS is only performed to the cache memory of the auxiliary storage device, and the writing may not actually be completed. In other words, in a conventional system equipped with an auxiliary storage device, when a write request is made to the auxiliary storage device from the user or the OS, even though the above writing (logical writing) is performed immediately, the actual writing is delayed. (Physical writing) may be executed with a delay.

このように、補助記憶装置を備えた従来のシステムでは
、ユーザ等の書込み要求に対する見掛は上の完了タイミ
ングと実際の完了タイミングとの間に時間的に大きなず
れが生じる虞がある。このため、上記要求に対する物理
的書込みが完了しない状態でOSの障害により処理が続
行不能となった場合には、主記憶上のバッファリングデ
ータや補助記憶装置のキャッシュメモリ上のデータは消
失してしまう。このようなデータ消失を回避するため、
或はデータの消失の被害を少なくするために、主記憶上
のバッファのデータや補助記憶装置のキャッシュメモリ
のデータを定期的に補助記憶装置に書出すことが考えら
れるが、オーバーヘッドの増大を招き、性能面での悪影
響があるため、適用しがたい。
As described above, in a conventional system equipped with an auxiliary storage device, there is a possibility that a large time difference may occur between the apparent completion timing and the actual completion timing of a write request from a user or the like. Therefore, if the process becomes unable to continue due to an OS failure before the physical write for the above request is completed, the buffering data on the main memory and the data on the cache memory of the auxiliary storage device will be lost. Put it away. To avoid such data loss,
Alternatively, in order to reduce the damage caused by data loss, it is conceivable to periodically write the data in the buffer in the main memory and the data in the cache memory in the auxiliary storage device to the auxiliary storage device, but this would result in an increase in overhead. , it is difficult to apply because it has a negative effect on performance.

(発明が解決しようとする課8) 上記したように、補助記憶装置を備えた従来のシステム
では、補助記憶装置に対する物理的な入出力動作の発生
を極力減らして見掛は上の入出力速度を高めようとする
と、ユーザまたはOSからの補助記憶装置への書込み要
求が論理的に完了していても物理的には完了しない状態
が多くなり、このような物理的に未完了の状態でOSに
障害が発生すると、主記憶上のバッファリングデータや
補助記憶装置のキャッシュメモリ上のデータの消失を招
くという問題があった。
(Issue 8 to be solved by the invention) As mentioned above, in conventional systems equipped with an auxiliary storage device, physical input/output operations to the auxiliary storage device are reduced as much as possible to increase the apparent input/output speed. If you try to increase the storage capacity, there will be many situations where a write request from the user or the OS to the auxiliary storage device is completed logically but not physically completed, and in such a physically incomplete state, the OS When a failure occurs, there is a problem in that buffering data in the main memory and data in the cache memory of the auxiliary storage device are lost.

この発明は上記事情に鑑みてなされたものでその目的は
、ユーザ(アプリケーションプログラム)またはOSか
らの補助記憶装置への書込み要求が論理的に完了してい
ても物理的には完了していない状態でOSに障害が発生
した場合に、主記憶上のバッファリングデータや補助記
憶装置のキャッシュメモリ上のデータが消失することが
防止できるOS障害発生時における後始末処理方式を提
供することにある。
This invention was made in view of the above circumstances, and its purpose is to create a state in which a write request from a user (application program) or an OS to an auxiliary storage device is logically completed but not physically completed. To provide a cleanup processing method when an OS failure occurs, which can prevent buffering data on a main memory and data on a cache memory of an auxiliary storage device from disappearing when a failure occurs in the OS.

[発明の構成] (課題を解決するための手段) この発明は、速度の遅い補助記憶装置に対する入出力動
作の発生を極力減らすために、補助記憶装置にキャッシ
ュメモリを設けると共に、補助記憶装置に書込むべきデ
ータを一時格納するためのバッファを主記憶上に確保し
、この主記憶上のバッファ並びに補助記憶装置に対する
人出力制御をOSによって行うようにしたシステムにお
いて、補助記憶装置上にデータ保存領域を確保すると共
に、OSに障害が発生した場合に起動されて後始末処理
を行う後始末処理手段に、上記補助記憶装置のキャッシ
ュメモリの記憶データを補助記憶装置の対応領域に書出
す第1保存手段、および上記主記憶上のバッファの記憶
データを、OS障害発生要因が上記バッファの制御(バ
ッファリング制御)に関係するものであるか否かに応じ
て補助記憶装置上に確保された上記データ保存領域また
は補助記憶装置上の対応領域に書出す第2保存手段を設
けたことを特徴とするものである。
[Structure of the Invention] (Means for Solving the Problems) This invention provides a cache memory in the auxiliary storage device, and also provides a cache memory in the auxiliary storage device in order to minimize the occurrence of input/output operations to the slow auxiliary storage device. In a system in which a buffer for temporarily storing data to be written is secured in the main memory, and the OS controls human output to the buffer in the main memory and to the auxiliary storage device, data is saved in the auxiliary storage device. A first step for securing an area and writing data stored in the cache memory of the auxiliary storage device to a corresponding area of the auxiliary storage device in a cleanup processing means that is activated and performs cleanup processing when a failure occurs in the OS. storage means, and the data stored in the buffer on the main memory is secured on the auxiliary storage device depending on whether the cause of the OS failure is related to the control of the buffer (buffering control). The present invention is characterized by providing a second storage means for writing to a data storage area or a corresponding area on an auxiliary storage device.

(作 用) 上記の構成によれば、OSに障害が発生すると、その後
始末処理の中で、補助記憶装置のキャッシュメモリの記
憶データ(未書込みデータ)が補助記憶装置の正しい領
域(OSに障害が発生する以前に書込もうとしていた領
域)に書込まれる。
(Function) According to the above configuration, when a failure occurs in the OS, during the cleanup process, the stored data (unwritten data) in the cache memory of the auxiliary storage device is transferred to the correct area of the auxiliary storage device (the failure occurs in the OS). will be written to the area that was being attempted to be written before this occurred).

また主記憶上のバッファの記憶データは、OS障害発生
要因によって異なる扱いをされ、OS障害発生要因がバ
ッファリング制御以外であれば補助記憶装置の正しい領
域に書込まれ、バッファリングIIJmに関係するなら
ば補助記憶装置上に確保されたデータ保存領域に書込ま
れる。このため、OS障害発生要因がバッファリング制
御以外であれば、補助記憶装置のキャッンユメモリの記
憶データ(未書込みデータ)および主記憶上のバッファ
の記憶データはすべて保障される。また、バッファリン
グルリ御内にOS障害要因があっても、補助記憶装置上
の特定の領域(データ保存領域)からデータを読出すこ
とにより、データ修復の一助こすることができる。
In addition, the data stored in the buffer on the main memory is handled differently depending on the cause of the OS failure, and if the cause of the OS failure is other than buffering control, it is written to the correct area of the auxiliary storage device, and the data is written to the correct area of the auxiliary storage device, and data related to buffering IIJm is handled differently depending on the cause of the OS failure. If so, it is written to a data storage area secured on the auxiliary storage device. Therefore, if the cause of the OS failure is other than buffering control, all data (unwritten data) stored in the cache memory of the auxiliary storage device and data stored in the buffer on the main memory are guaranteed. Furthermore, even if there is an OS failure factor within the buffering system, data can be recovered by reading data from a specific area (data storage area) on the auxiliary storage device.

(実施例) 第1図はこの発明を適用するデータ処理システムの一実
施例を示すブロック構成図である。同図において、11
は磁気ディスク装置などの補助記憶装置、12は補助記
憶装置11に対する入出力動作の発生を威らして入出力
速度を向上するために補助記憶装置11に設けられたデ
ィスクキャッシュなどのキャッシュメモリ、13は補助
記憶装置11(の補助記憶媒体)の特定領域に確保され
た(後述するバッファ15内のバッファリングデータの
保存用の)データ保存領域である。14は主記憶、15
は補助記憶装置11への書込みデータ(ユーザからの書
込み要求のデータ)を−時格納するための主記憶14上
に確保されたバッファである。主記憶14には、バッフ
ァ15並びに補助記憶装置11に対する人出力制御を衾
む各種のシステム制御を司るためのシステムプログラム
であるO3(オペレーティングシステム)1B、および
OS 16に障害が発生した場合の後始末処理を行うた
めの後始末処理プログラム17等が置かれる。18はO
S 1B、後始末処理プログラム17、更には各種のア
プリケーションプログラムを実行するためのCPUであ
る。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of a data processing system to which the present invention is applied. In the same figure, 11
12 is an auxiliary storage device such as a magnetic disk device; 12 is a cache memory such as a disk cache provided in the auxiliary storage device 11 to prevent input/output operations from occurring to the auxiliary storage device 11 and improve input/output speed; 13 is a data storage area (for storing buffering data in the buffer 15 described later) secured in a specific area of (the auxiliary storage medium of) the auxiliary storage device 11. 14 is main memory, 15
is a buffer secured on the main memory 14 for storing write data (data of a write request from the user) to the auxiliary storage device 11. The main memory 14 includes an O3 (operating system) 1B, which is a system program for managing various system controls including human output control for the buffer 15 and the auxiliary storage device 11, and an operating system (O3) 1B that is used in the event of a failure in the OS 16. A cleanup processing program 17 and the like for performing cleanup processing are placed. 18 is O
This is a CPU for executing S1B, a cleanup processing program 17, and various application programs.

次に、この発明の一実施例の動作を説明する。Next, the operation of one embodiment of the present invention will be explained.

まず、[従来の技術]の項で説明したと同様の、主記憶
14上に確保されたバッファ15および補助記憶装置1
1に設けられたキャッシュメモリ12に対するアクセス
について説明する。アプリケーションプログラムの実行
によって補助記憶装置11への書込み要求(即ちユーザ
からの補助記憶装置11への書込み要求)が発生した場
合、その都度、実際に補助記憶装置11への書込みを行
ったのでは、補助記憶装置11の入出力動作が主記憶1
4へのアクセスに比較して非常に遅いために効率が悪く
なる。
First, a buffer 15 and an auxiliary storage device 1 secured on the main memory 14 are similar to those described in the [Prior Art] section.
Access to the cache memory 12 provided in 1 will be explained. When a write request to the auxiliary storage device 11 occurs due to the execution of an application program (that is, a write request from the user to the auxiliary storage device 11), it is difficult to check whether the writing to the auxiliary storage device 11 is actually performed each time. The input/output operation of the auxiliary storage device 11 is the main memory 1
This is very slow compared to accessing 4, resulting in poor efficiency.

そこで第1図のシステムにおいては、0816の管理の
もとで主記憶14上にバッファ15を確保し、ユーザか
らの補助記憶装置11への書込み要求が発生すると、要
求されたデータをOS 1Bに従ってCPU18がバッ
ファ15に一時格納するようにしている。この際、ユー
ザの要求した書込みのサイズが成るサイズに達するまで
は、補助記憶装置11に対する出力要求が出されないよ
うにOS lliによって規定されている。OS 1B
 (を実行するC P U 1g)は、ユーザからの書
込み要求が発生した場合、要求されたデータをバッファ
15に書込んだならば、補助記憶装置11に対する出力
要求は出さなくてもユーザに書込み完了を通知する。こ
の通知は、ユーザ(アプリケーションプログラム)から
の書込み要求に対する論理的な書込みの完了を示すもの
で、ユーザは、この書込み完了通知からは、要求データ
が補助記憶装置11に実際に(物理的に)書込まれたか
否かは判別できない。もし、このような状態、即ちユー
ザから要求されたデータがバッファ15には書込まれて
いるが、補助記憶装fillには書込まれていない状態
でOS 1Bに障害(OSIBの走行が不可能となる障
害)が発生して停止すると、従来であればバッファ15
の記憶データは消失してしまい、次にOS 16が起動
された場合にはユーザデータの矛盾が発生する。
Therefore, in the system shown in FIG. 1, a buffer 15 is secured on the main memory 14 under the management of 0816, and when a write request from a user to the auxiliary storage device 11 occurs, the requested data is stored in accordance with OS 1B. The CPU 18 temporarily stores the data in the buffer 15. At this time, the OS lli specifies that no output request is issued to the auxiliary storage device 11 until the write size requested by the user reaches the specified size. OS 1B
(CPU 1g that executes), when a write request from the user occurs, once the requested data is written to the buffer 15, the CPU 1g that executes the write request is sent to the user without issuing an output request to the auxiliary storage device 11. Notify completion. This notification indicates the completion of logical writing in response to the write request from the user (application program). It is not possible to determine whether it has been written or not. If this is the case, in which the data requested by the user has been written to the buffer 15 but not to the auxiliary storage device fill, the OS 1B may fail (OSIB cannot run). If a failure occurs and the system stops, conventionally the buffer 15
The stored data will be lost, and when the OS 16 is started next time, a contradiction will occur in the user data.

さて、第1図のシステムでは、0516(を実行するC
 P U 1g)から補助記憶装置11に対する出力要
求が出されても、補助記憶装置11(の補助記憶媒体)
に対する実際の書込みは必ずしも行われない。即ち第1
図のシステムでは、補助記憶装置11に対する出力要求
に応じてバッファ15から取出されたユーザデータが、
補助記憶装置11に設けられたキャッシュメモリ12に
格納(キャッシング)され、補助記憶装置11(の補助
記憶媒体)には書込まれない状態が発生する。したがっ
て従来は、このような状態でOS 1Bに障害が発生し
て停止すると、キャッシュメモリ12内のデータは消失
してしまう。
Now, in the system shown in Figure 1, the C code that executes 0516 (
Even if an output request is issued to the auxiliary storage device 11 from the auxiliary storage device 11 (auxiliary storage medium of the auxiliary storage device 1g)
Actual writing to is not necessarily performed. That is, the first
In the system shown in the figure, user data retrieved from the buffer 15 in response to an output request to the auxiliary storage device 11 is
A situation occurs in which data is stored (cached) in the cache memory 12 provided in the auxiliary storage device 11 and is not written to (the auxiliary storage medium of) the auxiliary storage device 11. Therefore, conventionally, if the OS 1B fails and stops in such a state, the data in the cache memory 12 will be lost.

ところで、第1図のシステムには、osteの障害発生
時に、その障害要因や要因解析のための情報を採取する
といったO S 1Bの後始末的な処理を行う後始末処
理プログラム17が用意されている。
By the way, the system shown in FIG. 1 is provided with a clean-up processing program 17 that performs clean-up processing of the OS 1B, such as collecting the cause of the failure and information for factor analysis when a failure occurs in the OSTE. There is.

この種の後始末処理プログラムは、データ処理システム
には通常に用意されているものであるが、第1図のシス
テムでは、後始末処理プログラム17に新規な処理ルー
チンを付加して、前記したデータ消失を防止するように
している。以下、新規な後始末処理プログラム17を用
いたO3障害発生時の後始末処理について、第2図のフ
ローチャートを参照して説明する。
This type of cleanup processing program is normally prepared in data processing systems, but in the system shown in FIG. 1, a new processing routine is added to the cleanup processing program 17 to process the data We are trying to prevent it from disappearing. Cleanup processing when an O3 failure occurs using the new cleanup processing program 17 will be described below with reference to the flowchart in FIG.

まず、0S16に障害が発生すると、後始末処理プログ
ラム17が起動される(ステップS2)。
First, when a failure occurs in the OS 16, the cleanup processing program 17 is started (step S2).

これによりCPU1Bは後始末処理プログラム17に従
うO3障害発生時の後始末処理を開始し、まず補助記憶
装置11のキャッシュメモリ12の記憶内容(のうち補
助記憶装置11への書込みが行われていないデータ)を
補助記憶装置11(に装着されている補助記憶媒体)の
正しい位置(OS1Bに障害が発生する以前に書込もう
としていた位置)に書込ませるための命令を発行する(
ステップS2)。
As a result, the CPU 1B starts the cleanup process when an O3 failure occurs according to the cleanup process program 17, and first, the storage contents of the cache memory 12 of the auxiliary storage device 11 (of which data has not been written to the auxiliary storage device 11) ) to the correct location of the auxiliary storage device 11 (the auxiliary storage medium attached to it) (the location where the OS 1B was trying to write before the failure occurred).
Step S2).

この結果、キャッシュメモリ12に残されているデータ
(未書込みデータ)を補助記憶装置11に書込む動作が
行われる。次にCPUL8は、OS 1Bの障害発生要
因が主記憶14上のバッファ15の制御、即ちバッファ
リング制御に関係するものであるか否かを調べ(ステッ
プS3)、もしバッファリング制御に関係しないもので
あれば、主記憶i4上のバッファ15の内容をOS 1
6が障害発生前に書込もうとしていた補助記憶装置11
の(に装着されている補助記憶媒体)の正しい位置に書
込む(ステップS4)。これに対し、0816の障害発
生要因がバッファリング制御に関係するものであるなら
ば、主記憶14上のバッファ15の内容自体が保障され
ない可能性があるため、CPU18は上記ステップS4
に代えて、バッファ15の内容を補助記憶装置11に予
め確保されているデータ保存領域13に書込む処理を行
う(ステップS5)。CP 018は、以上のステップ
S4またはステップS5を終了すると、OS障害発生時
の通常の後始末処理を行う(ステップS6)。このステ
ップS6が終了すると、OS停止(システム停止)とな
る(ステップS7)。
As a result, an operation is performed to write the data remaining in the cache memory 12 (unwritten data) to the auxiliary storage device 11. Next, the CPU 8 checks whether the cause of the failure in the OS 1B is related to the control of the buffer 15 on the main memory 14, that is, the buffering control (step S3), and if it is not related to the buffering control. If so, the contents of buffer 15 on main memory i4 are saved to OS 1.
Auxiliary storage device 11 that 6 was trying to write to before the failure occurred
(step S4). On the other hand, if the cause of the failure in 0816 is related to buffering control, the contents of the buffer 15 on the main memory 14 may not be guaranteed, so the CPU 18
Instead, a process is performed in which the contents of the buffer 15 are written into the data storage area 13 secured in advance in the auxiliary storage device 11 (step S5). After completing step S4 or step S5, the CP 018 performs normal cleanup processing when an OS failure occurs (step S6). When this step S6 is completed, the OS is stopped (system stopped) (step S7).

上述したように本実施例によれば、o s teに障害
が発生した場合に起動される後始末処理プログラム17
を利用して新規なデータ保存機能を実現し、従来であれ
ば消失されていた補助記憶装置11のキャッシュメモリ
12、および主記憶14上のバッファ15のユーザデー
タを、補助記憶装置Itに保存するするようにしたので
、次にo s teが起動される際にユーザデータは保
障される。但し、バッファリング制御に関係するO5障
害発生の場合には、補助記憶装置11のデータ保存領域
13に保nされているデータを読出して、データ修復を
行うことが必要となる。
As described above, according to this embodiment, the cleanup processing program 17 is activated when a failure occurs in the OSTE.
A new data storage function is realized using the , and user data stored in the cache memory 12 of the auxiliary storage device 11 and the buffer 15 on the main memory 14, which would have been lost in the past, is saved in the auxiliary storage device It. As a result, the user data is guaranteed the next time the OS is started. However, in the event of an O5 failure related to buffering control, it is necessary to read the data stored in the data storage area 13 of the auxiliary storage device 11 and perform data recovery.

なお、本発明は、電源断発生を検出して031Bに通知
し、後始末処理プログラム17を呼出すための電源断検
出手段と、後始末処理プログラム17による処理完了ま
でに必要な容量のバックアップバッテリとを備えるなら
ば、電源断時にもキャッシュメモリ12およびバッファ
15の内容を補助記憶装置11に保存することが可能で
ある。
Note that the present invention includes a power-off detection means for detecting the occurrence of a power-off, notifying the 031B, and calling the clean-up processing program 17, and a backup battery having a capacity necessary for the clean-up processing program 17 to complete the processing. With this, it is possible to save the contents of the cache memory 12 and buffer 15 in the auxiliary storage device 11 even when the power is turned off.

[発明の効果] 以上詳述したようにこの発明によれば、補助記憶装置へ
の書込み要求が論理的に完了していても物理的には完了
していない状態でOSに障害が発生した場合に、従来は
消失していた主記憶上のバッファリングデータや補助記
憶装置のキャッシュメモリに残されているデータを補助
記憶装置に保存することができ、データの消失防止が図
れる。
[Effects of the Invention] As detailed above, according to the present invention, if a failure occurs in the OS while a write request to the auxiliary storage device is logically completed but not physically completed. In addition, buffering data on the main memory and data remaining in the cache memory of the auxiliary storage device, which were lost in the past, can be saved in the auxiliary storage device, thereby preventing data loss.

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

第1図はこの発明の一実施例を示すブロック構成図、第
2図は動作を説明するためのフローチャートである。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a flowchart for explaining the operation.

Claims (1)

【特許請求の範囲】 キャッシュメモリを備えた補助記憶装置と、この補助記
憶装置に書込むべきデータを一時格納するためのバッフ
ァが確保された主記憶と、この主記憶上の上記バッファ
並びに上記補助記憶装置に対する入出力制御を含む各種
のシステム制御を司るためのオペレーティングシステム
(OS)とを備え、上記補助記憶装置に対する物理的な
入出力処理に代えて、上記主記憶上のバッファまたは上
記補助記憶装置のキャッシュメモリに対するアクセスを
行うことで、上記補助記憶装置に対する論理的な入出力
処理を行うデータ処理システムにおいて、 上記補助記憶装置上に確保されたデータ保存領域と、 上記オペレーティングシステムに障害が発生した場合に
起動されて後始末処理を行う後始末処理手段であって、
上記補助記憶装置のキャッシュメモリの記憶データを上
記補助記憶装置の対応領域に書出す第1保存手段、およ
び上記主記憶上のバッファの記憶データを、上記障害発
生要因に応じて上記補助記憶装置の対応領域または上記
補助記憶装置上に確保された上記データ保存領域に書出
す第2保存手段を有する後始末処理手段と、を具備し、
上記オペレーティングシステムの障害発生要因が上記バ
ッファに対する制御に関係しない場合には上記バッファ
の記憶データを上記補助記憶装置の対応領域に書出し、
上記障害発生要因が上記バッファに対する制御に関係す
る場合には上記バッファの記憶データを上記データ保存
領域に書出すようにしたことを特徴とするOS障害発生
時における後始末処理方式。
[Claims] An auxiliary storage device equipped with a cache memory, a main memory in which a buffer for temporarily storing data to be written to the auxiliary storage device is secured, and the above-mentioned buffer on this main memory and the above-mentioned auxiliary storage device. It is equipped with an operating system (OS) for managing various system controls including input/output control for the storage device, and instead of physical input/output processing for the auxiliary storage device, a buffer on the main memory or the auxiliary storage device is provided. In a data processing system that performs logical input/output processing to the auxiliary storage device by accessing the cache memory of the device, a failure occurs in the data storage area secured on the auxiliary storage device and the operating system. A cleanup processing means that is activated and performs cleanup processing when the
a first storage means for writing data stored in the cache memory of the auxiliary storage device to a corresponding area of the auxiliary storage device; and a first storage means for writing data stored in the cache memory of the auxiliary storage device to a corresponding area of the auxiliary storage device; cleanup processing means having a second storage means for writing to the corresponding area or the data storage area secured on the auxiliary storage device;
If the cause of the failure of the operating system is not related to the control of the buffer, write the data stored in the buffer to the corresponding area of the auxiliary storage device,
A cleanup processing method when an OS failure occurs, characterized in that when the cause of the failure is related to control of the buffer, data stored in the buffer is written to the data storage area.
JP1169559A 1989-06-30 1989-06-30 Settlement processing system for occurrence of os fault Pending JPH0335339A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1169559A JPH0335339A (en) 1989-06-30 1989-06-30 Settlement processing system for occurrence of os fault

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1169559A JPH0335339A (en) 1989-06-30 1989-06-30 Settlement processing system for occurrence of os fault

Publications (1)

Publication Number Publication Date
JPH0335339A true JPH0335339A (en) 1991-02-15

Family

ID=15888711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1169559A Pending JPH0335339A (en) 1989-06-30 1989-06-30 Settlement processing system for occurrence of os fault

Country Status (1)

Country Link
JP (1) JPH0335339A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999026138A1 (en) * 1997-11-14 1999-05-27 Hitachi, Ltd. Method of changing over a multiplex system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999026138A1 (en) * 1997-11-14 1999-05-27 Hitachi, Ltd. Method of changing over a multiplex system

Similar Documents

Publication Publication Date Title
EP0566966B1 (en) Method and system for incremental backup copying of data
US5241668A (en) Method and system for automated termination and resumption in a time zero backup copy process
JP2557172B2 (en) Method and system for secondary file status polling in a time zero backup copy process
US5379398A (en) Method and system for concurrent access during backup copying of data
EP0566967A2 (en) Method and system for time zero backup session security
KR100238925B1 (en) A recoverable disk control system with a non-volatile memory
US20070043975A1 (en) Methods and apparatus for recovering from fatal errors in a system
JPH0359734A (en) Method of data set recovery
JPH0823841B2 (en) Data processing system and method
CA2071346A1 (en) Method and means for time zero backup copy of data
US20030037207A1 (en) Disk array apparatus
JPH0335339A (en) Settlement processing system for occurrence of os fault
JPH06149485A (en) Data completion guarantee processing method
JP2713218B2 (en) Checkpoint / restart processing method
JP3022011B2 (en) Data backup system
JPH06131123A (en) External storage device for computer
JP3463696B2 (en) Online garbage collection processing method
JP2001084179A (en) Automatic backup system and recording medium recording automatic backup program
CN118012669A (en) File metadata recovery system and method for distributed file system
JP2776608B2 (en) Reformat processing method of auxiliary storage device
JP3009168B2 (en) Data processing device
JPS585856A (en) Error recovery system for logical device
JPH0362244A (en) Data assurance control system for external semiconductor memory device
JPH08106419A (en) Backup device
JPS6037503B2 (en) File storage device content update method