JPH09212425A - Write cache backup system - Google Patents

Write cache backup system

Info

Publication number
JPH09212425A
JPH09212425A JP8040615A JP4061596A JPH09212425A JP H09212425 A JPH09212425 A JP H09212425A JP 8040615 A JP8040615 A JP 8040615A JP 4061596 A JP4061596 A JP 4061596A JP H09212425 A JPH09212425 A JP H09212425A
Authority
JP
Japan
Prior art keywords
disk
cache memory
backup
data
host
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
JP8040615A
Other languages
Japanese (ja)
Inventor
Riichi Matsunaga
永 利 一 松
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 Engineering Ltd
Original Assignee
NEC Engineering 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 Engineering Ltd filed Critical NEC Engineering Ltd
Priority to JP8040615A priority Critical patent/JPH09212425A/en
Publication of JPH09212425A publication Critical patent/JPH09212425A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To prevent data in a cache memory from being lost in case of a power source fault by writing the data in the cache memory to a backup disk and transferring data which can not be backed up from a nonvolatile memory to a host system as information. SOLUTION: When a host system 1 makes a write instruction, data are written in the cache memory 32 of a disk controller 3 through a host-side control part 31. The disk controller 3 instructs writing to the cache memory 62 to a device side control part 63 of the disk controller 6 through a drive-side bus and the data in the cache 32 are copied to the cache memory 62. If the contents of the cache memory 62 are altered, the device side control part 63 backs up the contents of the cache memory 62 on the backup disk 8 through a backup bus 7 and stores backup information on the cache memory 62 in the nonvolatile memory 64.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ライトバック方式
のライトキャシュを備えるディスク制御装置におけるキ
ャシュメモリデータをバックアップするライトキャシュ
バックアップ方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a write cache backup system for backing up cache memory data in a disk controller provided with a write back type write cache.

【0002】[0002]

【従来の技術】図2は従来のライトバック方式のライト
キャシュ機能を持ちディスク制御装置をホストシステム
に接続した場合のシステム構成図である。ホストシステ
ム1と、ホストシステム1とホストデータのディスクド
ライブに対する読み込みまたは書き込みの制御を行うデ
ィスク制御装置3とはホスト側バス2で接続されてい
る。ディスク制御装置3は、ホストシステムとのデータ
転送制御を行うホスト側制御部31と、キャッシュメモ
リ32と、デバイス側のデータ転送制御を行うデバイス
側制御部33を有する。ディスクドライブ51〜53
は、デバイス側バス4を介してディスク制御装置3と接
続され、ホストシステム1のデータが記録される。ディ
スクドライブ51〜53は、ディスク制御装置3にデバ
イス側バス4によってディジーチェーン接続される。
2. Description of the Related Art FIG. 2 is a system configuration diagram when a disk controller having a conventional write-back type write cache function is connected to a host system. The host system 1 and the host system 1 and the disk control device 3 that controls the reading or writing of host data to the disk drive are connected by a host-side bus 2. The disk control device 3 includes a host-side control unit 31 that controls data transfer with the host system, a cache memory 32, and a device-side control unit 33 that controls data transfer on the device side. Disk drives 51-53
Is connected to the disk controller 3 via the device-side bus 4, and the data of the host system 1 is recorded. The disk drives 51 to 53 are daisy chain connected to the disk control device 3 by the device-side bus 4.

【0003】ホストシステム1からのデータの書き込み
がディスク制御装置3に指示されると、ホスト側制御部
31は、ホスト側バス2を介して転送されたデータがキ
ャシュメモリ32に格納され次第、ホスト側バス2を介
して書き込み終了のステータスをホストシステム1に返
送し、その時点でのディスクドライブ51〜53への書
き込みを行わないようにすることによりアクセス時間を
向上させている。キャシュメモリ32に書き込まれたデ
ータは、キャシュメモリ32がオーバーフローした場合
や、ホストシステム1からの指示によりディスクドライ
ブ51〜53に書き込まれる。
When the disk controller 3 is instructed to write data from the host system 1, the host-side control unit 31 causes the host-side control unit 31 to store data transferred via the host-side bus 2 in the cache memory 32 as soon as the data is stored in the cache memory 32. The access time is improved by returning the write completion status to the host system 1 via the side bus 2 and not writing to the disk drives 51-53 at that time. The data written in the cache memory 32 is written in the disk drives 51 to 53 when the cache memory 32 overflows or in response to an instruction from the host system 1.

【0004】[0004]

