JP5986652B2 - Storage system using real storage area dynamic allocation method - Google Patents

Storage system using real storage area dynamic allocation method Download PDF

Info

Publication number
JP5986652B2
JP5986652B2 JP2015024852A JP2015024852A JP5986652B2 JP 5986652 B2 JP5986652 B2 JP 5986652B2 JP 2015024852 A JP2015024852 A JP 2015024852A JP 2015024852 A JP2015024852 A JP 2015024852A JP 5986652 B2 JP5986652 B2 JP 5986652B2
Authority
JP
Japan
Prior art keywords
track
hdev
storage area
page
copy
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
JP2015024852A
Other languages
Japanese (ja)
Other versions
JP2015127967A (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 JP2015024852A priority Critical patent/JP5986652B2/en
Publication of JP2015127967A publication Critical patent/JP2015127967A/en
Application granted granted Critical
Publication of JP5986652B2 publication Critical patent/JP5986652B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、ストレージ装置における仮想ボリュームの制御情報領域への動的な実記憶領域割り当て方法に関する。   The present invention relates to a method for dynamically allocating a real storage area to a control information area of a virtual volume in a storage apparatus.

特許文献1のように、ストレージ装置内部に複数のマイクロプロセッサと各マイクロプロセッサからしかアクセスできないローカルメモリとを設けたものが開示されている。このストレージ装置は、記憶デバイスとの入出力処理を実行するマイクロプロセッサにオーナ権を付与し、マイクロプロセッサのローカルメモリに当該記憶デバイスとの入出力処理に必要なキャッシュ制御情報を格納するものである。   As disclosed in Patent Document 1, a storage apparatus is disclosed in which a plurality of microprocessors and a local memory accessible only from each microprocessor are provided. This storage apparatus grants ownership to a microprocessor that executes input / output processing with a storage device, and stores cache control information necessary for input / output processing with the storage device in the local memory of the microprocessor. .

また、特許文献2によると、仮想記憶領域への実記憶領域の動的な割り当てに関わる処理では、仮想記憶領域に対するホストライトを契機とした仮想記憶領域への実記憶領域の割り当てと、仮想記憶領域から実記憶領域へのアドレス変換を行う。その仮想記憶領域への入出力に必要なアドレス変換情報は、仮想ボリュームの数や容量に比例して大きくなる課題があるが、ローカルメモリに比べてアクセス性能は劣るが安価な記憶デバイスに格納することで解決できる。   According to Patent Document 2, in the process related to the dynamic allocation of the real storage area to the virtual storage area, the allocation of the real storage area to the virtual storage area triggered by the host write to the virtual storage area, and the virtual storage Address conversion from the area to the real storage area is performed. The address conversion information required for input / output to the virtual storage area has a problem of increasing in proportion to the number and capacity of virtual volumes, but is stored in an inexpensive storage device, although access performance is inferior to that of local memory. Can be solved.

国際公開第2010/131373号International Publication No. 2010/131373 米国特許第7613896号明細書US Patent No. 7613896

仮想記憶領域からなる仮想記憶デバイスのオーナ権を持つマイクロプロセッサが、前述したアドレス変換情報が格納される記憶デバイスのオーナ権を持たないならば、仮想記憶デバイスとの入出力処理に必要なアドレス変換情報をリードすることができない。また、オーナ権を持てるとしても、そのオーナ権を跨ってボリュームにアクセスするため、その性能が低下するという課題がある。なお、オーナ権を跨るボリュームアクセスとは、例えば、当該ボリュームへのアクセス権を持つマイクロプロセッサを変更すること(オーナ権移動)を表す。更に、仮想記憶領域への入出力に必要なアドレス変換情報を、ローカルメモリに比べてアクセス性能が劣る記憶デバイスに分散して格納する方法では、アクセスが頻繁に発生すると該記憶デバイス上のアドレス変換情報へのアクセスも増加する。そのため、全体のアクセス性能が低下してしまうという課題がある。   If the microprocessor with ownership of the virtual storage device comprising the virtual storage area does not have ownership of the storage device that stores the address conversion information described above, address conversion required for input / output processing with the virtual storage device Unable to read information. Further, even if the owner right can be held, the volume is accessed across the owner right, so that there is a problem that the performance is lowered. Note that volume access across owner rights means, for example, changing a microprocessor having access rights to the volume (owner rights transfer). Furthermore, in the method of storing the address conversion information necessary for input / output to the virtual storage area in a distributed manner in the storage device having inferior access performance compared to the local memory, the address conversion on the storage device is performed when frequent access occurs. Access to information will also increase. Therefore, there is a problem that the overall access performance is deteriorated.

本発明では、仮想記憶領域から実記憶領域へのアドレス変換情報を記憶デバイス上に格納し、仮想記憶デバイスのオーナ権を持つマイクロプロセッサからのアクセスを可能としアクセス性能を向上させることを目的とする。   It is an object of the present invention to store address conversion information from a virtual storage area to a real storage area on a storage device, to enable access from a microprocessor having ownership of the virtual storage device, and to improve access performance. .

前記目的を達成するために、本発明は、
(1)複数の記憶デバイスから第一の仮想記憶領域に第一の実記憶領域(以下、ページ)を割り当て、第一の仮想記憶領域に割り当てられたページから、第二の仮想記憶領域に第二の実記憶領域(以下、トラック)を割り当てる。ページは複数トラックからなり、第二の仮想記憶領域へ割り当てられた順番でトラックデータを格納する。
(2)第一の仮想記憶領域と複数の記憶デバイスとの間の第一のアドレス変換情報のサイズはページ数に比例し、共有メモリに保存する。また、第二の仮想記憶領域と第一の仮想記憶領域との間の第二のアドレス変換情報のサイズはトラック数に比例し、第一の仮想記憶領域に割り当てられたページ上に格納する。
(3)第二の仮想記憶領域からなる仮想記憶デバイスとの入出力に必要な第二のアドレス変換情報を、第一の仮想記憶領域に割り当てられたページ上に格納することで、第二のアドレス変換情報をアクセスする際に必要なキャッシュ制御情報を、当該仮想記憶デバイスのオーナ権を持つマイクロプロセッサのローカルメモリに格納する
ことを特徴とするものである。
In order to achieve the above object, the present invention provides:
(1) A first real storage area (hereinafter referred to as a page) is assigned from a plurality of storage devices to a first virtual storage area, and a page assigned to the first virtual storage area is assigned to a second virtual storage area. A second real storage area (hereinafter referred to as a track) is allocated. A page consists of a plurality of tracks, and stores track data in the order assigned to the second virtual storage area.
(2) The size of the first address conversion information between the first virtual storage area and the plurality of storage devices is proportional to the number of pages and is stored in the shared memory. The size of the second address conversion information between the second virtual storage area and the first virtual storage area is proportional to the number of tracks, and is stored on the page assigned to the first virtual storage area.
(3) By storing the second address conversion information necessary for input / output with the virtual storage device composed of the second virtual storage area on the page assigned to the first virtual storage area, The cache control information necessary for accessing the address translation information is stored in a local memory of a microprocessor having ownership of the virtual storage device.

本発明によれば、記憶デバイスにアドレス変換情報を格納する仮想記憶デバイスに対する入出力処理をマイクロプロセッサが排他的に実行できる。   According to the present invention, the microprocessor can exclusively execute input / output processing for a virtual storage device that stores address translation information in the storage device.

ストレージシステムの全体構成を示すブロック構成図である。1 is a block configuration diagram showing the overall configuration of a storage system. ストレージコントローラ内で実行するマイクロプログラムの構成を示す構成図である。It is a block diagram which shows the structure of the microprogram performed within a storage controller. ストレージ装置内の論理構成を示す構成図である。It is a block diagram which shows the logical structure in a storage apparatus. SM(Shared Memory)内に保存する管理テーブルを示す構成図である。It is a block diagram which shows the management table preserve | saved in SM (Shared Memory). MPPK(Micro Processor PacKage)番号とHDEV番号との対応関係を管理するための管理テーブルの構成図である。It is a block diagram of a management table for managing the correspondence between MPPK (Micro Processor PacKage) numbers and HDEV numbers. HDEV(Host logical DEVice)番号とLDEV(Logical DEVice)番号との対応関係を管理するための管理テーブルの構成図である。It is a block diagram of the management table for managing the correspondence of a HDEV (Host logical DEVice) number and a LDEV (Logical DEVice) number. HDEV番号とボリュームサイズとの対応関係を管理するための管理テーブルの構成図である。It is a block diagram of a management table for managing the correspondence between HDEV numbers and volume sizes. HDEV番号とHDEVの属性との関係を管理する管理テーブル構成図である。It is a management table block diagram which manages the relationship between the HDEV number and the attribute of HDEV. HDEV番号とディスク番号との関係を管理する管理テーブル構成図である。It is a management table block diagram which manages the relationship between a HDEV number and a disk number. LDEV番号とプール番号との関係を管理する管理テーブル構成図である。It is a management table block diagram which manages the relationship between a LDEV number and a pool number. プール番号とディスク番号との関係を管理する管理テーブル構成図である。It is a management table block diagram which manages the relationship between a pool number and a disk number. ページ割り当て処理で用いるPMT(Page Mapping Table)の構成図である。It is a block diagram of PMT (Page Mapping Table) used by a page allocation process. PMT管理ディレクトリの構成図である。It is a block diagram of a PMT management directory. TMT管理ディレクトリの構成図である。It is a block diagram of a TMT management directory. ページ内のトラック割り当て処理で用いるTMT(Track Mapping Table)の構成図である。It is a block diagram of TMT (Track Mapping Table) used in the track allocation process in a page. 第1実施例での仮想ボリューム作成処理のフローチャートである。It is a flowchart of the virtual volume creation processing in the first embodiment. 第1実施例での仮想ボリュームへのトラック割り当て処理のフローチャートである。It is a flowchart of the track | truck allocation process to the virtual volume in 1st Example. 第2実施例でのトラック番号とコピー状態との関係を管理する管理テーブル構成図である。It is a management table block diagram which manages the relationship between the track number and copy status in 2nd Example. 第2実施例でのトラック番号と更新状態との関係を管理する管理テーブル構成図である。It is a management table block diagram which manages the relationship between the track number and update state in 2nd Example. 第2実施例でのペア状態の管理テーブル構成図である。It is a management table block diagram of the pair status in 2nd Example. 第2実施例でのコピーペア作成処理のフローチャートである。It is a flowchart of the copy pair creation processing in the second embodiment. 第2実施例でのコピージョブによるバックグラウンドコピー処理のフローチャートである。It is a flowchart of the background copy process by the copy job in 2nd Example. 第2実施例でのホストライトコマンド契機の先行コピー処理を説明するためのフローチャートである。It is a flowchart for demonstrating the preceding copy process of the host write command opportunity in 2nd Example. 第2実施例での差分リストアコマンド処理のフローチャートである。It is a flowchart of differential restore command processing in the second embodiment. 第3実施例でのMFホストライトコマンド契機によるトラック割り当て解放処理のフローチャートである。It is a flowchart of the track allocation release process triggered by the MF host write command in the third embodiment. 第4実施例でのオーナ権移動処理のフローチャートである。It is a flowchart of the ownership transfer process in 4th Example. 第3実施例でのボリューム役割変更のフローチャートである。It is a flowchart of the volume role change in 3rd Example. 第5実施例でのストレージシステムの全体構成を示すブロック構成図である。It is a block block diagram which shows the whole structure of the storage system in 5th Example. 第5実施例でのファイル構造図である。It is a file structure figure in 5th Example.

以下、図面を参照しながら本発明の実施の形態を説明する。なお、以下の説明では、「管理テーブル」等の表現にて各種情報を説明することがあるが、各種情報は、テーブル以外のデータ構造で表現されていてもよい。また、データ構造に依存しないことを示すために「管理テーブル」を「管理情報」と呼ぶことができる。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following description, various types of information may be described using an expression such as “management table”, but the various types of information may be expressed using a data structure other than a table. Further, the “management table” can be referred to as “management information” to indicate that it does not depend on the data structure.

また、「プログラム」を主語として処理を説明する場合がある。そのプログラムは、プロセッサ例えば、MP(Micro Processor)によって実行されるもので、定められた処理をするものである。なお、適宜に記憶資源(例えばメモリ)及び通信インタフェース装置(例えば通信ポート)を用いながら行うため、処理の主語がプロセッサとされてもよい。プロセッサは、MPの他に専用ハードウェアを有していても良い。コンピュータプログラムは、プログラムソースから各計算機にインストールされても良い。プログラムソースは、例えば、プログラム配布サーバ又は記憶メディアであっても良い。   Further, the process may be described with “program” as the subject. The program is executed by a processor, for example, an MP (Micro Processor), and performs a predetermined process. Note that the subject of the processing may be a processor because it is performed using storage resources (for example, a memory) and a communication interface device (for example, a communication port) as appropriate. The processor may have dedicated hardware in addition to the MP. The computer program may be installed on each computer from a program source. The program source may be, for example, a program distribution server or a storage medium.

また、各要素例えば、LDEV(Logical DEVice)は、番号などで識別可能であるが、識別可能な情報であれば、名前など他種の識別情報が用いられても良い。本発明の図及び説明において同一部分には同一符号を付与しているが、本発明が本実施例に制限されることは無く、本発明の思想に合致するあらゆる応用例が本発明の技術的範囲に含まれる。また、特に限定しない限り、各構成要素は複数でも単数でも構わない。   Each element, for example, LDEV (Logical DEVice) can be identified by a number or the like, but other types of identification information such as a name may be used as long as it is identifiable information. In the drawings and description of the present invention, the same reference numerals are given to the same parts, but the present invention is not limited to the present embodiment, and any application examples that meet the idea of the present invention are technical. Included in the range. Further, unless specifically limited, each component may be plural or singular.

本発明の第一の実施例であるストレージ装置における仮想ボリュームの制御情報領域への動的な実記憶領域割り当て方法について、図1から図17で説明する。最初に図1から図4でハードウェア構成とソフトウェア構成(プログラム構造、テーブル構造)の概要を説明し、次に、図5から図15で各管理テーブルの詳細説明をする。最後に、具体的な動作(処理)を図16及び図17で説明する。   A dynamic real storage area allocation method to a control information area of a virtual volume in the storage apparatus according to the first embodiment of the present invention will be described with reference to FIGS. First, an outline of the hardware configuration and software configuration (program structure, table structure) will be described with reference to FIGS. 1 to 4, and then each management table will be described in detail with reference to FIGS. Finally, specific operations (processes) will be described with reference to FIGS.

まず、ストレージシステムの全体構成を図1で説明する。ストレージシステムは、複数のストレージ装置101と、複数のメインフレーム(Main Frame)ホスト計算機(以下、MFホスト計算機)102と、管理端末計算機103とで構成する。   First, the overall configuration of the storage system will be described with reference to FIG. The storage system includes a plurality of storage apparatuses 101, a plurality of main frame host computers (hereinafter referred to as MF host computers) 102, and a management terminal computer 103.

各ストレージ装置101と各MFホスト計算機102は、ネットワーク112を介して接続される。複数のストレージ装置のうち一つのストレージ装置101と管理端末計算機103は、ネットワーク111を介して接続される。各MFホスト計算機102は、通信線114を介してネットワーク112に接続される。各ストレージ装置101は、通信線116を介してネットワーク112に接続される。管理端末計算機103は、通信線113を介してネットワーク111に接続される。第1のストレージ装置101は、通信線115を介してネットワーク111に接続される。   Each storage apparatus 101 and each MF host computer 102 are connected via a network 112. One of the plurality of storage apparatuses 101 and the management terminal computer 103 are connected via a network 111. Each MF host computer 102 is connected to the network 112 via a communication line 114. Each storage apparatus 101 is connected to the network 112 via the communication line 116. The management terminal computer 103 is connected to the network 111 via the communication line 113. The first storage device 101 is connected to the network 111 via the communication line 115.

なお、上述の通信線113〜116は、例えば、メタルケーブルや光ファイバケーブル等の有線として構成される。しかし、各MFホスト計算機102と各ストレージ装置101、各ストレージ装置101と管理端末計算機103、各MFホスト計算機102と管理端末計算機103をそれぞれ無線で接続することも可能である。この場合は、通信線113〜116は不要となる。また、ネットワーク111とネットワーク112は、共通のネットワークであっても良い。各ネットワーク111、112は、通信ネットワークであり、例えば、SAN(Storage Area Network)又はLAN(Local Area Network)である。   The communication lines 113 to 116 are configured as wires such as metal cables and optical fiber cables, for example. However, each MF host computer 102 and each storage device 101, each storage device 101 and the management terminal computer 103, and each MF host computer 102 and the management terminal computer 103 can be connected wirelessly. In this case, the communication lines 113 to 116 are not necessary. Further, the network 111 and the network 112 may be a common network. Each of the networks 111 and 112 is a communication network, for example, a SAN (Storage Area Network) or a LAN (Local Area Network).

次に、各ストレージ装置101の構成を説明する。各ストレージ装置101は、一つまたは複数のストレージコントローラ131と、一つまたは複数のディスク132を備える。一つまたは複数のディスク132には、データを格納する記憶デバイスとして、少なくとも、SSD(Solid State Drive)、SAS(Serial Attached SCSI)タイプHDD(Hard Disk Drive)、SATA(Serial Advanced Technology Attachment)タイプHDDが含まれている。なお、ディスク132は、それらのうちの少なくとも1つに代えて、またはそれらに加えて、他の種類の物理的な記憶デバイス、例えば、追記型光ディスクメディアなどであっても良い。   Next, the configuration of each storage apparatus 101 will be described. Each storage device 101 includes one or more storage controllers 131 and one or more disks 132. One or more disks 132 are at least SSD (Solid State Drive), SAS (Serial Attached SCSI) type HDD (Hard Disk Drive), and SATA (Serial Advanced Technology Attachment) type HDD as storage devices for storing data. It is included. The disk 132 may be another type of physical storage device such as a write-once optical disk medium instead of or in addition to at least one of them.

一つまたは複数のディスク132は、例えば、ファイバチャネルケーブル等の通信線を介して、ストレージコントローラ131に接続される。なお、複数のディスク132で、一つまたは複数のRAID(Redundant Array of Independent Disks)グループを構成することができる。   One or more disks 132 are connected to the storage controller 131 via a communication line such as a fiber channel cable. A plurality of disks 132 can constitute one or a plurality of RAID (Redundant Array of Independent Disks) groups.

次に、ストレージコントローラ131の構成を説明する。ストレージコントローラ131は各MFホスト計算機102から受信したコマンドで、ディスク132に対するデータの入出力処理、即ち、ディスク132へのデータのライト(書き込み)やリード(読み出し)を制御する。   Next, the configuration of the storage controller 131 will be described. The storage controller 131 controls the data input / output processing with respect to the disk 132, that is, the writing (reading) and reading (reading) of data to the disk 132, with the command received from each MF host computer 102.

ストレージコントローラ131は、アクセス要求元のMFホスト計算機102に対して、実記憶領域が既に割り当てられている状態の論理デバイス、または後述するシン・プロビジョニング機能で使用する仮想記憶領域で構成される論理デバイスを、アクセス対象の論理デバイスあるいは論理ボリュームとして提供する。   The storage controller 131 is a logical device in which a real storage area has already been allocated to the access request source MF host computer 102, or a logical device configured by a virtual storage area used in the thin provisioning function described later. Are provided as a logical device or logical volume to be accessed.

仮想記憶領域からなる論理デバイスは、実記憶領域が既に割り当て済みであってもよいし、未割り当てでもよい。この際、ストレージコントローラ131は、実記憶領域、または仮想記憶領域を、シリンダ・ヘッド番号(以下、トラック番号)によって参照したり、識別したりすることができる。ストレージコントローラ131は、記憶資源と、通信インタフェース装置(以下、インタフェース装置を「I/F」と略記)と、それらに接続された演算装置とを有する。   For a logical device composed of virtual storage areas, the real storage area may be already allocated or unallocated. At this time, the storage controller 131 can refer to or identify a real storage area or a virtual storage area by a cylinder / head number (hereinafter referred to as a track number). The storage controller 131 includes a storage resource, a communication interface device (hereinafter, the interface device is abbreviated as “I / F”), and an arithmetic device connected thereto.

演算装置は、MPPK(Micro Processor PacKage)123内のMP(Micro Processor)141などである。記憶資源は、MPPK123内のLM(Local Memory)142、CMPK(Cache Memory PacKage)124内の共有メモリSM(Shared Memory)143、キャッシュメモリCM(Cache Memory)144などである。   The arithmetic unit is an MP (Micro Processor) 141 in an MPPK (Micro Processor PacKage) 123 or the like. The storage resources include an LM (Local Memory) 142 in the MPPK 123, a shared memory SM (Shared Memory) 143 in a CMPK (Cache Memory PacKage) 124, a cache memory CM (Cache Memory) 144, and the like.

通信I/Fは、MFホスト計算機102からリードやライトを受信するCHAPK(Channel Adapter PacKage)121と、管理端末計算機103からローカルコピーの指示を受信するNIC(Network Interface Card)125と、ディスクからデータを受送信するDKAPK(DisK Adapter PacKage)122とを備える。   The communication I / F includes a CHAPK (Channel Adapter PacKage) 121 that receives read and write from the MF host computer 102, a NIC (Network Interface Card) 125 that receives a local copy instruction from the management terminal computer 103, and data from the disk. And a DKAPK (DisK Adapter PacKage) 122 for receiving and transmitting the message.

これらCMPK124、MPPK123、CHAPK121、NIC125、DKAPK122は、バス等の通信線と通信切り替えを担当するSWPK(Switch PacKage)126を介して相互に接続される。   These CMPK 124, MPPK 123, CHAPK 121, NIC 125, and DKAPK 122 are connected to each other via a communication line such as a bus and a SWPK (Switch PacKage) 126 in charge of switching communication.

各MFホスト計算機102や管理端末計算機103のハードウェア構成は、通信インタフェース装置と記憶資源と、それらに接続された演算装置とを有する一般的な計算機である。通信インタフェース装置としては、例えば、ネットワーク112を介した通信を行うためのホストバスアダプタ(Host Bus Adaptor:HBA)と、ネットワーク111を介した通信を行うためのNICである。記憶資源は、メモリや内蔵HDDなどで構成される。   The hardware configuration of each MF host computer 102 and management terminal computer 103 is a general computer having a communication interface device, a storage resource, and an arithmetic device connected thereto. Examples of the communication interface device include a host bus adapter (HBA) for performing communication via the network 112 and a NIC for performing communication via the network 111. The storage resource includes a memory, a built-in HDD, and the like.

図2に、ストレージコントローラ131内で実行するマイクロプログラム201の構成を示す。同図のローカルメモリLM142には、一つまたは複数のマイクロプログラム201が、MP141によって読み込まれる。このマイクロプログラム201には、コマンド制御部211、RAID制御部212、オーナ権制御部213が含まれる。MP141が、LM142に読み込まれたマイクロプログラム201内の各制御部211から213を実行することにより、後述する種々の処理が行われる。   FIG. 2 shows the configuration of the microprogram 201 executed in the storage controller 131. One or a plurality of microprograms 201 are read into the local memory LM142 of FIG. The microprogram 201 includes a command control unit 211, a RAID control unit 212, and an ownership control unit 213. When the MP 141 executes the control units 211 to 213 in the microprogram 201 read into the LM 142, various processes described later are performed.

CM制御情報202は、LM142上にキャッシュした情報などを制御するものである。また、管理テーブルのキャッシュ203は、共有メモリSM143上にある各管理テーブル(図4)をローカルメモリLM142に格納(キャッシュ)したものである。これにより、MP141は、アクセスに時間がかかるSM143ではなく、高速にアクセスできるLM142から各管理テーブルの情報を取得できる。CM144は、各MFホスト計算機102から受信したライトデータおよびマイクロプログラム201内のRAID制御部212がディスク132から読み出したデータを一時的に記憶するものである。   The CM control information 202 controls information cached on the LM 142. The management table cache 203 stores (caches) each management table (FIG. 4) on the shared memory SM143 in the local memory LM142. Thereby, the MP 141 can acquire the information of each management table from the LM 142 that can be accessed at high speed instead of the SM 143 that takes time to access. The CM 144 temporarily stores the write data received from each MF host computer 102 and the data read from the disk 132 by the RAID control unit 212 in the microprogram 201.

オーナ権制御部214は、後述するHDEVのオーナ権を持つMPPK番号と、そのHDEV番号との対応を管理する管理テーブル401の設定や参照を担当する。そして、コマンド制御部211またはCHAPK121からの設定または参照の問い合わせに対して、HDEVのオーナ権を持つMPPK番号とそのHDEV番号との対応関係を、設定または参照させる。また、オーナ権制御部214は、後述するオーナ権移行処理において、コマンド制御部からオーナ権の変更を要求されると、HDEVのオーナ権を持つMPPK番号と、そのHDEV番号との対応関係を設定する。その後、CHAPK121内とLM142上とにある管理テーブル401の複製に対して、古い情報を無効化し最新の情報に更新する。   The ownership control unit 214 is in charge of setting and referring to the management table 401 that manages the correspondence between the MPPK number having the ownership of the HDEV described later and the HDEV number. Then, in response to a setting or reference inquiry from the command control unit 211 or CHAPK 121, the correspondence relationship between the MPPK number having the ownership of the HDEV and the HDEV number is set or referred to. Further, the ownership control unit 214 sets a correspondence relationship between the MPPK number having the ownership of the HDEV and the HDEV number when a change of ownership is requested from the command control unit in the ownership transfer processing described later. To do. Thereafter, the old information is invalidated and updated to the latest information for the copy of the management table 401 in the CHAPK 121 and on the LM 142.

CHAPK121は、ネットワーク112を介して、各MFホスト計算機102と接続され、アクセス要求としてアクセスコマンド(ライトコマンド又はリードコマンド)を受信し、受信したアクセスコマンドをコマンド制御部211に転送する。CHAPK121は、前記転送処理においてリードまたはライトコマンドのパラメータであるHDEV番号とCHAPK121内の管理テーブル401の複製とで、HDEVのオーナ権を持つMPPKを特定する。その後、CHAPK121は、特定したMPPK内のコマンド制御部211に対して、リードまたはライトコマンドを処理させるためにアクセスコマンドを転送する。   The CHAPK 121 is connected to each MF host computer 102 via the network 112, receives an access command (write command or read command) as an access request, and transfers the received access command to the command control unit 211. The CHAPK 121 identifies the MPPK having the ownership of the HDEV based on the HDEV number that is the parameter of the read or write command in the transfer process and the copy of the management table 401 in the CHAPK 121. Thereafter, the CHAPK 121 transfers an access command to the command control unit 211 in the identified MPPK in order to process a read or write command.

NIC125は、ネットワーク111で管理端末計算機103と接続され、後述するボリューム間のデータコピー指示を受信した場合、受信した指示をコマンド制御部211に転送する。DKAPK122は、各ディスク132と記憶資源(LM142とSM143とCM144)との間のデータ送受信を行う。DKAPK122は、通信路を介して各ディスク132にそれぞれ接続される。   When the NIC 125 is connected to the management terminal computer 103 via the network 111 and receives a data copy instruction between volumes described later, the NIC 125 transfers the received instruction to the command control unit 211. The DKAPK 122 performs data transmission / reception between each disk 132 and storage resources (LM 142, SM 143, and CM 144). The DKAPK 122 is connected to each disk 132 via a communication path.

次に、ストレージ装置101の基本的動作を説明する。ストレージコントローラ131は、CHAPK121を介して、いずれかのMFホスト計算機102からライトコマンドを受信した場合、MFホスト計算機102から受信したライトデータをCM144に記憶する。   Next, the basic operation of the storage apparatus 101 will be described. When the storage controller 131 receives a write command from any MF host computer 102 via the CHAPK 121, the storage controller 131 stores the write data received from the MF host computer 102 in the CM 144.

ストレージコントローラ131は、CM144に記憶しているライトデータを、DKAPK122を介してディスク132に書き込む。なお、ストレージコントローラ131は、MFホスト計算機102へのライトコマンド処理完了の通知を、CM144に記憶した時点ないしライトデータをディスク132に書き込んだ時点で行う。   The storage controller 131 writes the write data stored in the CM 144 to the disk 132 via the DKAPK 122. The storage controller 131 notifies the MF host computer 102 of the completion of the write command processing when it is stored in the CM 144 or when write data is written to the disk 132.

MFホスト計算機102からリードコマンドを受信した場合、ストレージコントローラ131は、そのリードコマンドにパラメータで指定されるデータ(リード対象データ)がCM144に記憶されているか否かを調べる。   When a read command is received from the MF host computer 102, the storage controller 131 checks whether data (read target data) specified by the parameter in the read command is stored in the CM 144.

リード対象データがCM144に記憶されている場合、ストレージコントローラ131は、リード対象データをCM144から読み出し、読み出したリード対象データを、CHAPK121を介してMFホスト計算機102に送信する。一方、リード対象データがCM144に記憶されていない場合、ストレージコントローラ131は、DKAPK122を介して、一つまたは複数のディスク132からリード対象データを読み出し、読み出したリード対象データをCM144に記憶する。その後、ストレージコントローラ131は、CM144に記憶されているリード対象データを、CHAPK121を介してMFホスト計算機102に送信する。   When the read target data is stored in the CM 144, the storage controller 131 reads the read target data from the CM 144 and transmits the read read target data to the MF host computer 102 via the CHAPK 121. On the other hand, when the read target data is not stored in the CM 144, the storage controller 131 reads the read target data from one or a plurality of disks 132 via the DKAPK 122, and stores the read read target data in the CM 144. Thereafter, the storage controller 131 transmits the read target data stored in the CM 144 to the MF host computer 102 via the CHAPK 121.

次に、図3でストレージ装置101の論理構成を説明する。ストレージ装置101は、各MFホスト計算機102や管理端末計算機103から参照される記憶領域を構成するホスト用論理デバイスとして、一つまたは複数のホスト用論理デバイス(Host logical DEVice、以下、HDEV)311を有する。   Next, the logical configuration of the storage apparatus 101 will be described with reference to FIG. The storage apparatus 101 includes one or a plurality of host logical devices (hereinafter referred to as “HDEV”) 311 as host logical devices constituting a storage area referred to by each MF host computer 102 or management terminal computer 103. Have.

HDEV311には、ストレージ装置101内で固有のHDEV番号が付けられ、MFホスト計算機102や管理端末計算機103は、HDEV番号でHDEV311を識別する。例えば、各MFホスト計算機102上のOS(Operating System)301は、HDEV311に対してリードアクセスまたはライトアクセスを行う。   The HDEV 311 is assigned a unique HDEV number in the storage apparatus 101, and the MF host computer 102 and the management terminal computer 103 identify the HDEV 311 by the HDEV number. For example, an OS (Operating System) 301 on each MF host computer 102 performs read access or write access to the HDEV 311.

HDEV311は、トラックの集合(トラック1、トラック2、トラック3・・・)で構成される。また、各トラックに付与されたシリンダ・ヘッド番号(トラック番号)は、各MFホスト計算機102や管理端末計算機103が、各トラックを識別するときの参照対象とする。なお、HDEV311は、図4及び図8のHDEV番号とボリューム属性とを管理する管理テーブル404により、通常ボリュームと仮想ボリュームとに分類される。   The HDEV 311 is composed of a set of tracks (track 1, track 2, track 3...). The cylinder head number (track number) assigned to each track is a reference object when each MF host computer 102 or management terminal computer 103 identifies each track. The HDEV 311 is classified into a normal volume and a virtual volume according to the management table 404 that manages the HDEV number and volume attribute shown in FIGS.

HDEV311が通常ボリュームの場合、一つまたは複数のディスク132内の記憶領域として定義される。また、HDEV311は、複数のRAIDグループで構成される記憶領域として定義されていてもよい。HDEV311が仮想ボリュームの場合、HDEV311内のトラックデータは、一つまたは複数の論理デバイス(以下、LDEVと称することがある。)上に保存される。   When the HDEV 311 is a normal volume, it is defined as a storage area in one or a plurality of disks 132. Further, the HDEV 311 may be defined as a storage area composed of a plurality of RAID groups. When the HDEV 311 is a virtual volume, the track data in the HDEV 311 is stored on one or more logical devices (hereinafter sometimes referred to as LDEV).

LDEV312には、ストレージ装置101内で固有のLDEV番号が付けられ、マイクロプログラム201は、LDEV番号により、LDEV312を識別する。LDEV312は、トラック番号に対応した複数のトラックから構成される。トラック内には、1または複数のレコード(図示せず)で構成され、各レコードには、MFホスト計算機102がリードまたはライトするデータが格納される。   The LDEV 312 is given a unique LDEV number in the storage apparatus 101, and the microprogram 201 identifies the LDEV 312 by the LDEV number. The LDEV 312 is composed of a plurality of tracks corresponding to track numbers. Each track is composed of one or a plurality of records (not shown), and data read or written by the MF host computer 102 is stored in each record.

LDEV312内のトラックには、前述のHDEV311内のトラック番号に対応するトラックデータが保存される。HDEV内のトラック番号とLDEV内のトラック番号との対応関係は、図4及び図15のTMT(Track Mapping Table)410により管理される。   The track in the LDEV 312 stores track data corresponding to the track number in the HDEV 311 described above. The correspondence between the track numbers in the HDEV and the track numbers in the LDEV is managed by a TMT (Track Mapping Table) 410 in FIGS.

この際、ストレージ装置101内で、全てのトラックサイズは一定の値である。各ディスク132にはストレージ装置101内で固有のディスク番号がつけられ、マイクロプログラム201は、このディスク番号で各ディスク132を識別する。   At this time, all the track sizes in the storage apparatus 101 are constant values. Each disk 132 is given a unique disk number in the storage apparatus 101, and the microprogram 201 identifies each disk 132 by this disk number.

また、LDEV312は、シン・プロビジョニング機能で用いられる仮想ボリューム上に保存される。LDEV312のデータが保存される仮想ボリュームは、この仮想ボリュームに対して実記憶領域を提供するプール313と関連付けられる。プール313にはストレージ装置101内で固有のプール番号がつけられ、マイクロプログラム201は、このプール番号でプール313を識別する。   The LDEV 312 is stored on a virtual volume used in the thin provisioning function. A virtual volume in which LDEV 312 data is stored is associated with a pool 313 that provides a real storage area for the virtual volume. The pool 313 is given a unique pool number in the storage apparatus 101, and the microprogram 201 identifies the pool 313 by this pool number.

プール313は、一つまたは複数のディスク132から構成される。また、プール313は、一つまたは複数のRAIDグループから構成されていてもよい。一つまたは複数のディスク132は、ストレージ装置の内部にあってもよいし、外部にあってもよい。   The pool 313 is composed of one or a plurality of disks 132. The pool 313 may be configured by one or a plurality of RAID groups. One or a plurality of disks 132 may be inside or outside the storage apparatus.

図4は、SM143内に格納される各管理テーブルの構成を示す。各管理テーブルは、ストレージ装置101の起動時に作成されるか、必要に応じて動的に作成される。また管理テーブル401〜410内の各フィールドは、ストレージ装置101の論理構成の変更契機に更新される。   FIG. 4 shows the configuration of each management table stored in the SM 143. Each management table is created when the storage apparatus 101 is started or dynamically created as necessary. In addition, each field in the management tables 401 to 410 is updated when the logical configuration of the storage apparatus 101 is changed.

図5に、HDEVのオーナ権を持つMPPK番号と、そのHDEV番号との対応関係を管理する管理テーブル401を示す。オーナ権は、HDEVに対するホストからのリードまたはライト要求を処理するMPPKを定めたものである。   FIG. 5 shows a management table 401 for managing the correspondence between the MPPK number having the ownership of the HDEV and the HDEV number. Ownership defines MPPK for processing a read or write request from the host to the HDEV.

オーナ権を持つMPPK123は、HDEV311に対するホストからのリードまたはライト要求を処理するために必要な制御情報を、他のMPPK123から排他的に扱うことができる。この制御情報は、当該HDEV311に対するリードまたはライトデータがCM144にキャッシュされているかどうかを示す情報や、図12及び図13に示すHDEVが仮想ボリューム属性の場合におけるPMT(Page Mapping Table)などである。MPPK番号とHDEV番号との対応を管理するテーブル401は、SM143などに保存される。   The MPPK 123 having ownership can exclusively handle control information necessary for processing a read or write request from the host for the HDEV 311 from other MPPKs 123. This control information is information indicating whether read or write data for the HDEV 311 is cached in the CM 144, PMT (Page Mapping Table) when the HDEV shown in FIGS. 12 and 13 has a virtual volume attribute, and the like. A table 401 for managing the correspondence between MPPK numbers and HDEV numbers is stored in the SM 143 or the like.

図6に、HDEV311が仮想ボリュームから構成される場合のHDEV番号とLDEV番号との対応関係を管理するテーブル402の構成を示す。管理テーブル402は、HDEV番号フィールド601とLDEV番号フィールド602から構成される。   FIG. 6 shows the configuration of a table 402 that manages the correspondence between the HDEV number and the LDEV number when the HDEV 311 is configured from a virtual volume. The management table 402 includes an HDEV number field 601 and an LDEV number field 602.

HDEV番号は、ストレージ装置101内でHDEV311を一意に識別するための番号であって、HDEV番号フィールド601の各エントリには、HDEV311に対応した番号が格納される。LDEV番号は、ストレージ装置101内でLDEV312を一意に識別するための番号であって、LDEV番号フィールド602の各エントリには、LDEV312に対応した番号が格納される。HDEV番号とLDEV番号との対応を管理するための管理テーブル402は、SM143などに保存される。   The HDEV number is a number for uniquely identifying the HDEV 311 within the storage apparatus 101, and each entry in the HDEV number field 601 stores a number corresponding to the HDEV 311. The LDEV number is a number for uniquely identifying the LDEV 312 in the storage apparatus 101, and a number corresponding to the LDEV 312 is stored in each entry of the LDEV number field 602. A management table 402 for managing the correspondence between HDEV numbers and LDEV numbers is stored in the SM 143 or the like.

図7に、HDEV番号とボリュームサイズとの対応関係を管理するための管理テーブル403の構成を示す。管理テーブル403は、HDEV番号フィールド701とボリュームサイズフィールド702から構成される。HDEV番号は、ストレージ装置101内でHDEV311を一意に識別するための番号であって、HDEV番号フィールド701の各エントリには、HDEV311に対応した番号が格納される。   FIG. 7 shows the configuration of the management table 403 for managing the correspondence between the HDEV number and the volume size. The management table 403 includes an HDEV number field 701 and a volume size field 702. The HDEV number is a number for uniquely identifying the HDEV 311 in the storage apparatus 101, and each entry in the HDEV number field 701 stores a number corresponding to the HDEV 311.

ボリュームサイズフィールド702の各エントリには、HDEV311に対応したボリュームサイズが格納される。ボリュームサイズは、通常ボリュームまたは仮想ボリュームにデータを格納することができる最大容量であり、ボリュームサイズフィールド702の各エントリには、通常ボリュームまたは仮想ボリュームの容量が数値で格納される。HDEV番号とボリュームサイズとの対応を管理するための管理テーブル403は、SM143などに保存される。   Each entry of the volume size field 702 stores a volume size corresponding to the HDEV 311. The volume size is the maximum capacity that can store data in the normal volume or virtual volume, and each entry in the volume size field 702 stores the capacity of the normal volume or virtual volume as a numerical value. A management table 403 for managing the correspondence between HDEV numbers and volume sizes is stored in the SM 143 or the like.

図8に、HDEV番号とボリューム属性との対応関係を管理するための管理テーブル404の構成を示す。管理テーブル404は、HDEV番号フィールド801とボリューム属性フィールド802から構成される。HDEV番号は、ストレージ装置101内でHDEV311を一意に識別するための番号であって、HDEV番号フィールド801の各エントリには、HDEV311に対応した番号が格納される。   FIG. 8 shows the configuration of the management table 404 for managing the correspondence between HDEV numbers and volume attributes. The management table 404 includes an HDEV number field 801 and a volume attribute field 802. The HDEV number is a number for uniquely identifying the HDEV 311 in the storage apparatus 101, and each entry in the HDEV number field 801 stores a number corresponding to the HDEV 311.

ボリューム属性は、HDEV311のボリューム属性が通常ボリュームまたは仮想ボリュームであることを特定するものであり、ボリューム属性フィールド802の各エントリには、通常ボリュームまたは仮想ボリュームの名称が格納される。   The volume attribute specifies that the volume attribute of the HDEV 311 is a normal volume or a virtual volume, and each entry in the volume attribute field 802 stores the name of the normal volume or the virtual volume.

HDEV311のボリューム属性が通常ボリュームであるとき、このHDEV311は、一つまたは複数のディスク132内の実記憶領域で構成されたボリュームであることを示す。HDEV番号とボリューム属性との対応関係を管理するための管理テーブル404は、SM143などに保存される。   When the volume attribute of the HDEV 311 is a normal volume, this HDEV 311 indicates that the volume is composed of real storage areas in one or more disks 132. A management table 404 for managing the correspondence between HDEV numbers and volume attributes is stored in the SM 143 or the like.

図9に、HDEV311が通常ボリューム時のHDEV番号とディスク番号との対応関係を管理するための管理テーブル405の構成を示す。管理テーブル405は、HDEV番号フィールド901とディスク番号フィールド902から構成される。HDEV番号は、ストレージ装置101内でHDEV311を一意に識別するための番号であって、HDEV番号フィールド901の各エントリには、HDEV311に対応した番号が格納される。   FIG. 9 shows the configuration of the management table 405 for managing the correspondence between the HDEV number and the disk number when the HDEV 311 is a normal volume. The management table 405 includes an HDEV number field 901 and a disk number field 902. The HDEV number is a number for uniquely identifying the HDEV 311 in the storage apparatus 101, and each entry in the HDEV number field 901 stores a number corresponding to the HDEV 311.

ディスク番号は、ストレージ装置101内でディスク132を一意に識別するための番号であって、ディスク番号フィールド902の各エントリには、HDEV311を構成するディスク132の番号が格納される。HDEV番号とディスク番号との対応を管理するための管理テーブル405は、SM143などに保存する。   The disk number is a number for uniquely identifying the disk 132 in the storage apparatus 101, and the number of the disk 132 constituting the HDEV 311 is stored in each entry of the disk number field 902. A management table 405 for managing the correspondence between HDEV numbers and disk numbers is stored in the SM 143 or the like.

図10に、LDEV番号とプール番号とSM143内のPMT(Page Mapping Table)アドレスとの対応関係を管理する管理テーブル406の構成を示す。管理テーブル406はLDEV312のボリューム属性が仮想ボリュームであるときの管理テーブルである。この管理テーブル406は、LDEV番号フィールド1001とプール番号フィールド1002とSM143内のPMTアドレスフィールド1003で構成する。   FIG. 10 shows the configuration of a management table 406 that manages the correspondence between LDEV numbers, pool numbers, and PMT (Page Mapping Table) addresses in SM143. The management table 406 is a management table when the volume attribute of the LDEV 312 is a virtual volume. The management table 406 includes an LDEV number field 1001, a pool number field 1002, and a PMT address field 1003 in the SM 143.

LDEV番号は、ストレージ装置101内でLDEV312を一意に識別するための番号で、LDEV番号フィールド1001の各エントリには、LDEV312に対応した番号が格納される。プール番号は、ストレージ装置101内でプール313を一意に識別するための番号であって、プール番号フィールド1002の各エントリには、LDEV312に対応したプール313の番号が格納される。SM内のPMTアドレスフィールド1003の各エントリには、LDEV312に対応した(後述する)SM143内のPMTアドレスが格納される。LDEV番号とプール番号との対応関係を管理するための管理テーブル406は、SM143などに保存される。   The LDEV number is a number for uniquely identifying the LDEV 312 in the storage apparatus 101, and each entry in the LDEV number field 1001 stores a number corresponding to the LDEV 312. The pool number is a number for uniquely identifying the pool 313 within the storage apparatus 101, and each entry in the pool number field 1002 stores the number of the pool 313 corresponding to the LDEV 312. Each entry in the PMT address field 1003 in the SM stores a PMT address in the SM 143 (described later) corresponding to the LDEV 312. A management table 406 for managing the correspondence between LDEV numbers and pool numbers is stored in the SM 143 or the like.

図11に、プール番号とディスク番号との対応を管理するための管理テーブル407の構成を示す。管理テーブル407は、HDEV311のボリューム属性が仮想ボリュームであるときの管理テーブルであって、プール番号フィールド1101とディスク番号フィールド1102から構成される。   FIG. 11 shows the configuration of the management table 407 for managing the correspondence between pool numbers and disk numbers. The management table 407 is a management table when the volume attribute of the HDEV 311 is a virtual volume, and includes a pool number field 1101 and a disk number field 1102.

プール番号は、ストレージ装置101内でプール313を一意に識別するための番号であって、プール番号フィールド1101の各エントリには、プール313に対応した番号が格納される。ディスク番号は、ストレージ装置101内でディスク132を一意に識別するための番号であって、ディスク番号フィールド1102の各エントリには、プール313に実記憶領域が割り当てられるディスク132の番号が格納される。プール番号とディスク番号との対応を管理するための管理テーブル407は、SM143などに保存される。   The pool number is a number for uniquely identifying the pool 313 within the storage apparatus 101, and each entry in the pool number field 1101 stores a number corresponding to the pool 313. The disk number is a number for uniquely identifying the disk 132 in the storage apparatus 101, and each entry of the disk number field 1102 stores the number of the disk 132 to which the real storage area is allocated to the pool 313. . A management table 407 for managing the correspondence between pool numbers and disk numbers is stored in the SM 143 or the like.

本実施例は、HDEV311を、仮想記憶領域を有する仮想ボリュームとして管理し、仮想ボリュームへのアクセス時に、前記仮想ボリュームへプールから第一の実記憶領域(以下、ページ)を割り当て、さらに第一の実記憶領域(ページ)から第二の実記憶領域(トラック)を割り当てるものである。   In this embodiment, the HDEV 311 is managed as a virtual volume having a virtual storage area, and when accessing the virtual volume, a first real storage area (hereinafter referred to as a page) is allocated from the pool to the virtual volume. A second real storage area (track) is allocated from the real storage area (page).

仮想ボリュームへの実記憶領域割り当て処理は、ページ割り当て処理と、ページからのトラック割り当て処理とがある。ページ割り当て処理では、PMT(Page Mapping Table)408とPMT管理ディレクトリ409とで、LDEVに対するページ割り当て要求によりLDEVへの実記憶領域の割り当てをページ単位で行う。このLDEVへのページ割り当て機能をシン・プロビジョニング機能と呼ぶ。   Real storage area allocation processing to a virtual volume includes page allocation processing and track allocation processing from a page. In the page allocation process, the PMT (Page Mapping Table) 408 and the PMT management directory 409 allocate a real storage area to the LDEV in units of pages in response to a page allocation request to the LDEV. This function of allocating pages to the LDEV is called a thin provisioning function.

図12に、LDEVへのページ割り当て処理で用いるPMT(Page Mapping Table)408の構成を示す。PMT408は、ページ番号フィールド1201、ページ種別フィールド1202、LDEV内のページ先頭アドレスフィールド1203、ディスク番号フィールド1204、ディスク内のページ先頭アドレスフィールド1205、ページ割り当て済み判定情報フィールド1206により構成する。このPMT408は、LDEV312毎に設け、LM142などに格納される。または、SM143に格納しその情報をLM142にキャッシュすることも可能である。   FIG. 12 shows the configuration of a PMT (Page Mapping Table) 408 used in the page assignment processing to the LDEV. The PMT 408 includes a page number field 1201, a page type field 1202, a page head address field 1203 in the LDEV, a disk number field 1204, a page head address field 1205 in the disk, and a page assignment determination information field 1206. The PMT 408 is provided for each LDEV 312 and stored in the LM 142 or the like. Alternatively, the information can be stored in the SM 143 and cached in the LM 142.

PMT408のLDEV内のページ番号1201、LDEV内のページ番号1201に対応するページ種別1202、LDEV内のページ先頭アドレス1203、ディスク番号1204、ディスク内のページ先頭アドレス1205、ページ割り当て済み判定情報1206との組み合わせを、ページマッピングエントリと呼ぶ。   The page number 1201 in the LDEV of the PMT 408, the page type 1202 corresponding to the page number 1201 in the LDEV, the page head address 1203 in the LDEV, the disk number 1204, the page head address 1205 in the disk, and the page allocation determination information 1206 The combination is called a page mapping entry.

ページ番号フィールド1201の各エントリには、LDEV312内に割り当てられるページのページ番号が格納される。ページ種別フィールド1202は、LDEV312内に割り当てられるページに保存される情報の種別を表す。ページ種別は、MFホスト102からリードまたはライトされるトラックデータが保存されるユーザデータページや、TMT(Track Mapping Table)410が保存される制御情報ページである。   Each entry of the page number field 1201 stores the page number of the page assigned in the LDEV 312. A page type field 1202 represents the type of information stored in a page assigned in the LDEV 312. The page type is a user data page in which track data read or written from the MF host 102 is stored, or a control information page in which a TMT (Track Mapping Table) 410 is stored.

LDEV内のページ先頭アドレスフィールド1203の各エントリには、LDEV312内に割り当てられるページの先頭アドレスが格納される。ディスク番号フィールド1204の各エントリには、LDEV312を構成するディスク132の番号が格納される。   Each entry in the page head address field 1203 in the LDEV stores the head address of the page assigned in the LDEV 312. Each entry of the disk number field 1204 stores the number of the disk 132 constituting the LDEV 312.

ディスク内のページ先頭アドレス1205はディスク内の実記憶領域の先頭アドレスで、ディスク内のページ先頭アドレスフィールド1205の各エントリにはLDEV312を構成するディスク132の先頭アドレスが格納される。ページ割り当て済み判定情報フィールド1206の各エントリには、LDEV312にページ割り当て時は「割り当て済み」情報、未割り当て時は「未割り当て」情報が格納される。即ち、このページ割り当て済み判定情報により、ページ単位でLDEVへの実記憶領域の割り当て状態を管理することを可能としている。   The page head address 1205 in the disk is the head address of the real storage area in the disk, and the head address of the disk 132 constituting the LDEV 312 is stored in each entry of the page head address field 1205 in the disk. Each entry of the page allocation determination information field 1206 stores “allocated” information when a page is allocated to the LDEV 312 and “unallocated” information when it is not allocated. That is, it is possible to manage the allocation state of the real storage area to the LDEV on a page basis by this page allocation determination information.

ページは、プール313に格納される一定のサイズの記憶領域であり、LDEV312の記憶領域を分割管理するための単位で、一つまたは複数のトラックで構成する。トラックはストレージ装置101で管理する一定サイズで、例えば、59,392バイトで構成する。   A page is a storage area of a certain size stored in the pool 313, and is composed of one or a plurality of tracks as a unit for dividing and managing the storage area of the LDEV 312. A track is a fixed size managed by the storage apparatus 101, and is composed of, for example, 59,392 bytes.

図13に、LDEV312とPMT408との対応関係を管理するPMT(Page Mapping Table)管理ディレクトリ409の構成を示す。PMT管理ディレクトリ409は、LDEV番号フィールド1301と、PMTのアドレスフィールド1302から構成され、SM143などに保存される。LDEV番号フィールド1301の各エントリには、LDEV312の番号が格納される。PMTのアドレスフィールド1302の各エントリには、LDEV312のページを管理するためのPMT408のアドレスが格納される。   FIG. 13 shows the configuration of a PMT (Page Mapping Table) management directory 409 that manages the correspondence between the LDEV 312 and the PMT 408. The PMT management directory 409 includes an LDEV number field 1301 and a PMT address field 1302 and is stored in the SM 143 or the like. Each entry of the LDEV number field 1301 stores the LDEV 312 number. Each entry of the PMT address field 1302 stores the address of the PMT 408 for managing the page of the LDEV 312.

図14に、LDEV312からHDEV311への割り当て情報を管理するTMT(Track Mapping Table)管理ディレクトリ410の構成を示す。TMT管理ディレクトリ410は、LDEV番号フィールド1401と、LDEV内の初期データトラック番号フィールド1402、LDEV内次割り当てトラック番号フィールド1403から構成され、SM143などに保存される。   FIG. 14 shows a configuration of a TMT (Track Mapping Table) management directory 410 that manages allocation information from the LDEV 312 to the HDEV 311. The TMT management directory 410 includes an LDEV number field 1401, an initial data track number field 1402 in the LDEV, and a next assigned track number field 1403 in the LDEV, and is stored in the SM 143 or the like.

LDEV番号フィールド1401の各エントリには、LDEV312の番号が格納される。初期データトラック番号フィールド1402の各エントリには、LDEV312上の初期データトラックのトラック番号が格納される。次割り当てトラック番号フィールド1403の各エントリには、LDEV312上の、次回新規割り当ての候補となるトラック番号が格納される。   Each entry in the LDEV number field 1401 stores the LDEV 312 number. Each entry of the initial data track number field 1402 stores the track number of the initial data track on the LDEV 312. Each entry of the next allocation track number field 1403 stores a track number that is a candidate for the next new allocation on the LDEV 312.

図15に、LDEV312に割り当てられたページから、HDEV311にトラック割り当てを行う処理を実行するときに用いるTMT(Track Mapping Table)1511の構成を示す。このTMT1511は、HDEV内のトラック番号フィールド1501と、LDEV内のトラック番号フィールド1502と、トラック割り当て済み判定情報フィールド1503で構成する。なお、TMT1511はHDEV311毎に設定し、LDEV312内の一または複数のページ上に格納する。   FIG. 15 shows a configuration of a TMT (Track Mapping Table) 1511 used when executing a process of assigning a track to the HDEV 311 from a page assigned to the LDEV 312. The TMT 1511 includes a track number field 1501 in the HDEV, a track number field 1502 in the LDEV, and a track assigned determination information field 1503. Note that the TMT 1511 is set for each HDEV 311 and stored on one or more pages in the LDEV 312.

TMT1511でのHDEV内のトラック番号1501と、HDEV内のトラック番号1501に対応するLDEV内のトラック番号1502と、トラック割り当て済み判定情報1503との組み合わせを、トラックマッピングエントリと呼ぶ。HDEV内のトラック番号フィールド1501の各エントリには、LDEV312に割り当てられたページから、HDEV311に割り当てられたトラックのトラック番号が格納される。LDEV内のトラック番号フィールド1502の各エントリには、HDEV311に割り当てられたLDEV312内のトラック番号が格納される。   A combination of the track number 1501 in the HDEV, the track number 1502 in the LDEV corresponding to the track number 1501 in the HDEV, and the track assignment determination information 1503 in the TMT 1511 is referred to as a track mapping entry. In each entry of the track number field 1501 in the HDEV, the track number of the track assigned to the HDEV 311 from the page assigned to the LDEV 312 is stored. In each entry of the track number field 1502 in the LDEV, the track number in the LDEV 312 assigned to the HDEV 311 is stored.

トラック割り当て済み判定情報フィールド1503の各エントリには、HDEV311にトラック割り当て済の場合は「割り当て済み」情報、未割り当ての場合は「未割り当て」情報を格納する。即ち、この割り当て済み判定情報により、トラック単位で仮想記憶領域へのLDEVからの実記憶領域の割り当て状態を管理できる。   Each entry of the track assignment determination information field 1503 stores “assigned” information when the track has been assigned to the HDEV 311 and “unassigned” information when the track is not assigned. That is, with this allocation determination information, the allocation state of the real storage area from the LDEV to the virtual storage area can be managed in track units.

次に図16と図17を用い、本実施例の動作について説明する。まず、管理端末計算機103からの仮想ボリューム作成コマンドの受信により、コマンド制御部211が仮想ボリューム属性のHDEVを作成する処理を説明する。仮想ボリューム作成コマンドのパラメータは、例えば、HDEV番号(16−a)と仮想ボリュームサイズ(16−b)である。ページサイズは、例えば、59,392×672バイトである。   Next, the operation of this embodiment will be described with reference to FIGS. First, a process in which the command control unit 211 creates a virtual volume attribute HDEV upon reception of a virtual volume creation command from the management terminal computer 103 will be described. The parameters of the virtual volume creation command are, for example, an HDEV number (16-a) and a virtual volume size (16-b). The page size is, for example, 59,392 × 672 bytes.

コマンド制御部211は、管理端末計算機103から仮想ボリューム作成コマンドのパラメータを受信した場合(S1601)、仮想ボリュームサイズ(16−b)とページサイズ(59,392×672バイト)で、PMT(Page Mapping Table)作成に必要なSMサイズ(16−c)を計算する。   When receiving the parameters of the virtual volume creation command from the management terminal computer 103 (S1601), the command control unit 211 uses the PMT (Page Mapping) with the virtual volume size (16-b) and the page size (59,392 × 672 bytes). Table) The SM size (16-c) required for creation is calculated.

