JP5597266B2 - Storage system - Google Patents

Storage system Download PDF

Info

Publication number
JP5597266B2
JP5597266B2 JP2013004350A JP2013004350A JP5597266B2 JP 5597266 B2 JP5597266 B2 JP 5597266B2 JP 2013004350 A JP2013004350 A JP 2013004350A JP 2013004350 A JP2013004350 A JP 2013004350A JP 5597266 B2 JP5597266 B2 JP 5597266B2
Authority
JP
Japan
Prior art keywords
area
storage
pool
control method
data
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.)
Active
Application number
JP2013004350A
Other languages
Japanese (ja)
Other versions
JP2013101665A (en
Inventor
康友 山本
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2013004350A priority Critical patent/JP5597266B2/en
Publication of JP2013101665A publication Critical patent/JP2013101665A/en
Application granted granted Critical
Publication of JP5597266B2 publication Critical patent/JP5597266B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、計算機システムにおいて計算機によりアクセスされるストレージシステムの
制御方法および管理方法に係り、特に、ストレージシステムに搭載した不揮発メモリの記
憶領域の割り当てを行うための方法、および、記憶領域の管理方法に関する。
The present invention relates to a control method and a management method of a storage system accessed by a computer in a computer system, and in particular, a method for allocating a storage area of a nonvolatile memory mounted in a storage system, and a storage area management method About.

文書電子化の規制緩和や手続きの電子化、インターネットビジネスの拡大に伴って、企
業などで取り扱われる情報が爆発的に増大している。このような情報増大に加え、ディス
ク装置から別のディスク装置へのデータバックアップ(Disk−toーDisk Ba
ckup)や監査対応などによる企業の業務活動記録(取引情報やメールなど)の長期保
管などの顧客要求の高まりによって、ストレージ装置に格納するデータ量が飛躍的に増加
し、ストレージシステムの大規模化を招いている。
With the deregulation of computerization of documents, the digitization of procedures, and the expansion of the Internet business, information handled by corporations has increased explosively. In addition to such information increase, data backup from a disk device to another disk device (Disk-to-Disk Ba)
The amount of data stored in storage devices has increased dramatically due to increasing customer demands such as long-term storage of corporate business activity records (transaction information, e-mails, etc.) due to response to audits and audits. Is invited.

これに伴い、企業情報システムでは、各部門/各システムのストレージ増強を図る一方
で、複雑化するITインフラストラクチャの管理の簡素化や効率化が求められている。特
にストレージ装置の管理を簡素化し、データの価値に応じ最適なストレージを活用してト
ータルコストの最適化を図ることへの期待が高まっている。
Along with this, in the enterprise information system, while increasing the storage of each department / system, it is required to simplify and improve the management of the complicated IT infrastructure. In particular, there is an increasing expectation for simplifying management of storage devices and optimizing total cost by utilizing optimal storage according to the value of data.

大規模ストレージシステムの管理コストを低減する方法の一つとして、特許文献1に開
示されるようなストレージ仮想化技術が挙げられる。特許文献1では、第一のストレージ
を一台以上の第二のストレージへ接続し、第二のストレージがホスト等上位に提供するデ
バイス(以下、論理デバイスと呼ぶ)を第一のストレージを介して第一のストレージの論
理デバイスとしてホストへ提供するストレージ仮想化技術(以下、外部ストレージ接続方
法と呼ぶ)が開示されている。第一のストレージはホストからの論理デバイスへの入出力
要求を受信した際に、アクセス対象のデバイスが第二のストレージの論理デバイス若しく
は第一ストレージ内のディスク装置などの物理デバイスのいずれに対応しているのかを判
定し、判定結果に従って適当なアクセス先に入出力要求を振り分ける。
One method for reducing the management cost of a large-scale storage system is a storage virtualization technique as disclosed in Patent Document 1. In Patent Document 1, a first storage is connected to one or more second storages, and a device (hereinafter referred to as a logical device) provided by the second storage to a host or the like via the first storage is passed through the first storage. A storage virtualization technique (hereinafter referred to as an external storage connection method) provided to a host as a logical device of the first storage is disclosed. When the first storage receives an I / O request to the logical device from the host, the access target device corresponds to either the logical device of the second storage or a physical device such as a disk device in the first storage. I / O requests are distributed to the appropriate access destination according to the determination result.

また、ストレージシステム設計を簡素化する方法の一つとして、特許文献2に開示され
るような動的に容量を拡張可能なボリューム管理技術(以下、拡張ボリュームと呼ぶ)が
挙げられる。特許文献2では、論理デバイス定義時に、ユーザから要求されたデバイス容
量分の物理記憶領域(HDDなど)を固定的に割り当てるのではなく、ストレージ内にプー
ル領域を設けて、当該論理デバイスへ更新アクセスが行われた際に、当該更新部分に対し
てのみ、プール領域から規定量の物理記憶領域を動的に追加していく。これにより、少な
い物理記憶領域で大容量な論理デバイスを導入でき、ストレージ容量設計の簡易化が可能
となる。
Further, as one method for simplifying the storage system design, there is a volume management technique (hereinafter referred to as an expansion volume) that can dynamically expand the capacity as disclosed in Patent Document 2. In Patent Document 2, when a logical device is defined, a physical storage area (HDD or the like) corresponding to the device capacity requested by the user is not fixedly allocated, but a pool area is provided in the storage, and update access to the logical device is performed. Is performed, a specified amount of physical storage area is dynamically added from the pool area only to the updated portion. As a result, a large-capacity logical device can be introduced with a small physical storage area, and the storage capacity design can be simplified.

一方、上記のように大量データを格納する大規模ストレージシステムの導入・運用コス
トを低減する方法の一つとして、特許文献3に開示されるフラッシュメモリのような不揮
発メモリを採用したストレージ実装技術が考えられる。特許文献3では、フラッシュメモ
リの欠点である、書き換え回数増加を契機としたライト失敗に対する対策について開示さ
れている。特許文献3の技術などを用いることで、HDDに代えて又は加えてフラッシュ
メモリなどの不揮発メモリを搭載し、不揮発メモリで、ホストに書かれる又は読み出され
るデータを記憶するストレージが考えられる。ホストデータを不揮発メモリへ格納するこ
とで、ディスク装置を搭載するストレージ装置と比較して、I/O処理高速化と消費電力
低減を両立可能なストレージ装置を提供できる。これによって、導入システムの小規模化
やシステムランニングコスト(消費電力量)の低減が実現可能となる。なお、現在主流の
不揮発メモリであるフラッシュメモリは、計算機の主記憶として用いられるDRAMやS-RAM
などと比較して、低速かつ書き込み回数制限など、使い勝手に影響する特性を有している
ため、ディスク装置代替など二次記憶装置として活用されている。
On the other hand, as one of the methods for reducing the introduction / operation cost of a large-scale storage system that stores a large amount of data as described above, there is a storage packaging technology that employs a nonvolatile memory such as a flash memory disclosed in Patent Document 3. Conceivable. Patent Document 3 discloses a countermeasure against a write failure triggered by an increase in the number of rewrites, which is a drawback of a flash memory. By using the technique of Patent Document 3, a nonvolatile memory such as a flash memory is mounted instead of or in addition to the HDD, and a storage that stores data written to or read from the host by the nonvolatile memory is conceivable. By storing the host data in the non-volatile memory, it is possible to provide a storage apparatus that can achieve both high-speed I / O processing and low power consumption as compared with a storage apparatus equipped with a disk device. This makes it possible to reduce the size of the introduction system and reduce the system running cost (power consumption). Note that flash memory, which is currently the mainstream nonvolatile memory, is DRAM or S-RAM used as the main memory of computers.
Compared to the above, it has characteristics that affect usability, such as a low speed and a limited number of times of writing. Therefore, it is used as a secondary storage device such as disk device replacement.

特開2005−11277号公報JP 2005-11277 A 特開2003−15915号公報JP 2003-15915 A 特許3507132号Patent 3507132

特許文献1に示す第一のストレージでは、外部ストレージである第二のストレージの入
出力処理のためのキャッシュメモリを搭載する必要がある。キャッシュメモリとは、スト
レージが搭載するディスク装置への入出力処理に際して、リード又はライト対象データを
一時的に格納し、キャッシュヒットによるリードおよびライト処理の高速化を実現するも
ので、ほとんどのストレージシステムに搭載されている。本明細書では、キャッシュメモ
リのように、データを一時的に格納する記憶領域を「一時領域」、ディスク装置のように
、データの最終格納先である記憶領域を「常置領域」と呼ぶこととする。
In the first storage shown in Patent Document 1, it is necessary to mount a cache memory for input / output processing of the second storage, which is an external storage. The cache memory temporarily stores data to be read or written during input / output processing to the disk device installed in the storage, and realizes high-speed read and write processing due to a cache hit. Most storage systems It is mounted on. In this specification, a storage area that temporarily stores data, such as a cache memory, is referred to as a “temporary area”, and a storage area that is the final storage destination of data, such as a disk device, is referred to as a “permanent area”. To do.

外部ストレージへの入出力を高速に実行するためには、外部ストレージの容量やアクセ
ス特性(局所性など)に応じて、入出力処理に必要な容量のキャッシュメモリ(一時領域
)を割り当てなければならない。
In order to execute I / O to external storage at high speed, it is necessary to allocate cache memory (temporary area) with a capacity necessary for I / O processing according to the capacity and access characteristics (locality, etc.) of external storage. .

従来、このキャッシュメモリ(一時領域)にはDRAMやSRAMなどのメモリデバイスが採用
され、高コスト高速小容量といった、ディスク装置(常置領域)とは全く異なる特性を持
った記憶媒体として、ストレージシステムの高速化に寄与してきた。逆に、一時領域に求
められる特性に応えるため、前述の第一のストレージでは、搭載するディスク装置(常置
領域)とは別に、外部ストレージ(および内部に搭載するディスク装置)用の一時領域と
してメモリデバイスを搭載せざるを得なかった。
Conventionally, memory devices such as DRAM and SRAM have been used for this cache memory (temporary area), and as a storage medium with completely different characteristics from disk devices (permanent area), such as high cost, high speed, and small capacity, Contributed to speeding up. On the other hand, in order to meet the characteristics required for the temporary area, in the first storage described above, a memory is provided as a temporary area for external storage (and the disk apparatus mounted inside) separately from the mounted disk apparatus (permanent area). I had to install the device.

ところが、前述の外部ストレージ接続手段を有する第一のストレージが、不揮発メモリ
を常置領域として用いるストレージである場合、外部ストレージの一時領域として、常置
領域と同様、不揮発メモリを用いることが可能となる。一時領域/常置領域として共に不
揮発メモリを用いることで、ディスク装置とメモリを共に実装する必要が無くなり、ハー
ドウェアが単純化され、ハードウェアコストの低減などが可能となる。しかし、この実現
には、不揮発メモリ上に割り当てる一時領域および常置領域の容量・場所を決定・管理可
能な管理技術が必要となる。また、外部ストレージの増減設やアクセス特性の変化に応じ
て、外部ストレージの入出力処理要件を満たす一時領域割り当てへの変更が必要となる。
However, when the first storage having the external storage connection means described above is a storage that uses a nonvolatile memory as a permanent area, it is possible to use the nonvolatile memory as a temporary area of the external storage as in the permanent area. By using nonvolatile memory as both the temporary area and the permanent area, it is not necessary to mount both the disk device and the memory, the hardware is simplified, and the hardware cost can be reduced. However, for this realization, a management technique capable of determining and managing the capacity / location of the temporary area and the permanent area allocated on the nonvolatile memory is required. Further, according to the increase / decrease of the external storage and the change of access characteristics, it is necessary to change to temporary area allocation that satisfies the input / output processing requirements of the external storage.

また、将来技術として研究が進められているMRAMなどの次世代不揮発メモリでは、DRAM
などに匹敵する高速性と書き込み制限の解消の実現が計画されており、新しい不揮発メモ
リの登場で新しいアーキテクチャが必要になる。
For next-generation non-volatile memory such as MRAM, which is being studied as a future technology, DRAM
It is planned to achieve high speed comparable to the above and to eliminate write restrictions, and new nonvolatile memory will require a new architecture.

本発明の目的は、外部ストレージ接続手段を有し、常置領域として不揮発メモリを搭載
したストレージと外部ストレージからなるストレージシステムにおいて、外部ストレージ
の入出力処理要件に応じた一時領域容量の決定、割り当て領域の選定および管理を可能と
することである。
An object of the present invention is to determine the temporary area capacity according to the input / output processing requirements of the external storage and allocate the area in a storage system having external storage connection means and having a nonvolatile memory as a permanent area and an external storage. It is possible to select and manage.

管理サーバおよびストレージシステムは、ユーザもしくはアプリケーションプログラム
からの指示、またはストレージデバイス増減設などの構成変更に応じて、ストレージ内に
搭載した不揮発メモリに割り当てる一時領域、すなわち、ホストからのデータ入出力時に
一時的にデータを格納する記憶領域の容量を決定し、当該一時領域を不揮発メモリの特定
領域へ割り当てる。
The management server and the storage system respond to an instruction from the user or application program or a configuration change such as storage device increase / decrease. The capacity of the storage area for storing data is determined, and the temporary area is allocated to a specific area of the nonvolatile memory.

さらに、ディスク装置や不揮発メモリなどのデータ常置領域、すなわちホストデータを
格納する記憶領域の容量変化やアクセス特性の変化に応じて、不揮発メモリに割り当てた
一時領域の容量を増減させる。
Further, the capacity of the temporary area allocated to the nonvolatile memory is increased / decreased in accordance with a change in capacity of a data permanent area such as a disk device or a nonvolatile memory, that is, a storage area for storing host data or a change in access characteristics.

本発明のストレージシステムによれば、仮想ストレージシステムの構成や被仮想化デバ
イスの容量やアクセス特性に応じて、一時領域容量を決定し、不揮発メモリを一時領域と
常置領域それぞれに使い分けることが可能となる。
According to the storage system of the present invention, it is possible to determine the temporary area capacity according to the configuration of the virtual storage system, the capacity of the virtualized device and the access characteristics, and to use the nonvolatile memory separately for the temporary area and the permanent area. Become.

計算機システムのハードウェア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a computer system. ストレージのソフトウェア構成の一例を示す図である。It is a figure which shows an example of the software configuration of a storage. 論理デバイス管理情報の一例を示す図である。It is a figure which shows an example of logical device management information. LUパス管理情報の一例を示す図である。It is a figure which shows an example of LU path management information. 物理デバイス管理情報の一例を示す図である。It is a figure which shows an example of physical device management information. 外部デバイス管理情報の一例を示す図である。It is a figure which shows an example of external device management information. 拡張ボリューム管理情報の一例を示す図である。It is a figure which shows an example of extended volume management information. プールボリューム管理情報の一例を示す図である。It is a figure which shows an example of pool volume management information. 実施例1において、管理サーバ110で実行される、一時領域定義指示処理243の処理フローの一例を示す図である。FIG. 10 is a diagram illustrating an example of a processing flow of a temporary area definition instruction process 243 executed by the management server 110 in the first embodiment. 実施例1において、ストレージ130で実行される、一時領域定義処理224の処理フローの一例を示す図である。FIG. 10 is a diagram illustrating an example of a processing flow of a temporary area definition process 224 executed in the storage 130 in the first embodiment. 実施例1において、ストレージ130で実行される、物理デバイス定義処理226の処理フローの一例を示す図である。6 is a diagram illustrating an example of a processing flow of physical device definition processing 226 executed in the storage 130 in Embodiment 1. FIG. 実施例1において、管理サーバ110で実行される、デバイス定義指示処理241の処理フローの一例を示す図である。FIG. 10 is a diagram illustrating an example of a process flow of a device definition instruction process 241 executed by the management server 110 in the first embodiment. 実施例1において、ストレージ130で実行される、デバイス定義処理222の処理フローの一例を示す図である。FIG. 10 is a diagram illustrating an example of a process flow of a device definition process 222 executed in the storage 130 in the first embodiment. 実施例2において、管理サーバ110で実行される、一時領域変更指示処理244の処理フローの一例を示す図である。FIG. 10 is a diagram illustrating an example of a processing flow of a temporary area change instruction process 244 executed by the management server 110 in the second embodiment. 実施例2において、ストレージ130で実行される、一時領域割当解除処理225の処理フローの一例を示す図である。FIG. 10 is a diagram illustrating an example of a processing flow of a temporary area deallocation process 225 executed in the storage 130 in the second embodiment. 実施例2において、ストレージ130で実行される、デバイス移行処理223の処理フローの一例を示す図である。FIG. 10 is a diagram illustrating an example of a processing flow of device migration processing 223 executed in the storage 130 in the second embodiment. 実施例2において、ストレージ130で実行される、物理デバイス定義解除処理227の処理フローの一例を示す図である。FIG. 10 is a diagram illustrating an example of a processing flow of physical device definition cancellation processing 227 executed in the storage 130 in the second embodiment. 実施例2において、管理サーバ110で実行される、デバイス移行指示処理242の処理フローの一例を示す図である。FIG. 10 is a diagram illustrating an example of a process flow of a device migration instruction process 242 executed by the management server 110 in the second embodiment. 実施例1および2において、ストレージ130で実行される、I/O処理処理221の処理フローの一例を示す図である。FIG. 11 is a diagram illustrating an example of a processing flow of an I / O processing process 221 executed in the storage 130 in the first and second embodiments. 実施例1および2において、ストレージ130に搭載する不揮発メモリ134の構成の一例を示す図である。3 is a diagram illustrating an example of a configuration of a nonvolatile memory 134 mounted in a storage 130 in Embodiments 1 and 2. FIG. 実施例2において、管理サーバが保持するアドレス変換テーブルの一例を示す図である。In Example 2, it is a figure which shows an example of the address conversion table which a management server hold | maintains. 実施例2において、ホスト計算機100が収集するファイル収集情報の一例を示す図である。In Example 2, it is a figure which shows an example of the file collection information which the host computer 100 collects. 実施例1及び2に共通する変形例での計算機システムのハードウェア構成の一例を示す図である。FIG. 6 is a diagram illustrating an example of a hardware configuration of a computer system according to a modification common to the first and second embodiments.

本発明を実施するための最良の形態を説明する。   The best mode for carrying out the present invention will be described.

本発明の計算機システムとストレージ及びデバイス制御方法の実施例として、第一から
第二の実施例を説明する。
As embodiments of the computer system, storage and device control method of the present invention, first to second embodiments will be described.

第一の実施例は、ホスト計算機と第一のストレージと、ホスト計算機と第一のストレー
ジの間に接続された第二のストレージと管理サーバとをネットワークで接続した計算機シ
ステムであって、第二のストレージが常置領域として不揮発メモリを搭載し、他のストレ
ージのデバイスを自身のデバイスとして仮想統合可能なストレージ仮想化機能を搭載し、
ユーザ又はアプリケーションの指示に応じて管理サーバと第二のストレージが一時領域の
容量を決定し、当該容量の一時領域を不揮発メモリ上に確保し、割り当てる。併せて本発
明でのデバイス定義処理とI/O処理について説明する。
The first embodiment is a computer system in which a host computer, a first storage, a second storage connected between the host computer and the first storage, and a management server are connected via a network. Storage is equipped with a non-volatile memory as a permanent area, and a storage virtualization function that can virtually integrate other storage devices as its own device,
The management server and the second storage determine the capacity of the temporary area in accordance with a user or application instruction, and secure and allocate the temporary area of the capacity on the nonvolatile memory. In addition, device definition processing and I / O processing according to the present invention will be described.

第二の実施例は、第一の実施例と同様の構成で、第一のストレージデバイスや第二のス
トレージに搭載したディスク装置および不揮発メモリ上の常置領域の容量およびアクセス
特性に応じて、割当が必要な一時領域容量を算出し、既割当容量との比較結果に応じて、
一時領域割当要量を増減させるよう制御する。併せて本発明でのデバイス移行指示処理に
ついて説明する。
The second embodiment has the same configuration as the first embodiment, and is allocated according to the capacity and access characteristics of the permanent area on the disk device and the nonvolatile memory mounted in the first storage device or the second storage. Calculate the required temporary space capacity and according to the comparison result with the allocated capacity
Control to increase or decrease the temporary area allocation requirement. A device migration instruction process according to the present invention will also be described.

まず図1から図13と図19と図20を参照して第1の実施例を説明する。図1は本発
明の第1の実施例が適用される計算機システムのハードウェア構成の一例を示す図である
First, the first embodiment will be described with reference to FIGS. 1 to 13, 19 and 20. FIG. FIG. 1 is a diagram showing an example of a hardware configuration of a computer system to which the first embodiment of the present invention is applied.

計算機システムは、1台以上のホスト計算機100と、管理サーバ110と、ファイバ
チャネルスイッチ120と、ストレージ130と、管理端末140と、外部ストレージ1
50aおよび150b(総称して外部ストレージ150と呼ぶ)を有する。ホスト100
、ストレージ130および外部ストレージ150は各々ポート107,131,151を
介してファイバチャネルスイッチ120のポート121に接続される。また、ホスト10
0、ストレージ130、外部ストレージ150、ファイバチャネルスイッチ120は、各
々インタフェース制御部(I/F)106、138,157,123からIPネットワー
ク175を介して管理サーバ110に接続され、管理サーバ110で動作する図示しない
ストレージ管理ソフトウェアによって統合管理される。なお、本実施例では、ストレージ
130は管理端末140を介して管理サーバ110に接続する形態をとるものとするが、
ストレージ130が直接IPネットワークに接続される構成であっても良い。
The computer system includes one or more host computers 100, a management server 110, a fiber channel switch 120, a storage 130, a management terminal 140, an external storage 1
50a and 150b (collectively referred to as external storage 150). Host 100
The storage 130 and the external storage 150 are connected to the port 121 of the fiber channel switch 120 via ports 107, 131, and 151, respectively. Host 10
0, the storage 130, the external storage 150, and the fiber channel switch 120 are connected to the management server 110 from the interface control units (I / F) 106, 138, 157, and 123 via the IP network 175, and operate on the management server 110. Integrated management by storage management software (not shown). In this embodiment, the storage 130 is connected to the management server 110 via the management terminal 140.
The storage 130 may be directly connected to the IP network.

ホスト計算機100は、CPU101やメモリ102などを有する計算機であり、ディ
スク装置や光磁気ディスク装置などの記憶装置103に格納されたオペレーティングシス
テムやアプリケーションプログラムなどのソフトウェアをメモリ102に読み上げ、CP
U101がメモリ102から読み出して実行することで、所定の機能を達成する。キーボ
ードやマウスなどの入力装置104やディスプレイ105等の出力装置を具備し、入出力
装置104がホスト管理者などからの入力を受け付け、出力装置がCPU101から指示
された情報を出力する。又、ホスト100はポート107以外に、IPネットワーク17
5と接続するための一以上のインタフェース制御部106を有する。
The host computer 100 is a computer having a CPU 101, a memory 102, and the like. Software such as an operating system and application programs stored in a storage device 103 such as a disk device or a magneto-optical disk device is read into the memory 102, and the CP
The U101 reads out from the memory 102 and executes it to achieve a predetermined function. An input device 104 such as a keyboard and a mouse and an output device such as a display 105 are provided. The input / output device 104 receives input from a host administrator or the like, and the output device outputs information instructed by the CPU 101. In addition to the port 107, the host 100 has an IP network 17
And one or more interface control units 106 for connection to the network.

管理サーバ110も、CPU111やメモリ112を有する計算機であり、ディスク装
置や光磁気ディスク装置等の記憶装置113に格納されたストレージ管理ソフトウェアな
どをメモリ112に読み上げ、CPU111がそれを読んで実行することで、計算機シス
テム全体の運用・保守管理といった、所定の機能を達成する。CPU111によってスト
レージ管理ソフトウェアが実行されると、管理サーバ110はインタフェース制御部11
6からIPネットワーク175を介して、計算機システム内の各機器から構成情報、リソ
ース利用率、性能監視情報、障害ログなどを収集する。そして、管理サーバ110は収集
したそれらの情報をディスプレイ115等の出力装置に出力してストレージ管理者に提示
する。また、管理サーバは、キーボードやマウス等の入力装置114を介してストレージ
管理者からの指示を受信し、受信した運用・保守指示をインタフェース制御部116を介
して各機器に送信する。
The management server 110 is also a computer having a CPU 111 and a memory 112. The storage management software stored in the storage device 113 such as a disk device or a magneto-optical disk device is read into the memory 112, and the CPU 111 reads and executes it. Thus, predetermined functions such as operation and maintenance management of the entire computer system are achieved. When the storage management software is executed by the CPU 111, the management server 110 executes the interface control unit 11.
6 through the IP network 175, configuration information, resource utilization, performance monitoring information, failure logs, etc. are collected from each device in the computer system. Then, the management server 110 outputs the collected information to an output device such as the display 115 and presents it to the storage administrator. Further, the management server receives an instruction from the storage administrator via the input device 114 such as a keyboard and a mouse, and transmits the received operation / maintenance instruction to each device via the interface control unit 116.

ストレージ130は、1つ以上のポート131と、1つ以上の制御プロセッサ132と
、各々制御プロセッサ132に接続される1つ以上のメモリ133と、1つ以上の不揮発
メモリ134と、1つ以上の制御メモリ135と、1つ以上のポート136と、各々ポー
ト136に接続される1台以上のディスク装置137と、インタフェース制御部138を
内部結合網で接続した構成をとる。
The storage 130 includes one or more ports 131, one or more control processors 132, one or more memories 133 each connected to the control processor 132, one or more non-volatile memories 134, and one or more The control memory 135, one or more ports 136, one or more disk devices 137 connected to the ports 136, and the interface control unit 138 are connected by an internal connection network.

制御プロセッサ132は、ポート131から受信した入出力要求についてアクセス対象
デバイスを特定し、当該デバイスが対応するディスク装置137や外部ストレージ150
内デバイスへの入出力要求を処理する。その際、制御プロセッサ132は受信した入出力
要求に含まれるポートIDおよびLUN(Logical Unit Number)か
らアクセス対象のデバイスを特定する。なお本実施例では、ポート131としてSCSI
(Small Computer System Interface)を上位プロトコ
ルとしたファイバチャネルインタフェースに対応したポートを想定しているが、SCSI
を上位プロトコルとしたIPネットワークインタフェース(例えば、iSCSI)など、他の
ストレージ接続用ネットワークインタフェースに対応したポートであっても構わない。
The control processor 132 identifies an access target device for the input / output request received from the port 131, and the disk device 137 or external storage 150 to which the device corresponds.
Process I / O requests to internal devices. At that time, the control processor 132 specifies an access target device from the port ID and LUN (Logical Unit Number) included in the received input / output request. In this embodiment, the port 131 is a SCSI.
A port corresponding to a fiber channel interface using (Small Computer System Interface) as an upper protocol is assumed.
May be a port corresponding to another network interface for storage connection, such as an IP network interface (for example, iSCSI).

本実施例のストレージ130は次のようなデバイス階層を有する。まず、ディスク装置
137複数台または不揮発メモリ134常置領域の複数領域による記憶装置アレイが構成
され、この記憶装置アレイは制御プロセッサ132によって1つの物理デバイスとして管
理される。さらに、本発明の制御プロセッサ132では、ストレージ130内に搭載した
物理デバイスに対して直接論理デバイスを割り当てる(即ち、制御プロセッサ132は物
理デバイスと論理デバイスとを対応づける)。論理デバイスはストレージ130内で管理
され、その番号はストレージ130毎に独立管理される。論理デバイスは、各ポート13
1に割り当てられたLUNに対応付けられ、ストレージ130のデバイスとしてホスト計
算機100に提供される。即ち、ホスト計算機が認識するのはストレージ130の論理デ
バイスであり、ホスト計算機100は論理デバイスに対応するポート131のLUNを用
いて、ストレージ130に格納されているデータにアクセスする。なお、本実施例では、
制御プロセッサ132は外部ストレージ150の論理デバイスを外部デバイスとして管理
し、ストレージ130のデバイスとして仮想化する外部ストレージ接続方法を有する。こ
の外部ストレージ接続を用いて取り込んだ外部デバイスは、物理デバイスと同様に、その
1つ以上を同ストレージ130の論理デバイスと直接対応づけられる。なお、外部デバイ
スも各ストレージ130内で独立管理される。また、本実施例では、論理デバイスを拡張
ボリューム技術、すなわち、更新アクセス部分に対して動的に物理記憶領域を追加割り当
て可能な仮想ボリューム管理技術を適用することもできる。その場合、物理デバイス又は
外部デバイスに対してプールボリュームを割り当て、さらにプールボリュームに対応させ
て拡張ボリュームを定義して、当該拡張ボリュームに論理デバイスを割り当てる。ここで
、拡張ボリュームとは拡張ボリューム技術を用いた仮想的なデバイスであり、論理デバイ
スと1対1で対応する。プールボリュームとは拡張ボリュームに動的に割り当てる物理記
憶領域を管理する仮想的なデバイスである。本実施例では、簡単のため、プールボリュー
ムは1つの物理デバイス又は外部デバイスに対応させるが、1つのプールボリュームを複
数の物理デバイスや外部デバイスで構成してもかまわない。以上のようなデバイス階層を
実現するため、制御プロセッサ132は、論理デバイス、拡張ボリューム、プールボリュ
ーム、物理デバイス、ディスク装置137、不揮発メモリ134の常置領域、外部デバイ
ス、外部ストレージ150の論理デバイス、それぞれのデバイスの間の対応関係を管理し
、論理デバイスに対するアクセス要求をディスク装置137、不揮発メモリ134の常置
領域、外部ストレージ装置150の論理デバイスへのアクセス要求へ変換し、適当なデバ
イスへ送信する処理を行う。尚、前述の通り、本実施例におけるストレージ130は、複
数のディスク装置137または不揮発メモリ136常置領域の複数領域をまとめて1つま
たは複数の物理デバイスを定義し(即ち複数のディスク装置137または不揮発メモリ1
36常置領域の複数領域をまとめて1つ又は複数の物理デバイスと対応付け)、1つの物
理デバイスに1つの論理デバイス又は1つのプールボリュームを割り当てて、ホスト計算
機100に提供する。しかしもちろん、個々のディスク装置137または不揮発メモリ1
36常置領域の一領域を1つの物理デバイスおよび1つの論理デバイス又はプールボリュ
ームとしてもよい。
The storage 130 of this embodiment has the following device hierarchy. First, a storage device array having a plurality of disk devices 137 or a plurality of permanent areas of the nonvolatile memory 134 is configured, and this storage device array is managed by the control processor 132 as one physical device. Further, in the control processor 132 of the present invention, a logical device is directly assigned to a physical device mounted in the storage 130 (that is, the control processor 132 associates the physical device with the logical device). The logical device is managed in the storage 130, and the number is managed independently for each storage 130. The logical device has each port 13
1 is associated with the LUN assigned to 1, and is provided to the host computer 100 as a device of the storage 130. That is, the host computer recognizes the logical device of the storage 130, and the host computer 100 accesses the data stored in the storage 130 using the LUN of the port 131 corresponding to the logical device. In this example,
The control processor 132 has an external storage connection method for managing a logical device of the external storage 150 as an external device and virtualizing it as a device of the storage 130. One or more of the external devices captured using this external storage connection are directly associated with the logical devices of the same storage 130 in the same way as physical devices. External devices are also managed independently in each storage 130. Further, in this embodiment, it is also possible to apply an extended volume technique for a logical device, that is, a virtual volume management technique capable of dynamically allocating a physical storage area to an update access part. In that case, a pool volume is allocated to a physical device or an external device, an expansion volume is defined corresponding to the pool volume, and a logical device is allocated to the expansion volume. Here, the expansion volume is a virtual device using the expansion volume technology, and corresponds to the logical device on a one-to-one basis. A pool volume is a virtual device that manages a physical storage area that is dynamically allocated to an expansion volume. In this embodiment, for simplicity, the pool volume corresponds to one physical device or an external device, but one pool volume may be composed of a plurality of physical devices or external devices. In order to realize the device hierarchy as described above, the control processor 132 includes a logical device, an expansion volume, a pool volume, a physical device, a disk device 137, a permanent area of the nonvolatile memory 134, an external device, and a logical device of the external storage 150, respectively. Of managing the correspondence relationship between the devices, converting the access request for the logical device into the access request to the disk device 137, the permanent area of the nonvolatile memory 134, and the logical device of the external storage device 150, and transmitting to the appropriate device I do. As described above, the storage 130 in this embodiment defines one or a plurality of physical devices by combining a plurality of disk devices 137 or nonvolatile memory 136 permanent areas (that is, a plurality of disk devices 137 or a nonvolatile memory). Memory 1
A plurality of 36 permanent areas are collectively associated with one or more physical devices) and one logical device or one pool volume is allocated to one physical device and provided to the host computer 100. However, of course, the individual disk device 137 or the non-volatile memory 1
One area of the 36 permanent areas may be one physical device and one logical device or pool volume.

