JP2000305717A - Disk array device and method for quickening disk access - Google Patents

Disk array device and method for quickening disk access

Info

Publication number
JP2000305717A
JP2000305717A JP11115683A JP11568399A JP2000305717A JP 2000305717 A JP2000305717 A JP 2000305717A JP 11115683 A JP11115683 A JP 11115683A JP 11568399 A JP11568399 A JP 11568399A JP 2000305717 A JP2000305717 A JP 2000305717A
Authority
JP
Japan
Prior art keywords
data
disk
disk array
array device
hard 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.)
Pending
Application number
JP11115683A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kaneko
浩行 金子
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 JP11115683A priority Critical patent/JP2000305717A/en
Publication of JP2000305717A publication Critical patent/JP2000305717A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a disk array device capable of quickening a writing operation. SOLUTION: A write cache 10 is validly operated for one hard disk device 9 whose disk access frequency is the highest by taking the statistics of disk access to each of plural hard disk devices 9 of a disk array device 2. At the time of power failure, the write cache 10 is invalidated, and cache data are restored by an RAID function. Thus, the disk access can be quickened by validly operating the write cache.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明はライトキャッシュを
持つディスクアレイ装置に関する。
The present invention relates to a disk array device having a write cache.

【0002】[0002]

【従来の技術】従来、大記憶容量と共に、高信頼性に対
する要求の強い大規模な装置に適用する記憶装置として
冗長性を有するRAID(Redundant Arrays of Indepen
dentDisks)で構成されるディスクアレイ装置が開発さ
れている。ディスクアレイ装置では、アレイを構成する
複数のハードディスク装置のうち何らかの障害等により
仮に、その中の1台が停止してしまってもディスクアレ
イを構成する残りのハードディスク装置のデータとパリ
ティを使用して容易に元の状態に回復させることができ
る。図3に一般的なディスクアレイ装置の構成を示す。
ホスト計算機1はディスクアレイ装置へ命令を出す。デ
ィスクアレイ装置2はハードディスクを制御するディス
クアレイコントローラ3とデータが格納されているハー
ドディスク装置9からなる。ハードディスク装置9内に
はキャッシュとして作用するライトキャッシュ10とデ
ータを記憶するメディア11がある。ハードディスク装
置9へのディスクアクセスを高速化するためにはハード
ディスク装置9にあるライトキャッシュ10を有効に動
作させることが考えられる。しかし停電が発生したとき
は、ディスクアレイ装置2がホスト計算機1からシャッ
トダウンコマンドを受信しないでシステムの電源が遮断
されてしまう。そのため、ライトキャッシュ10を有効
にしているハードディスク装置9に対してライトキャッ
シュ10のデータをメディア11に書き込む命令が発行
されないので、ハードディスク装置9のキャッシュデー
タはメディア11に書き込まれずに消失してしまう。
2. Description of the Related Art A RAID (Redundant Arrays of Indepenpen) which has a large storage capacity and a redundancy as a storage device applied to a large-scale device having a high demand for high reliability.
dentDisks) has been developed. In a disk array device, even if one of the hard disk devices constituting the array is stopped due to some failure or the like, the data and parity of the remaining hard disk devices constituting the disk array are used. It can be easily restored to the original state. FIG. 3 shows a configuration of a general disk array device.
The host computer 1 issues a command to the disk array device. The disk array device 2 comprises a disk array controller 3 for controlling a hard disk and a hard disk device 9 for storing data. The hard disk drive 9 includes a write cache 10 acting as a cache and a medium 11 for storing data. In order to speed up disk access to the hard disk device 9, it is conceivable to effectively operate the write cache 10 in the hard disk device 9. However, when a power failure occurs, the power of the system is shut off without the disk array device 2 receiving the shutdown command from the host computer 1. For this reason, the command to write the data of the write cache 10 to the medium 11 is not issued to the hard disk device 9 that has enabled the write cache 10, so that the cache data of the hard disk device 9 is lost without being written to the medium 11.

