JP2002023960A - Disk device and computer system provided with plural disk devices - Google Patents

Disk device and computer system provided with plural disk devices

Info

Publication number
JP2002023960A
JP2002023960A JP2000200304A JP2000200304A JP2002023960A JP 2002023960 A JP2002023960 A JP 2002023960A JP 2000200304 A JP2000200304 A JP 2000200304A JP 2000200304 A JP2000200304 A JP 2000200304A JP 2002023960 A JP2002023960 A JP 2002023960A
Authority
JP
Japan
Prior art keywords
file
data
disk
disk device
host computer
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.)
Granted
Application number
JP2000200304A
Other languages
Japanese (ja)
Other versions
JP3999446B2 (en
Inventor
Ikuo Uchibori
郁夫 内堀
Masayuki Takakuwa
正幸 高桑
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 JP2000200304A priority Critical patent/JP3999446B2/en
Publication of JP2002023960A publication Critical patent/JP2002023960A/en
Application granted granted Critical
Publication of JP3999446B2 publication Critical patent/JP3999446B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the load of a host computer and to execute an efficient access by managing file constitution information by a disk device. SOLUTION: A meta data management part 122b for managing meta data defining the constitution of files stored in an HDD 121 is formed in a controller 122 built in a disk device 12. When the positional information of data constituting a file to be accessed is inquired from a file system 110 in a host computer 11, the meta data management part 122b reads out the meta data from the HDD 121, analyzes the read data to specify the position of the data constituting the file and informs the host computer 11 of the positional information. The host computer 11 requests a data access to the disk device 12 on the basis of the positional information.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ホストコンピュー
タからアクセス可能なディスク装置に係り、特にファイ
ルの構成を定義したファイル構成情報(メタデータ)を
管理する機能を有するディスク装置及び同装置を複数備
えた計算機システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk device accessible from a host computer, and more particularly to a disk device having a function of managing file configuration information (metadata) defining a file configuration and a plurality of such devices. Computer system.

【0002】[0002]

【従来の技術】一般に、ホストコンピュータからの要求
によりに磁気ディスク装置等のディスク装置に格納され
るデータは、ホストコンピュータ側のファイルシステム
によって管理される。
2. Description of the Related Art Generally, data stored in a disk device such as a magnetic disk device in response to a request from a host computer is managed by a file system on the host computer side.

【0003】そのために、ホストコンピュータ側は各々
のファイルを構成するデータが、ディスク上のどのアド
レスに格納されているかを示す管理データ(以下、メタ
データと称する)を持つ。そしてホストコンピュータ側
(のファイルシステム)は、ファイルアクセス時には、
このメタデータを参照してディスク上の該当するアドレ
スのデータにアクセスしていた。このとき、ディスク装
置側は、要求されたアドレスに対するアクセスを処理す
るだけで、ファイルの構成に関しては一切感知していな
かった。
For this purpose, the host computer has management data (hereinafter, referred to as metadata) indicating at which address on the disk the data constituting each file is stored. Then, the host computer (the file system), when accessing the file,
The data at the corresponding address on the disk is accessed with reference to this metadata. At this time, the disk device only processes the access to the requested address, but does not sense the file configuration at all.

【0004】[0004]

【発明が解決しようとする課題】本来、ホストコンピュ
ータからのディスク装置アクセスには、実際にアクセス
対象となるファイル毎に、その、ディスク装置上の構成
に基づくアクセスパターンがある。しかし、従来技術に
あっては、ディスク装置側は、ファイル構成に関する情
報を管理していないので、そのパターンを予測すること
ができなかった。
Originally, disk device access from the host computer has an access pattern based on the configuration on the disk device for each file to be actually accessed. However, in the related art, the disk device does not manage the information on the file configuration, so that the pattern cannot be predicted.

【0005】このため従来技術では、たとえ大容量のデ
ィスクキャッシュを備えていても、データ読み出しやR
AID(Redundant Arrays of Inexpensive Disks)‐
5構成時の書き込みに伴う内部的なデータ読み出し処理
(パリティデータ生成に必要な処理)に際して、効果的
なプリフェッチを行えず、キャッシュの効果が限定され
ていた。
For this reason, in the prior art, even if a large-capacity disk cache is provided, data reading and R
AID (Redundant Arrays of Inexpensive Disks)-
In internal data read processing (processing required for parity data generation) associated with writing in the five configuration, effective prefetch cannot be performed, and the effect of the cache is limited.

【0006】また、近年提唱されているSAN(ストレ
ージエリアネットワーク)環境においては、SANに接
続された複数のストレージ装置(磁気ディスク装置、或
いは磁気テープ装置等)間のデータ転送が可能になる
が、実際には、ストレージ装置がファイル構成を認識し
ていないと、この機能を有効に利用することができな
い。
In a SAN (storage area network) environment recently proposed, data can be transferred between a plurality of storage devices (such as magnetic disk devices or magnetic tape devices) connected to the SAN. Actually, this function cannot be effectively used unless the storage device recognizes the file configuration.

【0007】本発明は上記事情を考慮してなされたもの
でその目的は、ファイル構成情報をディスク装置側で管
理することにより、ホストコンピュータの負荷を軽減し
て効率的にアクセスできるディスク装置を提供すること
にある。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to provide a disk device which can reduce the load on a host computer and efficiently access by managing file configuration information on the disk device side. Is to do.

【0008】本発明の他の目的は、ディスクキャッシュ
のヒット率向上が図れるディスク装置を提供することに
ある。
Another object of the present invention is to provide a disk drive capable of improving the hit rate of a disk cache.

【0009】本発明の更に他の目的は、複数のディスク
装置がストレージエリアネットワーク等のインタフェー
スにより接続された環境において、ファイルコピー等の
ディスク装置間のファイル転送が実現できる計算機シス
テムを提供することにある。
Still another object of the present invention is to provide a computer system capable of realizing file transfer between disk devices such as file copying in an environment in which a plurality of disk devices are connected by an interface such as a storage area network. is there.

【0010】本発明の更に他の目的は、複数のディスク
装置がストレージエリアネットワーク等のインタフェー
スにより接続された環境において、ディスク装置間のミ
ラー化が実現できる計算機計算機システムを提供するこ
とにある。
Still another object of the present invention is to provide a computer system capable of realizing mirroring between disk devices in an environment in which a plurality of disk devices are connected by an interface such as a storage area network.

【0011】[0011]

【課題を解決するための手段】本発明は、ホストコンピ
ュータに接続して用いられるディスク装置において、各
種ファイルを含む情報を格納するための少なくとも1つ
のディスクドライブと、このディスクドライブを制御す
るコントローラであって、上記ディスクドライブに対す
るアクセス管理を行うデータアクセス管理手段、及び上
記ディスクドライブに格納されているファイルの構成を
定義したファイル構成情報を管理し、ホストコンピュー
タから、データアクセスのためにアクセス対象ファイル
を構成するデータの位置情報の問い合わせがあった場合
に、当該ファイル構成情報に基づいてアクセス対象ファ
イルを構成するデータの位置を特定し、その位置情報を
ホストコンピュータに通知するファイル構成情報管理手
段を有するコントローラとを備えたことを特徴とする。
According to the present invention, there is provided a disk drive connected to a host computer, comprising at least one disk drive for storing information including various files, and a controller for controlling the disk drive. A data access management means for managing access to the disk drive, and file configuration information defining a configuration of a file stored in the disk drive, and a file to be accessed for data access from a host computer. File position information management means for identifying the position of the data constituting the access target file based on the file configuration information and informing the host computer of the position information when the position information of the data constituting the file is inquired. Control Characterized in that a chromatography La.

【0012】このような構成のディスク装置において
は、従来ホストコンピュータ側のファイルシステムが管
理していた、ファイルの構成を定義したファイル構成情
報(メタデータ)の管理が当該ディスク装置のコントロ
ーラ(に設けられたファイル構成情報管理手段)で行わ
れる。このため、ホストコンピュータ側では、ディスク
装置に保持されているファイルをアクセスする場合に、
ファイル構成情報をディスク装置から読み込んで解析し
て当該ファイルを構成するデータの位置を特定するとい
う処理を行う必要がなくなり、ホストコンピュータの負
荷が軽減される。即ちホストコンピュータは、ファイル
をアクセスする場合に、ファイルを構成するデータの位
置情報をディスク装置に問い合わせ、得られたデータの
位置情報に基づいて、改めてディスク装置のデータにア
クセスするだけでよい。
In a disk device having such a configuration, management of file configuration information (metadata) defining a file configuration, which has conventionally been managed by a file system on the host computer side, is provided in a controller of the disk device. File configuration information management means). Therefore, on the host computer side, when accessing the file held in the disk device,
There is no need to read the file configuration information from the disk device and analyze it to specify the position of the data constituting the file, thereby reducing the load on the host computer. That is, when accessing the file, the host computer only needs to inquire the disk device of the position information of the data constituting the file and access the data of the disk device again based on the obtained position information of the data.