また、制御プロセッサ132は、デバイスに対する入出力処理以外にも、データ複製や
データ再配置など、デバイス間のデータ連携を実現する各種処理を実行する。
In addition to the input / output processing for the device, the control processor 132 executes various processes for realizing data linkage between devices, such as data replication and data relocation.

また、制御プロセッサ132は、インタフェース制御部138を介して接続される管理
端末140にストレージ管理者へ提示する構成情報を送信し、管理者から管理端末140
に入力された保守・運用指示を管理端末140から受信してストレージ130の構成変更
などを行う。
In addition, the control processor 132 transmits configuration information to be presented to the storage administrator to the management terminal 140 connected via the interface control unit 138, and the management terminal 140 sends the configuration information to the management terminal 140.
The maintenance / operation instruction input to is received from the management terminal 140, and the configuration of the storage 130 is changed.

不揮発メモリ134は、一時領域と常置領域に区分して利用される。一時領域は、ホス
ト計算機100からのアクセス要求に対する処理速度を高めるため、ディスク装置137
から頻繁に読み出されるデータを予め格納しておいたり、ホスト計算機100から受信し
たライトデータを一時的に格納したりする。尚、不揮発メモリ134一時領域を用いたラ
イトアフタを行う場合、即ちホスト計算機100から受信したライトデータが不揮発メモ
リ134一時領域に格納された後、ディスク装置137に実際に書き込まれる前にホスト
計算機100に対しライト要求に対する応答を返す場合には、不揮発メモリ134一時領
域に格納されているライトデータがディスク装置137に書き込まれる前に消失すること
を防止するために、不揮発メモリ134を媒体障害への耐性向上のため二重化したりする
など、可用性を向上させておくことが望ましい。一方、常置領域は、ディスク装置137
と同様にホスト計算機100データを最終的に格納しておくために用いられる。よって、
ビットコストおよびI/O処理性能の高速化のため、一時領域は単純に二重化することで
小容量だが高速アクセスを実現し、常置領域はディスク装置137のようにRAID5な
どの冗長アレイ構成を採用することで、比較的低速アクセスだが大容量低コストな記憶領
域を提供することが望ましい。なお、本発明では、簡単のため、不揮発メモリ134常置
領域は規定サイズの小領域毎に識別番号を振られて管理され、常置領域の全領域に物理デ
バイスが定義されているとする。
The nonvolatile memory 134 is used by being divided into a temporary area and a permanent area. The temporary area increases the processing speed in response to an access request from the host computer 100.
Data that is frequently read from the host computer is stored in advance, or write data received from the host computer 100 is temporarily stored. When performing write after using the temporary area of the non-volatile memory 134, that is, after the write data received from the host computer 100 is stored in the temporary area of the non-volatile memory 134, the host computer 100 is not actually written to the disk device 137. When the response to the write request is returned, the write data stored in the temporary area of the non-volatile memory 134 is prevented from being lost before being written to the disk device 137. It is desirable to improve availability, such as by duplicating to improve tolerance. On the other hand, the permanent area is the disk device 137.
Like the above, it is used for finally storing the host computer 100 data. Therefore,
In order to increase the bit cost and I / O processing performance, the temporary area is simply duplicated to achieve a small capacity but high speed access, and the permanent area adopts a redundant array configuration such as RAID 5 like the disk device 137. Therefore, it is desirable to provide a storage area with relatively low speed access but large capacity and low cost. In the present invention, for the sake of simplicity, the permanent area of the nonvolatile memory 134 is managed by being assigned an identification number for each small area of a prescribed size, and physical devices are defined in all areas of the permanent area.