【発明が解決しようとする課題】上述のディスク装置に
おいて、データの書き込み動作を行った際に、キャシュ
メモリにデータの書き込みが終了し、実際にデータはデ
ィスクドライブには書き込まれていないため、電源の障
害等が発生した場合には未だディスクドライブに書き込
まれていないデータが失われるという問題があり、信頼
性を著しく低下させていた。また、電源障害が発生した
場合にはホストシステムは書き込みを行ったすべてのデ
ータが失われたとして、再度書き込まれなかったデータ
を転送する必要があり、修復するのに時間が必要であっ
た。
In the above-mentioned disk device, when the data writing operation is performed, the data writing is completed in the cache memory and the data is not actually written in the disk drive. In the case of the failure of 1), there is a problem that the data which has not been written in the disk drive is lost, and the reliability is remarkably lowered. Further, when a power failure occurs, the host system must transfer all the data that has been written, and it is necessary to transfer the data that has not been written, and it takes time to restore the data.

【0005】[0005]

【課題を解決するための手段】上記の課題を解決するた
め、本発明によるライトキャシュバックアップ方式ライ
トキャシュバックアップ方式は、複数のディスク制御装
置と各ディスク制御装置をホストシステムとディジーチ
ェーン接続するためのデバイス側バスと複数とディスク
制御装置のうち少なくとも1台のディスク制御装置でキ
ャシュメモリのバックアップ情報を記録するための不揮
発性メモリと、キャシュメモリの内容をバックアップす
るためのディスクドライブと、バックアップ用ディスク
ドライブとディスク制御装置を接続するためバックアッ
プ用バスを有する。
In order to solve the above-mentioned problems, the write cache backup system according to the present invention uses a write cache backup system for daisy chain connection of a plurality of disk controllers and each disk controller with a host system. A non-volatile memory for recording backup information of the cache memory in at least one disk controller among the device side bus, a plurality of disk controllers, a disk drive for backing up the contents of the cache memory, and a backup disk It has a backup bus for connecting the drive and the disk controller.

【0006】より具体的には、本発明のライトキャシュ
バックアップ方式は、ライトバック方式のライトキャシ
ュ機能を持つ複数のディスク制御装置と各ディスク制御
装置をホストシステムとディジーチェーン接続するため
のホスト側バスと、各ディスク制御装置とディスクドラ
イブをディジーチェーン接続するためのデバイス側バス
を備え、接続されるディスク制御装置においてキャシュ
メモリのバックアップ情報を記憶する不揮発性性メモリ
とキャシュメモリの内容をバックアップするためのディ
スクドライブと、バックアップするためのディスクドラ
イブとディスク制御装置を接続するためのバックアップ
用バスを備えるディスク制御装置を少なくとも1台有
し、ホストシステムからの書き込み動作が行われキャシ
ュメモリに格納されたデータを他のディスク制御装置の
キャシュメモリにデバイス側バスを介して転送して複写
を行い、複写されたデータをバックアップ用バスを介し
てバックアップ用ディスクドライブに書き込み、バック
アップできなかった情報を不揮発性メモリからホストシ
ステムへ情報として転送する。
More specifically, the write cache backup system of the present invention is a host-side bus for daisy-chaining a plurality of disk controllers having a write-back write cache function and each disk controller with a host system. And a device-side bus for daisy-chaining each disk controller and disk drive, and for backing up the contents of the non-volatile memory and the cache memory that store the backup information of the cache memory in the connected disk controller. At least one disk controller having a disk drive for backup and a backup bus for connecting the disk drive for backup and the disk controller, and a write operation from the host system is performed and stored in the cache memory. Data is transferred to the cache memory of another disk controller via the device-side bus for copying, the copied data is written to the backup disk drive via the backup bus, and information that could not be backed up is non-volatile. Transfer from memory to host system as information.

【0007】[0007]

【発明の実施の形態】次に、図面を参照しながら本発明
の実施形態例を説明する。図1は本発明の一実施形態例
によるライトキャシュバックアップ方式のシステム構成
図である。ディスク制御装置3及び6は、ホストシステ
ム1からのホストデータのディスクドライブに対する読
み込みまたは書き込みの制御を行う。ディスク制御装置
3及びディスク制御装置6は、ホストシステム1にホス
ト側バス2によってディジーチェーン接続されている。
ディスク制御装置3は、キャシュメモリ32を有し、デ
ィスク制御装置6はキャシュメモリ62を有する。ホス
ト側制御部31は、ディスク制御装置3でホストシステ
ムとのデータ転送制御を行う。ホスト側制御部61は、
ディスク制御装置6でホストシステムとのデータ転送制
御を行う。ディスクドライブ51〜53は、ディスク制
御装置3及びディスク制御装置6と接続され、ホストシ
ステム1のデータが記録される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a system configuration diagram of a write cache backup system according to an embodiment of the present invention. The disk control devices 3 and 6 control reading or writing of host data from the host system 1 to the disk drive. The disk control device 3 and the disk control device 6 are daisy chain connected to the host system 1 by the host side bus 2.
The disk controller 3 has a cache memory 32, and the disk controller 6 has a cache memory 62. The host-side control unit 31 controls data transfer with the host system by the disk control device 3. The host-side control unit 61
The disk controller 6 controls data transfer with the host system. The disk drives 51 to 53 are connected to the disk control device 3 and the disk control device 6 and record data of the host system 1.

