JPH0619767A - Magnetic disk device with file restoration function - Google Patents
Magnetic disk device with file restoration functionInfo
- Publication number
- JPH0619767A JPH0619767A JP4177870A JP17787092A JPH0619767A JP H0619767 A JPH0619767 A JP H0619767A JP 4177870 A JP4177870 A JP 4177870A JP 17787092 A JP17787092 A JP 17787092A JP H0619767 A JPH0619767 A JP H0619767A
- Authority
- JP
- Japan
- Prior art keywords
- output
- data
- storage means
- power
- magnetic disk
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明はファイル復旧機能付き磁
気ディスク装置に関し、特に磁気ディスク装置へデータ
出力中の電源により破壊されるディスク上のファイル復
旧が可能である復旧機能付き磁気ディスク装置に関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic disk device with a file recovery function, and more particularly to a magnetic disk device with a recovery function capable of recovering a file on a disk which is destroyed by a power supply while outputting data to the magnetic disk device.
【0002】[0002]
【従来の技術】従来、この種の磁気ディスク制御装置
は、図3に示すように、上位装置9から出力位置と出力
データ長とを通知される出力制御手段2aと、上位装置
9から出力データが格納される出力データ格納手段3a
とから構成される。2. Description of the Related Art Conventionally, as shown in FIG. 3, a magnetic disk control device of this type has an output control means 2a which is notified of an output position and an output data length from a host device 9 and output data from the host device 9. Is stored in the output data storage means 3a
Composed of and.
【0003】上位装置9が磁気ディスク7のファイル8
へ、データの出力を実行する為、出力データを出力デー
タ通知手段へ通知し、更に出力制御手段2aには出力要
求として前記の出力データの出力位置とデータ長を通知
する。The host device 9 is a file 8 on the magnetic disk 7.
In order to output the data, the output data is notified to the output data notifying means, and the output control means 2a is notified of the output position and the data length of the output data as an output request.
【0004】磁気ディスク制御装置1aの出力制御手段
2aを用いて、上位装置9が指定した出力位置へ、出力
データ格納手段3aに格納されているデータを指定をデ
ータ長だけ、出力対象であるディスク7のファイル8へ
出力を実行する。The output control means 2a of the magnetic disk control device 1a is used to specify the data stored in the output data storage means 3a to the output position specified by the host device 9 by the specified data length and to be the output target disk. Output to file 8 of 7.
【0005】[0005]
【発明が解決しようとする課題】上述した従来の磁気デ
ィスク制御装置では、ファイル8へのデータ出力中に停
電もしくは瞬断が生じた場合、ファイル8が破壊される
恐れが有る。In the above-mentioned conventional magnetic disk control device, if a power failure or a momentary interruption occurs during data output to the file 8, the file 8 may be destroyed.
【0006】上位装置9から通知される出力位置と出力
データ長、及び出力データ格納手段3aのデータも電源
断によって、保証されないので書き込み処理の再実行は
不可能となり、復旧が困難であるという問題点があっ
た。The output position and output data length notified from the host device 9 and the data in the output data storage means 3a are not guaranteed due to the power failure, so that the write process cannot be re-executed and the recovery is difficult. There was a point.
【0007】[0007]
【課題を解決するための手段】本発明のファイル復旧機
能付き磁気ディスク制御装置には、磁気ディスクへデー
タを出力する出力制御手段と、上位装置から出力データ
を格納され電源断の時もそのデータを保持出来る出力デ
ー格納手段と、前述の出力制御手段が上位装置から通知
された出力位置と出力データ長とを記録し、電源断の時
もその情報を保持出来る出力制御情報記憶手段と、前記
の出力制御手段が出力処理の状態を記録し、電源断の時
もその記録を保持出来る出力状態記録手段と、再立ち上
げ時に出力状態記憶手段の出力状態を調べ、出力中の電
源断を認識した場合は出力制御手段に対して、再出力の
要求を行うファイル復旧手段を有している。A magnetic disk controller with a file recovery function according to the present invention includes an output control means for outputting data to a magnetic disk and output data stored from a host device even when the power is cut off. An output data storage unit capable of holding the output data, an output control information storage unit capable of storing the output position and the output data length notified by the above-mentioned output control unit from the host device, and storing the information even when the power is cut off, The output control means records the output processing state, and the output state recording means that can hold the record even when the power is cut off, and the output state of the output state storage means at the time of restarting, and recognizes the power cut during output. In this case, the output control means has a file recovery means for requesting re-output.
【0008】[0008]
【実施例】以下に図面を参照して本発明の実施例を詳細
かつ具体的に説明する。Embodiments of the present invention will now be described in detail and specifically with reference to the drawings.
【0009】図1は本発明の一実施例を示すブロック図
である。FIG. 1 is a block diagram showing an embodiment of the present invention.
【0010】ファイル復旧機能付き磁気ディスク制御装
置1は、磁気ディスク7へデータを出力する出力制御手
段2と、上位装置9から出力データが格納され、電源断
の時もそのデータを保持出来る出力データ格納手段3
と、出力制御手段2が上位装置9から通知された出力位
置と出力データ長を記録し,電源断の時もその情報を保
持出来る出力制御情報記憶手段4と,出力制御手段2が
出力処理の状態を記録し,電源断の時もその記録を保持
出来る出力状態記憶手段5と、再立ち上げ時に出力状態
記憶手段5を調べ,出力中の電源断を認識した場合は出
力制御手段2に対して、再出力の要求を行うファイル復
旧手段6から構成されている。The magnetic disk control device 1 with a file recovery function stores output data from the output control means 2 for outputting data to the magnetic disk 7 and the host device 9 and can hold the data even when the power is cut off. Storage means 3
Then, the output control means 2 records the output position and the output data length notified from the higher-level device 9, and the output control information storage means 4 capable of holding the information even when the power supply is cut off, and the output control means 2 of the output processing. The output state storage means 5 which records the state and can retain the record even when the power is cut off, and the output state storage means 5 at the time of restarting are checked, and when the power cutoff during output is recognized, the output control means 2 is notified. The file recovery means 6 makes a re-output request.
【0011】図2は本発明の一実施例を示すフローチャ
ートである。次に図2を用いて本発明の動作を説明す
る。FIG. 2 is a flow chart showing an embodiment of the present invention. Next, the operation of the present invention will be described with reference to FIG.
【0012】図2の分図(A)によれば、上位装置9が
磁気ディスクのファイル8へ、データの出力を実行する
為、出力データを出力データ格納手段3へ通知し(ステ
ップ101)、更に上位装置9は、出力制御手段2に出
力要求として前記の出力データの出力位置と出力データ
長とを通知(ステップ102)する。According to the diagram (A) of FIG. 2, since the host device 9 outputs the data to the file 8 of the magnetic disk, the output data is notified to the output data storage means 3 (step 101), Further, the higher-level device 9 notifies the output control means 2 of the output position and the output data length of the output data as an output request (step 102).
【0013】要求を受けた出力制御手段2は、出力デー
タの出力位置と出力データ長という情報を出力制御情報
記憶手段4へ記憶させ(ステップ103)、出力状態記
憶手段5に「データ出力中」という状態を通知して(ス
テップ104)、上位装置9が指定した出力位置へ、出
力データ格納手段3に格納されているデータ指定のデー
タ長だけ、出力対称であるディスク7のファイル8へ出
力を実行する(ステップ105)。Upon receiving the request, the output control means 2 stores the information of the output position of the output data and the output data length in the output control information storage means 4 (step 103), and "outputting data" in the output state storage means 5. Is notified (step 104), and the data is stored in the output data storage means 3 at the output position designated by the host device 9 by the data length designated by the data, and is output to the file 8 of the disk 7 having the output symmetry. Execute (step 105).
【0014】出力が終了したら出力制御手段2は、出力
状態記憶手段に「データ出力済」という状態を通知して
(ステップ106)、制御装置1は出力処理を終了す
る。When the output is finished, the output control means 2 notifies the output state storage means of the state of "data output completed" (step 106), and the control device 1 finishes the output processing.
【0015】次に、図2の分図(B)によれば、ファイ
ル復旧手段6では制御装置1の再立ち上げ時に、出力状
態記憶手段5の状態を調べ「データ出力中」となってい
る時(ステップ201)出力制御手段2にデータ再出力
の要求を行う(ステップ202)。Next, according to the diagram (B) of FIG. 2, the file restoration means 6 checks the state of the output state storage means 5 when the control device 1 is restarted, and is in the "data output" state. At the time (step 201), the output control means 2 is requested to output the data again (step 202).
【0016】その要求を受けた出力制御手段2は、出力
制御情報記憶手段4から、出力位置と出力データ長とを
獲得し(ステップ203)、出力データ格納手段3に記
憶されているデータを用いて、ディスク7のファイル8
へ出力処理を実行する(ステップ204)。Upon receiving the request, the output control means 2 acquires the output position and the output data length from the output control information storage means 4 (step 203) and uses the data stored in the output data storage means 3. File 8 on disk 7
Output processing is executed to (step 204).
【0017】上述の処理と同じく、出力処理終了時に
は、出力手段2出力状態記憶手段5に「データ出力済」
という状態を通知して(ステップ205)、制御装置1
の立ち上げを終了する。Similar to the above-mentioned processing, at the end of the output processing, "data output completed" is output to the output means 2 output state storage means 5.
Is notified (step 205), and the control device 1
Finish the startup of.
【0018】データの書き込み処理中(ステップ105
及び204)以外の電源断は、ファイルの内容は以前の
ままか、正常に書き込まれた後なのでファイル復旧の必
要は無い。During data writing process (step 105)
And 204), there is no need to restore the file because the contents of the file remain the same as before or after the normal writing.
【0019】[0019]
【発明の効果】以上説明したように本発明は、上位装置
から出力データを格納される、電源断を時もそのデータ
を保持できる出力データ格納手段を備えるようにしたの
で、ファイルへの出力中に電源断が生じても再立ち上げ
時に、破壊された部分を復旧出来るという効果を有す
る。As described above, the present invention is provided with the output data storage means for storing the output data from the host device and capable of retaining the data even when the power is cut off. Even if the power is cut off, the damaged part can be restored when restarting.
【図1】本発明の一実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
【図2】本発明の一実施例における動作を説明するフロ
ーチャート。FIG. 2 is a flowchart illustrating the operation of the embodiment of the present invention.
【図3】従来の技術による磁気ディスク制御装置の構成
の一例。FIG. 3 shows an example of the configuration of a conventional magnetic disk control device.
1 ファイル復旧機能付き磁気ディスク制御装置 1a 磁気ディスク制御装置。 2,2a 出力制御手段 3,3a 出力データ格納手段 4 出力制御情報記憶手段 5 出力状態記憶手段 6 ファイル復旧手段 7 磁気ディスク 8 ファイル 9 上位装置 1 Magnetic disk controller with file recovery function 1a Magnetic disk controller. 2, 2a Output control means 3, 3a Output data storage means 4 Output control information storage means 5 Output state storage means 6 File recovery means 7 Magnetic disk 8 File 9 Upper device
Claims (1)
手段と、上位装置から出力データを格納され,電源断の
時もそのデータを保持出来る出力データ格納手段と、前
記出力制御手段が上位装置から通知された出力位置と出
力データ長とを記録し電源断の時もその情報を保持出来
る出力制御情報記憶手段と、前記出力手段が出力処理の
状態記録し,電源断の時もその記録を保持出来る出力状
態記憶手段と、再立ち上げ時に出力状態記憶手段の出力
状態を調べ,出力中の電源断を認識した場合は前記出力
制御手段に対して再出力の要求を行うファイル復旧手段
とを含む事を特徴とするファイル復旧機能付き磁気ディ
スク制御装置。1. An output control means for outputting magnetic disk data, an output data storage means for storing output data from a host device and holding the data even when the power is cut off, and the output control means for notifying from the host device. The output control information storage means for recording the output position and the output data length, and capable of holding the information even when the power is cut off, and the output processing information recording means for recording the status of the output processing, and the record can be held even when the power is cut off. Output state storage means and file restoration means for checking the output state of the output state storage means at the time of restarting and requesting re-output to the output control means when the power-off during output is recognized Magnetic disk controller with file recovery function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4177870A JPH0619767A (en) | 1992-07-06 | 1992-07-06 | Magnetic disk device with file restoration function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP4177870A JPH0619767A (en) | 1992-07-06 | 1992-07-06 | Magnetic disk device with file restoration function |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0619767A true JPH0619767A (en) | 1994-01-28 |
Family
ID=16038505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP4177870A Withdrawn JPH0619767A (en) | 1992-07-06 | 1992-07-06 | Magnetic disk device with file restoration function |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0619767A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0997900A2 (en) * | 1998-10-02 | 2000-05-03 | Matsushita Electric Industrial Co., Ltd. | Method and apparatus for recording and reproducing information on and from disk |
-
1992
- 1992-07-06 JP JP4177870A patent/JPH0619767A/en not_active Withdrawn
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0997900A2 (en) * | 1998-10-02 | 2000-05-03 | Matsushita Electric Industrial Co., Ltd. | Method and apparatus for recording and reproducing information on and from disk |
EP0997900A3 (en) * | 1998-10-02 | 2001-11-07 | Matsushita Electric Industrial Co., Ltd. | Method and apparatus for recording and reproducing information on and from disk |
US6553532B1 (en) * | 1998-10-02 | 2003-04-22 | Matsushita Electric Industrial Co., Ltd. | Method and apparatus for recording and reproducing information on and from disk |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5524203A (en) | Disk cache data maintenance system | |
JP3277452B2 (en) | Memory backup device, memory backup method, and audio / video data recording / reproducing device | |
JPH0619767A (en) | Magnetic disk device with file restoration function | |
JPH0744440A (en) | Data save device | |
JP2000137584A (en) | Controller for external storage device, method for substituting defective block and storage medium storing defective block substitution control program | |
JPH0793101A (en) | Data backup device | |
JPS63280357A (en) | Data save/restore system | |
JPH0744982A (en) | Data recording/reproducing device and method for controlling data write | |
JP3090182B2 (en) | Alternative sector registration method | |
JP3022011B2 (en) | Data backup system | |
JPS58175065A (en) | Processing system of multiplex volume | |
JPH07334313A (en) | Copying method for magnetic disk device | |
JPH04209044A (en) | Data base control system | |
JP2001100931A (en) | Disk array device | |
JPH01296461A (en) | Magnetic disk device | |
JPS6254347A (en) | Processing system for fault of file | |
JPH10198523A (en) | Magnetic disk device | |
JPH04251317A (en) | System for protecting and reproducing status of task | |
JPH0415726A (en) | Write back-up system for disk controller | |
JPS60110054A (en) | Restarting method for discontinuation in copying mode | |
JP2003141815A (en) | Saved data omission preventing method | |
JP2001101051A (en) | Magnetic disk device | |
JPH07239757A (en) | One-point backup system for business data file at magnetic disk drive fault time | |
JPH04295942A (en) | Semiconductor file device | |
JPH0431129B2 (en) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19991005 |