【0013】また、物理的には1つのディスク装置を複
数のホストコンピュータに接続することはできても、各
ホストコンピュータが別個にファイルシステムを備えて
いることが、ホストコンピュータ間でファイル共有を行
う上で障害となっているといわれている。これに対して
本発明では、ファイル構成情報の管理をディスク装置側
で行うことから、当該ディスク装置を複数のホストコン
ピュータで共有すること、つまりマルチホスト間のデー
タ共有が実現可能となる。
Although one disk device can be physically connected to a plurality of host computers, each host computer has a separate file system, so that file sharing is performed between the host computers. It is said to be an obstacle above. On the other hand, in the present invention, since the management of the file configuration information is performed on the disk device side, the disk device can be shared by a plurality of host computers, that is, data sharing among multiple hosts can be realized.

【0014】また本発明は、ディスクキャッシュを備え
たディスク装置に上記構成を適用すると共に、上記デー
タアクセス管理手段に次の機能、即ち上記ファイル構成
情報管理手段によりホストコンピュータに対してアクセ
ス対象ファイルを構成するデータの位置情報が通知され
る際に、当該位置情報に基づきアクセス対象ファイルを
構成するデータをディスクドライブからディスクキャッ
シュに予め読み込む機能を持たせたことをも特徴とす
る。
Further, the present invention applies the above configuration to a disk device having a disk cache, and provides the following functions to the data access management means, that is, the file configuration information management means stores the file to be accessed to the host computer. When the position information of the data to be constituted is notified, a function of reading in advance the data constituting the file to be accessed from the disk drive to the disk cache based on the position information is provided.

【0015】このような構成のディスク装置において
は、ホストコンピュータからのアクセス対象ファイルを
構成するデータの位置情報の問い合わせの段階で、ファ
イルレベルでディスクキャッシュへのデータプリフェッ
チを行うことができるため、データ読み出し時のディス
クキャッシュヒット率を向上することができる。
In the disk device having such a configuration, the data prefetch to the disk cache can be performed at the file level at the stage of inquiring the position information of the data constituting the file to be accessed from the host computer. The disk cache hit rate at the time of reading can be improved.

【0016】また本発明の計算機システムは、上記構成
の複数のディスク装置を所定のインタフェースにより接
続すると共に、当該インタフェースにより上記構成の複
数のディスク装置をホストコンピュータに接続した計算
機システムであって、上記各ディスク装置に、ホストコ
ンピュータからファイルのコピー要求が与えられた場合
に、上記ファイル構成情報管理手段によりコピー元ファ
イルまたはコピー先ファイルを構成するデータの位置情
報を特定させ、当該位置情報を用いることで、同一のデ
ィスク装置内または異なるディスク装置間でファイルの
コピーを行うファイルコピー手段を持たせたことを特徴
とする。
Further, a computer system according to the present invention is a computer system in which a plurality of disk devices of the above configuration are connected by a predetermined interface, and the plurality of disk devices of the above configuration are connected to a host computer by the interface. When a file copy request is given from the host computer to each disk device, the file configuration information management means specifies the position information of the data constituting the copy source file or the copy destination file, and uses the position information. And a file copying means for copying a file within the same disk device or between different disk devices.

【0017】このような構成の計算機システムにおいて
は、同一ディスク装置内、或いは異なるディスク装置間
で、ホストコンピュータから独立にファイルをコピー
(ファイル転送)する等、従来のシステムではできなか
った機能が提供できる。
In the computer system having such a configuration, functions that cannot be provided by the conventional system, such as copying (file transfer) files independently from the host computer in the same disk device or between different disk devices, are provided. it can.

【0018】また本発明の計算機システムは、上記構成
の複数のディスク装置を所定のインタフェースにより接
続すると共に、当該インタフェースにより上記構成の複
数のディスク装置をホストコンピュータに接続した計算
機システムであって、上記ディスク装置に、次の手段、
即ちホストコンピュータからミラーファイルの作成要求
が与えられた場合に、自装置のファイル構成情報管理手
段により対象となるファイルを構成するデータの位置情
報を特定させると共に、ミラーファイル作成先のディス
ク装置のファイル構成情報管理手段によりミラーファイ
ルを構成するデータの位置情報を特定させ、当該位置情
報を用いることで、ミラーファイル作成先のディスク装
置上にミラーファイルを作成するミラーファイル作成手
段と、ホストコンピュータからのファイルアクセス要求
時に障害が発生した場合、要求されたファイルのミラー
データを保持するディスク装置を指定するディスク識別
情報及び当該ミラーデータの位置情報をホストコンピュ
ータに通知するミラーファイル通知手段とを持たせたこ
とを特徴とする。
Further, a computer system according to the present invention is a computer system in which a plurality of disk devices of the above configuration are connected by a predetermined interface, and the plurality of disk devices of the above configuration are connected to a host computer by the interface. In the disk unit, the following means,
That is, when a request to create a mirror file is given from the host computer, the file configuration information management means of the own device specifies the position information of the data constituting the target file and the file of the disk device where the mirror file is created. Mirror file creation means for creating a mirror file on the disk device where the mirror file is created by using the location information to specify the location information of the data constituting the mirror file by the configuration information management means; When a failure occurs at the time of a file access request, disk identification information for designating a disk device holding the mirror data of the requested file and mirror file notifying means for notifying the host computer of the position information of the mirror data are provided. It is characterized by the following.

【0019】このような構成の計算機システムにおいて
は、SAN(ストレージエリアネットワーク)等のイン
タフェースに接続されたディスク装置間のミラ化ーが実
現でき、特にインタフェース上の任意のディスク装置上
にファイル単位でミラーデータを作成することができ
る。また、ホストコンピュータからのファイルアクセス
要求時に要求されたディスク装置に障害が発生しても、
要求されたファイルを構成するデータの位置情報に代え
て、当該ファイルのミラーデータの位置情報がホストコ
ンピュータに通知されるため、ホストコンピュータはフ
ァイルアクセスを継続することができる。
In the computer system having such a configuration, mirroring between disk devices connected to an interface such as a SAN (storage area network) can be realized, and in particular, file units can be stored on any disk device on the interface. Mirror data can be created. Also, even if a failure occurs in the disk device requested at the time of a file access request from the host computer,
Instead of the location information of the data constituting the requested file, the location information of the mirror data of the file is notified to the host computer, so that the host computer can continue the file access.

【0020】[0020]

【発明の実施の形態】以下、本発明の実施の形態につき
図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0021】[第1の実施形態]図1は本発明の第1の
実施形態に係るディスク装置を適用した計算機システム
の構成を示すブロック図である。図1の計算機システム
は、ファイルシステム110を有するホストコンピュー
タ11と、当該ホストコンピュータ11(内のファイル
システム110)からアクセス可能なディスク装置12
とから構成される。
[First Embodiment] FIG. 1 is a block diagram showing a configuration of a computer system to which a disk device according to a first embodiment of the present invention is applied. The computer system of FIG. 1 includes a host computer 11 having a file system 110 and a disk device 12 accessible from the host computer 11 (the file system 110 therein).
It is composed of