【0008】デバイス側バス4は、ディスクドライブ5
1〜53をディスク制御装置3及びディスク制御装置6
と接続し、データ転送を行う。ディスクドライブ51〜
53は、ディスク制御装置3及びディスク制御装置6に
デバイス側バス4を介してディジーチェーン接続されて
いる。
The device side bus 4 is a disk drive 5
1 to 53 are the disk control device 3 and the disk control device 6
Connect with and transfer data. Disk drive 51-
53 is daisy chain connected to the disk control device 3 and the disk control device 6 via the device side bus 4.

【0009】デバイス側制御部33は、ディスク制御装
置3でディスクドライブ51〜53とのデータ転送制御
を行う。バックアップ用ディスク8は、キャシュメモリ
62の内容をバックアップする。バックアップ用バス7
は、ディスク制御装置6とバックアップ用ディスク8を
接続し、データを転送するためのバスである。デバイス
側制御部63は、ディスク制御装置6でディスクドライ
ブ51〜53とのデータ転送制御を行い、デバイス側バ
ス4を介したデバイス側制御部33からの指示によりキ
ャシュメモリ62への書き込み及び読み出しを制御し、
キャシュメモリ62の内容をバックアップ用ディスク8
への書き込み動作制御を行う。不揮発性メモリ64はキ
ャシュメモリのバックアップ情報を記録する。
The device-side control section 33 controls data transfer with the disk drives 51 to 53 by the disk control device 3. The backup disk 8 backs up the contents of the cache memory 62. Backup bus 7
Is a bus for connecting the disk controller 6 and the backup disk 8 to transfer data. The device-side control unit 63 controls data transfer with the disk drives 51 to 53 by the disk control device 6, and writes and reads to and from the cache memory 62 according to an instruction from the device-side control unit 33 via the device-side bus 4. Control and
The contents of the cache memory 62 are backed up by the disk 8
Write operation is controlled. The non-volatile memory 64 records backup information of the cache memory.

【0010】ホストシステム1から書き込み指示があっ
た場合、データはホスト側バス2を介してディスク制御
装置3に含まれるキャシュメモリ32にホスト側制御部
31を経由して書き込まれる。ホスト側制御部31は、
ホストシステム1に対してホスト側バス2を介して終了
のステータスを返送する。
When there is a write instruction from the host system 1, data is written to the cache memory 32 included in the disk controller 3 via the host side bus 2 via the host side controller 31. The host-side control unit 31
The end status is returned to the host system 1 via the host side bus 2.

【0011】ディスク制御装置3は、磁気ディスクドラ
イブ51〜53が読み出し動作などの入出力動作がない
時間を利用して、ディジーチェーン接続されたドライブ
側バス4を介してディスク制御装置6のデバイス側制御
部63に対し、キャシュメモリ62への書き込みを指示
し、キャシュメモリ32のデータをキャシュメモリ62
へ複写する。
The disk control device 3 utilizes the time when the magnetic disk drives 51 to 53 do not perform input / output operations such as read operation, and the device side of the disk control device 6 via the drive side bus 4 connected in a daisy chain. The control unit 63 is instructed to write to the cache memory 62 and the data in the cache memory 32 is written.
Copy to.

【0012】デバイス側制御部63は、キャシュメモリ
62の内容に変更が生じた場合、バックアップ用バス7
を介してバックアップ用ディスク8にキャシュメモリ6
2の内容をバックアップする。キャシュメモリ62のデ
ータがバックアップされたか否かのバックアップ情報は
不揮発性メモリ64に記憶される。このバックアップを
行っている最中でも、ディスク制御装置3を使用して磁
気ディスク51〜53への入出力動作は影響を受けない
ため、通常の入出力動作をディスク制御装置3は行うこ
とができる。
When the contents of the cache memory 62 are changed, the device-side control section 63 uses the backup bus 7
The cache memory 6 to the backup disk 8 via
Back up the contents of 2. Backup information indicating whether the data in the cache memory 62 has been backed up is stored in the non-volatile memory 64. Even during this backup, since the input / output operation to / from the magnetic disks 51 to 53 using the disk controller 3 is not affected, the disk controller 3 can perform the normal input / output operation.