図20に、不揮発メモリ134の実装例を示す。不揮発メモリ134は、それぞれに複
数のスイッチ2001と複数のメモリパッケージ2002を搭載する。メモリパッケージ
2002には複数の不揮発なメモリモジュール2004と当該メモリモジュール2004
へのアクセスを制御するメモリコントローラ2003が搭載される。メモリコントローラ
2003はスイッチ2001と内部結合網を介してストレージ130内の他コンポーネン
トと結合し、メモリアクセスやデータ転送を実施する。
FIG. 20 shows an implementation example of the nonvolatile memory 134. Each of the nonvolatile memories 134 includes a plurality of switches 2001 and a plurality of memory packages 2002. The memory package 2002 includes a plurality of nonvolatile memory modules 2004 and the memory modules 2004.
A memory controller 2003 for controlling access to the memory is installed. The memory controller 2003 is coupled to the switch 2001 and other components in the storage 130 via an internal coupling network, and performs memory access and data transfer.

制御メモリ135は、前述のデバイス階層を実現するための各デバイスの属性やデバイ
ス間の対応関係を管理するための制御情報や、不揮発メモリ134一時領域上に保持した
ディスク反映済み又は未反映データを管理するための制御情報などを格納する。制御メモ
リ135に格納されている制御情報が消失すると、ディスク装置137または不揮発メモ
リ134常置領域に格納されているデータへアクセスできなくなるため、制御メモリ13
5はバッテリバックアップなどにより不揮発化したり、媒体障害への耐性向上のため二重
化したりするなど、高可用化のための構成を有することが望ましい。
The control memory 135 stores control information for managing the attribute of each device for realizing the above-described device hierarchy and the correspondence relationship between devices, and disk reflected or unreflected data held in the temporary area of the nonvolatile memory 134. Stores control information for management. If the control information stored in the control memory 135 is lost, the data stored in the permanent area of the disk device 137 or the nonvolatile memory 134 cannot be accessed.
It is desirable that 5 has a configuration for high availability, such as non-volatility by battery backup or the like, or duplexing to improve resistance to medium failure.

ストレージ130内の各部位は第1図で示すとおり、内部結合網で接続され、各部位間
でのデータ、制御情報、及び構成情報の送受信を実行する。この内部結合網により、制御
プロセッサ132同士が、ストレージ130の構成情報を共有、管理することができる。
なお、可用性向上の観点から内部結合網も多重化されていることが望ましい。
As shown in FIG. 1, each part in the storage 130 is connected by an internal connection network, and exchanges data, control information, and configuration information between the parts. With this internal connection network, the control processors 132 can share and manage the configuration information of the storage 130.
It is desirable that the internal connection network is also multiplexed from the viewpoint of improving availability.

管理端末140は、CPU142、メモリ143、記憶装置144、ストレージ130
と接続されるインタフェース制御部141、IPネットワーク175と接続されるインタ
フェース制御部147、ストレージ管理者からの入力を受け付ける入力装置145及びス
トレージ管理者にストレージ130の構成情報や管理情報を出力するディスプレイ146
等の出力装置を有する。CPU142は記憶装置144に格納されているストレージ管理
プログラムをメモリ143に読み出して、これを実行することにより、構成情報の参照、
構成変更の指示、特定機能の動作指示などを行い、ストレージ130の保守運用に関して
、ストレージ管理者もしくは管理サーバ110とストレージ130間のインタフェースと
なる。なお、管理端末140を省略して、ストレージ130を直接管理サーバ110へ接
続し、ストレージ130を管理サーバ110で動作する管理ソフトウェアを用いて管理し
てもよい。
The management terminal 140 includes a CPU 142, a memory 143, a storage device 144, and a storage 130.
Interface controller 141 connected to the IP network 175, interface controller 147 connected to the IP network 175, input device 145 that receives input from the storage administrator, and display 146 that outputs storage 130 configuration information and management information to the storage administrator.
Output device. The CPU 142 reads the storage management program stored in the storage device 144 into the memory 143 and executes it, thereby referring to the configuration information.
A configuration change instruction, a specific function operation instruction, and the like are performed, and the storage manager or an interface between the management server 110 and the storage 130 is used for the maintenance operation of the storage 130. The management terminal 140 may be omitted, the storage 130 may be directly connected to the management server 110, and the storage 130 may be managed using management software that operates on the management server 110.

外部ストレージ150は、ファイバチャネルスイッチ120を介してストレージ130
のポート131と接続される一又は複数のポート151、制御プロセッサ152、メモリ
153、ディスクキャッシュ154、一又は複数のディスク装置156及び各々ディスク
装置156に接続される一又は複数のポート155を有する。制御プロセッサ152はメ
モリ153に格納されているプログラムを実行することにより、ポート151から受信し
たディスク装置156への入出力要求を処理する。本実施形態では外部ストレージ150
を、制御メモリを有さず、ストレージ130より小規模な構成のストレージとしたが、ス
トレージ130と同じ構成を有する同規模のストレージとしてもよい。
The external storage 150 is connected to the storage 130 via the fiber channel switch 120.
One or a plurality of ports 151 connected to the port 131, a control processor 152, a memory 153, a disk cache 154, one or a plurality of disk devices 156, and one or a plurality of ports 155 connected to the respective disk devices 156. The control processor 152 executes the program stored in the memory 153 to process the input / output request to the disk device 156 received from the port 151. In this embodiment, the external storage 150
Is a storage having a configuration smaller than that of the storage 130 without the control memory. However, a storage having the same configuration as the storage 130 may be used.

なお、本実施例では図1に示すようにストレージ装置130のポート131と外部スト
レージ150のポート151とをファイバチャネルスイッチ120を介して接続するため
、ホスト計算機100から外部ストレージ150への直接アクセスを抑止するよう、ファ
イバチャネルスイッチ120のゾーニングを設定することが望ましい。また、ファイバチ
ャネルスイッチ120を介さずにポート131とポート151を直接接続してもかまわな
い。
In this embodiment, since the port 131 of the storage device 130 and the port 151 of the external storage 150 are connected via the fiber channel switch 120 as shown in FIG. 1, direct access from the host computer 100 to the external storage 150 is suppressed. Therefore, it is desirable to set the zoning of the fiber channel switch 120. Further, the port 131 and the port 151 may be directly connected without using the fiber channel switch 120.

次に、本発明の実施例におけるストレージ130のソフトウェア構成について説明する
。図2はストレージ130および管理サーバ110の制御メモリおよびメモリに格納され
る、制御情報とストレージ制御処理のためのプログラムの一例を示したソフトウェア構成
図である。
Next, the software configuration of the storage 130 in the embodiment of the present invention will be described. FIG. 2 is a software configuration diagram showing an example of control information and a program for storage control processing stored in the control memory and the memory of the storage 130 and the management server 110.

ストレージ130の構成管理情報としては、制御メモリ135に論理デバイス管理情報
201とLUパス管理情報202と物理デバイス管理情報203と外部デバイス管理情報
204とキャッシュ管理情報205と不揮発メモリ管理情報206と拡張ボリューム管理
情報207とプールボリューム管理情報208とデバイス稼動情報209がある。これら
の情報は情報消失を防ぐため本実施例では制御メモリ135に格納されている。これらの
制御情報は制御プロセッサ132から参照・更新可能であるが、その際に相互接続網を介
したアクセスが必要となる。よって、処理性能向上のため、各制御プロセッサ132で実
行される処理に必要な制御情報の複製をメモリ133に保持してもよい。また、制御端末
140や管理サーバ110にもストレージ130の構成情報は送信され保持されている。
管理サーバ110もしくは管理端末140がストレージ管理ソフトウェアもしくはストレ
ージ管理者からの指示を受けてストレージ130の構成を変更した場合や、ストレージ1
30内各部位が障害・自動交替などによって構成が変化した場合に、制御プロセッサ13
2のうちの一つが制御メモリ135内の該当構成情報を更新する。そして、制御プロセッ
サ132は制御情報が構成変更により更新された旨を、相互接続網を介して他制御プロセ
ッサ132、管理端末140、管理サーバ110に通知し、最新情報を制御メモリ135
から他部位のメモリへ取り込ませる。
The configuration management information of the storage 130 includes logical device management information 201, LU path management information 202, physical device management information 203, external device management information 204, cache management information 205, nonvolatile memory management information 206, and extended volume in the control memory 135. There are management information 207, pool volume management information 208, and device operation information 209. These pieces of information are stored in the control memory 135 in this embodiment in order to prevent information loss. These pieces of control information can be referred to and updated from the control processor 132, and access via the interconnection network is required at that time. Therefore, a copy of control information necessary for processing executed by each control processor 132 may be held in the memory 133 in order to improve processing performance. Further, the configuration information of the storage 130 is also transmitted and held in the control terminal 140 and the management server 110.
When the management server 110 or the management terminal 140 changes the configuration of the storage 130 in response to an instruction from the storage management software or the storage administrator,
When the configuration of each part in 30 changes due to failure or automatic replacement, the control processor 13
One of the two updates the corresponding configuration information in the control memory 135. Then, the control processor 132 notifies the other control processor 132, the management terminal 140, and the management server 110 via the interconnection network that the control information has been updated due to the configuration change, and the latest information is sent to the control memory 135.
To be taken into the memory of other parts.

また、外部ストレージ150は、ストレージ130と同様、自装置内部の論理デバイス
や物理デバイスのデバイス管理やデータ管理のために、論理デバイス管理情報251、L
Uパス管理情報252、物理デバイス管理情報253、キャッシュ管理情報254を保持
する。これらの内容は、ストレージ130の同名情報と同じ目的で用いられる。
The external storage 150, like the storage 130, uses logical device management information 251 and L for device management and data management of logical devices and physical devices inside the own device.
U path management information 252, physical device management information 253, and cache management information 254 are held. These contents are used for the same purpose as the same name information in the storage 130.

さらに、管理サーバ110は、ストレージ130や外部ストレージ150から収集した
デバイス管理情報の複製や各ストレージの属性を示すストレージ管理情報232をメモリ
112に保持している。これらの情報はデータ消失を避けるために、管理サーバ110に
搭載した記憶装置113に保持してもよい。
Further, the management server 110 holds, in the memory 112, storage management information 232 indicating a copy of device management information collected from the storage 130 or the external storage 150 and an attribute of each storage. Such information may be held in the storage device 113 mounted on the management server 110 in order to avoid data loss.

次に各管理情報について説明する。第一に、論理デバイス管理情報201について説明
する。図3に論理デバイス管理情報201の一例を示す。論理デバイス管理情報201は
、各論理デバイスにつき、論理デバイス番号301からデータ移行中フラグ310までの
情報組を保持する。論理デバイス番号301には、論理デバイスを識別するために論理デ
バイスに制御プロセッサ132が割り当てた番号が格納されている。サイズ302には、
論理デバイス番号301により特定される論理デバイスの容量が格納されている。対応下
位デバイス番号303には、当該論理デバイスに対応づけられている物理デバイス、外部
デバイス、又は拡張ボリュームの番号、すなわちそれぞれの管理情報である物理デバイス
管理情報203、外部デバイス管理情報204、又は拡張ボリューム管理情報207のエ
ントリ番号が格納される。本実施例では論理デバイスと物理デバイス/外部デバイス/拡
張ボリュームは1対1対応とするが、複数の物理デバイス又は外部デバイスを結合して一
つの論理デバイスを形成する場合には、論理デバイス管理情報201に各論理デバイスが
対応する物理/外部デバイスの番号リストとその数を格納するエントリが必要となる。な
お、論理デバイスが未定義の場合、対応下位デバイス番号303には無効値が設定される
。タイプ304には、当該論理デバイスのデバイスタイプ識別情報が格納される。ストレ
ージ130は、キャッシュ上でのデータ管理単位やデバイス管理情報の格納形態(ディス
ク空間への管理情報格納有無や格納形態など)などの異なる複数のデバイスタイプの論理
デバイスを定義することができ、各論理デバイスがどのデバイスタイプであるかをタイプ
304で保持する。
Next, each management information will be described. First, the logical device management information 201 will be described. FIG. 3 shows an example of the logical device management information 201. The logical device management information 201 holds an information set from the logical device number 301 to the data migration flag 310 for each logical device. The logical device number 301 stores a number assigned by the control processor 132 to the logical device in order to identify the logical device. For size 302,
The capacity of the logical device specified by the logical device number 301 is stored. In the corresponding lower device number 303, the number of the physical device, external device, or expansion volume associated with the logical device, that is, the physical device management information 203, the external device management information 204, or the expansion information, which are the respective management information The entry number of the volume management information 207 is stored. In this embodiment, logical devices and physical devices / external devices / expansion volumes have a one-to-one correspondence. However, when a plurality of physical devices or external devices are combined to form one logical device, logical device management information is used. An entry for storing a physical / external device number list corresponding to each logical device and the number thereof is required in 201. When a logical device is undefined, an invalid value is set in the corresponding lower device number 303. The type 304 stores device type identification information of the logical device. The storage 130 can define logical devices of a plurality of device types, such as a data management unit on the cache and a storage form of device management information (whether storage information is stored in the disk space, storage form, etc.) The type 304 holds which device type the logical device is.

デバイス状態305には、当該論理デバイスの状態を示す情報が設定される。状態とし
ては、「アタッチド」、「デタッチド」、「未実装」、「ブロックド」が存在する。「ア
タッチド」は、当該論理デバイスが正常に稼動し、1つ以上のポート131にLUパス定
義され、ホスト計算機100からアクセスできる状態であることを示す。「デタッチド」
は、当該論理デバイスは定義され、正常に稼動しているが、LUパスが未定義であるなど
の理由で、ホスト計算機100からはアクセスできない状態にあることを示す。「未実装
」は、当該論理デバイスが物理デバイス又は外部デバイス又は拡張ボリュームに対して定
義されておらず、ホスト計算機100からアクセスができない状態にあることを示す。「
ブロックド」は、当該論理デバイスに障害が発生してホスト計算機100からアクセスで
きないことを示す。デバイス状態305の初期値は「未実装」であり、論理デバイス定義
処理により「デタッチド」に、更にLUパス定義処理により「アタッチド」に変更される
In the device status 305, information indicating the status of the logical device is set. The states include “attached”, “detached”, “unmounted”, and “blocked”. “Attached” indicates that the logical device is operating normally, LU paths are defined in one or more ports 131, and can be accessed from the host computer 100. "Detached"
Indicates that the logical device is defined and operating normally, but cannot be accessed from the host computer 100 because the LU path is undefined. “Unmounted” indicates that the logical device is not defined for a physical device, an external device, or an expansion volume, and is not accessible from the host computer 100. "
“Blocked” indicates that the logical device has failed and cannot be accessed from the host computer 100. The initial value of the device state 305 is “not mounted”, and is changed to “detached” by the logical device definition process, and further changed to “attached” by the LU path definition process.