【0003】データを保護するためバックアップ電源を
備えることも考えられるが、コストがかかり装置も大き
くなることから実用的ではない。現在ではハードディス
ク装置9のライトキャッシュ10は信頼性を要求される
システムではほとんど使われておらず、データは直接メ
ディア11に書き込まれている。
It is conceivable to provide a backup power supply to protect data, but it is not practical because of the cost and the size of the device. At present, the write cache 10 of the hard disk drive 9 is hardly used in a system requiring reliability, and data is written directly to the medium 11.

【0004】[0004]

【発明が解決しようとする課題】このように、従来のデ
ィスクアレイ装置2においてはハードディスク装置9の
ライトキャッシュ10はほとんど使われておらず、デー
タは直接メディア11に書き込まれているので、データ
の書き込みに時間がかかってしまい、ディスクアクセス
を高速化できない。本発明ではハードディスク装置9の
ライトキャッシュ10を有効にして動作させ、ディスク
アクセスを高速化できるディスクアレイ装置2を提供す
ることを目的としている。
As described above, in the conventional disk array device 2, the write cache 10 of the hard disk device 9 is hardly used, and the data is written directly to the medium 11. It takes a long time to write and cannot speed up disk access. It is an object of the present invention to provide a disk array device 2 which enables a write cache 10 of a hard disk device 9 to operate and speed up disk access.

【0005】[0005]

【課題を解決するための手段】本発明は以上の目的を達
成するために、データを記録するデータ用記憶媒体装置
を複数持つディスクアレイ装置において、複数の前記デ
ータ用記憶媒体装置のうち所定の一台に対して前記記憶
媒体装置の一時的にデータを記憶する記憶領域を有効に
する命令を発行する命令発行手段と、前記記憶領域を有
効にする命令を実行する命令実行手段と、前記記憶領域
のデータが消失しても複数の前記データ用記憶媒体装置
のデータから消失したデータを復元するデータ復元手段
と、を設けたディスクアレイ装置を提供する。
In order to achieve the above object, the present invention provides a disk array device having a plurality of data storage media devices for recording data, wherein a predetermined one of the plurality of data storage media devices is provided. An instruction issuing unit for issuing an instruction for enabling a storage area for temporarily storing data of the storage medium device for one unit; an instruction executing unit for executing an instruction for enabling the storage area; There is provided a disk array device provided with data restoration means for restoring lost data from a plurality of data storage medium devices even if data in an area is lost.

【0006】[0006]

【発明の実施の形態】以下本発明の一実施形態を示す。
図3に示すディスクアレイ装置において、1はホスト計
算機、2はディスクアレイ装置、3は各ハードディスク
装置を制御するディスクアレイコントローラ、4はホス
ト計算機とディスクアレイコントローラの間のデータ入
出力制御およびデータを一時的に記憶するホスト・イン
タフェース(HOST I/F)、5はディスクアレイコント
ローラ全体を制御するマイクロプロセッサ(MPU)、6
はディスクアレイコントローラのキャッシュとして作用
するメモリユニット(MU)、7はディスクアレイコント
ローラとハードディスク間のデータ入出力制御およびデ
ータを一時的に記憶するハードディスク用チャンネル
(CH)、8はディスクアレイコントローラ内のシステム
・バス、9はデータが格納されているハードディスク装
置、10はハードディスク装置のキャッシュとして作用
するライトキャッシュ、11はデータを記憶するメディ
アである。次に動作について説明する。ホスト計算機1
から入出力要求が発行されると、HOST I/F4がコマン
ド及びデータを受け取って、MU6に格納する。MPU5はC
H7に対して、ハードディスク装置9のデータ及びパリ
ティの入出力を行うように命令を発行し、CH7はそれを
実行し、ハードディスク装置9のデータ及びパリティの
入出力を行う。
DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below.
In the disk array device shown in FIG. 3, 1 is a host computer, 2 is a disk array device, 3 is a disk array controller that controls each hard disk device, and 4 is a data input / output control and data between the host computer and the disk array controller. A host interface (HOST I / F) for temporarily storing data, a microprocessor (MPU) 5 for controlling the entire disk array controller, 6
Is a memory unit (MU) acting as a cache of the disk array controller, 7 is a hard disk channel (CH) for temporarily controlling data input / output between the disk array controller and the hard disk, and 8 is a disk unit in the disk array controller. A system bus, 9 is a hard disk device storing data, 10 is a write cache acting as a cache of the hard disk device, and 11 is a medium for storing data. Next, the operation will be described. Host computer 1
When the I / O request is issued from the HOST I / F 4, the HOST I / F 4 receives the command and data and stores it in the MU 6. MPU5 is C
A command is issued to the H7 to input / output data and parity of the hard disk device 9, and the CH 7 executes the instruction to input / output data and parity of the hard disk device 9.