【0013】キャシュメモリ32のデータをキャシュメ
モリ62に複写するためディスク制御装置3で電源障害
が発生しても、キャシュメモリ32のデータはキャシュ
メモリ62に残り、データは失われない。キャシュメモ
リ62のデータをバックアップ用ディスク8に全てバッ
クアップする前にディスク制御装置3及びディスク制御
装置6に電源障害が発生した場合、ディスク制御装置6
は自身が復旧した際にホストシステム1に対し、不揮発
性メモリ64に記憶されたバックアップ情報をホストに
転送する。
Since the data in the cache memory 32 is copied to the cache memory 62, even if a power failure occurs in the disk controller 3, the data in the cache memory 32 remains in the cache memory 62 and is not lost. When a power failure occurs in the disk controller 3 and the disk controller 6 before all the data in the cache memory 62 is backed up to the backup disk 8, the disk controller 6
When the self is restored, the host system 1 transfers the backup information stored in the non-volatile memory 64 to the host.

【0014】ホストシステム1は、バックアップ情報を
参照することにより、ディスクドライブ51〜53また
はバックアップ用ディスクドライブ8にも記録されなか
ったデータの情報を確認することができ、データを再度
書き込む際にも記録されたかったデータのみを書き込め
ば修復することが可能なため、修復時間を短縮すること
ができる。また、バックアップ用ディスクに半導体ディ
スク装置を使用すると、バックアップの時間を短縮する
ことができ、信頼性を更に向上させることができる。
By referring to the backup information, the host system 1 can confirm the information of the data that has not been recorded in the disk drives 51 to 53 or the backup disk drive 8, and also when writing the data again. Since it is possible to repair by writing only the data that was desired to be recorded, the repair time can be shortened. Further, when the semiconductor disk device is used for the backup disk, the backup time can be shortened and the reliability can be further improved.

【0015】[0015]

【発明の効果】以上説明したように、本発明のライトキ
ャシュのバックアップ方式によれば、電源障害が発生し
た場合においてもキャシュメモリのデータが失われる確
立が大幅に低減され、信頼性が改善される。また、デー
タが失われた場合においてもバックアップ情報を参照し
て修復時間の短縮を図ることができる。
As described above, according to the write cache backup method of the present invention, the probability that data in the cache memory is lost is greatly reduced even when a power failure occurs, and reliability is improved. It Further, even when the data is lost, the restoration time can be shortened by referring to the backup information.

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

【図1】本発明の一実施形態によるライトキャシュのバ
ックアップ方式のシステム構成ブロック図である。
FIG. 1 is a system configuration block diagram of a write cache backup system according to an embodiment of the present invention.

【図2】ライトバック方式のライトキャシュ機能を持つ
ディスク制御装置をホストシステムに接続した従来のシ
ステム構成ブロック図である。
FIG. 2 is a block diagram of a conventional system configuration in which a disk controller having a write-back write cache function is connected to a host system.

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