CMPK124内のSM143上の未使用領域のサイズが、SMサイズ(16−c)に満たない(S1608:「Yes」)ならば、コマンド制御部211は、管理端末計算機103に対してボリューム作成不可を応答する(S1602)。未使用領域のサイズがSMサイズ(16−c)以上(S1608:「No」)ならば、コマンド制御部211は、SM143上の未使用領域にPMT408を確保し、このPMTアドレス(16−d)を取得する。   If the size of the unused area on the SM 143 in the CMPK 124 is less than the SM size (16-c) (S1608: “Yes”), the command control unit 211 notifies the management terminal computer 103 that the volume cannot be created. A response is made (S1602). If the size of the unused area is equal to or larger than the SM size (16-c) (S1608: “No”), the command control unit 211 secures the PMT 408 in the unused area on the SM 143, and this PMT address (16-d). To get.

コマンド制御部211は、仮想ボリュームサイズ(16−b)と、トラックサイズと、を基に、仮想ボリュームに必要なTMT(Track Mapping Table)のサイズ(16−e)を計算する。コマンド制御部211は、TMTのサイズ(16−e)と、ページサイズと、を基に、TMTを格納する一つまたは複数ページ(制御情報ページ)数(16−f)を計算する(S1603)。   The command control unit 211 calculates the size (16-e) of a TMT (Track Mapping Table) necessary for the virtual volume based on the virtual volume size (16-b) and the track size. The command control unit 211 calculates the number (16-f) of one or a plurality of pages (control information pages) storing the TMT based on the TMT size (16-e) and the page size (S1603). .