【0007】図1に示すように、ディスクアレイコント
ローラ3において各々のハードディスク装置9へディス
クアクセスした回数をカウントし図2のようにテーブル
として保持する(ステップ20)。ステップ21でテー
ブルからハードディスク装置9の中でディスクアクセス
回数のいちばん多い1台を判定し、判定された1台のハ
ードディスク装置9に対して、ディスクアレイコントロ
ーラ3のMPU5からライトキャッシュ10を有効にする
(ライトキャッシュオン)命令を発行し、命令を受けた1
台のハードディスク装置9はライトキャッシュ10を有
効にする。ディスクアクセスがあるとき、テーブルのカ
ウント値を更新する(ステップ23)。そのとき他のハ
ードディスク装置9のディスクアクセス回数のほうが多
くなれば(ステップ24)、ディスクアレイコントロー
ラ3からライトキャッシュを有効にするハードディスク
装置を変更する命令を発行し、ライトキャッシュを有効
にするハードディスク装置を変更する(ステップ2
5)。また、通常システムが停止するときはディスクア
レイ装置2がホスト計算機1からシャットダウンコマン
ドを受信し、MPU5からライトキャッシュ10を有効に
しているハードディスク装置9に対してライトキャッシ
ュ10のデータをメディア11に書き込む命令を発行す
る。ハードディスク装置はライトキャッシュ10に格納
されているデータをメディア11に書き込みキャッシュ
データは保護される。しかし停電が発生したときは、デ
ィスクアレイ装置2がシャットダウンコマンドを受信し
ないでシステムの電源が遮断されてしまうため、シャッ
トダウン処理がされないためにハードディスク装置9の
キャッシュデータはメディア11に書き込まれない。電
源再投入時にハードディスク装置9のライトキャッシュ
10のデータは消失している。ライトキャッシュ10を
有効にしていたハードディスク装置9のライトキャッシ
ュ10を無効にする。消失したライトキャッシュのデー
タをRAIDのデータを復元する機能を使って復元する。こ
の復元処理を行っている間にサーバからきたディスクア
レイ装置2へのアクセス要求は残りのハードディスク装
置を使用して処理することができる。
As shown in FIG. 1, the disk array controller 3 counts the number of disk accesses to each hard disk drive 9 and holds the number as a table as shown in FIG. 2 (step 20). In step 21, one of the hard disk devices 9 having the largest number of disk accesses is determined from the table, and the write cache 10 is enabled from the MPU 5 of the disk array controller 3 for the determined one hard disk device 9.
(Write cache on) Issued instruction and received instruction 1
One hard disk drive 9 enables the write cache 10. When there is a disk access, the count value of the table is updated (step 23). At this time, if the number of disk accesses of the other hard disk devices 9 is larger (step 24), a command to change the hard disk device for enabling the write cache is issued from the disk array controller 3, and the hard disk device for enabling the write cache is issued. (Step 2
5). When the normal system stops, the disk array device 2 receives a shutdown command from the host computer 1 and writes the data in the write cache 10 to the medium 11 from the MPU 5 to the hard disk device 9 that has enabled the write cache 10. Issue an instruction. The hard disk drive writes the data stored in the write cache 10 to the medium 11 and the cache data is protected. However, when a power failure occurs, the power of the system is shut down without the disk array device 2 receiving the shutdown command, and the cache data of the hard disk device 9 is not written to the medium 11 because the shutdown process is not performed. When the power is turned on again, the data in the write cache 10 of the hard disk drive 9 has been lost. The write cache 10 of the hard disk drive 9 for which the write cache 10 was enabled is invalidated. Restore the lost write cache data using the RAID data restore function. During this restoration process, an access request from the server to the disk array device 2 can be processed using the remaining hard disk devices.