1 ホストシステム 2 ホスト側バス 3 ディスク制御装置 4 デバイス側バス 6 ディスク制御装置 7 バックアップ用バス 8 バックアップ用ディスクドライブ 31 ホスト側制御部 32 キャシュメモリ 33 デバイス側制御部 51 ディスクドライブ 52 ディスクドライブ 53 ディスクドライブ 61 ホスト側制御部 62 キャシュメモリ 63 デバイス側制御部 64 不揮発性メモリ 1 host system 2 host side bus 3 disk controller 4 device side bus 6 disk controller 7 backup bus 8 backup disk drive 31 host side controller 32 cache memory 33 device side controller 51 disk drive 52 disk drive 53 disk drive 61 Host-side control unit 62 Cash memory 63 Device-side control unit 64 Non-volatile memory

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 12/16 310 7623−5B G06F 12/16 310M ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06F 12/16 310 7623-5B G06F 12/16 310M

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】ライトバック方式のライトキャシュ機能を
持つ複数のディスク制御装置と各ディスク制御装置をホ
ストシステムとディジーチェーン接続するためのホスト
側バスと、各ディスク制御装置とディスクドライブをデ
ィジーチェーン接続するためのデバイス側バスを備え、
接続されるディスク制御装置においてキャシュメモリの
バックアップ情報を記憶する不揮発性性メモリとキャシ
ュメモリの内容をバックアップするためのディスクドラ
イブと、バックアップするためのディスクドライブとデ
ィスク制御装置を接続するためのバックアップ用バスを
備えるディスク制御装置を少なくとも1台有し、ホスト
システムからの書き込み動作が行われ前記キャシュメモ
リに格納されたデータを他のディスク制御装置のキャシ
ュメモリにデバイス側バスを介して転送して複写を行
い、複写されたデータを前記バックアップ用バスを介し
てバックアップ用ディスクドライブに書き込み、バック
アップできなかった情報を前記不揮発性メモリからホス
トシステムへ情報として転送することを特徴とするライ
トキャシュバックアップ方式。
1. A plurality of disk controllers having a write-back write cache function, a host-side bus for connecting each disk controller to a host system in a daisy chain, and each disk controller and a disk drive connected in a daisy chain. Device side bus for
A non-volatile memory for storing backup information of the cache memory in the connected disk control device and a disk drive for backing up the contents of the cache memory, and a backup for connecting the disk drive for backup and the disk control device. At least one disk control device having a bus is provided, and the data stored in the cache memory after the write operation from the host system is performed is transferred to the cache memory of another disk control device via the device side bus and copied. And write the copied data to the backup disk drive via the backup bus, and transfer the information that could not be backed up from the nonvolatile memory to the host system as information. Up method.
JP8040615A 1996-02-02 1996-02-02 Write cache backup system Pending JPH09212425A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8040615A JPH09212425A (en) 1996-02-02 1996-02-02 Write cache backup system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8040615A JPH09212425A (en) 1996-02-02 1996-02-02 Write cache backup system

Publications (1)

Publication Number Publication Date
JPH09212425A true JPH09212425A (en) 1997-08-15

Family

ID=12585441

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8040615A Pending JPH09212425A (en) 1996-02-02 1996-02-02 Write cache backup system

Country Status (1)

Country Link
JP (1) JPH09212425A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004164666A (en) * 2004-01-13 2004-06-10 Hitachi Ltd Memory controller
DE10341692A1 (en) * 2003-09-08 2005-04-07 Hewlett-Packard Company, Palo Alto Backup system
US7191303B2 (en) 1997-09-12 2007-03-13 Hitachi, Ltd. Storage controller
JP2007115287A (en) * 2007-01-24 2007-05-10 Hitachi Ltd Storage controller

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7191303B2 (en) 1997-09-12 2007-03-13 Hitachi, Ltd. Storage controller
US7216208B2 (en) 1997-09-12 2007-05-08 Hitachi, Ltd. Storage controller
US7657707B2 (en) 1997-09-12 2010-02-02 Hitachi, Ltd. Storage controller
DE10341692A1 (en) * 2003-09-08 2005-04-07 Hewlett-Packard Company, Palo Alto Backup system
DE10341692B4 (en) * 2003-09-08 2007-01-11 Hewlett-Packard Development Co., L.P., Houston security system
JP2004164666A (en) * 2004-01-13 2004-06-10 Hitachi Ltd Memory controller
JP2007115287A (en) * 2007-01-24 2007-05-10 Hitachi Ltd Storage controller

Similar Documents

Publication Publication Date Title
JP3316500B2 (en) Increase the number of drives in a RAID set while maintaining the integrity of the moved data
CA2223941C (en) Reserved cylinder for scsi device write-back cache
JP2679715B2 (en) Data transfer method
US6477628B1 (en) Backup copy achieving improved efficiency by waiting until rewind/unload command for bulk data copy
US6671751B1 (en) Raid device for establishing a direct passage between a host computer and a hard disk by a data hub selectively passing only data to be accessed
JPS627572B2 (en)
JPH09212425A (en) Write cache backup system
JP3845239B2 (en) Disk array device and failure recovery method in disk array device
JP2000122813A (en) Disk array device
JPH04111113A (en) Hard disk emulator
JPH09212424A (en) Disk cache and disk caching method
JP2000148404A (en) Computer system
JPH0793101A (en) Data backup device
JP3457602B2 (en) Disk unit
JPH06242888A (en) Disk array device, computer system, and data storage device
JP3597550B2 (en) Disk array device
JP2954078B2 (en) Data maintenance method and apparatus for disk array system
JPH0935417A (en) Method and device for backing up temporary storage information for information memory
JPS6289273A (en) Magnetic disk device
JP2000242568A (en) Device and method for improving writing performance of data store peripheral device for computer
JP3226047B2 (en) I / O device
JP2005063047A (en) Method and device for rewriting fat file system
JP2910750B1 (en) Disk array system and recording medium storing program for controlling the system by computer
JPH0588988A (en) Disk array device and method for restoring data
JPS63140357A (en) Disk input and output control system