【0022】ディスク装置12は例えば磁気ディスク装
置であり、SCSI(Small Computer System Interfac
e)に代表されるインタフェース13によりホストコン
ピュータ11と接続されている。このインタフェースと
しては、上記SCSIの他に、FibreChanne
l,IEEE(Institute of Electrical and Electron
ics Engineers)1394等のチャネルインタフェース
が適用可能である。また、ディスク装置12をカードR
AIDなどで実現する場合を想定すると、PCIバス
(Peripheral Component Interconnect bus)等のコン
ピュータの内部I/Oバスインタフェースを適用しても
よい。
The disk device 12 is, for example, a magnetic disk device, and is a SCSI (Small Computer System Interface).
The host computer 11 is connected by an interface 13 represented by e). As this interface, in addition to the above SCSI, FiberChannel
l, IEEE (Institute of Electrical and Electron
ics Engineers) 1394 or the like. In addition, the disk device 12 is
Assuming the case of realizing by AID or the like, an internal I / O bus interface of a computer such as a PCI bus (Peripheral Component Interconnect bus) may be applied.

【0023】ディスク装置12は、磁気ディスクドライ
ブ(以下、HDDと称する)121と、ホストコンピュ
ータ11とのインタフェースをなすと共にHDD121
を制御するコントローラ122とを備えている。なお、
コントローラ122には複数のHDD121が接続可能
であるが、図1の構成では説明を簡略化するためにHD
D121が1つだけ接続された例が示されている。HD
D121には、当該HDD121に格納されている各種
ファイルの構成を管理するのに必要なファイル構成情報
(ファイル構成定義情報)としてのメタデータを格納す
るためのメタデータ領域121aが確保されている。
The disk device 12 serves as an interface between a magnetic disk drive (hereinafter, referred to as HDD) 121 and the host computer 11 and has a
And a controller 122 for controlling the In addition,
Although a plurality of HDDs 121 can be connected to the controller 122, in the configuration of FIG.
An example in which only one D121 is connected is shown. HD
In the D121, a metadata area 121a for storing metadata as file configuration information (file configuration definition information) necessary for managing the configuration of various files stored in the HDD 121 is secured.

【0024】コントローラ122は、HDD121に対
するアクセス管理を行うデータアクセス管理部122a
と、HDD121(内のメタデータ領域121a)に格
納されているメタデータの管理を行うメタデータ管理部
122bとを有している。メタデータ管理部122b
は、ホストコンピュータ11のファイルシステム110
から与えられる、ファイルを構成するデータの位置情報
の問い合わせに応じてメタデータを読み込んでデータの
位置情報を取得し、ファイルシステム110に通知する
機能を有する。
The controller 122 includes a data access management unit 122a for managing access to the HDD 121.
And a metadata management unit 122b that manages metadata stored in the HDD 121 (the metadata area 121a therein). Metadata management unit 122b
Is the file system 110 of the host computer 11.
Has a function of reading metadata in response to an inquiry about position information of data constituting a file, obtaining position information of the data, and notifying the file system 110 of the acquired metadata.

【0025】次に、図1の構成の動作を、図2の動作説
明図を参照して説明する。ホストコンピュータ11がデ
ィスク装置12(内のHDD121)の保持するファイ
ルにアクセスしようとする場合、当該ホストコンピュー
タ11のファイルシステム110からディスク装置12
のコントローラ122に設けられたメタデータ管理部1
22bに対し、アクセス対象となるファイルを構成する
データの位置情報の問い合わせ要求としてのファイル構
成データ位置特定要求が与えられる(ステップS1)。
Next, the operation of the configuration of FIG. 1 will be described with reference to the operation explanatory diagram of FIG. When the host computer 11 attempts to access a file stored in the disk device 12 (the HDD 121 therein), the file system 110 of the host computer 11
Metadata management unit 1 provided in the controller 122
A file configuration data location specification request is given to the user 22b as an inquiry request for location information of data constituting a file to be accessed (step S1).

【0026】メタデータ管理部122bは、ファイルシ
ステム110からのファイル構成データ位置特定要求を
受け取ると、HDD121のメタデータ領域121aか
らメタデータを読み出し(ステップS2)、当該読み出
したメタデータを解析することで、ファイル構成データ
位置特定要求により指定されたアクセス対象ファイルを
構成するデータの位置を特定する(ステップS3)。そ
してメタデータ管理部122bは、特定したアクセス対
象ファイルを構成するデータの位置を要求元のファイル
システム110に通知する(ステップS4)。従来は、
上記ステップS2,S3の動作を、ファイルシステム1
10自身が行っていた。
Upon receiving the file configuration data position specification request from the file system 110, the metadata management unit 122b reads the metadata from the metadata area 121a of the HDD 121 (step S2) and analyzes the read metadata. Then, the position of the data constituting the access target file specified by the file configuration data position specification request is specified (step S3). Then, the metadata management unit 122b notifies the requesting file system 110 of the position of the data constituting the specified access target file (Step S4). conventionally,
The operations in steps S2 and S3 are performed in the file system 1
10 himself had gone.

【0027】ファイルシステム110は、メタデータ管
理部122bからアクセス対象ファイルを構成するデー
タの位置(位置情報)が通知されると、そのデータ位置
(の情報)に基づいて、ディスク装置12のコントロー
ラ122に設けられたデータアクセス管理部122aに
対し、データアクセス要求を発行する(ステップS
5)。
When notified of the position (position information) of the data constituting the file to be accessed from the metadata management unit 122b, the file system 110 controls the controller 122 of the disk device 12 based on (information of) the data position. Issues a data access request to the data access management unit 122a provided in
5).