エントリ307のポート番号には、当該論理デバイスが複数のポート131のうちどの
ポートにLUN定義されているかを表す情報、即ち当該論理デバイスにアクセスするため
に用いられるポート131の識別情報が設定される。ここでポート131の識別情報とは
、各ポート131に割り振られているストレージ130内で一意な番号である。また、同
エントリ307に格納されるターゲットIDとLUNは、当該論理デバイスを識別するた
めの識別子である。本実施例においては、論理デバイスを識別するための識別子として、
SCSI上でホスト計算機100からデバイスをアクセスする場合に用いられるSCSI
−IDとLUNが用いられる。エントリ307は、当該論理デバイスに対するLUパス定
義が実行された際に情報が設定される。接続ホスト名308は、当該論理デバイスへのア
クセスが許可されているホスト計算機100を識別するホスト名である。ホスト名として
は、ホスト計算機100のポート107に付与されたWWN(World Wide N
ame)など、ホスト計算機100もしくはポート107を一意に識別可能な値であれば
何を用いてもよい。同ストレージ130には、このほかに、各ポート131のWWNなど
ポートの属性に関する管理情報を保持する。当該エントリ308は、ストレージ管理者に
よって論理デバイス定義時に設定される。移行中の下位デバイス番号308には、当該論
理デバイスが現在対応している物理デバイス/外部デバイス/拡張ボリュームから別の物
理デバイス/外部デバイス/拡張ボリュームへ移行中である場合、移行先のデバイス番号
が格納される。当該論理デバイスがデータ移行中の場合、データ移行中フラグ310に「
ON」が格納され、データ移行進捗ポインタ309にデータ移行が完了した最後の領域を
示すアドレス情報が格納される。なお、エントリ308と309はデータ移行中フラグ3
10が「ON」の時のみ有効となる。
In the port number of the entry 307, information indicating to which port the logical device is LUN-defined among the plurality of ports 131, that is, identification information of the port 131 used for accessing the logical device is set. . Here, the identification information of the port 131 is a number unique within the storage 130 allocated to each port 131. The target ID and LUN stored in the entry 307 are identifiers for identifying the logical device. In this embodiment, as an identifier for identifying a logical device,
SCSI used when accessing device from host computer 100 on SCSI
-ID and LUN are used. Information is set in the entry 307 when the LU path definition for the logical device is executed. The connected host name 308 is a host name that identifies the host computer 100 that is permitted to access the logical device. As the host name, the WWN (World Wide N) assigned to the port 107 of the host computer 100 is used.
any value that can uniquely identify the host computer 100 or the port 107, such as “Ame)”. In addition, the storage 130 holds management information related to port attributes such as WWN of each port 131. The entry 308 is set by the storage administrator when defining the logical device. In the lower device number 308 being migrated, if the physical device / external device / expansion volume currently supported by the logical device is being migrated to another physical device / external device / expansion volume, the device number of the migration destination Is stored. If the logical device is in the process of data migration, the data migration flag 310 will be
ON "is stored, and address information indicating the last area where the data migration is completed is stored in the data migration progress pointer 309. The entries 308 and 309 are the data migration flag 3
Effective only when 10 is “ON”.

第二に、LUパス管理情報202について説明する。図4は、LUパス管理情報202
の一例である。LUパス管理情報202は、ストレージ130内の各ポート131につい
て、各ポートに定義されている有効なLUN分の情報を保持する。ターゲットID/LU
N402エントリには、ポート131に定義された(割り当てられた)LUNが格納され
る。対応論理デバイス番号403には、当該LUNが割り当てられている論理デバイスの
番号が格納される。接続ホスト名404は、当該ポート131に定義されている当該LU
Nに対してアクセスを許可されているホスト計算機100を示す情報が格納され、ホスト
計算機100を示す情報としては例えば上述のホスト計算機100のポート107に付与
されているWWNが用いられる。尚、一つの論理デバイスに対して複数のポート131の
LUNが定義され(割り当てられ)ており、複数のポート131から当該論理デバイスに
アクセスできる場合がある。この場合、当該複数のポート131のLUN各々に関するL
Uパス管理情報202の接続ホスト名404の和集合が、当該論理デバイスに関する論理
デバイス管理情報201の接続ホスト名308に保持される。
Secondly, the LU path management information 202 will be described. FIG. 4 shows LU path management information 202.
It is an example. The LU path management information 202 holds information for valid LUNs defined for each port for each port 131 in the storage 130. Target ID / LU
The LUN defined in (assigned to) the port 131 is stored in the N402 entry. The corresponding logical device number 403 stores the number of the logical device to which the LUN is assigned. The connection host name 404 is the LU defined for the port 131.
Information indicating the host computer 100 permitted to access N is stored. As the information indicating the host computer 100, for example, the WWN assigned to the port 107 of the host computer 100 described above is used. In some cases, LUNs of a plurality of ports 131 are defined (assigned) to one logical device, and the logical devices can be accessed from the plurality of ports 131. In this case, the L for each LUN of the plurality of ports 131
A union of the connection host names 404 of the U path management information 202 is held in the connection host name 308 of the logical device management information 201 related to the logical device.

第三に、物理デバイス管理情報203について説明する。物理デバイス管理情報203
は、ストレージ130内の1台以上のディスク装置137または不揮発メモリ134常置
領域の1つ以上の領域から構成される物理デバイスの管理に用いられる。図5は、物理デ
バイス管理情報203の一例である。各ストレージ130は、自装置内に存在する物理デ
バイス毎に、物理デバイス番号501からディスク/メモリ内サイズ、オフセット507
の情報組を保持する。物理デバイス番号501には、物理デバイスを識別するための識別
番号が登録される。サイズ502には、物理デバイス番号501により特定される物理デ
バイスの容量が格納されている。対応上位デバイス番号503には、当該物理デバイスが
対応付けられている論理デバイス又はプールボリューム番号が当該論理デバイス又はプー
ルボリュームが定義される契機に格納される。当該物理デバイスが論理デバイス又はプー
ルボリュームへ割り当てられていない場合、エントリ503には無効値が設定される。デ
バイス状態504には、当該物理デバイスの状態を示す情報が設定される。状態としては
、「アタッチド」、「デタッチド」、「未実装」、「ブロックド」が存在する。「アタッ
チド」は、当該物理デバイスが正常に稼動し、論理デバイス又はプールボリュームに割り
当てられている状態を示す。「デタッチド」は、当該物理デバイスは定義され、正常に稼
動しているが、論理デバイス又はプールボリュームに未割り当てであることを示す。「未
実装」は、当該物理デバイス番号に対する物理デバイスがディスク装置137上に定義さ
れていない状態にあることを示す。「ブロックド」は、当該物理デバイスに障害が発生し
てアクセスできない状態であることを示す。デバイス状態504の初期値は「未実装」で
あり、物理デバイス定義処理により「デタッチド」に、さらに論理デバイスが定義された
契機で「アタッチド」に変更される。RAID構成505には、当該物理デバイスが割り
当てられたディスク装置137または不揮発メモリ134常置領域のRAIDレベル、デ
ータディスク装置/メモリ領域とパリティディスク装置/メモリ領域数、データ分割単位
であるストライプのサイズなどRAID構成に関連する情報が保持される。ディスク/メ
モリ番号リスト506には、当該物理デバイスが割り当てられたRAIDを構成する複数
のディスク装置137または不揮発メモリ134常置領域の複数領域の各々の識別番号が
保持される。このディスク装置137および不揮発メモリ134常置領域の複数領域の識
別番号は、ストレージ130内でディスク装置137および不揮発メモリ134常置領域
の複数領域を識別するために付与した一意な値である。ディスク/メモリ内サイズ/オフ
セット507は、当該物理デバイスが各ディスク装置137または不揮発メモリ134常
置領域の特定領域内のどの領域に割り当てられているかを示す情報である。本実施例では
簡単のため、全物理デバイスについて、RAIDを構成する各ディスク装置137または
不揮発メモリ134常置領域の特定領域内のオフセットとサイズが同一であるとする。
Third, the physical device management information 203 will be described. Physical device management information 203
Is used for management of a physical device composed of one or more disk devices 137 in the storage 130 or one or more areas of the nonvolatile memory 134 permanent area. FIG. 5 is an example of the physical device management information 203. Each storage 130 has a disk / memory size and an offset 507 from the physical device number 501 for each physical device existing in the own device.
Holds the information set. In the physical device number 501, an identification number for identifying the physical device is registered. The size 502 stores the capacity of the physical device specified by the physical device number 501. The corresponding upper device number 503 stores the logical device or pool volume number associated with the physical device when the logical device or pool volume is defined. If the physical device is not assigned to a logical device or pool volume, an invalid value is set in the entry 503. In the device status 504, information indicating the status of the physical device is set. The states include “attached”, “detached”, “unmounted”, and “blocked”. “Attached” indicates a state in which the physical device is operating normally and assigned to a logical device or a pool volume. “Detached” indicates that the physical device is defined and operating normally, but is not allocated to a logical device or a pool volume. “Not mounted” indicates that a physical device corresponding to the physical device number is not defined on the disk device 137. “Blocked” indicates that the physical device has failed and cannot be accessed. The initial value of the device state 504 is “unmounted”, and is changed to “detached” by the physical device definition process, and further changed to “attached” when the logical device is defined. The RAID configuration 505 includes the RAID level of the disk device 137 or nonvolatile memory 134 permanent area to which the physical device is assigned, the number of data disk devices / memory areas and the number of parity disk devices / memory areas, the size of stripes as data division units, and the like. Information related to the RAID configuration is retained. The disk / memory number list 506 holds the identification numbers of a plurality of disk devices 137 or a plurality of permanent areas of the nonvolatile memory 134 constituting the RAID to which the physical device is assigned. The identification numbers of the plurality of areas in the permanent area of the disk device 137 and the nonvolatile memory 134 are unique values assigned to identify the plurality of areas in the permanent area of the disk device 137 and the nonvolatile memory 134 in the storage 130. The in-disk / memory size / offset 507 is information indicating which area in the specific area of each disk device 137 or the nonvolatile memory 134 permanent area the physical device is assigned to. In this embodiment, for the sake of simplicity, it is assumed that the offset and size in a specific area of each disk device 137 or nonvolatile memory 134 constituting the RAID are the same for all physical devices.

第四に、外部デバイス管理情報204について説明する。外部デバイス管理情報204
は、ストレージ130に接続された外部ストレージ150の論理デバイスを外部デバイス
として管理するために用いられる。図6は、外部デバイス管理情報204の一例である。
ストレージ130は、ストレージ130で管理する外部デバイス毎に、外部デバイス番号
601からターゲットポートID/ターゲットID/LUNリスト608までの情報組を
保持する。外部デバイス番号601には、ストレージ130の制御プロセッサ132が当
該外部デバイスに対して割り当てた、ストレージ130内で一意な値が格納される。サイ
ズ602には、外部デバイス番号601により特定される外部デバイスの容量が格納され
る。対応上位デバイス番号603には、当該外部デバイスが対応付けられているストレー
ジ130内の論理デバイス又はプールボリュームの番号が登録される。デバイス状態60
4には、物理デバイス管理情報203のデバイス状態504と同様に、当該外部デバイス
の状態が設定される。なお、ストレージ130は初期状態では外部ストレージ150を接
続していないため、デバイス状態604の初期値は「未実装」となる。ストレージ識別情
報605には、当該外部デバイスを搭載する外部ストレージ150の識別情報を保持する
。識別情報としては、同ストレージのベンダ識別情報と各ベンダが一意に割り振る製造シ
リアル番号の組み合わせ、などが考えられる。外部ストレージ内デバイス番号606には
、当該外部デバイスに対応する外部ストレージ150の論理デバイスについて、外部スト
レージ150内で割り振られた識別番号、すなわち論理デバイス番号が格納される。イニ
シエータポート番号リスト607には、当該外部デバイスへアクセス可能なストレージ1
30のポート131の識別番号が登録される。複数のポート131から当該外部デバイス
へアクセスできる場合には、複数のポート識別番号が登録される。ターゲットポートID
/ターゲットID/LUNリスト608には、当該外部デバイスが外部ストレージ150
の1つ以上のポート151にLUN定義されている場合、それらのポート151のポート
IDおよび当該外部デバイスが割り当てられたターゲットID/LUNが1つ又は複数個
保持される。なお、ストレージ装置130の制御プロセッサ132が外部デバイスにアク
セスする場合(制御プロセッサがポート131から外部デバイスに対する入出力要求を送
信する場合)には、当該外部デバイスが属する外部ストレージ150によって当該外部デ
バイスに割り当てられたターゲットID及びLUNが、当該外部デバイスを識別するため
の情報として用いられる。
Fourth, the external device management information 204 will be described. External device management information 204
Is used to manage a logical device of the external storage 150 connected to the storage 130 as an external device. FIG. 6 is an example of the external device management information 204.
The storage 130 holds an information set from the external device number 601 to the target port ID / target ID / LUN list 608 for each external device managed by the storage 130. The external device number 601 stores a unique value in the storage 130 that is assigned to the external device by the control processor 132 of the storage 130. The size 602 stores the capacity of the external device specified by the external device number 601. In the corresponding upper device number 603, the number of the logical device or pool volume in the storage 130 associated with the external device is registered. Device state 60
4, the status of the external device is set in the same manner as the device status 504 of the physical device management information 203. Since the storage 130 is not connected to the external storage 150 in the initial state, the initial value of the device state 604 is “unmounted”. The storage identification information 605 holds identification information of the external storage 150 in which the external device is mounted. As the identification information, a combination of the vendor identification information of the storage and a manufacturing serial number uniquely assigned by each vendor can be considered. In the external storage device number 606, an identification number assigned in the external storage 150, that is, a logical device number is stored for the logical device of the external storage 150 corresponding to the external device. The initiator port number list 607 includes a storage 1 that can access the external device.
30 port 131 identification numbers are registered. When the external device can be accessed from a plurality of ports 131, a plurality of port identification numbers are registered. Target port ID
/ Target ID / LUN list 608 indicates that the external device is external storage 150
When one or more ports 151 are defined as LUNs, one or a plurality of port IDs of the ports 151 and target IDs / LUNs to which the external devices are assigned are held. When the control processor 132 of the storage apparatus 130 accesses an external device (when the control processor transmits an input / output request to the external device from the port 131), the external storage 150 to which the external device belongs to the external device. The assigned target ID and LUN are used as information for identifying the external device.

第五に、拡張ボリューム管理情報207について説明する。本実施の形態では、拡張ボ
リュームとは定義時には物理記憶領域を割り当てられず、ホスト計算機などからの更新ア
クセスに応じて、アクセス部分に対応する物理記憶領域としてプールボリュームの記憶領
域を動的に追加割り当てしていく仮想ボリュームのことである。本情報は、この拡張ボリ
ュームと論理デバイスおよびプールボリュームとの対応関係を管理するのに用いられる。
Fifth, the extended volume management information 207 will be described. In this embodiment, a physical storage area is not allocated at the time of definition of an expansion volume, and a pool volume storage area is dynamically added as a physical storage area corresponding to the access part in response to an update access from a host computer or the like. A virtual volume to be allocated. This information is used to manage the correspondence between the expansion volume, logical device, and pool volume.

図7は、拡張ボリューム管理情報207の一例である。ストレージ130は、全ての拡
張ボリューム毎に、拡張ボリューム番号701から実領域割当総量707までの情報組を
保持する。拡張ボリューム番号701には、ストレージ130の制御プロセッサ132が
当該拡張ボリュームに対して割り当てた、ストレージ130内で一意な値が格納される。
サイズ702には、拡張ボリューム番号701により特定される拡張ボリュームのホスト
計算機からの見掛けの容量が格納される。対応論理デバイス番号703には、当該拡張ボ
リュームが対応付けられているストレージ130内の論理デバイスの番号が登録される。
ボリューム状態704には、物理デバイス管理情報203の同名の情報と同様に、当該拡
張ボリュームの状態が設定される。なお、本実施例では、ボリューム状態704の初期値
は「未実装」となる。対応プール番号リスト705には、当該拡張ボリュームの物理記憶
領域を格納する全てのプールボリュームの番号が保持される。プールエントリ対応管理情
報706には、拡張ボリュームがホスト計算機に提供する記憶空間と対応するプールボリ
ューム内の物理記憶領域との対応を示す情報が格納される。拡張ボリュームが定義された
ばかりの初期状態では、当該ボリュームには物理記憶領域が割り当てられていないため、
当該ボリュームの全記憶領域は未割り当て状態である。ホスト計算機などから当該拡張ボ
リュームに対応する論理デバイスへの更新アクセスがあると、拡張ボリューム内のアクセ
ス対象位置が算出され、該当する記憶領域エントリへのプールボリューム記憶領域の割り
当て有無がチェックされる。アクセス対象記憶領域に対する物理記憶領域が未割り当ての
場合、対応プール番号リスト705で示される1つ以上のプールボリュームから適当な記
憶領域が選定され、拡張ボリュームのアクセス対象領域の物理記憶領域として割り当てら
れる。最後の実領域割当総量707には、当該拡張ボリュームに対して物理記憶領域を割
り当てた総容量を格納する。
FIG. 7 is an example of the extended volume management information 207. The storage 130 holds an information set from the expansion volume number 701 to the real area allocation total amount 707 for every expansion volume. In the expansion volume number 701, a unique value in the storage 130 assigned to the expansion volume by the control processor 132 of the storage 130 is stored.
The size 702 stores the apparent capacity from the host computer of the expansion volume specified by the expansion volume number 701. In the corresponding logical device number 703, the number of the logical device in the storage 130 with which the expansion volume is associated is registered.
In the volume status 704, the status of the extended volume is set as in the information with the same name in the physical device management information 203. In the present embodiment, the initial value of the volume state 704 is “unmounted”. The corresponding pool number list 705 holds the numbers of all pool volumes that store the physical storage area of the expansion volume. The pool entry correspondence management information 706 stores information indicating the correspondence between the storage space provided by the expansion volume to the host computer and the physical storage area in the corresponding pool volume. In the initial state where the extended volume has just been defined, no physical storage area is allocated to the volume.
All storage areas of the volume are in an unallocated state. When there is an update access to the logical device corresponding to the expansion volume from a host computer or the like, the access target position in the expansion volume is calculated, and whether or not the pool volume storage area is assigned to the corresponding storage area entry is checked. When the physical storage area for the access target storage area is not assigned, an appropriate storage area is selected from one or more pool volumes indicated by the corresponding pool number list 705 and assigned as the physical storage area of the access target area of the expansion volume. . The final real area allocation total amount 707 stores the total capacity allocated physical storage areas to the expansion volume.

第六に、プールボリューム管理情報208について説明する。本発明では、プールボリ
ュームとは拡張ボリュームの物理記憶領域として割り当てられる記憶領域を提供・管理す
る仮想的なボリュームのことである。本情報は、このプールボリュームと拡張ボリューム
および物理/外部デバイスとの対応関係を管理するのに用いられる。
Sixth, the pool volume management information 208 will be described. In the present invention, a pool volume is a virtual volume that provides and manages a storage area allocated as a physical storage area of an expansion volume. This information is used to manage the correspondence between the pool volume, the expansion volume, and the physical / external device.

図8にプールボリューム管理情報208の一例を示す。ストレージ130は、全てのプ
ールボリューム毎に、プールボリューム番号801から対応拡張ボリューム番号リスト8
08までの情報組を保持する。プールボリューム番号801には、ストレージ130の制
御プロセッサ132が当該プールボリュームに対して割り当てた、ストレージ130内で
一意な値が格納される。サイズ802には、プールボリューム番号801により特定され
るプールボリュームの容量が、空き容量803には、拡張ボリュームへ未割り当てな記憶
領域の総容量が格納される。ボリューム状態804には、拡張ボリューム管理情報207
の同名の情報と同様に、当該プールボリュームの状態が設定される。物理/外部デバイス
番号805には、当該プールボリュームが割り当てられた物理/外部デバイスの番号が保
持される。プールエントリサイズ806には、当該プールボリュームの記憶領域を拡張ボ
リュームの物理記憶領域として割り当てる際の割り当て単位(エントリ)の大きさを示す
情報を格納する。拡張ボリュームの記憶領域は対応するプールボリュームのエントリサイ
ズで複数のエントリに分割され、拡張ボリュームの各エントリとプールボリュームの各エ
ントリとの対応状態が、プールエントリ割当状態管理情報807に保持される。対応拡張
ボリューム番号リスト808には、当該プールボリュームの記憶領域を物理記憶領域とし
て割り当てた1つ以上の拡張ボリュームの番号が保持される。
FIG. 8 shows an example of the pool volume management information 208. For each pool volume, the storage 130 stores the corresponding expansion volume number list 8 from the pool volume number 801.
Holds information sets up to 08. The pool volume number 801 stores a unique value in the storage 130 that is assigned to the pool volume by the control processor 132 of the storage 130. The size 802 stores the capacity of the pool volume specified by the pool volume number 801, and the free capacity 803 stores the total capacity of the storage area that is not allocated to the expansion volume. The volume status 804 includes extended volume management information 207.
Similarly to the information with the same name, the status of the pool volume is set. The physical / external device number 805 holds the number of the physical / external device to which the pool volume is assigned. The pool entry size 806 stores information indicating the size of an allocation unit (entry) when allocating the storage area of the pool volume as a physical storage area of the expansion volume. The storage area of the expansion volume is divided into a plurality of entries according to the entry size of the corresponding pool volume, and the correspondence state between each entry of the expansion volume and each entry of the pool volume is held in the pool entry allocation state management information 807. The corresponding extended volume number list 808 holds the numbers of one or more extended volumes to which the storage area of the pool volume is assigned as a physical storage area.

第七に、デバイス稼動情報209について説明する。本実施の形態では、各論理デバイ
ス毎にホスト計算機100からのI/O頻度やデータ長またはアクセス範囲の局所性・連
続性などを採取する。本情報に基づいて、各論理デバイスに対応する物理デバイス又は外
部デバイスへのキャッシュメモリ、すなわち不揮発メモリ134一時領域の必要量を算出
する。
Seventh, the device operation information 209 will be described. In this embodiment, the I / O frequency from the host computer 100, the data length, the locality / continuity of the access range, etc. are collected for each logical device. Based on this information, the required amount of cache memory to the physical device or external device corresponding to each logical device, that is, the temporary area of the nonvolatile memory 134 is calculated.

本実施例では、ストレージ130は上記の7つのデバイス/ボリューム管理情報を用い
て、デバイス/ボリュームを管理する。当該ストレージ130の初期状態としては、当該
装置が工場出荷時に既に各ディスク装置137および不揮発メモリ134の常置領域に物
理デバイスが定義され、論理デバイス、外部デバイス、拡張ボリューム、プールボリュー
ムはそれぞれ未定義である。また、ユーザ又はストレージ管理者はストレージ130を導
入時に同ストレージ130に接続した外部ストレージ150の論理デバイスを外部デバイ
スとして定義し、これら物理デバイスおよび外部デバイス上に論理デバイスやプールボリ
ュームを定義し、プールボリュームの場合は更に拡張ボリュームや論理デバイスを定義し
、当該論理デバイスについて各ポート131にLUNを定義する。
In this embodiment, the storage 130 manages devices / volumes using the above seven device / volume management information. As an initial state of the storage 130, when the device is shipped from the factory, physical devices are already defined in the permanent areas of the disk devices 137 and the nonvolatile memory 134, and logical devices, external devices, expansion volumes, and pool volumes are not defined. is there. Also, the user or storage administrator defines the logical device of the external storage 150 connected to the storage 130 at the time of introduction of the storage 130 as an external device, defines the logical device and the pool volume on the physical device and the external device, and In the case of a volume, an expansion volume and a logical device are further defined, and a LUN is defined for each port 131 for the logical device.

また、ストレージ130は制御メモリ135に、不揮発メモリ134および不揮発メモ
リ134に割り当てた一時領域を管理するために、不揮発メモリ管理情報206およびキ
ャッシュ管理情報205を保持する。不揮発メモリ134管理情報は、搭載した不揮発メ
モリ134が提供するメモリ空間の各領域の割当状況、すなわち一時領域または常置領域
のどちらかに割り当て済みかまたは未割当かを示す情報を保持する。キャッシュ管理情報
205は、不揮発メモリ134一時領域の領域管理情報や、物理デバイスまたは外部デバ
イスのアドレス空間のどのデータがどの一時領域に格納されているかを示すヒットミス判
定情報などで構成される。一時領域の管理方法として、例えば、一時領域を規定サイズの
小領域(セグメント)に分割し、各セグメント毎に物理デバイスまたは外部デバイスのア
ドレス空間との対応情報を保持し、各セグメントが保持する情報がデバイスへ未反映(ダ
ーティ)か、反映済み(クリーン)かを示す情報を保持するなどが考えられる。
The storage 130 also stores nonvolatile memory management information 206 and cache management information 205 in the control memory 135 in order to manage the nonvolatile memory 134 and the temporary area allocated to the nonvolatile memory 134. The non-volatile memory 134 management information holds information indicating the allocation status of each area of the memory space provided by the mounted non-volatile memory 134, that is, whether the area is allocated to a temporary area or a permanent area, or is not allocated. The cache management information 205 includes area management information of the temporary area of the nonvolatile memory 134, hit miss determination information indicating which data in the address space of the physical device or the external device is stored in which temporary area, and the like. As a temporary area management method, for example, the temporary area is divided into small areas (segments) of a prescribed size, information corresponding to the physical device or external device address space is held for each segment, and information held by each segment It may be possible to hold information indicating whether the device is not reflected (dirty) or reflected (clean).

次に、再び図2に戻り、ストレージ130、外部ストレージ150、管理サーバ110
のメモリ133、153、112に格納されるプログラムついて説明する。各メモリには
上述の制御情報の複製に加えて、これらの各部位内の制御プロセッサ132、152やC
PU111で動作するプログラムが格納される。
Next, returning to FIG. 2 again, the storage 130, the external storage 150, and the management server 110.
The programs stored in the memories 133, 153, and 112 will be described. In addition to the above-mentioned copy of control information, each memory has control processors 132, 152 and C in each memory.
A program operating on the PU 111 is stored.

本実施例では、ストレージ130の不揮発メモリ134一時領域の割当処理と、それに
付随した物理デバイス割当処理、デバイス定義処理について説明する。また、後述する第
2の実施例では、当該一時領域の割当変更処理と、それに付随したデバイス移行処理につ
いて説明する。これらの処理は、ユーザ又はアプリケーションからの要求に対して、管理
サーバ110、ストレージ130、外部ストレージ150が連携して実行する。
In the present embodiment, the allocation process of the temporary area of the nonvolatile memory 134 of the storage 130, the accompanying physical device allocation process, and the device definition process will be described. In a second embodiment to be described later, the temporary area allocation change process and the device migration process associated therewith will be described. These processes are executed in cooperation with the management server 110, the storage 130, and the external storage 150 in response to a request from a user or an application.

まず、不揮発メモリ134一時領域の割当処理に対応して、管理サーバ110には一時
領域定義指示処理243がメモリ112に、ストレージ130には一時領域割当処理22
4および物理デバイス定義処理226がメモリ133にそれぞれ格納される。
First, in correspondence with the temporary area allocation process of the nonvolatile memory 134, the management server 110 has a temporary area definition instruction process 243 in the memory 112 and the storage 130 has a temporary area allocation process 22.
4 and physical device definition processing 226 are stored in the memory 133, respectively.

図9は、管理サーバ110で実行される一時領域定義指示処理243の処理フローの一
例を示す図である。管理サーバ110は、デバイス管理情報の複製231内の情報に基づ
いてストレージ130の不揮発メモリ134に割り当てなければならない一時領域の容量
を算出する(ステップ901)。より具体的には、物理デバイス管理情報203や外部デ
バイス管理情報204から物理/外部デバイスの容量を算出し、またデバイス管理情報2
09から各論理デバイスに対応する物理/外部デバイスのアクセス特性(頻度、局所性な
ど)を得て、それに基づいた一時領域必要量を算出する。例えば、アクセス頻度と局所性
から一時領域割当容量に対するキャッシュヒット向上率を推定し、各論理デバイスに期待
される性能が達成されるよう制御する方法などが考えられる。これらの一時領域の容量算
出には様々なアルゴリズムが存在する。特定のアルゴリズムに基づいて一時領域必要量を
算出したら、ストレージ130に対して、不揮発メモリ134への一時領域割当を指示す
る(ステップ902)。一時領域の割当が完了したら、次に不揮発メモリ134のうち、
一時領域としても常置領域としても割り当てられていない領域(以下、未割当領域と呼ぶ
)の量および比率を算出し、これらが規定レベルを超えている場合、超過分の不揮発メモ
リ134を常置領域として定義して物理デバイスを定義するよう、ストレージ130へ指
示する(ステップ903)。この結果、超過分の不揮発メモリ134が物理デバイスとし
てストレージ130が管理する空きデバイスとして算入される。
FIG. 9 is a diagram illustrating an example of a processing flow of the temporary area definition instruction processing 243 executed by the management server 110. The management server 110 calculates the capacity of the temporary area that must be allocated to the nonvolatile memory 134 of the storage 130 based on the information in the device management information copy 231 (step 901). More specifically, the physical / external device capacity is calculated from the physical device management information 203 and the external device management information 204, and the device management information 2
The access characteristics (frequency, locality, etc.) of the physical / external device corresponding to each logical device are obtained from 09, and the temporary area necessary amount based on the access characteristics is calculated. For example, a method of estimating the cache hit improvement rate for the temporary area allocation capacity from the access frequency and locality, and controlling so as to achieve the performance expected for each logical device can be considered. There are various algorithms for calculating the capacity of these temporary areas. When the required temporary area is calculated based on a specific algorithm, the storage 130 is instructed to allocate a temporary area to the nonvolatile memory 134 (step 902). When the allocation of the temporary area is completed, next, in the nonvolatile memory 134,
The amount and ratio of areas that are not allocated as temporary areas or permanent areas (hereinafter referred to as unallocated areas) are calculated. The storage 130 is instructed to define and define the physical device (step 903). As a result, the excess nonvolatile memory 134 is counted as a free device managed by the storage 130 as a physical device.

図10は、ストレージ130で実行される一時領域割当処理224の処理フローの一例
を示す図である。管理サーバ110からの一時領域割当指示を受信したストレージ130
の制御プロセッサ132は、不揮発メモリ管理情報206に基づいて、指示された容量分
の不揮発メモリ134未割当領域を選定し、当該未割当領域を一時領域へ変更する(ステ
ップ1001,1002)。さらに、新規に割り当てた当該一時領域をセグメントに分割
管理するよう、キャッシュ管理情報205へ登録する(ステップ1003)。ここで、制
御プロセッサ132は、制御メモリ135に対して、登録する。制御プロセッサ132が
メモリ133にもキャッシュ管理情報205を有している場合、メモリ133に対しても
登録する。
FIG. 10 is a diagram illustrating an example of a processing flow of the temporary area allocation processing 224 executed in the storage 130. The storage 130 that has received the temporary area allocation instruction from the management server 110
The control processor 132 selects the non-allocated area of the non-volatile memory 134 for the instructed capacity based on the non-volatile memory management information 206, and changes the unallocated area to a temporary area (steps 1001 and 1002). Further, the newly allocated temporary area is registered in the cache management information 205 so as to be divided into segments (step 1003). Here, the control processor 132 registers in the control memory 135. If the control processor 132 also has the cache management information 205 in the memory 133, the control processor 132 also registers in the memory 133.

図11は、ストレージ130で実行される物理デバイス定義処理226の処理フローの
一例を示す図である。管理サーバ110からの不揮発メモリ134の未割当領域への物理
デバイス定義指示を受信したストレージ130の制御プロセッサ132は、不揮発メモリ
管理情報206に基づいて、指示された容量分の不揮発メモリ134の未割当領域を選定
し、当該未割当領域を常置領域へ変更する(ステップ1101、1102)。さらに、新
規に割り当てた当該常置領域へ物理デバイスを定義するよう、制御プロセッサ132は、
物理デバイス管理情報203を設定する。具体的には、制御プロセッサ132は、特定の
物理デバイスに対応する物理デバイス管理情報203へ、物理デバイスを定義する当該常
置領域のサイズと、当該常置領域の識別番号および各領域内のオフセットおよびサイズを
それぞれ登録する。
FIG. 11 is a diagram illustrating an example of a processing flow of the physical device definition processing 226 executed in the storage 130. The control processor 132 of the storage 130 that has received the physical device definition instruction from the management server 110 to the unallocated area of the nonvolatile memory 134, based on the nonvolatile memory management information 206, unallocated the nonvolatile memory 134 for the instructed capacity. An area is selected and the unallocated area is changed to a permanent area (steps 1101 and 1102). Further, the control processor 132 defines the physical device in the newly allocated permanent area.
The physical device management information 203 is set. Specifically, the control processor 132 adds the size of the permanent area defining the physical device, the identification number of the permanent area, and the offset and size in each area to the physical device management information 203 corresponding to the specific physical device. Register each.

以上の説明のように、管理サーバ110とストレージ130の連携によって、不揮発メ
モリ130の一時領域が定義される。次に、こうしたシステム環境におけるストレージ運
用管理に伴う通常処理として、論理デバイスの定義処理とI/O処理を例に説明する。
As described above, the temporary area of the nonvolatile memory 130 is defined by the cooperation of the management server 110 and the storage 130. Next, logical device definition processing and I / O processing will be described as an example of normal processing associated with storage operation management in such a system environment.

まず論理デバイス定義処理に対応して、管理サーバ110にはデバイス定義指示処理2
41がメモリ112に、ストレージ130にはデバイス定義処理222がメモリ133に
それぞれ格納される。
First, in response to the logical device definition process, the management server 110 has a device definition instruction process 2
41 is stored in the memory 112, and the device definition process 222 is stored in the memory 133 in the storage 130.

図12は、管理サーバ110で実行される、デバイス定義指示処理241の処理フロー
の一例を示す図である。管理サーバ110は、IPネットワーク175とインタフェース
制御部116を介してユーザまたはアプリケーションプログラムからストレージ130の
論理デバイス定義要求を受信する(ステップ1201)。当該要求に含まれる情報として
は、例えば、ストレージ130の識別情報、論理デバイス番号、アクセス元HBA特定情
報(WWNなど)、ポート特定情報(ポート131のポートID、ターゲットID、LU
Nのリストなど)、デバイス属性情報(通常ボリューム/拡張ボリューム、用途、など)
などが考えられる。これらの情報から、まず管理サーバ110は、当該ストレージ130
に設定された管理アクセス権設定などから、当該要求が当該ストレージ130の管理アク
セス権を持ったユーザ又はホスト計算機100上のアプリケーションプログラムからのも
のであることを確認して、当該要求の実行可否を判定する。続いて、管理サーバ110は
、前記デバイス定義指示に含まれた情報から、当該論理デバイスを通常のボリュームとし
て定義するか、拡張ボリュームとして定義するかを判定する(ステップ1202)。当該
論理デバイスを拡張ボリュームとして割り当てる場合、管理サーバ110は、物理/外部
デバイスに対応している全てのプールボリュームの残容量、すなわち拡張ボリュームの物
理記憶領域として未割り当てな領域の総容量が規定値以上あれば、既に定義されているプ
ールボリュームのうちの一つに対応した拡張ボリュームを定義させて、当該拡張ボリュー
ムへ当該論理デバイスを割り当てる旨をストレージ130へ指示する(ステップ1203
,1204)。管理サーバ110は、容量が十分でなければ、物理/外部デバイスのうち
、論理デバイスにもプールボリュームにも未割り当てなデバイス(以下、空きデバイス)
をチェックし、該当デバイスがあれば新たなプールボリュームおよび拡張ボリュームを定
義して、当該論理デバイスを割り当てる旨をストレージ130へ指示する(ステップ12
05)。もし、空きデバイスが無い場合には、管理サーバ110は、当該論理デバイス定
義処理のエラーを要求元へ報告する(ステップ1208)。一方、ステップ1202の判
定で、当該論理デバイスを拡張ボリュームではなく、通常ボリュームとして定義する場合
、空き物理/外部デバイスを検索し、割り当て対象デバイスを決定し、同デバイスへの当
該論理デバイス割り当てをストレージ130へ指示する(ステップ1206)。管理サー
バ110は、ストレージ130へ指示した後、要求元へ完了報告する(ステップ1207
)。
FIG. 12 is a diagram illustrating an example of a process flow of the device definition instruction process 241 executed by the management server 110. The management server 110 receives a logical device definition request for the storage 130 from the user or application program via the IP network 175 and the interface control unit 116 (step 1201). Information included in the request includes, for example, storage 130 identification information, logical device number, access source HBA identification information (WWN, etc.), port identification information (port ID of port 131, target ID, LU
N list), device attribute information (normal volume / expansion volume, usage, etc.)
And so on. From these pieces of information, the management server 110 first determines that the storage 130
From the management access right setting etc. set in the above, it is confirmed that the request is from a user having the management access right of the storage 130 or an application program on the host computer 100, and whether or not the request can be executed. judge. Subsequently, the management server 110 determines whether to define the logical device as a normal volume or an extended volume from the information included in the device definition instruction (step 1202). When allocating the logical device as an expansion volume, the management server 110 sets the remaining capacity of all pool volumes corresponding to the physical / external device, that is, the total capacity of the unallocated area as the physical storage area of the expansion volume. If so, an expansion volume corresponding to one of the already defined pool volumes is defined, and the storage 130 is instructed to allocate the logical device to the expansion volume (step 1203).
1204). If the capacity is not sufficient, the management server 110 is a device that is not allocated to either a logical device or a pool volume among physical / external devices (hereinafter referred to as a free device).
If there is a corresponding device, a new pool volume and expansion volume are defined, and the storage 130 is instructed to allocate the logical device (step 12).
05). If there is no free device, the management server 110 reports an error of the logical device definition process to the request source (step 1208). On the other hand, if it is determined in step 1202 that the logical device is defined as a normal volume instead of an expansion volume, a free physical / external device is searched, an allocation target device is determined, and the logical device allocation to the device is stored. 130 is instructed (step 1206). After instructing the storage 130, the management server 110 reports the completion to the request source (step 1207).
).

図13は、ストレージ130で実行される、デバイス定義処理222の処理フローの一
例を示す図である。まず、ストレージ130は、管理サーバ110から論理デバイス定義
要求を受信する(ステップ1301)。この際、管理サーバ110は、IPネットワーク1
75及び管理端末140を介して、ストレージ130に論理デバイス定義を送信する。制
御プロセッサ132は、当該要求を制御メモリ135に格納する。当該要求に含まれる情
報としては、管理サーバ110がデバイス定義指示処理241で受信した情報に加えて、
通常ボリュームの場合は論理デバイス割り当て対象物理デバイス又は外部デバイス番号な
どが含まれる。一方、拡張ボリュームの場合は新規に割り当てる拡張ボリューム番号と拡
張ボリューム割り当て対象プールボリューム番号か、又は新規に割り当てる拡張ボリュー
ム番号/プールボリューム番号とプールボリューム割り当て対象物理デバイス又は外部デ
バイス番号などが含まれる。当該論理デバイスが拡張ボリュームの場合制御プロセッサ1
32は、必要ならば指定された物理デバイス又は外部デバイスに対してプールボリューム
を定義し(ステップ1302、1303、1304)、プールボリュームに対して拡張ボ
リュームを定義する(ステップ1305)。ここで、プールボリューム定義として、具体
的には、制御プロセッサ132は、指定されたプールボリューム番号に対応する情報エン
トリについて、割り当て対象の物理デバイス番号又は外部デバイス番号を物理デバイス番
号又は、外部デバイス番号805に設定し、同デバイス管理情報を参照してサイズ802
を設定し、空き容量803をサイズ802の値に、ボリューム状態804を「デタッチ」
に、対応拡張ボリューム番号リスト808を無効値にそれぞれ初期化する。また、制御プ
ロセッサ132は、プールエントリサイズ806について、ストレージ130で固定の値
を用いてもよいし、ユーザからの論理デバイス割り当て指示に同サイズを示す情報を設定
してもよい。また、制御プロセッサ132は、プールエントリ割当状態管理情報807を
全エントリが拡張ボリュームに未割当となるよう初期化する。また、拡張ボリューム定義
として、具体的には、指定された拡張ボリューム番号に対応する拡張ボリューム管理情報
207の情報エントリと対応するプールボリュームのプールボリューム管理情報208の
情報エントリについて、対応拡張ボリューム番号リスト808に当該拡張ボリューム番号
を、ボリューム状態804に「アタッチ」をそれぞれ登録する。さらに、制御プロセッサ
132は、サイズ702に当該拡張ボリュームに対応させる論理デバイスのサイズを設定
し、対応論理デバイス番号703に無効値を、ボリューム状態704に「デタッチ」を、
停止フラグに「On」を、最終起動/停止時間706に現在時刻を、対応プール番号リス
ト707に当該プールボリューム番号を、実領域割当総量に0をそれぞれ設定する。プー
ルエントリ対応管理情報708には、全エントリが未割当状態となるよう初期化する。次
に、制御プロセッサ132は、当該拡張ボリュームに対して当該論理デバイスを定義して
から、指定されたポート131に対してLUNパス定義を行い、処理完了を管理サーバ1
10へ報告する(ステップ1306、1307)。ここで、論理デバイス定義として具体
的には、制御プロセッサ132は、対応する論理デバイス管理情報201と拡張ボリュー
ム管理情報207について、対応論理デバイス番号703に当該論理デバイス番号を、ボ
リューム状態704に「アタッチ」をそれぞれ設定する。さらに、サイズ302とタイプ
304に割当指示内容を、対応下位デバイス番号303に当該拡張ボリューム番号を、デ
バイス状態に「デタッチ」を、エントリ306から309に無効値を、データ移行中フラ
グ310に「Off」をそれぞれ設定する。また、LUNパス定義として具体的には、制
御プロセッサ132は、対応する論理デバイス管理情報201とLUパス管理情報202
について、エントリ306、307および402、404に割当指示で指定されたポート
情報や接続ホスト計算機100情報をそれぞれ設定する。また、対応論理デバイス番号4
03に当該論理デバイス番号を設定する。一方、当該論理デバイスが通常ボリュームの場
合は、指定された空き物理デバイス又は外部デバイスに対して当該論理デバイスを定義し
、LUNパス定義を行い、処理完了を報告する(ステップ1302、1306,1307
)。ここで、論理デバイス定義として具体的には、対応する論理デバイス管理情報201
と物理デバイス管理情報202又は外部デバイス管理情報203に必要情報を設定する。
FIG. 13 is a diagram illustrating an example of a process flow of the device definition process 222 executed in the storage 130. First, the storage 130 receives a logical device definition request from the management server 110 (step 1301). At this time, the management server 110 uses the IP network 1
75 and the logical device definition are transmitted to the storage 130 via the management terminal 140. The control processor 132 stores the request in the control memory 135. As information included in the request, in addition to the information received by the management server 110 in the device definition instruction processing 241,
In the case of a normal volume, a logical device allocation target physical device or an external device number is included. On the other hand, in the case of an expansion volume, a newly allocated expansion volume number and expansion volume allocation target pool volume number, or a newly allocated expansion volume number / pool volume number and pool volume allocation target physical device or external device number are included. Control processor 1 when the logical device is an expansion volume
If necessary, 32 defines a pool volume for the specified physical device or external device (steps 1302, 1303, 1304), and defines an expansion volume for the pool volume (step 1305). Here, as the pool volume definition, specifically, the control processor 132 sets the physical device number or external device number to be assigned to the physical device number or external device number for the information entry corresponding to the designated pool volume number. Set to 805 and refer to the device management information for size 802
Is set, the free space 803 is set to the value of the size 802, and the volume status 804 is "detached"
In addition, the corresponding extended volume number list 808 is initialized to invalid values. The control processor 132 may use a fixed value in the storage 130 for the pool entry size 806, or may set information indicating the same size in a logical device allocation instruction from the user. Further, the control processor 132 initializes the pool entry allocation state management information 807 so that all entries are unallocated to the expansion volume. Further, as the extended volume definition, specifically, the corresponding extended volume number list for the information entry of the pool volume management information 208 of the pool volume corresponding to the information entry of the extended volume management information 207 corresponding to the designated extended volume number The expansion volume number is registered in 808, and “attach” is registered in the volume state 804. Further, the control processor 132 sets the size of the logical device corresponding to the expansion volume to the size 702, sets an invalid value to the corresponding logical device number 703, “detach” to the volume status 704,
“On” is set in the stop flag, the current time is set in the last start / stop time 706, the pool volume number is set in the corresponding pool number list 707, and 0 is set in the real area allocation total amount. The pool entry correspondence management information 708 is initialized so that all entries are in an unallocated state. Next, after defining the logical device for the expansion volume, the control processor 132 performs LUN path definition for the designated port 131 and completes the processing to the management server 1.
10 (steps 1306 and 1307). Specifically, as the logical device definition, the control processor 132 sets the corresponding logical device number 703 and “attach” to the corresponding logical device number 703 for the corresponding logical device management information 201 and the extended volume management information 207. "Is set respectively. Furthermore, the allocation instruction content for the size 302 and the type 304, the extension volume number for the corresponding lower device number 303, the “detached” device status, the invalid values in the entries 306 to 309, the “off” in the data migration flag 310 are displayed. "Is set respectively. Further, specifically, as the LUN path definition, the control processor 132 sets the corresponding logical device management information 201 and LU path management information 202.
, The port information designated by the assignment instruction and the connected host computer 100 information are set in the entries 306, 307 and 402, 404, respectively. Corresponding logical device number 4
Set the logical device number to 03. On the other hand, if the logical device is a normal volume, the logical device is defined for the designated free physical device or external device, LUN path definition is performed, and processing completion is reported (steps 1302, 1306, 1307).
). Here, specifically, the logical device management information 201 corresponding to the logical device definition
Necessary information is set in the physical device management information 202 or the external device management information 203.

次にホスト計算機から論理デバイスに対するI/O処理に対応して、ストレージ130
にI/O処理221がメモリ133に格納される。
Next, in response to the I / O processing from the host computer to the logical device, the storage 130
The I / O processing 221 is stored in the memory 133.

図19は、ストレージ130で実行される、I/O処理221の処理フローの一例を示
す図である。ストレージ130は、ホスト計算機100からのI/O要求を受信する(ス
テップ1901)。制御プロセッサ132は、I/O要求の種別によって処理を切り分け
る(ステップ1902)。
FIG. 19 is a diagram illustrating an example of a processing flow of the I / O processing 221 executed in the storage 130. The storage 130 receives the I / O request from the host computer 100 (step 1901). The control processor 132 separates the process according to the type of the I / O request (step 1902).

ステップ1902で、制御プロセッサ132がリード要求であると判断した場合、制御
プロセッサ132は、キャッシュ管理情報205に基づき、リード対象データのキャッシ
ュヒットミスであるか否かを判定する(ステップ1903)。キャッシュミスの場合はキ
ャッシュ管理情報205を操作して不揮発メモリ一時領域から空きセグメントを割り当て
て(ステップ1904)、物理デバイスであるディスク137または外部ストレージ15
0からステージングしたデータを不揮発メモリ134に格納し(ステップ1905)、ホ
スト計算機へデータを転送する(ステップ1906)。キャッシュヒットの場合、制御プ
ロセッサ132は、不揮発メモリ134からデータをリードする。
If the control processor 132 determines in step 1902 that the request is a read request, the control processor 132 determines whether or not the read target data is a cache hit miss based on the cache management information 205 (step 1903). In the case of a cache miss, the cache management information 205 is manipulated to allocate a free segment from the non-volatile memory temporary area (step 1904), and the disk 137 or the external storage 15 as a physical device.
The data staged from 0 is stored in the nonvolatile memory 134 (step 1905), and the data is transferred to the host computer (step 1906). In the case of a cache hit, the control processor 132 reads data from the nonvolatile memory 134.

また、ステップ1902で、制御プロセッサ132がI/O要求をライト要求であると
判別し、キャッシュミスであるか否かを判別する(ステップ1908)。キャッシュミス
の場合、制御プロセッサ132は、空きセグメントを割り当てる(ステップ1909)。
ここで、キャッシュミスとは、論理デバイスのあるデータ領域に対して、不揮発メモリ1
34にセグメントが割り当てられていない状態をいう。その後、制御プロセッサ132は
、ホスト計算機からのライトデータを当該セグメントに格納した後(ステップ1910)
、物理デバイスまたは外部デバイスなどの常置領域へデステージする(ステップ1911
)。一方、ステップ1908で、キャッシュヒットした場合、不揮発メモリ134に常置
領域が存在することになるので、該当するアドレスにデータを格納する。
In step 1902, the control processor 132 determines that the I / O request is a write request, and determines whether it is a cache miss (step 1908). In the case of a cache miss, the control processor 132 allocates a free segment (step 1909).
Here, the cache miss refers to the nonvolatile memory 1 for the data area in which the logical device is located.
34 is a state in which no segment is assigned. After that, the control processor 132 stores the write data from the host computer in the segment (step 1910).
Destage to a permanent area such as a physical device or external device (step 1911)
). On the other hand, if a cache hit occurs in step 1908, a permanent area exists in the nonvolatile memory 134, so data is stored at the corresponding address.

他方、ステップ1902で、制御プロセッサ132がライト要求でもリード要求でもな
いと判別した場合(例えば、センスコマンドなど)、制御プロセッサ132は、要求され
た処理を実行する(ステップ1912)。
On the other hand, if it is determined in step 1902 that the control processor 132 is neither a write request nor a read request (eg, a sense command), the control processor 132 executes the requested process (step 1912).

最後に、処理を実行した制御プロセッサ132は、処理完了をホスト計算機100へ報
告し、処理を終了する(ステップ1907)。
Finally, the control processor 132 that executed the process reports the process completion to the host computer 100 and ends the process (step 1907).

本実施例は、上述のように、構成されるので、以下の効果を奏する。仮想ストレージシ
ステムの構成や被仮想化デバイスの容量やアクセス特性に応じて、一時領域容量を決定し
、不揮発メモリを一時領域と常置領域それぞれに使い分けることが可能となる。
Since the present embodiment is configured as described above, the following effects can be obtained. The temporary area capacity is determined according to the configuration of the virtual storage system, the capacity of the virtualized device, and the access characteristics, and the nonvolatile memory can be used separately for the temporary area and the permanent area.

実施例1では、ストレージ130が管理する物理デバイスおよび外部デバイスの容量や
アクセス特性などから一時領域の必要量を算出し、必要分の一時領域を割り当てる方法に
ついて説明した。実施例2では、外部ストレージの増減設や各デバイスへのアクセス特性
の変化を感知し、一時領域割当量の見直しをかける方法について説明する。
In the first embodiment, the method of calculating the necessary amount of the temporary area from the capacity and access characteristics of the physical device and the external device managed by the storage 130 and allocating the necessary temporary area has been described. In the second embodiment, a method for recognizing a temporary area allocation amount by detecting an increase / decrease in external storage or a change in access characteristics to each device will be described.

第2の実施例は、図1から図8および図14から図18を用いて説明する。第1と第2
の実施例は多くの共通点を持つため、両者の差異についてのみ述べる。
The second embodiment will be described with reference to FIGS. 1 to 8 and FIGS. 14 to 18. 1st and 2nd
Since this embodiment has many common points, only the difference between them will be described.

第2の実施例におけるソフトウェア構成は第1の実施例と同様に図2に示される。第2
の実施例では、まず、不揮発メモリ134の一時領域の割当変更処理に対応して、管理サ
ーバ110には一時領域変更指示処理244がメモリ112に、ストレージ130には一
時領域割当解除処理225とデバイス移行処理223と物理デバイス定義解除処理227
がメモリ133にそれぞれ格納される。
The software configuration in the second embodiment is shown in FIG. 2 as in the first embodiment. Second
In the embodiment, first, in response to the temporary area allocation change process in the nonvolatile memory 134, the management server 110 has a temporary area change instruction process 244 in the memory 112, and the storage 130 has a temporary area deallocation process 225 and a device. Migration processing 223 and physical device definition cancellation processing 227
Are stored in the memory 133, respectively.

図14は、管理サーバ110で実行される、一時領域変更指示処理244の処理フロー
の一例を示す図である。管理サーバ110のCPU111は、ある時点での不揮発メモリ
134に既に割り当てられている一時領域の容量を、キャッシュ管理情報205や不揮発
メモリ管理情報206に基づき算出する(ステップ1401)。更に、一時領域割当処理
224のステップ1001と同様の方法で、その時点の一時領域割当必要量を算出する(
ステップ1402)。これらの値を比較し、両者の差が規定値を超えた場合、CPU11
1は、一時領域の割当量を制御する。もし、不揮発メモリ134の既割当一時領域の容量
が必要量に対して規定値以上の場合(ステップ1403)、解除候補として超過容量分の
一時領域を選定する(ステップ1408)。一時領域の選定方法としては、未使用セグメ
ントを多く含む一時領域を選定してもよいし、ダーティデータを格納したセグメントが少
ない一時領域を選定してもよい。CPU111は、選定した領域を特定する情報を付加し
て、ストレージ130に対して特定一時領域の割当解除を指示する(ステップ1409)
。なお、このとき、割当を解除する一時領域を選定せず、割当解除が必要な一時領域の容
量のみを付加し、ストレージ130で割当を解除する一時領域を決めても良い。特定一時
領域の割当が解除されたら、CPU111は、未割当領域となった当該不揮発メモリ13
4の領域に対して常置領域への設定および物理デバイス定義をストレージ130へ指示す
る(ステップ1410)。もし、既割当一時領域の容量が必要量に対して規定値より少な
い場合、超過容量分に相当する、不揮発メモリ134に定義された物理デバイスを選定し
、当該物理デバイスに対応する論理デバイスをディスク装置137に定義された物理デバ
イス又は外部デバイスに移行するようストレージ130へ指示する(ステップ1405)
。移行が完了したら、CPU111は、当該物理デバイスの割当解除をストレージ130
へ指示する(ステップ1406)。それが完了したら、管理サーバ110はストレージ1
30に対して当該未割当領域を一時領域へ割り当てるよう指示する(ステップ1407)
FIG. 14 is a diagram illustrating an example of a processing flow of the temporary area change instruction processing 244 executed by the management server 110. The CPU 111 of the management server 110 calculates the capacity of the temporary area already allocated to the nonvolatile memory 134 at a certain time based on the cache management information 205 and the nonvolatile memory management information 206 (step 1401). Furthermore, the temporary area allocation required amount at that time is calculated by the same method as in Step 1001 of the temporary area allocation processing 224 (
Step 1402). When these values are compared and the difference between the two exceeds a specified value, the CPU 11
1 controls the allocation amount of the temporary area. If the capacity of the allocated temporary area of the nonvolatile memory 134 is equal to or greater than a predetermined value with respect to the required amount (step 1403), a temporary area for the excess capacity is selected as a release candidate (step 1408). As a method for selecting a temporary area, a temporary area that includes many unused segments may be selected, or a temporary area that has few segments storing dirty data may be selected. The CPU 111 adds information for specifying the selected area and instructs the storage 130 to deallocate the specified temporary area (step 1409).
. At this time, the temporary area to be deallocated may be determined by adding only the capacity of the temporary area that needs to be deallocated without selecting the temporary area to be deallocated. When the allocation of the specific temporary area is released, the CPU 111 causes the nonvolatile memory 13 that has become an unallocated area.
The storage area 130 is instructed to set the permanent area and the physical device definition for the area 4 (step 1410). If the capacity of the allocated temporary area is smaller than the required value with respect to the required amount, the physical device defined in the nonvolatile memory 134 corresponding to the excess capacity is selected, and the logical device corresponding to the physical device is selected as the disk. Instruct the storage 130 to migrate to a physical device or an external device defined in the device 137 (step 1405)
. When the migration is completed, the CPU 111 cancels the deallocation of the physical device.
(Step 1406). When it is completed, the management server 110 stores the storage 1
30 is instructed to allocate the unallocated area to the temporary area (step 1407).
.

図15は、ストレージ130で実行される、一時領域割当解除処理225の処理フロー
の一例を示す図である。は、管理サーバ110からの一時領域割当解除指示を管理端末1
40を介して、受領する。その後、制御プロセッサ132は、必要に応じて割当解除対象
となる不揮発メモリ134の一時領域を選定し(ステップ1501,1502)、割当解
除対象となる一時領域について、キャッシュ管理情報205に基づき、ダーティデータの
有無すなわち、常置領域へ未反映なホスト更新データを格納したセグメントの有無を確認
し、存在すれば、当該未反映データ(ダーティデータ)を対応する物理デバイス又は外部
デバイスへデステージする(ステップ1503)。対象となる一時領域の全てのダーティ
データのデステージが完了したら、不揮発メモリ管理情報206の対応するエントリを未
割当領域を示すよう変更し、対応するキャッシュ管理情報205を全て初期化する(ステ
ップ1504)。
FIG. 15 is a diagram illustrating an example of a processing flow of the temporary area deallocation processing 225 executed in the storage 130. Sends a temporary area deallocation instruction from the management server 110 to the management terminal 1
Receive via 40. Thereafter, the control processor 132 selects a temporary area of the non-volatile memory 134 to be deallocated as necessary (steps 1501 and 1502), and the dirty data for the temporary area to be deallocated is based on the cache management information 205. Whether there is a segment storing host update data that has not been reflected in the permanent area. If there is a segment, the unreflected data (dirty data) is destaged to the corresponding physical device or external device (step 1503). ). When the destage of all the dirty data in the target temporary area is completed, the corresponding entry in the nonvolatile memory management information 206 is changed to indicate the unallocated area, and all the corresponding cache management information 205 is initialized (step 1504). ).

図16は、ストレージ130で実行される、デバイス移行処理223の処理フローの一
例を示す図である。制御プロセッサ132は、周期的に本処理を起動し、デバイス移行要
求が登録されていないかをチェックする(ステップ1601)。先述の通り、デバイス移
行要求は、不揮発メモリ134の一時領域を拡張するために常置領域に定義した物理デバ
イスに対応する論理デバイスを別の物理デバイスとなるディスク装置137又は外部デバ
イスに移行する際、登録される。また、後述するように、ストレージ130が構築する、
不揮発メモリ134の常置領域、ディスク装置137や外部デバイスといった階層ストレ
ージにおける、データ価値などに基づく、階層間データ移行が必要な際、登録される。デ
バイス移行要求が登録されていなければ、なにもせず本処理を終了する(ステップ160
1)。要求が登録されていた場合、対象論理デバイスが拡張ボリュームか通常ボリューム
かで処理を切り分ける(ステップ1602)。当該論理デバイスが通常ボリュームの場合
、要求処理が空きデバイスへの移行の場合、移行元論理デバイスのデータを先頭アドレス
から順次移行先物理デバイス又は外部デバイスへ移行し、全領域のデータ移行が完了した
ら、移行元論理デバイスを現在対応している物理デバイス又は外部デバイスから移行先空
き物理デバイス又は外部デバイスへ対応づくように、デバイス管理情報を更新する(ステ
ップ1606、1607)。また、要求処理が別の論理デバイスとの入替の場合、移行元
/移行先論理デバイスのデータを先頭アドレスから順次不揮発メモリ134一時領域など
の別の記憶装置に読み上げ、移行元論理デバイスのデータを移行先論理デバイスへ、移行
先論理デバイスのデータを移行元論理デバイスへ入れ替えて、書き込んでいく。当該論理
デバイス全領域についてデータ入替が完了したら、移行元論理デバイスと移行先論理デバ
イスについて、それぞれが対応する物理デバイス又は外部デバイスとの対応関係を入れ替
えるよう、デバイス管理情報を更新する(ステップ1604、1605)。
FIG. 16 is a diagram illustrating an example of a process flow of the device migration process 223 executed in the storage 130. The control processor 132 periodically activates this process to check whether a device migration request is registered (step 1601). As described above, the device migration request is generated when the logical device corresponding to the physical device defined in the permanent area for expanding the temporary area of the nonvolatile memory 134 is migrated to the disk device 137 or an external device which is another physical device. be registered. Further, as will be described later, the storage 130 is constructed.
It is registered when data transfer between tiers is required based on the data value in the permanent area of the non-volatile memory 134, tier storage such as the disk device 137 or external device. If the device migration request is not registered, this process is terminated without doing anything (step 160).
1). If the request is registered, the process is separated depending on whether the target logical device is an expansion volume or a normal volume (step 1602). When the logical device is a normal volume, if the request process is a migration to an empty device, the data of the migration source logical device is migrated sequentially from the start address to the migration destination physical device or external device. The device management information is updated so as to correspond from the physical device or external device that currently supports the migration source logical device to the migration destination free physical device or external device (steps 1606 and 1607). When the request processing is replacement with another logical device, the data of the migration source / destination logical device is read sequentially from the head address to another storage device such as a temporary area of the nonvolatile memory 134, and the data of the migration source logical device is read. The data of the migration destination logical device is replaced with the migration source logical device and written to the migration destination logical device. When the data replacement is completed for the entire area of the logical device, the device management information is updated so that the correspondence relationship between the migration source logical device and the migration destination logical device and the corresponding physical device or external device is switched (step 1604, 1605).

一方、当該論理デバイスが拡張ボリュームの場合、要求処理が別のプールボリュームへ
の移行処理の場合、制御プロセッサ132は、当該論理デバイスの先頭エントリから順次
、対応する拡張ボリュームで実領域が割当済みのエントリを検索し、当該エントリのデー
タのみを移行先プールボリュームの空きエントリに追記していく。より詳細には、当該拡
張ボリュームの対応プールボリュームに移行先プールボリュームを追加し、移行元プール
ボリュームのエントリから読み上げたデータを移行先プールボリュームの空きエントリを
割り当てて書き込み、移行先ボリュームのエントリを当該拡張ボリュームの当該エントリ
に対応づくように管理情報を更新する。本処理を論理デバイス管理情報の進捗ポインタを
用いながら順次実行していき、全領域について移行処理が完了したら、当該拡張ボリュー
ムの対応プールボリュームリストから移行元プールボリューム(当初当該論理デバイスが
対応していたプールボリューム)を削除する(ステップ1609、1610)。また、要
求処理が別の論理デバイスとの入替指示の場合、制御プロセッサ132は、移行元/移行
先論理デバイスの先頭エントリから順に実領域(プールボリュームのエントリ)が割り当
てられているエントリを検索し、対象エントリについて相手側のプールボリュームの空き
エントリを新規に割り当てて当該エントリのデータを移行していく。この移行処理過程に
おいて、移行先/移行元論理デバイスの移行実施エントリ数に大きな差がついてしまうと
、一方のプールボリュームの空きエントリ数が枯渇する恐れがある。従って、移行実施エ
ントリ数が移行先/移行元論理デバイスで大きく乖離しないよう、進捗を制御する必要が
ある。このように全領域の入替処理が完了したら、移行先/移行元論理デバイスとそれぞ
れのプールボリュームとの対応が入れ替わるようデバイス管理情報を更新する(ステップ
1611から1616)。
On the other hand, if the logical device is an expansion volume, if the request process is a migration process to another pool volume, the control processor 132 has assigned real areas to the corresponding expansion volume sequentially from the first entry of the logical device. The entry is searched, and only the data of the entry is added to the free entry of the migration destination pool volume. More specifically, the migration destination pool volume is added to the corresponding pool volume of the expansion volume, the data read out from the entry of the migration source pool volume is assigned and written to the free entry of the migration destination pool volume, and the entry of the migration destination volume is written. The management information is updated so as to correspond to the entry of the extension volume. This process is executed sequentially using the progress pointer of the logical device management information, and when the migration process is completed for all areas, the migration source pool volume (initially the logical device is supported) from the corresponding pool volume list of the expansion volume. Delete pool volume) (steps 1609 and 1610). When the request process is a replacement instruction with another logical device, the control processor 132 searches for an entry to which a real area (pool volume entry) is assigned in order from the first entry of the migration source / destination logical device. For the target entry, a free entry in the other pool volume is newly allocated and the data of the entry is migrated. If there is a large difference in the number of migration entries in the migration destination / source logical device during this migration process, the number of free entries in one pool volume may be exhausted. Therefore, it is necessary to control the progress so that the number of migration execution entries does not greatly deviate between the migration destination / source logical devices. When the replacement processing of all areas is completed in this way, the device management information is updated so that the correspondence between the migration destination / migration source logical device and each pool volume is switched (steps 1611 to 1616).

図17は、ストレージ130で実行される、物理デバイス定義解除処理227の処理フ
ローの一例を示す図である。制御プロセッサ132は、指定された物理デバイスに対応す
る物理デバイス管理情報203を初期化し、不揮発メモリ134に設定した常置領域と未
割当領域との対応を解消する(ステップ1701)。次に当該不揮発メモリ134の常置
領域が未割当領域となるよう、不揮発メモリ管理情報206を更新し、処理を終了する(
ステップ1702)。
FIG. 17 is a diagram illustrating an example of a processing flow of the physical device definition cancellation processing 227 executed in the storage 130. The control processor 132 initializes the physical device management information 203 corresponding to the designated physical device, and cancels the correspondence between the permanent area set in the nonvolatile memory 134 and the unallocated area (step 1701). Next, the nonvolatile memory management information 206 is updated so that the permanent area of the nonvolatile memory 134 becomes an unallocated area, and the process ends (
Step 1702).

以上の説明のように、管理サーバ110とストレージ130の連携によっ
て、不揮発メモリ134の一時領域の割当状態が変更される。次に、こうしたシステム環
境におけるストレージ運用管理に伴う通常処理として、論理デバイスの移行処理を例に説
明する。
As described above, the allocation state of the temporary area of the nonvolatile memory 134 is changed by the cooperation of the management server 110 and the storage 130. Next, a logical device migration process will be described as an example of a normal process associated with storage operation management in such a system environment.

論理デバイス移行処理に対応して、管理サーバ110にはデバイス移行指示処理242
がメモリ112に、ストレージ130にはデバイス移行処理223がメモリ133にそれ
ぞれ格納される。このうち、これまでに説明していないデバイス移行指示処理242につ
いて説明する。
Corresponding to the logical device migration process, the management server 110 has a device migration instruction process 242.
Is stored in the memory 112, and the device migration process 223 is stored in the memory 133 in the storage 130. Among these, the device migration instruction processing 242 that has not been described so far will be described.

図18は、管理サーバ110で実行される、デバイス移行指示処理242の処理フロー
の一例を示す図である。管理サーバ110は、論理デバイスの中から別の物理デバイス又
は外部デバイスに対応する別の論理デバイスとの入替が必要かを判定する(ステップ18
01)。具体的には、DLCM(データライフサイクル管理)のように、各論理デバイス
に格納されたデータの価値、アクセス頻度やデータの保持期限などに基づいて、ストレー
ジ130が管理する階層ストレージの各階層間でより好適なデータ配置となるよう、デバ
イス間でのデータ配置を再考する。判定の結果、入替が必要なデバイスが存在した場合(
ステップ1802)、管理サーバ110は移行元および移行先デバイスを特定する情報を
付加したデバイス入替をストレージ130に指示し(ステップ1803)、入替が完了し
た時点で当該デバイスの最新情報をストレージ130からメモリ112へ取り込み、デバ
イス管理情報の複製231を更新する(ステップ1804)。
FIG. 18 is a diagram illustrating an example of a process flow of the device migration instruction process 242 executed by the management server 110. The management server 110 determines whether it is necessary to replace another logical device corresponding to another physical device or external device from among the logical devices (step 18).
01). Specifically, as in DLCM (Data Life Cycle Management), between the tiers of the tiered storage managed by the storage 130 based on the value of data stored in each logical device, access frequency, data retention period, etc. The data arrangement between devices is reconsidered so as to obtain a more suitable data arrangement. If there is a device that needs to be replaced as a result of determination (
In step 1802), the management server 110 instructs the storage 130 to replace the device to which information specifying the migration source and destination devices is added (step 1803). When the replacement is completed, the management server 110 stores the latest information on the device from the storage 130 in the memory. 112, and the device management information copy 231 is updated (step 1804).

ステップ1801において、例えば、デバイス単位のアクセス頻度により、データ配置
する際、制御プロセッサ132は、デバイス単位あたりのアクセス頻度を記録する。管理
サーバ110のCPU111は、このアクセス頻度の情報を取得し、デバイス移行指示処
理242に格納されたアルゴリズムに従って、データ再配置を指示する。
In step 1801, the control processor 132 records the access frequency per device unit, for example, when data is arranged according to the access frequency in device units. The CPU 111 of the management server 110 acquires this access frequency information, and instructs data relocation according to the algorithm stored in the device migration instruction processing 242.

次に、データ再配置をデバイス単位ではなくファイル単位で実行する場合について、説
明する。図21は、管理サーバ110が有するアドレス変換テーブル2100の一例を示
す図である。CPU111は、ホスト計算機から情報を取得することによって、アドレス
変換テーブル210を作成することができる。アドレス変換テーブル210を使用するこ
とによって、CPU111は、ファイル単位でデータを読み出すことや書込みすることが
できる。また、このアドレス変換テーブルは、オペレーティングシステム毎に作成される
Next, a case where data relocation is executed in units of files instead of in units of devices will be described. FIG. 21 is a diagram showing an example of the address conversion table 2100 that the management server 110 has. The CPU 111 can create the address conversion table 210 by acquiring information from the host computer. By using the address conversion table 210, the CPU 111 can read and write data in units of files. The address conversion table is created for each operating system.

図22は、ホスト計算機100のCPU101が管理サーバ110の指示により、実行
した結果、収集できる情報の一例を示す図である。ホスト計算機100のCPU101は
、各ファイルについて、ファイル名、ファイル生成日時、最終アクセス日時、ファイルサ
イズ、ファイルアドレスや格納先のLU番号等をそれぞれ収集する。収集した後、CPU
101は、管理サーバ110に送信する。この情報のファイル生成日時や最終アクセス日
時により、長期間アクセスされなかったファイルをデータ再配置することができる。 上
記の実施例2の構成により、実施例1の効果に加えて、システム構成変更やアクセス特性
変化に応じて、不揮発メモリの一時/常置領域の割り当てを動的に変更することが可能と
なる。
FIG. 22 is a diagram illustrating an example of information that can be collected as a result of execution by the CPU 101 of the host computer 100 according to an instruction from the management server 110. The CPU 101 of the host computer 100 collects the file name, file creation date / time, last access date / time, file size, file address, storage destination LU number, and the like for each file. CPU after collecting
101 transmits to the management server 110. A file that has not been accessed for a long time can be rearranged according to the file generation date and the last access date and time of this information. According to the configuration of the second embodiment, in addition to the effects of the first embodiment, it is possible to dynamically change the allocation of the temporary / permanent area of the nonvolatile memory in accordance with the system configuration change or the access characteristic change.

以上、本発明の好適な幾つかの実施形態を説明したが、これらは本発明の説明のための
例示であって、本発明の範囲をこれらの実施形態にのみ限定する趣旨ではない。本発明は
、他の種々の形態でも実施することが可能である。
As mentioned above, although several suitable embodiment of this invention was described, these are the illustrations for description of this invention, Comprising: It is not the meaning which limits the scope of the present invention only to these embodiment. The present invention can be implemented in various other forms.

例えば、オープンシステムの替わりにメインフレームシステムにも本発明を適用するこ
とができる。
For example, the present invention can be applied to a mainframe system instead of an open system.

また、例えば、管理サーバ110の機能をホスト計算機100に組み込むこともできる
。この場合、管理サーバ110が不要になり、ホスト計算機により、運用と管理の両方を
することができる。また、管理サーバ110は、ストレージ130に対して、指示する場
合、管理サーバ110にファイバチャネルスイッチを介して、アウトバンドではなくイン
バンドで指示を実行することができる。
Further, for example, the function of the management server 110 can be incorporated into the host computer 100. In this case, the management server 110 is not necessary, and both operation and management can be performed by the host computer. In addition, when instructing the storage 130, the management server 110 can execute the instruction in-band instead of out-band via the fiber channel switch to the management server 110.

また、例えば、NASアダプタをストレージシステムに内蔵することができる。図23
は、NASアダプタを内蔵したストレージシステムの一例を示す図である。図1との相違
点は、ストレージシステム130にNASアダプタ2312が内蔵されていることと、I
Pスイッチ122が追加されていることである。NASアダプタ2310のプロセッサ2
311は、メモリ2312に格納されたオペレーティングシステム又はファイルシステム
により、ホスト計算機からのファイルアクセスをブロックアクセスに変換して、不揮発メ
モリ134、ディスク137や外部ストレージ150にデータを保存することができる。
NASアダプタ2310が内蔵されている場合、ファイル収集情報2200は、プロセッ
サ2311が収集し、管理端末140を介して、管理サーバ110に送信される。
Further, for example, a NAS adapter can be built in the storage system. FIG.
These are figures which show an example of the storage system which incorporated the NAS adapter. The difference from FIG. 1 is that the NAS adapter 2312 is built in the storage system 130 and that I
The P switch 122 is added. The processor 2 of the NAS adapter 2310
311 can convert the file access from the host computer into block access by the operating system or file system stored in the memory 2312 and store the data in the nonvolatile memory 134, the disk 137, and the external storage 150.
When the NAS adapter 2310 is built in, the file collection information 2200 is collected by the processor 2311 and transmitted to the management server 110 via the management terminal 140.

100…ホスト計算機
110…管理サーバ
120…ファイバチャネルスイッチ
130…ストレージ
140…管理端末
150…外部ストレージ
175…IPネットワーク
201…論理デバイス管理情報
202…LUパス管理情報
203…物理デバイス管理情報
204…外部デバイス管理情報
205…キャッシュ管理情報
206…不揮発メモリ管理情報
207…拡張ボリューム管理情報
208…プールボリューム管理情報
209…デバイス稼動情報
221…I/O処理
222…デバイス定義処理
223…デバイス移行処理
224…一時領域割当処理
225…一時領域割当解除処理
226…物理デバイス定義処理
227…物理デバイス定義解除処理
261…I/O処理
241…デバイス定義指示処理
242…デバイス移行指示処理
243…一時領域定義指示処理
244…一時領域変更指示処理
DESCRIPTION OF SYMBOLS 100 ... Host computer 110 ... Management server 120 ... Fiber channel switch 130 ... Storage 140 ... Management terminal 150 ... External storage 175 ... IP network 201 ... Logical device management information 202 ... LU path management information 203 ... Physical device management information 204 ... External device Management information 205 ... Cache management information 206 ... Non-volatile memory management information 207 ... Extended volume management information 208 ... Pool volume management information 209 ... Device operation information 221 ... I / O processing 222 ... Device definition processing 223 ... Device migration processing 224 ... Temporary area Allocation process 225 ... Temporary area deallocation process 226 ... Physical device definition process 227 ... Physical device definition deallocation process 261 ... I / O process 241 ... Device definition instruction process 242 ... Device migration instruction process 243 ... Temporary area Righteousness instruction processing 244 ... temporary area change instruction processing

Claims (20)

計算機から送られるデータを格納するためのプールに含まれる、1つ以上のフラッシュメモリドライブと、1つ以上のディスクドライブと、
前記1つ以上のフラッシュメモリドライブと、前記1つ以上のディスクドライブと、に接続され、前記計算機に仮想ボリュームを提供するプロセッサと、
を有し、
前記プロセッサは、
前記1つ以上のフラッシュメモリドライブの第1の領域を、データを一時的に格納するキャッシュ領域として割り当て、
前記第1の領域とは異なる領域である、前記1つ以上のフラッシュメモリドライブの第2の領域と、前記1つ以上のディスクドライブの第3の領域と、を、データを格納するプールに割り当て、
前記計算機から前記仮想ボリュームへの書き込み要求に応じて、前記仮想ボリュームに前記プールに含まれる前記第2の領域または第3の領域から所定の大きさの記憶領域を割当てる、
ことを特徴とするストレージシステム。
One or more flash memory drives and one or more disk drives included in a pool for storing data sent from the computer;
A processor connected to the one or more flash memory drives and the one or more disk drives and providing a virtual volume to the computer;
Have
The processor is
Assigning a first area of the one or more flash memory drives as a cache area for temporarily storing data;
A second area of the one or more flash memory drives and a third area of the one or more disk drives, which are different from the first area, are allocated to a pool for storing data. ,
In response to a write request from the computer to the virtual volume, a storage area having a predetermined size is allocated to the virtual volume from the second area or the third area included in the pool.
A storage system characterized by that.
請求項1記載のストレージシステムであって、
前記プロセッサは、
前記第1の領域の容量を指定する第1の要求に基づいて、前記第1の領域を前記キャッシュ領域として割当て、
前記第2の領域の容量を指定する第2の要求に基づいて、前記第2の領域を前記プールに割り当てる
ことを特徴とするストレージシステム。
The storage system according to claim 1, wherein
The processor is
Allocating the first area as the cache area based on a first request specifying the capacity of the first area;
The storage system according to claim 1, wherein the second area is allocated to the pool based on a second request designating a capacity of the second area.
請求項2記載のストレージシステムであって、
前記プロセッサは、
前記複数のディスクドライブを前記第3の領域として管理し、
アクセス要求の頻度に基づいて、前記第3の領域に格納されているデータを前記第1の領域に格納する
ことを特徴とするストレージシステム。
The storage system according to claim 2, wherein
The processor is
Managing the plurality of disk drives as the third area;
A storage system that stores data stored in the third area in the first area based on a frequency of access requests.
請求項3記載のストレージシステムであって、
前記プロセッサは、前記第1の領域に格納されたデータを、前記第3の領域に書き込む
ことを特徴とするストレージシステム。
The storage system according to claim 3, wherein
The storage system, wherein the processor writes data stored in the first area to the third area.
請求項3記載のストレージシステムであって、
前記プロセッサは、前記第1の領域の解除要求を受信した場合、前記第1の領域に格納されたデータのうち、前記第2の領域または前記第3の領域に書き込まれていないデータを前記第2の領域または前記第3の領域に書き込む
ことを特徴とするストレージシステム。
The storage system according to claim 3, wherein
When the processor receives the release request for the first area, the processor stores data that has not been written to the second area or the third area among the data stored in the first area. A storage system, wherein data is written in the second area or the third area.
請求項1記載のストレージシステムであって、
前記第1の領域に格納されるデータは、二重化されている
ことを特徴とするストレージシステム。
The storage system according to claim 1, wherein
The storage system according to claim 1, wherein the data stored in the first area is duplicated.
請求項2記載のストレージシステムであって、
前記プロセッサは、
前記第1の領域を前記キャッシュ領域として割当てた後に、前記第2の領域を前記プールに割当てる
ことを特徴とするストレージシステム。
The storage system according to claim 2, wherein
The processor is
The storage system, wherein after assigning the first area as the cache area, the second area is assigned to the pool.
請求項1に記載のストレージシステムであって、
前記プロセッサは、
前記プールの容量と、前記プールの容量のうち前記仮想ボリュームに割当てられていない記憶領域の容量を管理する
ことを特徴とするストレージシステム。
The storage system according to claim 1,
The processor is
A storage system that manages the capacity of the pool and the capacity of a storage area that is not allocated to the virtual volume among the capacity of the pool.
請求項1に記載のストレージシステムであって、
前記プロセッサは、
前記計算機から前記仮想ボリュームへのアクセス頻度を計測する
ことを特徴とするストレージシステム。
The storage system according to claim 1,
The processor is
A storage system that measures the access frequency from the computer to the virtual volume.
請求項1に記載のストレージシステムであって、
前記プロセッサは、
データへのアクセス頻度に基づいて、前記第2の領域と前記第3の領域の間で、前記データを移動する
ことを特徴とするストレージシステム。
The storage system according to claim 1,
The processor is
A storage system, wherein the data is moved between the second area and the third area based on the frequency of access to the data.
計算機から送られるデータを格納するためのプールに含まれる、1つ以上のフラッシュメモリドライブと、1つ以上のディスクドライブと、を有するストレージシステム、の記憶制御方法であって、
前記1つ以上のフラッシュメモリドライブの第1の領域を、データを一時的に格納するキャッシュ領域として割り当て、
前記第1の領域とは異なる領域である、前記1つ以上のフラッシュメモリドライブの第2の領域と、前記1つ以上のディスクドライブの第3の領域と、を、データを格納するプールに割り当て、
前記計算機から仮想ボリュームへの書き込み要求に応じて、前記仮想ボリュームに前記プールに含まれる前記第2の領域または第3の領域から所定の大きさの記憶領域を割当てる、
ことを特徴とする記憶制御方法。
A storage control method for a storage system including one or more flash memory drives and one or more disk drives included in a pool for storing data sent from a computer,
Assigning a first area of the one or more flash memory drives as a cache area for temporarily storing data;
A second area of the one or more flash memory drives and a third area of the one or more disk drives, which are different from the first area, are allocated to a pool for storing data. ,
In response to a write request from the computer to the virtual volume , a storage area having a predetermined size is allocated to the virtual volume from the second area or the third area included in the pool.
A storage control method.
請求項11記載の記憶制御方法であって、
前記第1の領域の容量を指定する第1の要求に基づいて、前記第1の領域を前記キャッシュ領域として割当て、
前記第2の領域の容量を指定する第2の要求に基づいて、前記第2の領域を前記プールに割り当てる
ことを特徴とする記憶制御方法。
The storage control method according to claim 11, comprising:
Allocating the first area as the cache area based on a first request specifying the capacity of the first area;
A storage control method, comprising: allocating the second area to the pool based on a second request designating a capacity of the second area.
請求項12記載の記憶制御方法であって、
前記複数のディスクドライブを前記第3の領域として管理し、
アクセス要求の頻度に基づいて、前記第3の領域に格納されているデータを前記第1の領域に格納する
ことを特徴とする記憶制御方法。
A storage control method according to claim 12 , comprising:
Managing the plurality of disk drives as the third area;
A storage control method comprising: storing data stored in the third area in the first area based on a frequency of access requests.
請求項13記載の記憶制御方法であって、
前記第1の領域に格納されたデータを、前記第3の領域に書き込む
ことを特徴とする記憶制御方法。
The storage control method according to claim 13, comprising:
A storage control method comprising writing data stored in the first area to the third area.
請求項13記載の記憶制御方法であって、
前記第1の領域の解除要求を受信した場合、前記第1の領域に格納されたデータのうち、前記第2の領域または前記第3の領域に書き込まれていないデータを前記第2の領域または前記第3の領域に書き込む
ことを特徴とする記憶制御方法。
The storage control method according to claim 13, comprising:
When receiving the release request for the first area, the data that has not been written to the second area or the third area among the data stored in the first area is transferred to the second area or A storage control method, wherein data is written in the third area.
請求項11記載の記憶制御方法であって、
前記第1の領域に格納されるデータは、二重化されている
ことを特徴とする記憶制御方法。
The storage control method according to claim 11, comprising:
A storage control method, wherein data stored in the first area is duplicated.
請求項12記載の記憶制御方法であって、
前記第1の領域を前記キャッシュ領域として割当てた後に、前記第2の領域を前記プールに割当てる
ことを特徴とする記憶制御方法。
A storage control method according to claim 12, comprising:
A storage control method comprising: allocating the second area to the pool after allocating the first area as the cache area.
請求項11に記載の記憶制御方法であって、
前記プールの容量と、前記プールの容量のうち前記仮想ボリュームに割当てられていない記憶領域の容量を管理する
ことを特徴とする記憶制御方法。
The storage control method according to claim 11, comprising:
A storage control method comprising managing the capacity of the pool and the capacity of a storage area not allocated to the virtual volume among the capacity of the pool.
請求項11に記載の記憶制御方法であって、
前記計算機から前記仮想ボリュームへのアクセス頻度を計測する
ことを特徴とする記憶制御方法。
The storage control method according to claim 11, comprising:
A storage control method, comprising: measuring an access frequency from the computer to the virtual volume.
請求項11に記載の記憶制御方法であって、
データへのアクセス頻度に基づいて、前記第2の領域と前記第3の領域の間で、前記データを移動する
ことを特徴とする記憶制御方法。
The storage control method according to claim 11, comprising:
A storage control method, wherein the data is moved between the second area and the third area based on an access frequency to the data.
JP2013004350A 2013-01-15 2013-01-15 Storage system Active JP5597266B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013004350A JP5597266B2 (en) 2013-01-15 2013-01-15 Storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013004350A JP5597266B2 (en) 2013-01-15 2013-01-15 Storage system

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2007207357A Division JP2009043030A (en) 2007-08-09 2007-08-09 Storage system

Publications (2)

Publication Number Publication Date
JP2013101665A JP2013101665A (en) 2013-05-23
JP5597266B2 true JP5597266B2 (en) 2014-10-01

Family

ID=48622164

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013004350A Active JP5597266B2 (en) 2013-01-15 2013-01-15 Storage system

Country Status (1)

Country Link
JP (1) JP5597266B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827650B (en) * 2016-05-20 2019-04-30 浙江宇视科技有限公司 A kind of forwarding media stream method and device
WO2017212514A1 (en) * 2016-06-06 2017-12-14 株式会社日立製作所 Storage system and storage control method
CN113326120B (en) * 2020-02-29 2023-12-26 杭州迪普科技股份有限公司 Apparatus and method for managing memory

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10154101A (en) * 1996-11-26 1998-06-09 Toshiba Corp Data storage system and cache controlling method applying to the system
US6889302B2 (en) * 2002-08-29 2005-05-03 International Business Machines Corporation Apparatus and method to maintain information in one or more virtual volume aggregates comprising a plurality of virtual volumes
WO2004025476A1 (en) * 2002-09-16 2004-03-25 Tigi Corporation Storage system architectures and multiple caching arrangements
JP4438457B2 (en) * 2003-05-28 2010-03-24 株式会社日立製作所 Storage area allocation method, system, and virtualization apparatus
US7644239B2 (en) * 2004-05-03 2010-01-05 Microsoft Corporation Non-volatile memory cache performance improvement
JP2006092124A (en) * 2004-09-22 2006-04-06 Fujitsu Ltd Storage device, storage control method and storage control program
JP4806556B2 (en) * 2005-10-04 2011-11-02 株式会社日立製作所 Storage system and configuration change method

Also Published As

Publication number Publication date
JP2013101665A (en) 2013-05-23

Similar Documents

Publication Publication Date Title
JP2009043030A (en) Storage system
US8984221B2 (en) Method for assigning storage area and computer system using the same
US8225039B2 (en) Storage controller and virtual volume control method
US8639899B2 (en) Storage apparatus and control method for redundant data management within tiers
US9785381B2 (en) Computer system and control method for the same
US8984248B2 (en) Data migration system and data migration method
JP5124103B2 (en) Computer system
US8392670B2 (en) Performance management of access to flash memory in a storage device
US20130318196A1 (en) Storage system and storage control method for using storage area based on secondary storage as cache area
US8296543B2 (en) Computer system management apparatus and management method for the computer system
US8539142B2 (en) Storage system comprising nonvolatile semiconductor storage media
US9361033B2 (en) Compound storage system and storage control method
US8799573B2 (en) Storage system and its logical unit management method
US8572347B2 (en) Storage apparatus and method of controlling storage apparatus
JP5597266B2 (en) Storage system
US9239681B2 (en) Storage subsystem and method for controlling the storage subsystem
JP6343716B2 (en) Computer system and storage control method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130207

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140127

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: 20140729

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140808

R150 Certificate of patent or registration of utility model

Ref document number: 5597266

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150