【0008】上記構成によるディスクアレイ装置2はデ
ィスクアクセス頻度の高いハードディスク装置9のライ
トキャッシュ10を有効にして動作するため、ディスク
アクセスの高速化が可能であり、ライトキャッシュ10
を有効にしているときに停電が発生しデータが消失して
もデータを復元するRAIDの機能によって消失したキャッ
シュデータを復元することができる。本発明ではディス
クアレイ装置がディスクアクセス回数に偏りがある構成
のときに、より一層の高速化が図れる。
The disk array device 2 having the above configuration operates with the write cache 10 of the hard disk device 9 having a high disk access frequency enabled, so that the disk access can be speeded up.
Even if a power failure occurs and data is lost when the is enabled, the lost cache data can be restored by the RAID function of restoring data even if the data is lost. According to the present invention, when the disk array device has a configuration in which the number of times of disk access is uneven, the speed can be further increased.

【0009】[0009]

【発明の効果】データ用記憶媒体装置の一時的にデータ
を記憶する記憶領域を有効にして動作することによって
ディスクアクセスの高速化が可能となる。
According to the present invention, the speed of the disk access can be increased by operating the storage area for temporarily storing data in the data storage medium device.

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

【図1】アクセス頻度の高いライトキャッシュを選択す
る動作を示す図。
FIG. 1 is a diagram showing an operation of selecting a write cache with a high access frequency.

【図2】アクセス回数のテーブル図。FIG. 2 is a table showing the number of accesses.

【図3】ディスクアレイ装置の概略図。FIG. 3 is a schematic diagram of a disk array device.

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

1…ホスト計算機 2…ディスクアレイ装置 3…ディスクアレイコントローラ 4…ホスト・インタフェース(HOST I/F) 5…マイクロプロセッサ(MPU) 6…メモリユニット(MU) 7…ハードディスク用チャンネル(CH) 8…システム・バス 9…ハードディスク装置 10…ライトキャッシュ 11…メディア DESCRIPTION OF SYMBOLS 1 ... Host computer 2 ... Disk array device 3 ... Disk array controller 4 ... Host interface (HOST I / F) 5 ... Microprocessor (MPU) 6 ... Memory unit (MU) 7 ... Hard disk channel (CH) 8 ... System・ Bus 9 ... Hard disk drive 10 ... Write cache 11 ... Media

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】データを記録するデータ用記憶媒体装置を
複数持つディスクアレイ装置において、複数の前記デー
タ用記憶媒体装置のうち所定の一台に対して前記記憶媒
体装置の一時的にデータを記憶する記憶領域を有効にす
る命令を発行する命令発行手段と、前記記憶領域を有効
にする命令を実行する命令実行手段と、前記記憶領域の
データが消失しても複数の前記データ用記憶媒体装置の
データから消失したデータを復元するデータ復元手段を
具備することを特徴とするディスクアレイ装置。
1. A disk array device having a plurality of data storage medium devices for recording data, wherein the storage medium device temporarily stores data in a predetermined one of the plurality of data storage medium devices. Instruction issuing means for issuing an instruction to enable a storage area to be executed, instruction execution means to execute an instruction to enable the storage area, and a plurality of the data storage medium devices even if data in the storage area is lost A disk array device comprising a data restoring means for restoring lost data from said data.
【請求項2】請求項1記載のディスクアレイ装置におい
て、複数の前記データ用記憶媒体装置の各々に対するデ
ィスクアクセスの統計をとり、ディスクアクセス頻度の
高い一台を判定する判定手段を具備し、前記命令発行手
段は前記判定手段により判定されたディスクアクセス頻
度の高い一台に対し前記命令を発行することを特徴とす
るディスクアレイ装置。
2. The disk array device according to claim 1, further comprising: a determination unit that obtains statistics of disk accesses to each of the plurality of data storage media devices and determines one device having a high disk access frequency. The disk array device, wherein the instruction issuing means issues the instruction to one of the disks having a high frequency of disk access determined by the determining means.
【請求項3】データを記録するデータ用記憶媒体装置を
複数持つディスクアレイ装置において、複数の前記デー
タ用記憶媒体装置のうち所定の一台に対して前記記憶媒
体装置の前記記憶領域を有効にするステップと、前記記
憶領域のデータが消失しても複数の前記データ用記憶媒
体装置のデータから消失したデータを復元するステップ
を有することを特徴とするディスクアクセスを高速化す
る方法。
3. A disk array device having a plurality of data storage medium devices for recording data, wherein the storage area of the storage medium device is effectively used for a predetermined one of the plurality of data storage medium devices. And recovering the lost data from the data in the plurality of data storage media devices even if the data in the storage area is lost.
JP11115683A 1999-04-23 1999-04-23 Disk array device and method for quickening disk access Pending JP2000305717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11115683A JP2000305717A (en) 1999-04-23 1999-04-23 Disk array device and method for quickening disk access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11115683A JP2000305717A (en) 1999-04-23 1999-04-23 Disk array device and method for quickening disk access

Publications (1)

Publication Number Publication Date
JP2000305717A true JP2000305717A (en) 2000-11-02

Family

ID=14668694

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11115683A Pending JP2000305717A (en) 1999-04-23 1999-04-23 Disk array device and method for quickening disk access

Country Status (1)

Country Link
JP (1) JP2000305717A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7187593B2 (en) 2004-03-30 2007-03-06 Sharp Kabushiki Kaisha Control system; control apparatus; storage device and computer program product
WO2012005113A1 (en) * 2010-07-05 2012-01-12 日本電気株式会社 Storage apparatus and method of rebuilding storage apparatus
JP2013512529A (en) * 2010-03-08 2013-04-11 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Data storage device and method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7187593B2 (en) 2004-03-30 2007-03-06 Sharp Kabushiki Kaisha Control system; control apparatus; storage device and computer program product
JP2013512529A (en) * 2010-03-08 2013-04-11 ヒューレット−パッカード デベロップメント カンパニー エル.ピー. Data storage device and method
US8924645B2 (en) 2010-03-08 2014-12-30 Hewlett-Packard Development Company, L. P. Data storage apparatus and methods
WO2012005113A1 (en) * 2010-07-05 2012-01-12 日本電気株式会社 Storage apparatus and method of rebuilding storage apparatus
JP2012014638A (en) * 2010-07-05 2012-01-19 Nec Corp Storage device and rebuild processing method of storage device
US9298635B2 (en) 2010-07-05 2016-03-29 Nec Corporation Storage device and rebuild process method for storage device

Similar Documents

Publication Publication Date Title
JP4041473B2 (en) Autonomous power loss recovery for multi-cluster storage subsystems
US20120110252A1 (en) System and Method for Providing Performance-Enhanced Rebuild of a Solid-State Drive (SSD) in a Solid-State Drive Hard Disk Drive (SSD HDD) Redundant Array of Inexpensive Disks 1 (Raid 1) Pair
JP2001166993A (en) Memory control unit and method for controlling cache memory
JP2009075759A (en) Storage device, and method for managing data in storage device
JP2002297320A (en) Disk array device
US20100115310A1 (en) Disk array apparatus
US8171324B2 (en) Information processing device, data writing method, and program for the same
JP2000357059A (en) Disk array device
JP4698710B2 (en) Storage system and power saving method thereof
JP2002099390A (en) Disk controller
JP2000305717A (en) Disk array device and method for quickening disk access
JP2000293315A (en) Disk array device and rotation method for standby disk
JP2001337789A (en) Disk subsystem
JPH11203057A (en) Disk array device and its control method
JPH07306758A (en) Disk array device and its control method
JP2012174037A (en) Disk array device and control method thereof
JPH04111113A (en) Hard disk emulator
WO2016006108A1 (en) Storage and control method therefor
JP4985391B2 (en) Disk array device, physical disk recovery method, and physical disk recovery program
JP2003122644A (en) Computer and its storage device
JPH09212424A (en) Disk cache and disk caching method
JPH1031563A (en) Storage device
JPH06324815A (en) Disk array device
KR20110034436A (en) Structure of hybrid memory and data storing method thereof
JP4098400B2 (en) Semiconductor disk device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050131

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050317

A072 Dismissal of procedure

Free format text: JAPANESE INTERMEDIATE CODE: A073

Effective date: 20050419

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071115

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080404