仮想ボリュームに必要な制御情報ページ数に対して、プール容量が足りない(S1609:「Yes」)ならば、コマンド制御部211は、管理端末計算機103に対してボリューム作成不可を応答する(S1604)。仮想ボリュームに必要な制御情報ページがプールに確保できる(S1609:「No」)ならば、コマンド制御部211は、制御情報ページ数(16−f)を基に、プールから仮想ボリュームへ一つまたは複数の制御情報ページを割り当てる。コマンド制御部211は、割り当て済みの一つまたは複数の制御情報ページの初期化を行う。その初期値は、例えば、“0”である(S1605)。   If the pool capacity is insufficient for the number of control information pages required for the virtual volume (S1609: “Yes”), the command control unit 211 responds to the management terminal computer 103 that volume creation is not possible (S1604). . If the control information page necessary for the virtual volume can be secured in the pool (S1609: “No”), the command control unit 211 determines that one or more from the pool to the virtual volume based on the number of control information pages (16-f). Allocate multiple control information pages. The command control unit 211 initializes one or more assigned control information pages. The initial value is, for example, “0” (S1605).

コマンド制御部211は、MPPK番号とHDEV番号との対応を管理する管理テーブル401(図5)の未使用エントリに、このボリュームのオーナ権を持つMPPK番号とHDEV番号(16−a)とを設定する。当該ボリュームに対するオーナ権を持つMPPK番号(16−a)は、仮想ボリューム作成コマンドのパラメータで指定されていてもよい。また、コマンド制御部211が、ストレージ装置内で最も負荷の小さいMPPK番号を、当該ボリュームに対するオーナ権を持つMPPK番号(16−a)として設定してもよい。   The command control unit 211 sets the MPPK number having the ownership of this volume and the HDEV number (16-a) in the unused entry of the management table 401 (FIG. 5) that manages the correspondence between the MPPK number and the HDEV number. To do. The MPPK number (16-a) having ownership for the volume may be specified by a parameter of the virtual volume creation command. Further, the command control unit 211 may set the MPPK number having the smallest load in the storage apparatus as the MPPK number (16-a) having ownership over the volume.

コマンド制御部211は、HDEV番号とLDEV番号との対応を管理する管理テーブル402(図6)の未使用エントリに、HDEV番号(16−a)と未使用のLDEV番号(16−g)とを設定する。   The command control unit 211 adds the HDEV number (16-a) and the unused LDEV number (16-g) to the unused entry in the management table 402 (FIG. 6) that manages the correspondence between the HDEV number and the LDEV number. Set.

コマンド制御部211は、HDEV番号とボリュームサイズとの対応を管理する管理テーブル403(図7)の未使用エントリに、HDEV番号(16−a)とボリュームサイズ(16−b)とを設定する。   The command control unit 211 sets the HDEV number (16-a) and the volume size (16-b) in the unused entry of the management table 403 (FIG. 7) that manages the correspondence between the HDEV number and the volume size.

コマンド制御部211は、HDEV番号とHDEVの属性との対応を管理する管理テーブル404(図8)の未使用エントリに、HDEV番号(16−a)と、「仮想ボリューム」属性を設定する。   The command control unit 211 sets the HDEV number (16-a) and the “virtual volume” attribute in the unused entry of the management table 404 (FIG. 8) that manages the correspondence between the HDEV number and the attribute of the HDEV.

コマンド制御部211は、LDEV番号(16−g)とプール番号とPMTアドレスとの対応とを管理する管理テーブル406(図10)の未使用エントリに、LDEV番号(16−g)とLDEV番号(16−g)のLDEVにページ割り当てを行うプール番号とPMTアドレス(16−d)とを設定する。   The command control unit 211 stores the LDEV number (16-g) and the LDEV number (in the unused entry in the management table 406 (FIG. 10) that manages the correspondence between the LDEV number (16-g), the pool number, and the PMT address. A pool number and a PMT address (16-d) for page allocation are set in the 16-g) LDEV.

また、コマンド制御部211は、LDEV番号(16−g)のLDEVから新規トラック割り当て処理を行い、割り当てたトラックのトラック番号(16−h)とLDEV内次割り当てトラック番号(16−i)とを取得する。その後、TMT(Track Mapping Table)410(図14)の未使用エントリに、LDEV番号(16−g)とLDEV内初期データトラック番号(16−h)とLDEV内次割り当てトラック番号(16−i)とを設定する(S1606)。最後に、コマンド制御部211は、管理端末計算機103に、ボリューム作成完了を応答する(S1607)。   Further, the command control unit 211 performs a new track assignment process from the LDEV with the LDEV number (16-g), and obtains the track number (16-h) of the assigned track and the LDEV internal assigned track number (16-i). get. Thereafter, the LDEV number (16-g), the initial data track number in LDEV (16-h), and the next assigned track number in LDEV (16-i) are added to the unused entries of TMT (Track Mapping Table) 410 (FIG. 14). Are set (S1606). Finally, the command control unit 211 returns a volume creation completion response to the management terminal computer 103 (S1607).

次に、コマンド制御部211が、MFホスト計算機102からのライトアクセスを受領した際の処理を図17で説明する。ライトアクセス時のパラメータは、例えば、HDEV番号(17−a)とHDEV内のトラック番号(17−b)である。ページサイズは、例えば、59,392×672バイトである(S1701)。   Next, processing when the command control unit 211 receives a write access from the MF host computer 102 will be described with reference to FIG. The parameters at the time of write access are, for example, the HDEV number (17-a) and the track number (17-b) in the HDEV. The page size is, for example, 59,392 × 672 bytes (S1701).

コマンド制御部211は、MFホスト計算機102からライトアクセスのパラメータを受信した場合、HDEV311のトラック番号(17−b)とトラックサイズを基に、HDEV311内のアドレス(17−c)を計算する。   When receiving a write access parameter from the MF host computer 102, the command control unit 211 calculates an address (17-c) in the HDEV 311 based on the track number (17-b) and the track size of the HDEV 311.

コマンド制御部211は、HDEV番号(17−a)と、HDEV番号とLDEV番号との対応関係を管理する管理テーブル402(図6)から、HDEV311に対応するLDEV番号(17−d)を取得する。コマンド制御部211は、LDEV番号(17−d)と、PMT管理ディレクトリ409と、を元に、LDEV番号(17−d)に対応するPMT408(図13)を取得する。コマンド制御部211は、PMT408内において、ページ種別1202が制御情報ページである一つまたは複数のページマッピングエントリを調べ、LDEV内のページ先頭アドレス1203からTMT1511の位置を取得する(S1702)。   The command control unit 211 acquires the LDEV number (17-d) corresponding to the HDEV 311 from the management table 402 (FIG. 6) that manages the correspondence between the HDEV number (17-a) and the HDEV number and the LDEV number. . The command control unit 211 acquires the PMT 408 (FIG. 13) corresponding to the LDEV number (17-d) based on the LDEV number (17-d) and the PMT management directory 409. The command control unit 211 examines one or a plurality of page mapping entries whose page type 1202 is the control information page in the PMT 408, and acquires the position of the TMT 1511 from the page head address 1203 in the LDEV (S1702).

コマンド制御部211は、TMT1511の位置とトラック番号(17−a)とを基に、トラック番号(17−a)に対応するトラックマッピングエントリ(17−e)を取得する。   The command control unit 211 acquires the track mapping entry (17-e) corresponding to the track number (17-a) based on the position of the TMT 1511 and the track number (17-a).

コマンド制御部211は、トラックマッピングエントリ(17−e)内のトラック割り当て済み判定情報1503を参照し、トラック割り当て済み判定情報1503が「割り当て済み」(S1705:「No」)のときは、次の(W1)〜(W6)の動作を行う。
(W1)コマンド制御部211は、トラックマッピングエントリ(17−e)内のLDEV内のトラック番号(17−f)を取得する。
(W2)コマンド制御部211は、トラック番号(17−f)とページサイズから、トラック番号(17−f)を含むLDEV内のページ番号(17−g)と、当該ページ内の先頭アドレスからのオフセット(17−h)を計算する。
(W3)コマンド制御部211は、PMT408と、LDEV内のページ番号(17−g)と、を基に、LDEV内のページ番号(17−g)に対応するページマッピングエントリ(17−i)を取得する。
(W4)コマンド制御部211は、ページマッピングエントリ(17−i)からディスク上のページ先頭アドレス(17−j)を取得し、オフセット(17−h)を加算して、ライト対象トラックのディスク上のアドレス(17−k)を計算する。
(W5)コマンド制御部211は、アドレス(17−k)に対して、MFホスト計算機102から送られたデータをライトする(S1703)。
(W6)MFホスト計算機に対してライトコマンド完了を応答する(S1704)。
The command control unit 211 refers to the track allocation determination information 1503 in the track mapping entry (17-e), and when the track allocation determination information 1503 is “allocated” (S1705: “No”), The operations (W1) to (W6) are performed.
(W1) The command control unit 211 acquires the track number (17-f) in the LDEV in the track mapping entry (17-e).
(W2) The command control unit 211 calculates the page number (17-g) in the LDEV including the track number (17-f) from the track number (17-f) and the page size, and the start address in the page. Calculate the offset (17-h).
(W3) The command control unit 211 sets the page mapping entry (17-i) corresponding to the page number (17-g) in the LDEV based on the PMT 408 and the page number (17-g) in the LDEV. get.
(W4) The command control unit 211 obtains the page head address (17-j) on the disk from the page mapping entry (17-i), adds the offset (17-h), and writes it on the disk of the write target track. Address (17-k) is calculated.
(W5) The command control unit 211 writes the data sent from the MF host computer 102 to the address (17-k) (S1703).
(W6) A write command completion response is returned to the MF host computer (S1704).

コマンド制御部211は、トラックマッピングエントリ(17−e)内のトラック割り当て済み判定情報を参照し、トラック割り当て済み判定情報が「未割り当て」(S1705:「Yes」)のときは、次の動作を行う。   The command control unit 211 refers to the track allocation determination information in the track mapping entry (17-e). When the track allocation determination information is “unallocated” (S1705: “Yes”), the command control unit 211 performs the following operation. Do.

まず、コマンド制御部211は、TMT管理ディレクトリ410(図14)の次割り当てトラックアドレス1403が指すLDEV内のトラック番号(17−l)をTMT内のトラックエントリ(17−e)内のトラック番号に設定する。   First, the command control unit 211 sets the track number (17-l) in the LDEV indicated by the next assigned track address 1403 of the TMT management directory 410 (FIG. 14) to the track number in the track entry (17-e) in the TMT. Set.

コマンド制御部211は、さらに、トラック割り当て済み判定情報を「割り当て済み」に設定する。そして、TMT管理ディレクトリ410の次割り当てトラックアドレス1403の値をインクリメントし、次のトラック割り当て候補先とする(S1706からS1709)。その後、コマンド制御部211は、前記(W1)〜(W6)の処理を行う。この(W1)〜(W6)の処理を“S1711“と称し、以下の説明で使用する。   The command control unit 211 further sets the track allocation determination information to “allocated”. Then, the value of the next allocation track address 1403 in the TMT management directory 410 is incremented to be the next track allocation candidate destination (S1706 to S1709). Thereafter, the command control unit 211 performs the processes (W1) to (W6). The processes (W1) to (W6) are referred to as “S1711”, and are used in the following description.

コマンド制御部211は、(W3)で取得したページマッピングエントリ(17−i)のページ割り当て済み判定情報が「未割り当て」(S1706:「Yes」)の場合は、LDEV番号とプール番号とPMTアドレスとの対応を管理する管理テーブル406(図10)を参照して、LDEV番号(17−d)に対応したプール番号(17−m)を取得する。   When the page allocation determination information of the page mapping entry (17-i) acquired in (W3) is “unallocated” (S1706: “Yes”), the command control unit 211 determines the LDEV number, the pool number, and the PMT address. The pool number (17-m) corresponding to the LDEV number (17-d) is acquired with reference to the management table 406 (FIG. 10) that manages the correspondence with

コマンド制御部211は、取得したプール番号(17−m)を基に、プール番号とディスク番号の対応を管理する管理テーブル407(図11)を参照して、プール番号(17−m)に対応したディスク番号(17−n)を取得する。   The command control unit 211 corresponds to the pool number (17-m) by referring to the management table 407 (FIG. 11) that manages the correspondence between the pool number and the disk number based on the acquired pool number (17-m). The obtained disk number (17-n) is acquired.

コマンド制御部211は、取得したディスク番号(17−n)を基に、LDEV番号(17−d)に対応するプール313に属する一つまたは複数のディスク132から、ページ単位で実記憶領域の割り当てを行う(S1707)。   Based on the acquired disk number (17-n), the command control unit 211 allocates a real storage area in units of pages from one or more disks 132 belonging to the pool 313 corresponding to the LDEV number (17-d). Is performed (S1707).

この際、コマンド制御部211は、PMT408(図12)を参照して、ライトアクセス先のアドレスが示すトラックを含むページエントリを探し、新たに割り当てたページの先頭アドレスをPMT408に登録し、割り当て済み判定情報フィールド1206の「未割り当て」を「割り当て済み」に設定して、PMT408を更新する。以上が、コマンド制御部211が、MFホスト計算機102からのライトアクセスを受領した際の処理である。   At this time, the command control unit 211 searches the page entry including the track indicated by the write access destination address with reference to the PMT 408 (FIG. 12), registers the head address of the newly assigned page in the PMT 408, and has already been assigned. The “unassigned” in the determination information field 1206 is set to “assigned”, and the PMT 408 is updated. The above is the processing when the command control unit 211 receives a write access from the MF host computer 102.

MFホスト計算機102からのリードアクセス時は、前記(W1)〜(W4)からリード対象トラックのアドレス(17−k)を計算し、そのアドレス(17−k)のデータをMFホスト計算機102へ送信する。   At the time of read access from the MF host computer 102, the address (17-k) of the read target track is calculated from the above (W1) to (W4), and the data at the address (17-k) is transmitted to the MF host computer 102. To do.

コマンド制御部211は、トラックマッピングエントリ(17−e)内のトラック割り当て済み判定情報を参照し、トラック割り当て済み判定情報が「未割り当て」のときはTMT管理ディレクトリ410(図4)上の初期データトラック番号1402(図14)のトラックを、MFホスト計算機102からリード可能とすることができる。   The command control unit 211 refers to the track allocation determination information in the track mapping entry (17-e). When the track allocation determination information is “unallocated”, the initial data on the TMT management directory 410 (FIG. 4) The track having the track number 1402 (FIG. 14) can be read from the MF host computer 102.

以上が、仮想ボリュームに対してプールからLDEVへのページ割り当てを行い、LDEVからHDEVへのトラック割り当てを行う処理である。これにより、分散メモリ型システム(図1)の階層メモリ化(図3)したトラックマッピング情報に対して、オーナ権が跨らないようにアクセスできる。このため、高速なトラックマッピング情報へのアクセス、すなわち高速なボリュームへのアクセスを実現できる。   The above is the process of assigning pages from the pool to the LDEV and assigning tracks from the LDEV to the HDEV for the virtual volume. As a result, it is possible to access the track mapping information in the hierarchical memory (FIG. 3) of the distributed memory type system (FIG. 1) so that the owner right does not straddle. For this reason, access to high-speed track mapping information, that is, access to a high-speed volume can be realized.

本発明の第二の実施例である通常ボリュームから仮想ボリュームへのデータコピー処理について図18から図24で説明する。具体的には、コピー元HDEV311(正ボリューム)を実記憶領域から構成される通常ボリュームとして管理し、コピー先HDEV311(副ボリューム)を仮想記憶領域から構成される仮想ボリュームとして管理し、正ボリューム(18−a)と副ボリューム(18−b)との間でデータコピーを行うものである。   The data copy processing from the normal volume to the virtual volume according to the second embodiment of the present invention will be described with reference to FIGS. Specifically, the copy source HDEV 311 (primary volume) is managed as a normal volume composed of real storage areas, and the copy destination HDEV 311 (secondary volume) is managed as a virtual volume composed of virtual storage areas, and the primary volume ( Data copy is performed between 18-a) and the secondary volume (18-b).

図18に、トラック番号とそのコピー状態を管理する管理テーブル(コピーBMテーブル)1811の構成を示す。コピーBMテーブル1811は、トラック番号フィールド1801とコピー状態フィールド1802から構成される。トラック番号はHDEV311内でトラックを一意に識別するための番号であって、トラック番号フィールド1801の各エントリには、HDEV311内の各トラックに対応した番号が格納される。   FIG. 18 shows the configuration of a management table (copy BM table) 1811 for managing track numbers and their copy states. The copy BM table 1811 includes a track number field 1801 and a copy status field 1802. The track number is a number for uniquely identifying a track in the HDEV 311, and each entry in the track number field 1801 stores a number corresponding to each track in the HDEV 311.

コピー状態は、トラックが、「コピー済み」または「未コピー」であることを特定するものであり、コピー状態フィールド1802の各エントリには、「コピー済み」(例えば、ビットがオン“b’1”)または「未コピー」(例えば、ビットがオフ“b’0”)に対応した情報が格納される。   The copy status specifies that the track is “copied” or “not copied”, and each entry in the copy status field 1802 includes “copied” (for example, the bit is set to “b′1”). ") Or" uncopied "(for example, the bit is off" b'0 ") is stored.

図19に、トラック番号とその更新状態を管理するテーブル(差分BMテーブル)1911の構成を示す。差分BMテーブル1911は、トラック番号フィールド1901と更新状態フィールド1902から構成される。   FIG. 19 shows the configuration of a table (difference BM table) 1911 for managing track numbers and their update states. The difference BM table 1911 includes a track number field 1901 and an update state field 1902.

トラック番号は、HDEV311内でトラックを一意に識別するための番号であって、トラック番号フィールド1901の各エントリには、HDEV311内の各トラックに対応した番号が格納される。   The track number is a number for uniquely identifying a track in the HDEV 311, and each entry in the track number field 1901 stores a number corresponding to each track in the HDEV 311.

更新状態は、トラックが、「更新済み」または「未更新」であることを特定するものであり、更新状態フィールド1902の各エントリには、「更新済み」(例えば、ビットがオン“b’1”)または「未更新」(例えば、ビットがオン“b’0”)に対応した情報が格納される。   The update status specifies that the track is “updated” or “not updated”, and each entry in the update status field 1902 includes “updated” (for example, the bit is set to “b′1”). ") Or" not updated "(for example, the bit is on" b'0 ") is stored.

図20に、HDEV間のコピー処理を実行するときに用いるペア管理テーブル2011の構成を示す。ペア管理テーブル2011は、ペア番号フィールド2001、コピー元HDEV番号フィールド2002、コピー元トラック範囲フィールド2003、コピー先HDEV番号フィールド2004、コピー先トラック範囲フィールド2005、コピーBMテーブルアドレスフィールド2006、差分BMテーブルアドレスフィールド2007、で構成し、コピーペア毎に設定し、SM143などに格納される。   FIG. 20 shows the configuration of the pair management table 2011 used when executing copy processing between HDEVs. The pair management table 2011 includes a pair number field 2001, a copy source HDEV number field 2002, a copy source track range field 2003, a copy destination HDEV number field 2004, a copy destination track range field 2005, a copy BM table address field 2006, and a differential BM table address. Field 2007, set for each copy pair, and stored in SM 143 or the like.

ペア管理テーブル2011のペア番号フィールド2001の各エントリには、ペア毎に割り振られるペア番号が格納される。コピー元HDEV番号フィールド2002の各エントリには、コピー元のHDEVのHDEV番号が格納される。コピー元トラック範囲フィールド2003の各エントリには、コピー元HDEVのコピー開始トラック番号とコピー終了トラック番号が格納される。   Each entry in the pair number field 2001 of the pair management table 2011 stores a pair number assigned for each pair. Each entry in the copy source HDEV number field 2002 stores the HDEV number of the copy source HDEV. Each entry in the copy source track range field 2003 stores the copy start track number and copy end track number of the copy source HDEV.

コピー先HDEV番号フィールド2004の各エントリには、コピー先のHDEVのHDEV番号が格納される。コピー先トラック範囲フィールド2005の各エントリには、コピー先HDEVのコピー開始トラック番号とコピー終了トラック番号が格納される。コピーBMテーブルアドレスフィールド2006の各エントリには、コピーBMテーブルのアドレスが格納される。差分BMテーブルアドレスフィールド2007の各エントリには、差分BMテーブルのアドレスが格納される。   Each entry in the copy destination HDEV number field 2004 stores the HDEV number of the copy destination HDEV. Each entry in the copy destination track range field 2005 stores a copy start track number and a copy end track number of the copy destination HDEV. Each entry of the copy BM table address field 2006 stores the address of the copy BM table. Each entry of the differential BM table address field 2007 stores an address of the differential BM table.

次に、通常ボリューム属性のHDEV311(正ボリューム)から仮想ボリューム属性のHDEV311(副ボリューム)へのデータコピーにおけるペア作成処理について図21で説明する。管理端末計算機103から正ボリューム(21−a)と副ボリューム(21−b)との間でコピーペア作成コマンドを受けると、コマンド制御部211は、以下の動作を行う。   Next, a pair creation process in data copy from the normal volume attribute HDEV 311 (primary volume) to the virtual volume attribute HDEV 311 (secondary volume) will be described with reference to FIG. When receiving a copy pair creation command between the primary volume (21-a) and the secondary volume (21-b) from the management terminal computer 103, the command control unit 211 performs the following operations.

コマンドパラメータは、例えば、正ボリューム(21−a)のHDEV番号(21−c)と副ボリューム(21−b)のHDEV番号(21−d)と、正ボリューム(21−a)のコピー元トラック範囲(21−e)と、副ボリューム(21−b)のコピー先トラック範囲(21−f)と、である。コピー元トラック範囲(21−e)のトラック数と、コピー先トラック範囲(21−f)のトラック数は等しい(S2101)。   The command parameters include, for example, the HDEV number (21-c) of the primary volume (21-a), the HDEV number (21-d) of the secondary volume (21-b), and the copy source track of the primary volume (21-a). The range (21-e) and the copy destination track range (21-f) of the secondary volume (21-b). The number of tracks in the copy source track range (21-e) is equal to the number of tracks in the copy destination track range (21-f) (S2101).

コマンド制御部211は、コピー元トラック範囲(21−e)またはコピー先トラック範囲(21−f)から、コピーBMテーブル1811と、差分BMテーブル1911に必要なSM143容量を計算する(S2102)。コピーBMテーブル1811と差分BMテーブル1911に必要なSM143容量が確保できない(S2107:「Yes」)ならば、コマンド制御部211は、管理端末計算機103に対して、ペア作成失敗を応答する(S2103)。   The command control unit 211 calculates the SM143 capacity required for the copy BM table 1811 and the difference BM table 1911 from the copy source track range (21-e) or the copy destination track range (21-f) (S2102). If the required SM 143 capacity cannot be secured in the copy BM table 1811 and the difference BM table 1911 (S2107: “Yes”), the command control unit 211 responds to the management terminal computer 103 with a pair creation failure (S2103). .

コピーBMテーブル1811と差分BMテーブル1911に必要なSM143容量が確保できる(S2107:「No」)ならば、コマンド制御部211は、コピーBMテーブル1811と差分BMテーブル1911をSM143上に確保する。コマンド制御部211は、確保したコピーBMテーブル1811と差分BMテーブル1911を初期化する。代表的な初期値は“0”であるが、これに限定はされない(S2104)。   If the required SM143 capacity can be secured in the copy BM table 1811 and the difference BM table 1911 (S2107: “No”), the command control unit 211 secures the copy BM table 1811 and the difference BM table 1911 on the SM143. The command control unit 211 initializes the secured copy BM table 1811 and the difference BM table 1911. A typical initial value is “0”, but is not limited to this (S2104).

コマンド制御部211は、ペア管理テーブル2011内の未使用のペア番号を新しく割り当てる。そして、コマンド制御部211は、正ボリューム(21−a)のHDEV番号(21−c)と副ボリューム(21−b)のHDEV番号(21−d)と、正ボリューム(21−a)のコピー元トラック範囲(21−e)と、副ボリューム(21−b)のコピー先トラック範囲(21−f)と、コピーBMテーブル1811のアドレスと、差分BMテーブル1911のアドレスとを、ペアエントリ(21−g)として設定する(S2105)。   The command control unit 211 newly assigns an unused pair number in the pair management table 2011. Then, the command control unit 211 copies the HDEV number (21-c) of the primary volume (21-a), the HDEV number (21-d) of the secondary volume (21-b), and the copy of the primary volume (21-a). A pair entry (21) includes an original track range (21-e), a copy destination track range (21-f) of the secondary volume (21-b), an address of the copy BM table 1811, and an address of the differential BM table 1911. -G) (S2105).

コマンド制御部211は、管理端末計算機103に、ペア作成コマンド完了を応答する(S2106)。以上が、通常ボリューム属性のHDEV311から仮想ボリューム属性のHDEV311へのデータコピーにおける、ペア作成処理の動作である。   The command control unit 211 returns a pair creation command completion response to the management terminal computer 103 (S2106). The above is the operation of the pair creation process in the data copy from the HDEV 311 with the normal volume attribute to the HDEV 311 with the virtual volume attribute.

続いて、通常ボリューム属性のHDEV311(正ボリューム)から仮想ボリューム属性のHDEV311(副ボリューム)へのデータコピーにおけるコピージョブの動作について図22で説明する。   Next, a copy job operation in data copy from the normal volume attribute HDEV 311 (primary volume) to the virtual volume attribute HDEV 311 (secondary volume) will be described with reference to FIG.

コマンド制御部211は、前述したペア作成処理を行った後、コピージョブ(図示しない)を起動する。コピージョブは、前述したペア作成処理で設定したペアエントリ(21−g)を基に、データコピー処理を次の通り行う(S2201)。   The command control unit 211 activates a copy job (not shown) after performing the pair creation process described above. The copy job performs the data copy process as follows based on the pair entry (21-g) set in the pair creation process described above (S2201).

コピージョブはペアエントリ(21−g)を参照して、コピー対象トラック番号(21−h)を、正ボリューム(21−a)のコピー元トラック範囲の先頭トラック番号に設定する(S2202)。コピージョブは、コピー対象トラック番号(21−h)がコピー元トラック範囲の終端トラック番号に至る(S2203:「Yes」)まで、次の(C1)〜(C7)の順番で処理を行う。
(C1)コピージョブは、ペアエントリ(21−g)内のコピーBMテーブルアドレスからコピーBMテーブル1811を取得する。
(C2)コピージョブは、コピー対象トラック番号(21−h)と、正ボリューム(21−a)のコピー開始トラック番号(21−i)から、コピー開始トラック番号(21−i)からのオフセット(21−j)を計算する。
このとき、トラック番号(21−h)と(21−i)との差と、オフセット(21−j)との値は等しい。
(C3)コピージョブは、コピー開始トラック番号(21−i)からのオフセット(21−j)と、コピーBMテーブル1811から、トラック番号(21−h)のコピー状態を取得する。
(C4)コピージョブは、トラック番号(21−h)のコピー状態が「コピー済み」(S2204の「No」)であったならば、次の(C5)から(C7)の処理を行わず、コピー対象トラック番号(21−h)をインクリメント(S2208)して(C1)に戻る。
(C5)コピージョブは、トラック番号(21−h)のコピー状態が「未コピー」(S2204の「Yes」)であったならば、ペアエントリ(21−g)の副ボリューム(21−b)におけるコピー開始トラック番号(21−k)とオフセット(21−j)から副ボリューム(21−b)におけるコピー先トラック番号(21−l)を計算する(S2205)。
(C6)コピージョブは、正ボリューム(21−a)のトラック番号(21−h)のトラックデータを、副ボリューム(21−b)のコピー先トラック番号(21−l)にコピーする(S2206)。コマンド制御部211は、TMT1511を参照し、コピー先トラック番号(21−l)の割り当て判定情報が「未割り当て」であるならば、副ボリューム(21−b)のコピー先トラック番号(21−l)への前述した新規トラック割り当て(S1711:(W1)から(W6))を行う。
(C7)コピージョブは、正ボリューム(21−a)のトラック番号(21−h)に対応するコピーBMテーブルのコピー状態を「コピー済み」に設定する(S2207)。
以上が、通常ボリューム属性のHDEV311から仮想ボリューム属性のHDEV311へのデータコピーにおける、コピージョブの動作である。
The copy job refers to the pair entry (21-g) and sets the copy target track number (21-h) as the first track number in the copy source track range of the primary volume (21-a) (S2202). The copy job is processed in the following order (C1) to (C7) until the copy target track number (21-h) reaches the end track number of the copy source track range (S2203: “Yes”).
(C1) The copy job acquires the copy BM table 1811 from the copy BM table address in the pair entry (21-g).
(C2) The copy job includes an offset from the copy start track number (21-i) from the copy target track number (21-i) and the copy start track number (21-i) of the primary volume (21-a). 21-j) is calculated.
At this time, the difference between the track numbers (21-h) and (21-i) is equal to the offset (21-j).
(C3) The copy job acquires the offset (21-j) from the copy start track number (21-i) and the copy status of the track number (21-h) from the copy BM table 1811.
(C4) If the copy status of the track number (21-h) is “copied” (“No” in S2204), the next job (C5) to (C7) is not performed. The copy target track number (21-h) is incremented (S2208), and the process returns to (C1).
(C5) If the copy status of the track number (21-h) is “not copied” (“Yes” in S2204), the copy job has a secondary volume (21-b) of the pair entry (21-g). The copy destination track number (21-l) in the secondary volume (21-b) is calculated from the copy start track number (21-k) and the offset (21-j) in (2205).
(C6) The copy job copies the track data of the track number (21-h) of the primary volume (21-a) to the copy destination track number (21-l) of the secondary volume (21-b) (S2206). . The command control unit 211 refers to the TMT 1511, and if the allocation determination information of the copy destination track number (21-l) is “unallocated”, the copy destination track number (21-l) of the secondary volume (21-b). The above-described new track allocation to () (S1711: (W1) to (W6)) is performed.
(C7) The copy job sets the copy status of the copy BM table corresponding to the track number (21-h) of the primary volume (21-a) to “copied” (S2207).
The above is the operation of the copy job in the data copy from the HDEV 311 having the normal volume attribute to the HDEV 311 having the virtual volume attribute.

次に、通常ボリューム属性のHDEV311(正ボリューム)から仮想ボリューム属性のHDEV311(副ボリューム)へのデータコピーにおける、MFホスト計算機102からのライトによる先行コピー動作について図23で説明する。   Next, the preceding copy operation by writing from the MF host computer 102 in the data copy from the normal volume attribute HDEV 311 (primary volume) to the virtual volume attribute HDEV 311 (secondary volume) will be described with reference to FIG.

MFホスト計算機102から正ボリューム(23−a)に対するライトコマンドをコマンド制御部211が受け取る(S2301)と、下記(CW1)から(CW8)の動作を行う。このとき、コマンドパラメータは、例えば、正ボリューム(23−a)のHDEV番号(23−b)と、ライト対象トラックのトラック番号(23−c)である。   When the command control unit 211 receives a write command for the primary volume (23-a) from the MF host computer 102 (S2301), the following operations (CW1) to (CW8) are performed. At this time, the command parameters are, for example, the HDEV number (23-b) of the primary volume (23-a) and the track number (23-c) of the write target track.

コマンド制御部211は、ペア管理テーブル2011から、コピー元HDEV番号が(23−b)である一つまたは複数のペアエントリを取得する。コマンド制御部211は、各ペアエントリに対して、次の動作を行う。
(CW1)コマンド制御部211は、ライト対象トラックのトラック番号(23−c)は、ペアエントリ内のコピー元トラック範囲に含まれるかどうかを調べる。含まれないならば(CW2)〜(CW8)の処理はスキップし、何もしない。
(CW2)コマンド制御部211は、ペアエントリ内のコピーBMテーブルポインタからコピーBMテーブル1811を取得する。
(CW3)コマンド制御部211は、正ボリューム(23−a)のトラック番号(23−c)と、ペアエントリのコピー元HDEVにおけるコピー開始トラック番号(23−d)から、コピー開始トラック番号からのオフセット(23−e)を計算する。このとき、トラック番号(23−c)と(23−d)の差と、(23−e)との値は等しい。
(CW4)コマンド制御部211は、コピー開始トラック番号からのオフセット(23−e)と、コピーBMテーブル1811から、トラック番号(23−c)のコピー状態を取得する。
(CW5)コマンド制御部211は、トラック番号(23−c)のコピー状態が「コピー済み」(S2302:「No」)であったならば、(CW6)と(CW7)の処理を行わず、(CW8)の処理を行う。
(CW6)コマンド制御部211は、トラック番号(21−c)のコピー状態が「未コピー」(S2302:「Yes」)であったならば、ペアエントリのコピー先HDEVにおけるコピー開始トラック番号(23−f)とオフセット(23−e)からコピー先HDEVにおけるコピー先トラック番号(23−g)を計算する(S2303)。
(CW7)コマンド制御部211は、正ボリューム(23−a)のトラック番号(23−c)の更新前トラックデータを副ボリュームのコピー先トラック番号(23−g)にデータコピーする(S2304)。コマンド制御部211は、正ボリューム(23−a)のトラック番号(23−c)に対応するコピーBMテーブル1811のコピー状態を「コピー済み」に設定する(S2305)。また、コマンド制御部211は、正ボリューム(23−a)のトラック番号(23−c)に対応する差分BMテーブル1911のコピー状態を「更新済み」に設定する(S2306)。コマンド制御部211は、TMT1511を参照し、コピー先トラック番号(23−g)の割り当て判定情報が「未割り当て」であるならば、副ボリュームのコピー先トラック番号(23−g)への前述した新規トラック割り当て(S1711:(W1)から(W6))を行う。
(CW8)コマンド制御部211は、正ボリュームのトラック番号(23−c)にMFホスト計算機102から受け取ったデータをライトする(S2307)。
最後に、MFホスト計算機102にライトコマンド完了を通知する。以上が、通常ボリューム属性のHDEV311(正ボリューム)と仮想ボリューム属性のHDEV311(副ボリューム)との間のデータコピーにおける、正ボリューム(23−a)に対するMFホスト計算機102からのライトアクセスが行われた際の動作である。
The command control unit 211 acquires one or more pair entries whose copy source HDEV number is (23-b) from the pair management table 2011. The command control unit 211 performs the following operation for each pair entry.
(CW1) The command control unit 211 checks whether the track number (23-c) of the write target track is included in the copy source track range in the pair entry. If not included, the processes (CW2) to (CW8) are skipped and nothing is done.
(CW2) The command control unit 211 acquires the copy BM table 1811 from the copy BM table pointer in the pair entry.
(CW3) The command control unit 211 calculates from the copy start track number from the track number (23-c) of the primary volume (23-a) and the copy start track number (23-d) in the copy source HDEV of the pair entry. Calculate the offset (23-e). At this time, the difference between the track numbers (23-c) and (23-d) is equal to the value of (23-e).
(CW4) The command control unit 211 acquires the offset (23-e) from the copy start track number and the copy status of the track number (23-c) from the copy BM table 1811.
(CW5) If the copy state of the track number (23-c) is “copied” (S2302: “No”), the command control unit 211 does not perform the processes (CW6) and (CW7), Process (CW8) is performed.
(CW6) If the copy state of the track number (21-c) is “not copied” (S2302: “Yes”), the command control unit 211 copies the copy start track number (23 in the copy destination HDEV of the pair entry) The copy destination track number (23-g) in the copy destination HDEV is calculated from -f) and the offset (23-e) (S2303).
(CW7) The command control unit 211 copies the pre-update track data of the track number (23-c) of the primary volume (23-a) to the copy destination track number (23-g) of the secondary volume (S2304). The command control unit 211 sets the copy status of the copy BM table 1811 corresponding to the track number (23-c) of the primary volume (23-a) to “copied” (S2305). In addition, the command control unit 211 sets the copy status of the differential BM table 1911 corresponding to the track number (23-c) of the primary volume (23-a) to “updated” (S2306). The command control unit 211 refers to the TMT 1511, and if the allocation determination information of the copy destination track number (23-g) is “unallocated”, the command to the copy destination track number (23-g) of the secondary volume is described above. New track allocation (S1711: (W1) to (W6)) is performed.
(CW8) The command control unit 211 writes the data received from the MF host computer 102 to the track number (23-c) of the primary volume (S2307).
Finally, the MF host computer 102 is notified of the completion of the write command. The write access from the MF host computer 102 to the primary volume (23-a) is performed in the data copy between the HDEV 311 (primary volume) with the normal volume attribute and the HDEV 311 (secondary volume) with the virtual volume attribute. This is the operation.

通常ボリューム属性のHDEV311(正ボリューム)と仮想ボリューム属性のHDEV311(副ボリューム)間のデータコピー中に、副ボリュームへMFホスト計算機102からのライト要求が発生した場合でも、前記の(CW1)から(CW8)の処理を実行することで容易にライト動作を実現できる。   Even when a write request from the MF host computer 102 to the secondary volume occurs during data copying between the normal volume attribute HDEV 311 (primary volume) and the virtual volume attribute HDEV 311 (secondary volume), the above (CW1) The write operation can be easily realized by executing the processing of CW8).

次に、通常ボリューム属性のHDEV311(正ボリューム)(24−a)と仮想ボリューム属性のHDEV311(副ボリューム)(24−b)との間のデータコピーにおいて、副ボリューム(24−b)から正ボリューム(24−a)への差分リストア動作について図24で説明する。   Next, in the data copy between the normal volume attribute HDEV 311 (primary volume) (24-a) and the virtual volume attribute HDEV 311 (secondary volume) (24-b), the secondary volume (24-b) to the primary volume The differential restore operation to (24-a) will be described with reference to FIG.

MFホスト計算機102から、ペア番号(24−c)のペアエントリに対する差分リストアコマンドを、コマンド制御部211が受け取る(S2401)と、次の動作を行う。このとき、コマンドパラメータは、例えば、ペア番号(24−c)である。   When the command control unit 211 receives a differential restore command for the pair entry with the pair number (24-c) from the MF host computer 102 (S2401), the following operation is performed. At this time, the command parameter is, for example, a pair number (24-c).

コマンド制御部211は、ペア管理テーブル2011から、ペア番号(24−c)に対応するコピー元HDEV番号(24−d)と、コピー元トラック範囲(24−e)と、コピー先HDEV番号(24−f)と、コピー先トラック範囲(24−g)と、差分BMテーブルと、を取得する。また、コマンド制御部211は、リストア対象トラック(24−h)を、コピー先トラック開始番号に設定(S2402)し、コピー先トラック終了番号に至る(S2403:「Yes」)まで、次の(CR1)〜(CR5)の順番で処理を行う。
(CR1)コマンド制御部211は、副ボリューム(24−b)のリストア対象トラック番号(24−h)と、ペアエントリのコピー先HDEVにおけるコピー開始トラック番号(24−g)から、コピー開始トラック番号からのオフセット(24−i)を計算する。この時、リストア対象トラック番号(24−h)とコピー開始トラック番号(24−g)の差と、オフセット(24−i)との値は等しい。
(CR2)コマンド制御部211は、ペアエントリのコピー元HDEVにおけるコピー開始トラック番号(24−j)とオフセット(24−i)から、リストア先トラック番号(24−k)を計算する。このとき、コピー開始トラック番号(24−j)とオフセット(24−i)との和は、リストア先トラック番号(24−k)に等しい。
(CR3)コマンド制御部211は、オフセット(24−i)と差分BMテーブル1911からリストア先トラック番号(24−k)の差分状態を取得する。
(CR4)コマンド制御部211は、リストア先トラック番号(24−k)の差分状態が「未更新」であったならば、(CR5)の処理を行わず、リストア対象トラック(24−h)をインクリメント(S2405)し、(CR1)から処理を行う。
(CR5)コマンド制御部211は、リストア先トラック番号(24−k)の差分状態が「更新済み」であったならば、副ボリューム(24−b)のリストア対象トラック番号(24−h)のトラックデータを、正ボリューム(24−a)のリストア先トラック番号(24−k)のトラックにコピーする(S2404)。
そして、最後にMFホスト計算機102に対し、差分リストアコマンドに対する完了応答を行う。
From the pair management table 2011, the command control unit 211 copies the copy source HDEV number (24-d) corresponding to the pair number (24-c), the copy source track range (24-e), and the copy destination HDEV number (24 -F), the copy destination track range (24-g), and the difference BM table are acquired. Further, the command control unit 211 sets the restoration target track (24-h) as the copy destination track start number (S2402) and continues to the next (CR1) until the copy destination track end number is reached (S2403: “Yes”). ) To (CR5) in this order.
The (CR1) command control unit 211 determines the copy start track number from the restore target track number (24-h) of the secondary volume (24-b) and the copy start track number (24-g) in the copy destination HDEV of the pair entry. Calculate the offset from (24-i). At this time, the difference between the restore target track number (24-h) and the copy start track number (24-g) is equal to the offset (24-i).
(CR2) The command control unit 211 calculates the restore destination track number (24-k) from the copy start track number (24-j) and the offset (24-i) in the copy source HDEV of the pair entry. At this time, the sum of the copy start track number (24-j) and the offset (24-i) is equal to the restore destination track number (24-k).
(CR3) The command control unit 211 acquires the difference state of the restore destination track number (24-k) from the offset (24-i) and the difference BM table 1911.
(CR4) If the difference state of the restore destination track number (24-k) is “unupdated”, the command control unit 211 does not perform the process of (CR5) and selects the restore target track (24-h). Increment (S2405) and perform processing from (CR1).
(CR5) If the difference state of the restore destination track number (24-k) is “updated”, the command control unit 211 stores the restore target track number (24-h) of the secondary volume (24-b). The track data is copied to the track of the restore destination track number (24-k) of the primary volume (24-a) (S2404).
Finally, a completion response to the differential restore command is sent to the MF host computer 102.

なお、副ボリューム(24−b)は仮想記憶領域から構成される仮想ボリュームであるので、コピー元トラックからデータをリードする動作は、実施例1で説明した仮想ボリュームに対するリードと同様である。以上が、通常ボリューム属性のHDEV311(正ボリューム)(24−a)と仮想ボリューム属性のHDEV311(副ボリューム)(24−b)との間のコピーペアにおいて、副ボリューム(24−b)から正ボリューム(24−a)への差分リストアの動作である。   Since the secondary volume (24-b) is a virtual volume configured from a virtual storage area, the operation of reading data from the copy source track is the same as the reading of the virtual volume described in the first embodiment. In the copy pair between the normal volume attribute HDEV 311 (primary volume) (24-a) and the virtual volume attribute HDEV 311 (secondary volume) (24-b), the secondary volume (24-b) to the primary volume is described above. This is the differential restore operation to (24-a).

また、図27のように、管理端末103からのリバースリストアコマンド受領時、コマンド制御部211は、副ボリューム(24−b)から正ボリューム(24−a)への差分リストア後に、正ボリュームと副ボリュームのHDEV番号を入れ替えて、以降のMFホスト102から、リードまたはライトアクセスを可能としてもよい。この動作をリバースリストア処理と言う。なお、図24の差分リストア動作ステップ(S24**)と図27のリバースリストア動作ステップ(S27**)は同様な動作を行う。   Further, as shown in FIG. 27, when receiving the reverse restore command from the management terminal 103, the command control unit 211 performs the differential restore from the secondary volume (24-b) to the primary volume (24-a), and then restores the primary volume and the secondary volume. The volume HDEV number may be exchanged to enable subsequent read or write access from the MF host 102. This operation is called reverse restore processing. Note that the differential restore operation step (S24 **) in FIG. 24 and the reverse restore operation step (S27 **) in FIG. 27 perform similar operations.

更に、副ボリューム(24−b)から正ボリューム(24−a)への差分リストア実施中に、リストア先トラック番号(24−k)、または、リストア対象トラック番号(24−h)に対して、MFホスト102からリードまたはライトアクセスが行われた場合、コマンド制御部211は、前述したリストア先トラック番号(24−k)の差分状態を調べる。その結果、リストア先トラック番号(24−k)の差分状態が「更新済み」であったならば、前記(CR5)の処理を実施後に、MFホスト102からリストア先トラック番号(24−k)、または、リストア対象トラック番号(24−h)に対するリードまたはライトアクセスを可能としてもよい。この動作をオンデマンドリストア処理と言う。   Further, during the differential restore from the secondary volume (24-b) to the primary volume (24-a), the restore destination track number (24-k) or the restore target track number (24-h) When a read or write access is performed from the MF host 102, the command control unit 211 checks the difference state of the restore destination track number (24-k) described above. As a result, if the differential state of the restore destination track number (24-k) is “updated”, the restore destination track number (24-k), Alternatively, read or write access to the restore target track number (24-h) may be possible. This operation is called on-demand restore processing.

以上の説明からわかるように、通常ボリュームから仮想ボリュームへのデータコピー処理においても、階層メモリ化したトラックマッピング情報に対して、オーナ権が跨らないようにアクセスできる。   As can be seen from the above description, even in the data copy processing from the normal volume to the virtual volume, it is possible to access the track mapping information in the hierarchical memory so that the owner right does not straddle.

次に、仮想ボリューム属性のHDEV311における割り当て済みトラックの解放処理(MFホスト計算機102から仮想ボリューム属性のHDEV311へのライト時に、ライト対象トラック内のレコードが存在しない場合)について、図25で説明する。   Next, the allocated track release processing in the HDEV 311 with the virtual volume attribute (when there is no record in the write target track when writing from the MF host computer 102 to the HDEV 311 with the virtual volume attribute) will be described with reference to FIG.

MFホスト計算機102から仮想ボリューム属性のHDEV311へのライトアクセスコマンドを、コマンド制御部211が受け取ると図25の動作を開始する(S2501)。この時、コマンドパラメータは、正ボリュームのHDEV番号(25−a)と、ライト対象トラックのトラック番号(25−b)と、ライトデータなどである。コマンド制御部211は、前述した実施例1に示す仮想ボリュームへのライトアクセス時の動作(図17)に従い、ライト対象トラックへMFホスト計算機102から送られたデータをライトする(S2502)。   When the command control unit 211 receives a write access command from the MF host computer 102 to the HDEV 311 with the virtual volume attribute, the operation of FIG. 25 is started (S2501). At this time, the command parameters are the HDEV number (25-a) of the primary volume, the track number (25-b) of the write target track, the write data, and the like. The command control unit 211 writes the data sent from the MF host computer 102 to the write target track according to the operation at the time of write access to the virtual volume described in the first embodiment (FIG. 17) (S2502).

コマンド制御部211は、MFホスト計算機102からのライトアクセスにより、ライト対象トラック内のレコードが存在しない(S2503:「Yes」)ならば、以下の(RM1)から(RM5)の動作を行う。
(RM1)コマンド制御部211は、ライト対象トラック番号(25−b)とTMT1511から、LDEV内トラック番号(25−c)を取得する。
(RM2)コマンド制御部211は、トラック番号(25−c)とページサイズからLDEV内のページ番号(25−d)と、ページ内の先頭トラック番号からのオフセット(25−e)を計算する。
(RM3)コマンド制御部211は、TMT1511上のライト対象トラックのトラック番号(25−b)に対応するトラックエントリ(25−f)を削除(破棄)する(S2504)。
(RM4)コマンド制御部211は、TMT1511上の割り当て判定情報が「割り当て済み」である全てのトラックエントリの中から、LDEV内のトラック番号とページサイズから計算できるLDEV内のページ番号が、ページ番号(25−d)と一致する一つまたは複数のトラックエントリ(25−g)が、トラックエントリ(25−f)以外に存在しないかを調べる。
(RM5)(RM4)の処理において、トラックエントリ(25−g)がトラックエントリ(25−f)以外に存在しないならば、コマンド制御部211は、PMT408上のページ番号(25−d)に対応するページエントリを削除(破棄)する(S2505)。
If there is no record in the write target track due to write access from the MF host computer 102 (S2503: “Yes”), the command control unit 211 performs the following operations (RM1) to (RM5).
(RM1) The command control unit 211 acquires the track number (25-c) in the LDEV from the write target track number (25-b) and the TMT 1511.
(RM2) The command control unit 211 calculates the page number (25-d) in the LDEV and the offset (25-e) from the top track number in the page from the track number (25-c) and the page size.
(RM3) The command control unit 211 deletes (discards) the track entry (25-f) corresponding to the track number (25-b) of the write target track on the TMT 1511 (S2504).
(RM4) The command control unit 211 determines that the page number in the LDEV that can be calculated from the track number and page size in the LDEV out of all the track entries whose allocation determination information on the TMT 1511 is “allocated” is the page number It is checked whether one or more track entries (25-g) matching (25-d) exist other than the track entry (25-f).
In the processing of (RM5) (RM4), if there is no track entry (25-g) other than the track entry (25-f), the command control unit 211 corresponds to the page number (25-d) on the PMT 408. The page entry to be deleted is deleted (discarded) (S2505).

次に、仮想ボリュームにおける割り当て済みトラックの解放処理に伴う、ガベージコレクションと割り当て済みページの解放処理を説明する。前述した割り当て済みトラックの解放処理(RM1)から(RM5)において、一つまたは複数のトラックエントリ(25−g)がトラックエントリ(25−f)以外に存在する場合、下記(GC1)と(GC2)の動作を実行する。
(GC1)TMT1511(図15)上の割り当て済み判定情報が「未割り当て」であるトラックエントリの中から、LDEV内のトラック番号がトラック番号(25−d)よりも大きく、かつ最大であるトラックエントリ(25−h)を取得する。
(GC2)コマンド制御部211は、トラックエントリ(25−h)上のLDEV内トラック番号をトラックエントリ(25−f)に登録し、割り当て判定情報を「割り当て済み」に設定する。また、コマンド制御部211は、トラックエントリ(25−h)を削除する。
このトラックエントリの再配置を、ガベージコレクションと呼ぶ。
Next, a description will be given of garbage collection and allocated page release processing that accompany the allocated track release processing in the virtual volume. When one or more track entries (25-g) exist in addition to the track entry (25-f) in the above-described allocated track release processing (RM1) to (RM5), the following (GC1) and (GC2) ) Is executed.
(GC1) The track entry in which the track number in the LDEV is larger than the track number (25-d) and is the largest among the track entries whose assigned determination information on the TMT 1511 (FIG. 15) is “unassigned” (25-h) is acquired.
(GC2) The command control unit 211 registers the track number in the LDEV on the track entry (25-h) in the track entry (25-f), and sets the allocation determination information to “allocated”. In addition, the command control unit 211 deletes the track entry (25-h).
This rearrangement of track entries is called garbage collection.

コマンド制御部211は、ガベージコレクション処理((GC1)と(GC2))により、トラックエントリ(25−h)を削除したならば、前述した割り当て済みトラックの解放処理((RM1)から(RM5))における(RM4)と(RM5)の処理を実施し、割り当て済みページの解放を行うこともできる。本処理により仮想ボリューム上のトラック単位でのリクラメーション及びガベージコレクションが可能となり、効率的なストレージ資源の運用が可能となる。   If the track entry (25-h) is deleted by the garbage collection process ((GC1) and (GC2)), the command control unit 211 releases the allocated track described above ((RM1) to (RM5)). The (RM4) and (RM5) processes in the above can be performed to release the allocated page. This process enables reclamation and garbage collection in units of tracks on the virtual volume, and enables efficient use of storage resources.

次に、本発明の第4の実施例である仮想ボリューム属性のHDEV311のオーナ権移動処理(管理端末計算機103からオーナ権移動指示をコマンド制御部211が受信した場合)の動作を、図26で説明する。コマンドパラメータは、オーナ権移動対象HDEV番号(26−a)、オーナ権移動元MPPK番号(26−b)、オーナ権移動先MPPK番号(26−c)などがある。   Next, FIG. 26 shows the operation of ownership transfer processing of the virtual volume attribute HDEV 311 (when the command control unit 211 receives an ownership transfer instruction from the management terminal computer 103) according to the fourth embodiment of the present invention. explain. Command parameters include ownership transfer target HDEV number (26-a), ownership transfer source MPPK number (26-b), ownership transfer destination MPPK number (26-c), and the like.

コマンド制御部211は、オーナ権移動元MPPK番号(26−b)に対応するMPPK内のLM142にキャッシングしているトラックエントリの中から、オーナ権移動対象HDEV番号のHDEV内のTMT1511に登録されているトラックエントリを取得し、LM142上から全て破棄する。   The command control unit 211 is registered in the TMT 1511 in the HDEV of the ownership transfer target HDEV number from the track entries cached in the LM 142 in the MPPK corresponding to the ownership transfer source MPPK number (26-b). All track entries are acquired and discarded from the LM 142.

コマンド制御部211は、MPPK番号とHDEV番号との対応を管理する管理テーブル401(図5)上のオーナ権移動対象HDEV番号(26−a)に対応するオーナ権エントリ(MPPK番号)を取得する。オーナ権エントリのMPPK番号フィールド501を、オーナ権移動先MPPK番号(26−c)に設定する。以上が、仮想ボリューム属性のHDEV311のオーナ権移動処理である。これにより、柔軟なオーナ権の変更(移動)が可能となり、オーナ権を委譲されたMP141がトラックマッピング情報をアクセスできる。   The command control unit 211 acquires the ownership entry (MPPK number) corresponding to the ownership transfer target HDEV number (26-a) on the management table 401 (FIG. 5) that manages the correspondence between the MPPK number and the HDEV number. . The MPPK number field 501 of the ownership entry is set to the ownership transfer destination MPPK number (26-c). The above is the ownership transfer processing of the virtual volume attribute HDEV 311. As a result, the owner right can be flexibly changed (moved), and the MP 141 to which the owner right has been delegated can access the track mapping information.

次に、本発明の第5の実施例であるファイル単位でのアクセス動作について、図28と図29で説明する。図28は、図1と同様、ストレージシステムの全体構成を示すブロック構成図である。図1との相違は、NFS/CIFSクライアント104が通信線117を介しネットワーク111に接続され、ストレージ装置101に対しファイル単位でアクセスするものである。   Next, an access operation in units of files according to the fifth embodiment of the present invention will be described with reference to FIGS. FIG. 28 is a block diagram showing the overall configuration of the storage system, as in FIG. The difference from FIG. 1 is that the NFS / CIFS client 104 is connected to the network 111 via the communication line 117 and accesses the storage apparatus 101 in units of files.

次に、図29に、NFS/CIFSクライアント104とストレージ装置101間でやり取りするファイル290を示す。ファイル290は、メタ情報部291とデータ部292から構成される。また、メタ情報部291は、ファイル名2911、ファイルタイプ2912、ファイルサイズ2913、メタ情報部291とデータ部292の開始位置であるオフセット2914、ファイルが作成、更新、参照(読み出し)された日付情報2915を有する。ファイル290のメタ情報部291が、MFホスト計算機102からブロック単位アクセスでのトラック制御情報に該当する。   Next, FIG. 29 shows a file 290 exchanged between the NFS / CIFS client 104 and the storage apparatus 101. The file 290 includes a meta information part 291 and a data part 292. The meta information part 291 includes a file name 2911, a file type 2912, a file size 2913, an offset 2914 that is a start position of the meta information part 291 and the data part 292, and date information when the file is created, updated, and referenced (read). 2915. The meta information part 291 of the file 290 corresponds to the track control information in block unit access from the MF host computer 102.

次に動作についてライトアクセス要求を例に説明する。NFS/CIFSクライアント104からストレージ装置101に対し、ファイル290の書き込み(ライトコマンドの発行)が要求される。その要求は、通信線117に接続されたネットワーク111と通信線115を経由してストレージ装置101に伝送される。ストレージ装置101ではNIC125が要求を受信し、SWPK126で処理を担当するMPPK123に要求を転送する。   Next, the operation will be described by taking a write access request as an example. The NFS / CIFS client 104 requests the storage apparatus 101 to write the file 290 (issue a write command). The request is transmitted to the storage apparatus 101 via the network 111 and the communication line 115 connected to the communication line 117. In the storage apparatus 101, the NIC 125 receives the request, and the SWPK 126 transfers the request to the MPPK 123 in charge of processing.

MFホスト計算機102からのライトアクセス時の制御情報は、図17で説明したように、HDEV番号、HDEV内のトラック番号およびトラックサイズである。NFS/CIFSクライアント104からライトアクセスでは、メタ情報部291の情報が、MFホスト計算機102からのライトアクセス時の制御情報に該当する。データ書き込み領域の単位も、ページサイズ(例えば、59,392×672バイト)単位に合わせる。   As described with reference to FIG. 17, the control information at the time of write access from the MF host computer 102 includes the HDEV number, the track number in the HDEV, and the track size. In the write access from the NFS / CIFS client 104, the information in the meta information unit 291 corresponds to the control information at the time of write access from the MF host computer 102. The unit of the data writing area is also adjusted to the page size (for example, 59,392 × 672 bytes).

以上の処理により、MFホスト計算機102によるホスト系アクセス(ブロック単位アクセス)だけでなく、NFS/CIFSクライアント104によるオープン系アクセス(ファイル単位アクセス)も可能である。   Through the above processing, not only host system access (block unit access) by the MF host computer 102 but also open system access (file unit access) by the NFS / CIFS client 104 is possible.

前記実施例1から実施例5で説明したように、分散メモリ型システムの階層メモリ化したトラックマッピング情報へオーナ権が跨らないようにアクセスできる。また、通常ボリュームから仮想ボリュームへのデータコピー処理においても、階層メモリ化したトラックマッピング情報に対して、オーナ権が跨らないようにアクセスできる。さらに、仮想ボリューム上のトラック単位でのリクラメーション及びガベージコレクションが可能となり、効率的なストレージ資源の運用が可能となる。なお、本発明は前記実施例に限定されるものでない。   As described in the first embodiment to the fifth embodiment, it is possible to access the track mapping information formed in the hierarchical memory of the distributed memory system so that the ownership does not straddle. Further, even in the data copy processing from the normal volume to the virtual volume, it is possible to access the track mapping information in the hierarchical memory so that the owner right does not straddle. Furthermore, reclamation and garbage collection can be performed in units of tracks on the virtual volume, and efficient storage resource operations can be performed. In addition, this invention is not limited to the said Example.

本発明は、大型コンピュータ、サーバやパーソナルコンピュータなどの情報処理装置、ストレージシステムやHDDレコーダなどの情報・映像記憶装置などに適用できる。   The present invention can be applied to information processing apparatuses such as large computers, servers and personal computers, and information / video storage apparatuses such as storage systems and HDD recorders.

101 複数のストレージ装置
102 MF(Main Frame)ホスト計算機
103 管理端末計算機
104 NFS/CIFSクライアント
111、112 ネットワーク
113、114、115、116 通信線
121 CHAPK(Channel Adapter PacKage)
122 DKAPK(DisK Adapter PacKage)
123 MPPK(Micro Processor PacKage)
124 CMPK(Cache Memory PacKage)
125 NIC(Network Interface Card)
126 SWPK(Switch PacKage)
131 ストレージコントローラ
132、314 ディスク
141 MP(Micro Processor)
142 LM(Local Memory)
143 SM(Shared Memory)
144 CM(Cache Memory)
201 マイクロプログラム
202 CM制御情報
203 管理テーブルのキャッシュ
211 コマンド制御部
212 RAID制御部
213 オーナ権制御部
290 ファイル
291 メタ情報部
292 データ部
301、3011,3012 OS(Operating System)
311 ホスト用論理デバイス(HDEV)
312 論理デバイス(LDEV)
313 プール
401 MPPK番号−HDEV番号対応管理テーブル
402 HDEV番号−LDEV番号対応管理テーブル
403 HDEV番号フィールド−ボリュームサイズ対応管理テーブル
404 HDEV番号−ボリューム属性対応管理テーブル
405 HDEV番号−ディスク番号対応管理テーブル
406 LDEV番号−プール番号−PMT(Page Mapping Table)アドレス対応管理テーブル
407 プール番号−ディスク番号対応管理テーブル
408 PMT(Page Mapping Table)
409 PMT管理ディレクトリ
410 TMT(Track Mapping Table)管理ディレクトリ
501 MPPK番号フィールド
502 HDEV番号フィールド
601 HDEV番号フィールド
602 LDEV番号フィールド
701 HDEV番号フィールド
702 ボリュームサイズフィールド
801 HDEV番号フィールド
802 ボリューム属性フィールド
901 HDEV番号フィールド
902 ディスク番号フィールド
1001 LDEV番号フィールド
1002 プール番号フィールド
1003 PMTアドレスフィールド
1101 プール番号フィールド
1102 ディスク番号フィールド
1201 ページ番号フィールド
1202 ページ種別フィールド
1203 LDEV内のページ先頭アドレスフィールド
1204 ディスク番号フィールド
1205 ディスク内のページ先頭アドレスフィールド
1206 ページ割り当て済み判定情報フィールド、
1301 LDEV番号フィールド
1302 PMTアドレスフィールド
1401 LDEV番号フィールド
1402 LDEV内の初期データトラック番号フィールド
1403 LDEV内次割り当てトラック番号フィールド
1511 TMTテーブル
1501 HDEV内のトラック番号フィールド
1502 LDEV内のトラック番号フィールド
1503 トラック割り当て済み判定情報フィールド
1811 コピーBMテーブル
1801 トラック番号フィールド
1802 コピー状態フィールド
1911 トラック番号と更新状態とを管理するテーブル(差分BMテーブル)
1901 トラック番号フィールド
1902 更新状態フィールド
2011 ペア管理テーブル
2001 ペア番号フィールド
2002 コピー元HDEV番号フィールド
2003 コピー元トラック範囲フィールド
2004 コピー先HDEV番号フィールド
2005 コピー先トラック範囲フィールド
2006 コピーBMテーブルアドレスフィールド
2007 差分BMテーブルアドレスフィールド
2911 ファイル名
2912 ファイルタイプ
2913 ファイルサイズ
2914 オフセット
2915 日付情報
101 Multiple Storage Devices 102 MF (Main Frame) Host Computer 103 Management Terminal Computer 104 NFS / CIFS Client 111, 112 Network 113, 114, 115, 116 Communication Line 121 CHAPK (Channel Adapter PacKage)
122 DKAPK (DisK Adapter PacKage)
123 MPPK (Micro Processor PacKage)
124 CMPK (Cache Memory PacKage)
125 NIC (Network Interface Card)
126 SWPK (Switch PacKage)
131 Storage Controller 132, 314 Disk 141 MP (Micro Processor)
142 LM (Local Memory)
143 SM (Shared Memory)
144 CM (Cache Memory)
201 Microprogram 202 CM control information 203 Management table cache 211 Command control unit 212 RAID control unit 213 Ownership control unit 290 File 291 Meta information unit 292 Data unit 301, 3011, 3012 OS (Operating System)
311 Logical device for host (HDEV)
312 Logical device (LDEV)
313 Pool 401 MPPK number-HDEV number correspondence management table 402 HDEV number-LDEV number correspondence management table 403 HDEV number field-Volume size correspondence management table 404 HDEV number-volume attribute correspondence management table 405 HDEV number-disk number correspondence management table 406 LDEV Number-Pool Number-PMT (Page Mapping Table) Address Management Table 407 Pool Number-Disk Number Management Table 408 PMT (Page Mapping Table)
409 PMT management directory 410 TMT (Track Mapping Table) management directory 501 MPPK number field 502 HDEV number field 601 HDEV number field 602 LDEV number field 701 HDEV number field 702 Volume size field 801 HDEV number field 802 Volume attribute field 901 HDEV number field 902 Disk number field 1001 LDEV number field 1002 Pool number field 1003 PMT address field 1101 Pool number field 1102 Disk number field 1201 Page number field 1202 Page type field 1203 Page head address field in LDEV 1204 Disk number field 1205 Top of page address field 1206 page assigned judgment information field in the disk,
1301 LDEV number field 1302 PMT address field 1401 LDEV number field 1402 Initial data track number field in LDEV 1403 Next allocated track number field in LDEV 1511 TMT table 1501 Track number field in HDEV 1502 Track number field in LDEV 1503 Track allocated Judgment information field 1811 Copy BM table 1801 Track number field 1802 Copy status field 1911 Table for managing track number and update status (difference BM table)
1901 Track number field 1902 Update status field 2011 Pair management table 2001 Pair number field 2002 Copy source HDEV number field 2003 Copy source track range field 2004 Copy destination HDEV number field 2005 Copy destination track range field 2006 Copy BM table address field 2007 Difference BM table Address field 2911 File name 2912 File type 2913 File size 2914 Offset 2915 Date information

Claims (2)

計算機に接続されるストレージシステムにおいて、
前記計算機と接続されるインタフェース部と、
前記インタフェース部に接続され、複数のマイクロプロセッサより構成する複数の制御部と、
前記複数の制御部が共有してアクセスする共有メモリと、
前記制御部のマイクロプロセッサが共有してアクセスするローカルメモリと、
前記計算機が使用するデータを格納する物理記憶デバイスと、
トラックの集合で構成され、前記計算機に割り当てる第1の論理記憶領域と
1または複数のトラックで構成されるページで管理され、前記第1の論理記憶領域に割り当てる第2の論理記憶領域と、
前記物理記憶デバイスから構成される物理記憶領域と
を設け、
前記第1の論理記憶領域のトラック番号と前記第2の論理記憶領域のトラック番号とトラック割り当て状態とを対応付ける第1のテーブルを前記第2の論理記憶領域に配置し、当該第1のテーブルを用いて前記第1の論理記憶領域を前記第2の論理記憶領域に割り当て、
前記第2の論理記憶領域のページと前記物理記憶領域のページとページ割り当て状態とを対応付ける第2のテーブルを前記共有メモリに配置し、当該第2のテーブルを用いて前記第2の論理記憶領域を前記物理記憶領域に割り当て、
前記計算機から前記第1の論理記憶領域へアクセス要求があった場合に、前記複数の制御部より選択された制御部だけが前記第1のテーブルおよび前記第2のテーブルを参照して当該アクセス要求を処理し、
前記アクセス要求がデータライト要求であった時、前記制御部は、ライト対象トラックにデータライトをした後に、前記ライト対象トラック内にデータライト要求の対象データを格納するレコードの存在の有無を判定し、該レコードが存在しない場合には、前記第1のテーブルから前記ライト対象トラックのエントリを削除して当該トラックの割り当てを解放する
ことを特徴とするストレージシステム。
In a storage system connected to a computer,
An interface unit connected to the computer;
A plurality of control units connected to the interface unit and configured by a plurality of microprocessors;
A shared memory shared and accessed by the plurality of control units;
A local memory shared and accessed by the microprocessor of the control unit;
A physical storage device for storing data used by the computer;
A first logical storage area composed of a set of tracks and assigned to the computer ;
A second logical storage area managed by a page composed of one or a plurality of tracks and assigned to the first logical storage area;
Providing a physical storage area composed of the physical storage device,
A first table for associating a track number of the first logical storage area with a track number of the second logical storage area and a track assignment state is arranged in the second logical storage area, and the first table is Assigning the first logical storage area to the second logical storage area,
A second table for associating a page of the second logical storage area with a page of the physical storage area and a page allocation state is arranged in the shared memory, and the second logical storage area is used by using the second table. Is assigned to the physical storage area,
When there is the access request from the computer to the first logical storage area, the access control only unit selected from the previous SL plurality of controller by referring to the first table and said second table Process the request,
When the access request is a data write request, the control unit performs data write to the write target track, and then determines whether there is a record storing the target data of the data write request in the write target track. When the record does not exist , the storage system is characterized in that the entry of the write target track is deleted from the first table and the allocation of the track is released.
請求項1に記載のストレージシステムであって、
前記制御部は、前記ライト対象トラックへの割り当てを解放した後に、前記第1のテーブルを参照して、前記ライト対象トラックを含むページ内に当該トラック以外で割り当て済みのトラックの有無を判定し、該トラックが無い場合には前記第2のテーブルから前記ページのエントリを削除して当該ページの割り当てを解放する
ことを特徴とするストレージシステム。
The storage system according to claim 1,
The control unit, after releasing the allocation to the write target track, refers to the first table , determines whether there is a track allocated other than the track in the page including the write target track, If there is no such track, the storage system is characterized in that the page entry is deleted from the second table and the allocation of the page is released.
JP2015024852A 2015-02-12 2015-02-12 Storage system using real storage area dynamic allocation method Active JP5986652B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015024852A JP5986652B2 (en) 2015-02-12 2015-02-12 Storage system using real storage area dynamic allocation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015024852A JP5986652B2 (en) 2015-02-12 2015-02-12 Storage system using real storage area dynamic allocation method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013548514A Division JP5698381B2 (en) 2011-08-04 2011-08-04 Storage system using real storage area dynamic allocation method

Publications (2)

Publication Number Publication Date
JP2015127967A JP2015127967A (en) 2015-07-09
JP5986652B2 true JP5986652B2 (en) 2016-09-06

Family

ID=53837905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015024852A Active JP5986652B2 (en) 2015-02-12 2015-02-12 Storage system using real storage area dynamic allocation method

Country Status (1)

Country Link
JP (1) JP5986652B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6994640B2 (en) 2020-06-22 2022-01-14 東洋インキScホールディングス株式会社 Adhesive resin composition, sheet, lid material, member set and container using the composition

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5183403B2 (en) * 2008-09-30 2013-04-17 株式会社日立製作所 Storage system, control program, and storage system control method
JP5540636B2 (en) * 2009-10-02 2014-07-02 日本電気株式会社 Storage system, storage device, storage content replication method and program for storage device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6994640B2 (en) 2020-06-22 2022-01-14 東洋インキScホールディングス株式会社 Adhesive resin composition, sheet, lid material, member set and container using the composition

Also Published As

Publication number Publication date
JP2015127967A (en) 2015-07-09

Similar Documents

Publication Publication Date Title
JP5698381B2 (en) Storage system using real storage area dynamic allocation method
US9747036B2 (en) Tiered storage device providing for migration of prioritized application specific data responsive to frequently referenced data
US9456049B2 (en) Optimizing distributed data analytics for shared storage
US9594514B1 (en) Managing host data placed in a container file system on a data storage array having multiple storage tiers
JP4943081B2 (en) File storage control device and method
US9229870B1 (en) Managing cache systems of storage systems
US8639898B2 (en) Storage apparatus and data copy method
JP5309259B2 (en) Storage apparatus and control method thereof
WO2011104741A1 (en) Management system for storage system and method for managing storage system
US10572184B2 (en) Garbage collection in data storage systems
EP2107450A1 (en) Storage system
JP2009181148A (en) Storage subsystem
JP2008033911A (en) Method and device for migrating data between storage volumes
WO2015125221A1 (en) Storage system and migration method
US11099768B2 (en) Transitioning from an original device to a new device within a data storage array
US20170116087A1 (en) Storage control device
US8527732B2 (en) Storage system and method of controlling storage system
JP5986652B2 (en) Storage system using real storage area dynamic allocation method
US9239681B2 (en) Storage subsystem and method for controlling the storage subsystem
EP1705555B1 (en) Storage system
JP2021196737A (en) Storage device and data migration method
US8799429B1 (en) Boot acceleration by consolidating client-specific boot data in a data storage system
JP6231685B2 (en) Storage system and notification control method
US9223510B2 (en) Optimizing storage utilization by modifying a logical volume offset
WO2016027370A1 (en) Archive control system and method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160126

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160323

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160805

R150 Certificate of patent or registration of utility model

Ref document number: 5986652

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150