【0028】するとデータアクセス管理部122aは、
ファイルシステム110からのデータアクセス要求に応
じてHDD121をアクセスし、当該データアクセス要
求で指定されたデータ位置からのデータ読み出し(アク
セス種別が読み出しの場合)、或いは指定されたデータ
位置へのデータ書き込み(アクセス種別が書き込みの場
合)を行う(ステップS6)。
Then, the data access management unit 122a
The HDD 121 is accessed in response to a data access request from the file system 110, and data is read from the data position specified by the data access request (when the access type is read), or data is written to the specified data position ( (When the access type is write) (step S6).

【0029】アクセス種別が書き込みの場合、ファイル
システム110は、メタデータ管理部122bに対し、
必要に応じてメタデータの更新要求を発行する(ステッ
プS7)。ここで、メタデータの更新が必要な場合とし
ては、例えばデータファイルの増減があった場合など、
メタデータ(ファイル構成情報)の内容に影響のある書
き込みが行われた場合である。
When the access type is write, the file system 110 sends a request to the metadata management unit 122b.
A metadata update request is issued as needed (step S7). Here, when the metadata needs to be updated, for example, when the data file is increased or decreased,
This is a case where writing that affects the content of metadata (file configuration information) is performed.

【0030】メタデータ管理部122bは、ファイルシ
ステム110からのメタデータの更新要求に応じてHD
D121のメタデータ領域121a内のメタデータを更
新する(ステップS8)。ファイルシステム110は、
メタデータ管理部122bによりメタデータ更新を行わ
せると、ファイルアクセスを完了する。
The metadata management unit 122b responds to a metadata update request from the file system
The metadata in the metadata area 121a of D121 is updated (step S8). The file system 110
When the metadata is updated by the metadata management unit 122b, the file access is completed.

【0031】このように本実施形態では、ホストコンピ
ュータ11側(のファイルシステム110)からディス
ク装置12を対象にファイルアクセスを行うには、ディ
スク装置12内のメタデータ管理部122bに対して、
ファイル構成データ位置特定要求を発行すると共に、当
該要求に応じてメタデータ管理部122bから通知され
るデータ位置に基づいてデータアクセス管理部122a
に対してデータアクセス要求を発行するだけでよい。し
たがって、従来のように、ファイルシステム110自身
がHDD121からメタデータを読み出して解析し、ア
クセス対象ファイルを構成するデータの位置を特定する
処理を行う場合に比べて、ホストコンピュータ11の負
荷が軽減される。
As described above, in the present embodiment, in order to access a file from the host computer 11 (the file system 110 thereof) to the disk device 12, the metadata management unit 122b in the disk device 12 needs to
A file configuration data position specifying request is issued, and the data access management unit 122a based on the data position notified from the metadata management unit 122b in response to the request.
It is only necessary to issue a data access request to. Therefore, the load on the host computer 11 is reduced as compared with the conventional case where the file system 110 itself reads and analyzes the metadata from the HDD 121 and specifies the position of the data constituting the access target file. You.

【0032】[第2の実施形態]図3は本発明の第2の
実施形態に係るディスク装置を適用した計算機システム
の構成を示すブロック図である。図3の計算機システム
は、ファイルシステム310を有するホストコンピュー
タ31と、当該ホストコンピュータ31(のファイルシ
ステム310)にインタフェース33を介して接続され
たディスク装置32とから構成される。
[Second Embodiment] FIG. 3 is a block diagram showing a configuration of a computer system to which a disk device according to a second embodiment of the present invention is applied. The computer system shown in FIG. 3 includes a host computer 31 having a file system 310 and a disk device 32 connected to (the file system 310 of) the host computer 31 via an interface 33.

【0033】ディスク装置32は、図1中のディスク装
置12と同様の構成、即ちメタデータ領域321aが確
保されたHDD321と、コントローラ322とを備え
ている。コントローラ322は、データアクセス管理部
322a及びメタデータ管理部322bを有する。ディ
スク装置32が、図1中のディスク装置12と異なるの
は、上記HDD321及びコントローラ322に加え
て、HDD321の格納データの一部を保持するキャッ
シュメモリ(以下、ディスクキャッシュと称する)を備
えている点である。
The disk device 32 has the same configuration as the disk device 12 in FIG. 1, that is, includes a HDD 321 in which a metadata area 321a is secured, and a controller 322. The controller 322 has a data access management unit 322a and a metadata management unit 322b. The disk device 32 is different from the disk device 12 in FIG. 1 in that, in addition to the HDD 321 and the controller 322, a cache memory (hereinafter, referred to as a disk cache) for holding a part of data stored in the HDD 321 is provided. Is a point.

【0034】このディスク装置32の特徴は、メタデー
タ管理部322bが、ホストコンピュータ31(のファ
イルシステム310)からのファイル構成データ位置特
定要求に応じてアクセス対象ファイルを構成するデータ
の位置を特定する機能に加えて、当該データ位置のデー
タをHDD321からディスクキャッシュ323にプリ
フェッチする機能を有している点である。
A feature of the disk device 32 is that the metadata management unit 322b specifies the position of the data constituting the access target file in response to the file configuration data position specification request from (the file system 310 of) the host computer 31. In addition to the function, it has a function of prefetching data at the data position from the HDD 321 to the disk cache 323.

【0035】次に、図3の構成の動作を、図4の動作説
明図を参照して説明する。ホストコンピュータ31がデ
ィスク装置32(内のHDD31)の保持するファイル
にアクセスしようとする場合、当該ホストコンピュータ
31のファイルシステム310からディスク装置32の
コントローラ322に対し、ファイル構成データ位置特
定要求が送られる(ステップS11)。このファイル構
成データ位置特定要求はコントローラ322内のメタデ
ータ管理部322bで受け取られる。
Next, the operation of the configuration of FIG. 3 will be described with reference to the operation explanatory diagram of FIG. When the host computer 31 attempts to access a file held in the disk device 32 (the HDD 31 therein), a file configuration data position specification request is sent from the file system 310 of the host computer 31 to the controller 322 of the disk device 32. (Step S11). This file configuration data position specification request is received by the metadata management unit 322b in the controller 322.

【0036】メタデータ管理部322bは(前記第1の
実施形態におけるメタデータ管理部122bと同様
に)、HDD321のメタデータ領域321aからメタ
データを読み出し(ステップS12)、当該読み出した
メタデータを解析することで、ファイル構成データ位置
特定要求により指定されたアクセス対象ファイルを構成
するデータの位置を特定する(ステップS13)。そし
てメタデータ管理部322bは、特定したアクセス対象
ファイルを構成するデータの位置を要求元のファイルシ
ステム310に通知する(ステップS14)。
The metadata management unit 322b reads the metadata from the metadata area 321a of the HDD 321 (similar to the metadata management unit 122b in the first embodiment) (step S12), and analyzes the read metadata. Then, the position of the data constituting the access target file specified by the file configuration data position specification request is specified (step S13). Then, the metadata management unit 322b notifies the file system 310 of the request source of the position of the data constituting the specified access target file (Step S14).

【0037】同時にメタデータ管理部322bは、ファ
イルシステム310に通知した位置情報に基づいて、当
該位置情報の示すHDD321内のデータ、即ちファイ
ル構成データ位置特定要求により指定されたアクセス対
象ファイルを構成するHDD321内のデータ(アクセ
ス対象データ)をディスクキャッシュ323にプリフェ
ッチすることをデータアクセス管理部322aに要求す
る。これによりデータアクセス管理部322aは、メタ
データ管理部322bにて特定した位置のアクセス対象
データをHDD321からディスクキャッシュ323に
プリフェッチする(ステップS15)。但し、要求され
たデータが既にディスクキャッシュ323に格納されて
いる場合には、このプリフェッチ動作は必要ない。
At the same time, based on the position information notified to the file system 310, the metadata management unit 322b forms the data in the HDD 321 indicated by the position information, that is, the access target file specified by the file configuration data position specification request. It requests the data access management unit 322a to prefetch data (access target data) in the HDD 321 into the disk cache 323. Thereby, the data access management unit 322a prefetches the access target data at the position specified by the metadata management unit 322b from the HDD 321 to the disk cache 323 (Step S15). However, if the requested data is already stored in the disk cache 323, this prefetch operation is not necessary.

【0038】このように、ファイルシステム310から
のファイル構成データ位置特定要求に応じて特定した位
置のデータをHDD321からディスクキャッシュ32
3にプリフェッチする理由は次の通りである。まず、ホ
ストコンピュータ31側がファイル構成データ位置特定
要求を発行したということは、当該要求に従って特定さ
れたデータ位置へのデータアクセス要求がホストコンピ
ュータ31にて発生する可能性が極めて高いと予測でき
る。つまり、ホストコンピュータ31側のデータのアク
セスパターンをディスク装置32側で予測できる。そこ
で、ファイル構成データ位置特定要求に応じて特定した
位置のデータをHDD321からディスクキャッシュ3
23にプリフェッチしておけば、この特定した位置を対
象とするデータアクセス要求を高速に処理できることに
よる。
As described above, the data at the position specified in response to the file configuration data position request from the file system 310 is transferred from the HDD 321 to the disk cache 32.
The reason for prefetching to No. 3 is as follows. First, the fact that the host computer 31 has issued the file configuration data position specifying request can be predicted that the possibility that the host computer 31 will generate a data access request to the data position specified according to the request is extremely high. That is, the data access pattern on the host computer 31 side can be predicted on the disk device 32 side. Therefore, the data at the position specified in response to the file configuration data position specification request is transferred from the HDD 321 to the disk cache 3.
This is because if the data is prefetched to the storage location 23, the data access request for the specified position can be processed at high speed.

【0039】一方、ファイルシステム310は、メタデ
ータ管理部322bからアクセス対象ファイルを構成す
るデータの位置(位置情報)が通知されると、そのデー
タ位置(の情報)に基づき、ディスク装置32のコント
ローラ322に対してデータアクセス要求を発行する
(ステップS16)。この要求はディスク装置32内の
データアクセス管理部322aで受け取られる。
On the other hand, when the position (position information) of the data constituting the file to be accessed is notified from the metadata management unit 322b, the file system 310 determines the controller of the disk device 32 based on (information of) the data position. A data access request is issued to the H.322 (step S16). This request is received by the data access management unit 322a in the disk device 32.

【0040】するとデータアクセス管理部322aは、
ファイルシステム310からのデータアクセス要求に応
じてデータアクセスを行う(ステップS17)。このデ
ータアクセス要求で指定されるデータ位置のデータは、
先のステップS15でのプリフェッチ動作で必ずディス
クキャッシュ323上に存在する。したがって、データ
アクセス要求の指定するアクセス種別が読み出しの場
合、当該データアクセス要求はディスクキャッシュ32
3にヒットすることから、HDD321へのデータアク
セスは発生せず、ディスクキャッシュ323を対象とす
る高速データアクセスが行われる。
Then, the data access management unit 322a
Data access is performed in response to a data access request from the file system 310 (step S17). The data at the data position specified by this data access request is
The data always exists on the disk cache 323 in the prefetch operation in step S15. Therefore, when the access type specified by the data access request is read, the data access request is
3, data access to the HDD 321 does not occur, and high-speed data access to the disk cache 323 is performed.

【0041】なお、アクセス種別が書き込みの場合に
は、ヒット/ミスヒットに無関係にディスクキャッシュ
323へのデータアクセス(ライトアクセス)が行われ
る。但し、ディスク装置32がRAID−5構成を適用
する場合、ヒット時にはディスクキャッシュ323上の
データに基づきパリティが生成できるのに対し、ミスヒ
ット時にはHDD321上のデータに基づきパリティを
生成しなければならず、つまりHDD321へのアクセ
スが発生する。したがってRAID−5構成では、上記
のプリフェッチ動作は、アクセス種別が書き込みの場合
にも効果がある。
When the access type is write, data access (write access) to the disk cache 323 is performed irrespective of hit / miss hit. However, when the disk device 32 adopts the RAID-5 configuration, parity can be generated based on data in the disk cache 323 at the time of a hit, whereas parity must be generated based on data at the HDD 321 at the time of a mishit. That is, access to the HDD 321 occurs. Therefore, in the RAID-5 configuration, the above prefetch operation is effective even when the access type is write.

【0042】このように本実施形態においては、ディス
ク装置32(のメタデータ管理部322b)でメタデー
タ(ファイル構成情報)を管理し、ホストコンピュータ
31(のファイルシステム310)からのファイル構成
データ位置特定要求を当該ディスク装置32(のメタデ
ータ管理部322b)で処理することで、ディスク装置
32側ではほぼ確実にホストコンピュータ31側のデー
タアクセスのパターンを予測することができる。したが
って、この予測に従ってHDD321からディスクキャ
ッシュ323へのプリフェッチを行うことで、ディスク
キャッシュ323の効率を飛躍的に向上することができ
る。
As described above, in the present embodiment, the metadata (file configuration information) is managed by (the metadata management unit 322b of) the disk device 32, and the file configuration data location from the host computer 31 (the file system 310) is managed. By processing the specific request in the disk device 32 (the metadata management unit 322b thereof), the disk device 32 can predict the data access pattern of the host computer 31 almost certainly. Therefore, by performing prefetch from the HDD 321 to the disk cache 323 according to this prediction, the efficiency of the disk cache 323 can be significantly improved.

【0043】[第3の実施形態]図5は本発明の第3の
実施形態に係るディスク装置を適用した計算機システム
の構成を示すブロック図である。図5の計算機システム
は、ホストコンピュータ51と、当該ホストコンピュー
タ51からアクセス可能な、複数、例えば2台のディス
ク装置A,Bとから構成される。ここでは、ディスク装
置A及びディスク装置Bは、複数のディスク装置を接続
可能なインタフェース、例えばSAN(ストレージエリ
アネットワーク)53によりホストコンピュータ51と
接続されている。
Third Embodiment FIG. 5 is a block diagram showing a configuration of a computer system to which a disk device according to a third embodiment of the present invention is applied. The computer system in FIG. 5 includes a host computer 51 and a plurality of, for example, two disk devices A and B accessible from the host computer 51. Here, the disk device A and the disk device B are connected to the host computer 51 by an interface capable of connecting a plurality of disk devices, for example, a SAN (storage area network) 53.

【0044】ホストコンピュータ51は図1(図3)中
のホストコンピュータ11(31)に相当し、ファイル
システム(図示せず)を備えている、ディスク装置A,
Bは図1(図3)中のディスク装置12(32)に相当
し、HDD521A,521Bと、データアクセス管理
部及びメタデータ管理部を持つコントローラ(図示せ
ず)とを備えている。つまりディスク装置A,Bはメタ
データ(ファイル構成情報)の管理機能を有している。
なお、ディスク装置A,Bがディスクキャッシュを備え
ていても構わない。
The host computer 51 corresponds to the host computer 11 (31) in FIG. 1 (FIG. 3), and includes a disk device A, which has a file system (not shown).
B corresponds to the disk device 12 (32) in FIG. 1 (FIG. 3), and includes HDDs 521A and 521B and a controller (not shown) having a data access management unit and a metadata management unit. That is, the disk devices A and B have a function of managing metadata (file configuration information).
Note that the disk devices A and B may include a disk cache.

【0045】次に、図5の構成におけるディスク装置間
のファイルコピー動作について説明する。ホストコンピ
ュータ51は、例えばディスク装置A(内のHDD52
1A)からディスク装置B(内のHDD521B)への
ファイルコピーを行いたい場合、ディスク装置Aに対し
てSAN53経由でファイルコピー要求を送る(ステッ
プS21)。このファイルコピー要求は、対象ファイル
(コピー元ファイル)を指定する情報(ファイル名,パ
ス等)と、コピー先のディスク装置(B)を指定する情
報(ディスク装置識別情報)と、コピー先ファイルを指
定する情報(ファイル名,パス等)を含んでいる。
Next, a file copy operation between disk devices in the configuration of FIG. 5 will be described. The host computer 51 is, for example, a disk device A (with an HDD 52
When a file copy is to be performed from 1A) to the disk device B (the HDD 521B therein), a file copy request is sent to the disk device A via the SAN 53 (step S21). This file copy request includes information (file name, path, etc.) specifying the target file (copy source file), information specifying the copy destination disk device (B) (disk device identification information), and the copy destination file. Contains information to specify (file name, path, etc.).

【0046】ディスク装置A(内のメタデータ管理部)
は、ホストコンピュータ51からのファイルコピー要求
に応じてメタデータを解析し、指定ファイル(コピー元
ファイル)を構成するデータブロック群54のデータ位
置を特定する(ステップS22)。そしてディスク装置
Aは、このデータブロック群54のデータ位置の情報
と、ホストコンピュータ51からのファイルコピー要求
に含まれているコピー先ファイルを指定する情報をコピ
ー先のディスク装置BにSAN53経由で送って、当該
ディスク装置Bに対してファイルコピーを要求する。
Disk device A (metadata management unit therein)
Analyzes the metadata in response to a file copy request from the host computer 51, and specifies the data position of the data block group 54 constituting the designated file (copy source file) (step S22). Then, the disk device A sends information on the data position of the data block group 54 and information specifying the copy destination file included in the file copy request from the host computer 51 to the copy destination disk device B via the SAN 53. Request a file copy to the disk device B.

【0047】するとディスク装置B(のデータアクセス
管理部)は、ディスク装置Aから送られたデータ位置情
報に従ってディスク装置Aにデータ読み出し要求を送る
ことで当該ディスク装置Aからコピー元ファイルを構成
するデータブロック群54を読み出し、(ディスク装置
B内のメタデータ管理部がメタデータを解析して得られ
る)指定のコピー先ファイルを構成すべきデータの位置
に書き込む。これにより、ホストコンピュータ51によ
り指定されたディスク装置Aからディスク装置Bへのフ
ァイルコピーが実現される(ステップS23)。なお、
ディスク装置Aがコピー先のディスク装置Bに対して、
コピー先ファイルを構成すべきデータの位置の特定を要
求し、更にディスク装置Bにより特定されたデータ位置
の情報に基づいて、その位置へのデータブロック群54
の書き込みを要求することでも、ディスク装置Aからデ
ィスク装置Bへのファイルコピーが実現できる。
Then, (the data access management unit of) the disk device B sends a data read request to the disk device A in accordance with the data position information sent from the disk device A, so that the data constituting the copy source file is transmitted from the disk device A. The block group 54 is read, and the designated copy destination file (obtained by analyzing the metadata by the metadata management unit in the disk device B) is written to the position of the data to be composed. Thereby, the file copy from the disk device A specified by the host computer 51 to the disk device B is realized (step S23). In addition,
The disk device A moves to the copy destination disk device B,
A request is made to specify the position of the data to constitute the copy destination file, and further, based on the information on the data position specified by the disk device B, the data block group 54
Requesting the writing of the file can also realize the file copy from the disk device A to the disk device B.

【0048】このように本実施形態では、コピー元ディ
スク装置A及びコピー先ディスク装置Bの両者が共にフ
ァイルの構成情報を管理しているので、ホストコンピュ
ータ51はコピー元となるディスク装置Aに対し、対象
ファイル(コピー元ファイル)を指定する情報と、コピ
ー先のディスク装置を指定する情報と、コピー先ファイ
ルを指定する情報とを含むファイルコピー要求を送るだ
けでよくい。これにより、従来ファイルコピーに伴って
発生していた、ホストコンピュータ51の負荷を軽減す
ることができる。なお、ファイルコピーが同一ディスク
装置内で行われるものであっても構わない。
As described above, in this embodiment, since both the copy source disk device A and the copy destination disk device B manage the file configuration information, the host computer 51 sends the copy source disk device A to the copy source disk device A. It is only necessary to send a file copy request including information specifying a target file (copy source file), information specifying a copy destination disk device, and information specifying a copy destination file. As a result, the load on the host computer 51, which has conventionally occurred with file copying, can be reduced. Note that the file copy may be performed in the same disk device.

【0049】次に、図5の構成におけるミラーファイル
の作成及びミラーファイルアクセスについて、図6を参
照して説明する。ホストコンピュータ51は、例えばデ
ィスク装置A(内のHDD521A)上のファイルにつ
いて、別のディスク装置(ここではディスク装置B)に
ファイル単位でミラーデータを作成したい場合、ファイ
ル書き込み要求を用いる。このファイル書き込み要求
(ミラーファイル作成要求)は、対象ファイルを指定す
る情報(ファイル名,パス等)と、ミラーファイル書き
込み先のディスク装置(B)を指定する情報(ディスク
装置識別情報)と、ミラーファイルを指定する情報(フ
ァイル名,パス等)を含んでいる。
Next, creation of a mirror file and access to a mirror file in the configuration of FIG. 5 will be described with reference to FIG. The host computer 51 uses a file write request when, for example, it is desired to create mirror data for a file on the disk device A (the HDD 521A therein) in another disk device (here, the disk device B) in file units. This file write request (mirror file creation request) includes information (file name, path, etc.) specifying the target file, information specifying the disk device (B) to which the mirror file is to be written (disk device identification information), and mirror information. It contains information that specifies a file (file name, path, etc.).

【0050】今、ホストコンピュータ51からディスク
装置Aにファイル書き込み要求が送られたものとする
(ステップS31)。この場合、ディスク装置A(内の
メタデータ管理部)は、ホストコンピュータ51からの
ファイル書き込み要求に応じてHDD521Aからメタ
データを読み出して解析すことにより、対象ファイルを
構成するデータブロック群54のデータ位置を特定する
(ステップS32)。
Now, it is assumed that a file write request has been sent from the host computer 51 to the disk device A (step S31). In this case, the disk device A (the metadata management unit therein) reads out and analyzes the metadata from the HDD 521A in response to the file write request from the host computer 51, thereby obtaining the data of the data block group 54 constituting the target file. The position is specified (step S32).

【0051】そしてディスク装置Aは、先に述べたファ
イルコピーの場合と同様の手順で、ディスク装置Bと協
動して当該ディスク装置BのHDD521Bにデータブ
ロック群54を書き込むことで、対象ファイルに対応し
たファイルレベルのミラーデータ55(ミラーファイ
ル)を作成する(ステップS33)。この際、ディスク
装置A(内のメタデータ管理部)は、ミラーファイルの
作成先ディスク装置Bの指定情報と当該ミラーファイル
の指定情報とを、対象ファイルの指定情報に対応させて
保持する。
Then, the disk device A writes the data block group 54 to the HDD 521B of the disk device B in cooperation with the disk device B in the same procedure as in the case of the file copy described above, so that the The corresponding file-level mirror data 55 (mirror file) is created (step S33). At this time, the disk device A (the metadata management unit therein) holds the specification information of the disk device B where the mirror file is created and the specification information of the mirror file in association with the specification information of the target file.

【0052】なお、ここでは説明を簡略化するために、
ディスク装置A(のHDD521A)に格納されている
ファイルのミラーデータをディスク装置B(のHDD5
21B)に作成するものとしたが、ディスク装置Aへの
ファイル書き込み時に、そのファイルのミラーデータを
(ミラーファイル)をディスク装置Bに作成することも
可能である。
Here, in order to simplify the explanation,
The mirror data of the file stored in the disk device A (the HDD 521A) is transferred to the disk device B (the HDD 5
21B), it is also possible to create mirror data (mirror file) of the file in the disk device B when writing the file to the disk device A.

【0053】その後、ホストコンピュータ51からディ
スク装置Aに、ファイルアクセスのために、アクセス対
象となるファイルを構成するデータ位置を問い合わせる
ファイル構成データ位置特定要求が与えられたものとす
る(ステップS41)。
Thereafter, it is assumed that the host computer 51 has given the disk device A a file configuration data position specification request for inquiring the data position of the file to be accessed for file access (step S41).

【0054】ディスク装置A(内のメタデータ管理部)
は、ホストコンピュータ51からのファイル構成データ
位置特定要求を受け取ると、HDD521Aからメタデ
ータを読み出して解析することにより、アクセス対象フ
ァイルを構成するデータブロック群54のデータ位置を
特定する(ステップS42)。もし、ここで対象データ
を保持するHDD521A上に何らかの障害が発生して
いた場合(ステップS43)、ディスク装置A(内のメ
タデータ管理部)は、アクセス対象ファイルと対応させ
て保持していた、ミラーファイルの作成先ディスク装置
(B)を指定するディスク装置識別情報と当該ミラーフ
ァイルを指定する情報とに基づき、ディスク装置Bに対
してミラーファイルを構成するデータの位置を問い合わ
せるファイル構成データ位置特定要求を送る。これによ
りディスク装置Aは、ディスク装置Bからミラーファイ
ルを構成するデータの位置(つまりディスク装置B上の
ミラーデータの位置)の情報を取得し、当該ディスク装
置Bを指定する情報と共にホストコンピュータ51に通
知する(ステップS44)。
Disk device A (internal metadata management unit)
Receives the file configuration data position specification request from the host computer 51, reads out and analyzes the metadata from the HDD 521A, and specifies the data position of the data block group 54 configuring the access target file (step S42). If any failure has occurred on the HDD 521A holding the target data (step S43), the disk device A (the metadata management unit therein) holds the target data in association with the access target file. File configuration data position identification for inquiring the disk device B of the position of the data constituting the mirror file based on the disk device identification information specifying the disk device (B) where the mirror file is created and the information specifying the mirror file Send request. Thereby, the disk device A obtains information on the position of the data constituting the mirror file (that is, the position of the mirror data on the disk device B) from the disk device B, and sends it to the host computer 51 together with the information specifying the disk device B. Notify (step S44).

【0055】ホストコンピュータ51は、このディスク
装置Aからの通知を受けると、通知されたミラーデータ
の位置情報に基づき、通知されたディスク装置識別情報
の示すディスク装置Bに対して実際のデータアクセスを
行う(ステップS45)。
Upon receiving the notification from the disk device A, the host computer 51 performs actual data access to the disk device B indicated by the notified disk device identification information based on the notified mirror data position information. Perform (Step S45).

【0056】このように本実施形態においては、SAN
53上におけるディスク装置間のミラーが実現でき、ま
たファイル単位でSAN53上の任意のディスク装置上
にミラーデータを作成することもできる。これにより、
複数のディスク装置間が連携する可用性に優れた柔軟な
システム構成が可能となる。
As described above, in the present embodiment, the SAN
Mirroring between disk devices on the SAN 53 can be realized, and mirror data can be created on any disk device on the SAN 53 in file units. This allows
A highly available and flexible system configuration in which a plurality of disk devices cooperate can be realized.

【0057】なお、本発明は、上記(各)実施形態に限
定されるものではなく、実施段階ではその要旨を逸脱し
ない範囲で種々に変形することが可能である。更に、上
記実施形態には種々の段階の発明が含まれており、開示
される複数の構成要件における適宜な組み合わせにより
種々の発明が抽出され得る。例えば、実施形態に示され
る全構成要件から幾つかの構成要件が削除されても、発
明が解決しようとする課題の欄で述べた課題の少なくと
も1つが解決でき、発明の効果の欄で述べられている効
果の少なくとも1つが得られる場合には、この構成要件
が削除された構成が発明として抽出され得る。
The present invention is not limited to the above embodiments, but can be variously modified at the stage of implementation without departing from the scope of the invention. Further, the embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some components are deleted from all the components shown in the embodiment, at least one of the problems described in the column of the problem to be solved by the invention can be solved, and the problem described in the column of the effect of the invention can be solved. In the case where at least one of the effects described above is obtained, a configuration from which this component is deleted can be extracted as an invention.

【0058】[0058]

【発明の効果】以上詳述したように本発明によれば、フ
ァイルの構成を定義したファイル構成情報(メタデー
タ)をディスク装置側で管理するようにしたことによ
り、ホストコンピュータは、ファイルをアクセスする場
合に、ファイルを構成するデータの位置情報をディスク
装置に問い合わせ、得られたデータの位置情報に基づい
て、改めてディスク装置のデータにアクセスするだけで
よく、ホストコンピュータの負荷を軽減して効率的にア
クセスできる。
As described above in detail, according to the present invention, the file structure information (metadata) defining the file structure is managed on the disk device side, so that the host computer can access the file. In this case, it is only necessary to inquire the disk device about the location information of the data constituting the file and to access the data of the disk device again based on the obtained location information of the data, thereby reducing the load on the host computer and improving efficiency. Can be accessed.

【0059】また本発明によれば、ホストコンピュータ
からのアクセス対象ファイルを構成するデータの位置情
報の問い合わせの段階で、ファイルレベルでディスクキ
ャッシュへのデータプリフェッチを行うことが可能なた
め、データ読み出し時のディスクキャッシュヒット率を
向上でき、高速にアクセス可能なディスク装置を提供す
ることができる。
According to the present invention, the data prefetch to the disk cache can be performed at the file level at the stage of inquiring the position information of the data constituting the file to be accessed from the host computer. Can improve the disk cache hit rate and provide a disk device that can be accessed at high speed.

【0060】また本発明によれば、SAN等のインタフ
ェースに接続されたディスク装置(同一ディスク装置、
あるいは異なるディスク装置であってもよい)間で、ホ
ストコンピュータに負荷をかけずにファイルコピーを行
うことができる。
Further, according to the present invention, a disk device (same disk device,
Alternatively, file copying can be performed between the different disk devices without burdening the host computer.

【0061】また本発明によれば、SAN等のインタフ
ェースに接続された任意のディスク装置間で、ミラーフ
ァイルを作成することができ、いずれかのディスク装置
で障害が発生した場合でも、ホストコンピュータのファ
イルアクセスを継続することができる。
Further, according to the present invention, a mirror file can be created between arbitrary disk devices connected to an interface such as a SAN, and even if a failure occurs in any one of the disk devices, a mirror file of the host computer can be created. File access can be continued.

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

【図1】本発明の第1の実施形態に係るディスク装置を
適用した計算機システムの構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a computer system to which a disk device according to a first embodiment of the present invention is applied.

【図2】同第1の実施形態におけるファイルアクセス時
の動作を説明するための図。
FIG. 2 is an exemplary view for explaining an operation at the time of file access in the first embodiment.

【図3】本発明の第2の実施形態に係るディスク装置を
適用した計算機システムの構成を示すブロック図。
FIG. 3 is an exemplary block diagram showing a configuration of a computer system to which a disk device according to a second embodiment of the present invention is applied.

【図4】同第2の実施形態におけるファイルアクセス時
の動作を説明するための図。
FIG. 4 is an exemplary view for explaining an operation at the time of file access in the second embodiment.

【図5】本発明の第3の実施形態に係るディスク装置を
適用した計算機システムの構成を示すブロック図。
FIG. 5 is a block diagram showing a configuration of a computer system to which a disk device according to a third embodiment of the present invention is applied.

【図6】同第3の実施形態におけるミラーファイルの作
成及びミラーファイルアクセスを説明するための図。
FIG. 6 is an exemplary view for explaining creation of a mirror file and access to a mirror file in the third embodiment.

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

11,31,51…ホストコンピュータ 12,32,A,B…ディスク装置 13,33…インタフェース 53…SAN(ストレージエリアネットワーク、インタ
フェース) 121,321,521A,521B…HDD 122,322,522A,522B…コントローラ 122a,322a…データアクセス管理部 122b,322b…メタデータ管理部(ファイル構成
情報管理手段) 323…ディスクキャッシュ
11, 31, 51 ... host computer 12, 32, A, B ... disk device 13, 33 ... interface 53 ... SAN (storage area network, interface) 121, 321, 521A, 521B ... HDD 122, 322, 522A, 522B ... Controllers 122a, 322a: Data access management unit 122b, 322b: Metadata management unit (file configuration information management unit) 323: Disk cache

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06F 12/16 320 G06F 12/16 320L 13/10 340 13/10 340A Fターム(参考) 5B005 JJ13 KK02 MM11 NN22 5B014 EB04 FA03 5B018 GA04 HA04 KA14 MA12 QA01 5B065 BA01 CA11 CC03 CE11 CE22 EA31 EA33 ZA15 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G06F 12/16 320 G06F 12/16 320L 13/10 340 13/10 340A F-term (Reference) 5B005 JJ13 KK02 MM11 NN22 5B014 EB04 FA03 5B018 GA04 HA04 KA14 MA12 QA01 5B065 BA01 CA11 CC03 CE11 CE22 EA31 EA33 ZA15

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ホストコンピュータに接続して用いられ
るディスク装置において、 各種ファイルを含む情報を格納するための少なくとも1
つのディスクドライブと、 前記ディスクドライブを制御するコントローラであっ
て、前記ディスクドライブに対するアクセス管理を行う
データアクセス管理手段、及び前記ディスクドライブに
格納されているファイルの構成を定義したファイル構成
情報を管理し、前記ホストコンピュータから、データア
クセスのためにアクセス対象ファイルを構成するデータ
の位置情報の問い合わせがあった場合に、当該ファイル
構成情報に基づいてアクセス対象ファイルを構成するデ
ータの位置を特定し、その位置情報を前記ホストコンピ
ュータに通知するファイル構成情報管理手段を有するコ
ントローラとを具備することを特徴とするディスク装
置。
At least one storage device for storing information including various files in a disk device used by being connected to a host computer.
Two disk drives, a controller that controls the disk drives, a data access management unit that performs access management for the disk drives, and manages file configuration information that defines the configuration of files stored in the disk drives. From the host computer, when inquired about the position information of the data constituting the access target file for data access, specify the position of the data constituting the access target file based on the file configuration information, A disk device comprising: a controller having file configuration information management means for notifying position information to the host computer.
【請求項2】 前記ディスクドライブの格納データの一
部を保持するディスクキャッシュを更に具備し、 前記データアクセス管理手段は、前記ファイル構成情報
管理手段により前記ホストコンピュータに対して前記ア
クセス対象ファイルを構成するデータの位置情報が通知
される際に、当該位置情報に基づき前記アクセス対象フ
ァイルを構成するデータを前記ディスクドライブから前
記ディスクキャッシュに予め読み込むことを特徴とする
請求項1記載のディスク装置。
2. The system according to claim 1, further comprising a disk cache for holding a part of data stored in said disk drive, wherein said data access management means configures said file to be accessed to said host computer by said file configuration information management means. 2. The disk device according to claim 1, wherein, when the position information of the data to be transmitted is notified, data constituting the access target file is read from the disk drive to the disk cache in advance based on the position information.
【請求項3】 ホストコンピュータからアクセス可能
な、請求項1または請求項2に記載の複数のディスク装
置と、前記複数のディスク装置を接続すると共に、当該
複数のディスク装置を前記ホストコンピュータと接続す
るインタフェースとを具備し、 前記ディスク装置は、ホストコンピュータからファイル
のコピー要求が与えられた場合に、前記ファイル構成情
報管理手段によりコピー元ファイルまたはコピー先ファ
イルを構成するデータの位置情報を特定させ、当該位置
情報を用いることで、同一のディスク装置内または異な
るディスク装置間でファイルのコピーを行うファイルコ
ピー手段を備えていることを特徴とする計算機システ
ム。
3. The plurality of disk devices according to claim 1 or 2, which are accessible from a host computer, and the plurality of disk devices are connected, and the plurality of disk devices are connected to the host computer. Interface, the disk device, when a file copy request is given from the host computer, the file configuration information management means to specify the position information of the data constituting the copy source file or the copy destination file, A computer system comprising a file copy unit for copying a file within the same disk device or between different disk devices by using the position information.
【請求項4】 ホストコンピュータからアクセス可能
な、請求項1または請求項2に記載の複数のディスク装
置と、前記複数のディスク装置を接続すると共に、当該
複数のディスク装置を前記ホストコンピュータと接続す
るインタフェースとを具備し、 前記ディスク装置は、ホストコンピュータからミラーフ
ァイルの作成要求が与えられた場合に、自装置の前記フ
ァイル構成情報管理手段により対象となるファイルを構
成するデータの位置情報を特定させると共に、ミラーフ
ァイル作成先のディスク装置の前記ファイル構成情報管
理手段によりミラーファイルを構成するデータの位置情
報を特定させ、当該位置情報を用いることで、前記ミラ
ーファイル作成先のディスク装置上に前記ミラーファイ
ルを作成するミラーファイル作成手段と、前記ホストコ
ンピュータからのファイルアクセス要求時に障害が発生
した場合、要求されたファイルのミラーデータを保持す
るディスク装置を指定するディスク識別情報及び当該ミ
ラーデータの位置情報を前記ホストコンピュータに通知
するミラーファイル通知手段とを備えていることを特徴
とする計算機システム。
4. The plurality of disk devices according to claim 1 or 2, which are accessible from a host computer, and the plurality of disk devices are connected, and the plurality of disk devices are connected to the host computer. The disk device, when receiving a mirror file creation request from the host computer, causes the file configuration information management means of the disk device to specify position information of data constituting the target file. At the same time, the position information of the data constituting the mirror file is specified by the file configuration information management means of the disk device where the mirror file is created, and the mirror information is specified on the disk device where the mirror file is created by using the position information. Mirror file creation means for creating files, and Mirror file notifying means for notifying the host computer of disk identification information designating a disk device holding the mirror data of the requested file and position information of the mirror data when a failure occurs at the time of a file access request from the host computer A computer system comprising:
JP2000200304A 2000-06-30 2000-06-30 Disk device and computer system having a plurality of the same Expired - Fee Related JP3999446B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000200304A JP3999446B2 (en) 2000-06-30 2000-06-30 Disk device and computer system having a plurality of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000200304A JP3999446B2 (en) 2000-06-30 2000-06-30 Disk device and computer system having a plurality of the same

Publications (2)

Publication Number Publication Date
JP2002023960A true JP2002023960A (en) 2002-01-25
JP3999446B2 JP3999446B2 (en) 2007-10-31

Family

ID=18698193

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000200304A Expired - Fee Related JP3999446B2 (en) 2000-06-30 2000-06-30 Disk device and computer system having a plurality of the same

Country Status (1)

Country Link
JP (1) JP3999446B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003075166A1 (en) * 2002-03-06 2003-09-12 Fujitsu Limited Storage system and data transfer method in the system
JP2006113902A (en) * 2004-10-15 2006-04-27 Canon Inc Information processing apparatus
JP2008527496A (en) * 2004-12-29 2008-07-24 ネットセル コーポレイション Intelligent storage engine for disk drive operation with reduced local bus traffic
US7624091B2 (en) 2003-11-12 2009-11-24 Hitachi, Ltd. Data prefetch in storage device
US9384201B2 (en) 2006-03-22 2016-07-05 Samsung Electronics Co., Ltd. Method of managing data of file system using database management system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003075166A1 (en) * 2002-03-06 2003-09-12 Fujitsu Limited Storage system and data transfer method in the system
US7624091B2 (en) 2003-11-12 2009-11-24 Hitachi, Ltd. Data prefetch in storage device
JP2006113902A (en) * 2004-10-15 2006-04-27 Canon Inc Information processing apparatus
JP4498091B2 (en) * 2004-10-15 2010-07-07 キヤノン株式会社 Information processing device
JP2008527496A (en) * 2004-12-29 2008-07-24 ネットセル コーポレイション Intelligent storage engine for disk drive operation with reduced local bus traffic
US9384201B2 (en) 2006-03-22 2016-07-05 Samsung Electronics Co., Ltd. Method of managing data of file system using database management system

Also Published As

Publication number Publication date
JP3999446B2 (en) 2007-10-31

Similar Documents

Publication Publication Date Title
US7555599B2 (en) System and method of mirrored RAID array write management
JP5951582B2 (en) Hypervisor I / O staging on external cache devices
US7124152B2 (en) Data storage device with deterministic caching and retention capabilities to effect file level data transfers over a network
US7996623B2 (en) Read ahead storage control
JP3697149B2 (en) How to manage cache memory
KR20120050891A (en) Latency reduction associated with a response to a request in a storage system
JP2002123479A (en) Disk control device and method for controlling its cache
KR20070015185A (en) Dynamic loading of virtual volume data in a virtual tape server
JP2002207620A (en) File system and data caching method of the same system
JP6417951B2 (en) Storage control device and storage control program
US8898357B1 (en) Storage integration plugin for virtual servers
JP2005322237A (en) Point in time copy between data storage
US10346051B2 (en) Storage media performance management
US9778927B2 (en) Storage control device to control storage devices of a first type and a second type
WO2011121590A1 (en) Log structure array
JP5415333B2 (en) A system that reduces drive overhead by using a cache volume mirrored in a storage array
US8429344B2 (en) Storage apparatus, relay device, and method of controlling operating state
CN114860154B (en) Data migration using cache state changes
US20060277353A1 (en) Virtual tape library device, virtual tape library system, and method for writing data to a virtual tape
JP4461089B2 (en) Storage control apparatus and storage control method
JP2001195197A (en) Digital data sub-system including directory to efficiently provide format information about stored record
JP3999446B2 (en) Disk device and computer system having a plurality of the same
US9588898B1 (en) Fullness control for media-based cache operating in a steady state
JP4373450B2 (en) RAID control apparatus and control method thereof
KR101152108B1 (en) Hybrid hard disk drive apparatus and read/write control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040915

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070315

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070327

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070518

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070807

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070809

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100817

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100817

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110817

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120817

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees