JP2008269623A - Remote disk controller, remote disk control method, and remote disk control system - Google Patents
Remote disk controller, remote disk control method, and remote disk control system Download PDFInfo
- Publication number
- JP2008269623A JP2008269623A JP2008125040A JP2008125040A JP2008269623A JP 2008269623 A JP2008269623 A JP 2008269623A JP 2008125040 A JP2008125040 A JP 2008125040A JP 2008125040 A JP2008125040 A JP 2008125040A JP 2008269623 A JP2008269623 A JP 2008269623A
- Authority
- JP
- Japan
- Prior art keywords
- track
- format
- remote
- factory
- host
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、記憶デイスクを有するデイスクドライブを制御するリモートデイスク制御装置、リモートデイスク制御方法及びリモートデイスク制御システムに関する。 The present invention relates to a remote disk control device, a remote disk control method, and a remote disk control system that control a disk drive having a storage disk.
RAIDシステム等のデイスクファイルシステムが、計算機センターの大量データの記憶システムとして利用されている。図27は、従来技術の説明図、図28は、CKDフォーマットの説明図、図29は、磁気ディスクの説明図である。 A disk file system such as a RAID system is used as a mass data storage system in a computer center. FIG. 27 is an explanatory diagram of the prior art, FIG. 28 is an explanatory diagram of the CKD format, and FIG. 29 is an explanatory diagram of the magnetic disk.
図27に示すように、ホストコンピュータ100にデイスク制御装置(以下、FCU: File Control Unitと称する)200が接続されている。FCU200には、磁気デイスクドライブ210が接続されている。RAIDシステムは、大型機向けの高価なデイスクを、複数の小型機向け小容量のデイスクで置き換えたものであり、データの保全、冗長性で優れている。
As shown in FIG. 27, a disk control device (hereinafter referred to as FCU: File Control Unit) 200 is connected to the
FCU200は、各々MPUを持った、幾つかの機能単位である、CA(Channel Adapter)220、CM(Centralized Module)230、DA(Device Adapter)250等と、磁気ディスク210、機能制御に使用するデータを保管するメモリ、およびキャッシュメモリ240、それらを接続するバス260で構成されている。
The FCU 200 has several functional units each having an MPU, such as a CA (Channel Adapter) 220, a CM (Centralized Module) 230, a DA (Device Adapter) 250, a
FCU200は、接続された磁気ディスク210にデータを保持しているため、ホスト100からの入出力要求があると、磁気ディスク210からキャッシュメモリ240へデータを展開(ステージング動作)し、入出力処理はすべてキャッシュメモリ240を介して行う。ただし、ホスト100からの入出力要求時に、すでにキャッシュメモリ240上に対象データがある場合(キャッシュヒット)は、キャッシュメモリ240上のデータを読み書きして、ホスト100へ処理の終了を通知する。
Since the FCU 200 holds data on the connected
FCU200は,基幹系業務(データ更新が勘定・物流に対応するようなDB処理)や情報系業務(情報検索や加工処理)に用いられ、更に大量のデータの受け渡しが必要なため、高速化かつ大容量化が求められている。 FCU200 is used for mission-critical work (DB processing where data update corresponds to account / logistics) and information-related work (information retrieval and processing), and because it requires the delivery of a large amount of data, it is faster and faster. Large capacity is required.
このような大容量システムでは、FCU200に接続される磁気ディスク210の各トラックは、図28に示すようなCKDトラックフォーマットを採用している。図29に示すように、磁気デイスク210の一枚のデイスク280は、同心円状の複数のトラックを有する。例えば、10000トラック程度有する。
In such a large capacity system, each track of the
全てのトラックはインデックスマークで始まりインデックスマークで終わる。各トラックはHA(ホームアドレス)、R0(レコード0)、とユーザデータレコードRn(レコードR1〜Rn)から構成されている。 All tracks start with an index mark and end with an index mark. Each track is composed of HA (home address), R0 (record 0), and user data records Rn (records R1 to Rn).
HAは、各トラックの最初のブロック情報であり、そのトラックの状態(正常、不良、交代の区別など)及びトラックの物理位置を示す。レコードR0,Rnは、Count部(8byte),Key部(0〜255byte),Data部(0〜47476byte)からなる。Count部には、Key部の長さ、Data部の長さ等が格納される。Key部、Data部は、ユーザーデータを格納する。レコードR0は、Count部、Data部からなり、Data部に、交代トラックアドレス等が格納される(例えば、特許文献1参照)。 HA is the first block information of each track, and indicates the state of the track (normal, defective, change, etc.) and the physical position of the track. Records R0 and Rn are composed of a Count part (8 bytes), a Key part (0 to 255 bytes), and a Data part (0 to 47476 bytes). In the Count part, the length of the Key part, the length of the Data part, and the like are stored. The Key part and Data part store user data. The record R0 includes a count part and a data part, and a replacement track address or the like is stored in the data part (see, for example, Patent Document 1).
従来、この磁気ディスク210は、FCU200の出荷時或いは磁気ディスク210の増設時などに、ユーザデータの存在しない初期状態にフォーマットし、その後実際の運用に使われていた。即ち、図27に示すように、工場もしくはユーザ先において、保守端末(PC等)300を接続し、端末300より磁気ディスク制御装置200に対し、初期化指示を出すことにより実現する。この初期化指示により、磁気ディスク制御装置200は、各トラック上にHAと標準R0(8ByteのCount部と8Byteが全て0であるData部からなるR0)のみを作成する。
Conventionally, the
図27により、従来の初期化(工場)フォーマット手順を説明する。 A conventional initialization (factory) formatting procedure will be described with reference to FIG.
保守端末(PC等)300はCM230にコマンドを発行し、磁気ディスク210の工場フォーマットを指示する((1))。CM230は、保守端末(PC等)300の指示を受け、工場フォーマットのタスクをスケジューリングし、DA250に工場フォーマット実行を指示する((2))。DA250はCM230の指示を受け、DA250の内部バッファにHA/標準R0のデータパターンから成る工場出荷時フォーマットを生成する((3))。DA250は、(3)で生成したデータパターンを磁気ディスク210に書き込む((4))。DA250は、磁気ディスク210上の全トラックに対して、工場フォーマットを行うため、(3)〜(4)を繰り返し、完了したところでCM230に完了通知を行う((5))。CM230は保守端末(PC等)300へ完了通知を行う。
このように、従来の工場フォーマットは、工場出荷時フォーマットデータを直接磁気ディスク210の各トラックに書き込んでいたため、磁気ディスク210に対し、大量のデータ転送が必要であり、フォーマット化に時間がかかる。磁気デイスクドライブは、磁気デイスクの各トラックにヘッドを位置決めして、各トラックにフォーマットを書き込むため、1枚の磁気デイスクの全てのトラック(例えば、1万トラック)には、時間がかかる。
As described above, in the conventional factory format, the format data at the time of shipment from the factory is directly written to each track of the
例えば, メインフレーム系磁気ディスク装置F6427H(富士通製)タイプの工場フォーマットを行うと、1機番(1デイスクドライブ)当り95[秒]かかる。さらに、通常RAIDシステムは、1FCU200に多数のデイスクドライブ210が接続されているから、1FCU200に、64機番の磁気ディスクが接続されていたとすると、101[分]の時間を要することになる。通常のユーザでは、64機番、128機番、256機番の磁気ディスクを接続することを考えれば、工場もしくはユーザ先において数時間の時間がかかり、さらに人件費などコストを要するという問題がある。
For example, if the factory format of the mainframe magnetic disk device F6427H (manufactured by Fujitsu) is performed, it takes 95 [seconds] per unit number (one disk drive). Furthermore, in a normal RAID system, since a large number of
この目的の達成のため、本発明の主ホストからの入出力要求に応じて、記憶デイスクデバイスのデータの入出力制御を行うとともに、副センタのデイスク制御装置と接続されたリモートデイスク制御装置において、前記記憶デイスクデバイスのデータの一部を格納するキャッシュメモリと、前記記憶デイスクデバイスのトラックが所定のトラックフォーマットに初期化済みか否かを示す初期化情報を格納する管理テーブルと、前記ホストからの入出力要求に対し、前記管理テーブルを参照して、初期化済みでないトラックのためのトラックの属性を示すトラックフォーマットパターンの作成を行う制御ユニットと、前記主ホストからのコピー指示に応じて、前記管理テーブルの初期化情報を、副センタのホストに接続され、前記副センタのホストからの入出力要求に対し、前記管理テーブルを参照して、初期化済みでないトラックのためのトラックの属性を示すトラックフォーマットパターンの作成を行う前記デイスク制御装置に転送するリモートユニットとを有する。 In order to achieve this object, in accordance with an input / output request from the main host of the present invention, the data input / output control of the storage disk device is performed, and in the remote disk control device connected to the disk control device of the secondary center, A cache memory for storing a part of the data of the storage disk device, a management table for storing initialization information indicating whether or not a track of the storage disk device has been initialized to a predetermined track format, and from the host In response to an input / output request, referring to the management table, a control unit that creates a track format pattern indicating a track attribute for a track that has not been initialized, and a copy instruction from the main host, The initialization information of the management table is connected to the sub center host and the sub center host To input-output requests from the bets, and a remote unit to transfer the reference to the management table, the disk controller for creating a track format pattern indicating a track attributes for track uninitialized.
本発明では、制御装置内にトラック管理テーブルを設け、工場出荷時フォーマットを示すフラグを設ける。工場フォーマットは、この管理テーブルの工場出荷時フォーマットフラグを“1”に設定し、管理テーブルのみをディスクへ転送することにより実現する。この手法により、高速な工場フォーマットが可能である。 In the present invention, a track management table is provided in the control device, and a flag indicating a factory shipment format is provided. The factory format is realized by setting the factory format flag of this management table to “1” and transferring only the management table to the disk. This method enables high-speed factory formatting.
ホストからのコピー指示に応じて、前記管理テーブルの初期化情報を、副センタのデイスク制御装置に転送するリモートユニットを設けたので、副センタでのコピー処理を、工場フォーマット情報を使用して実行できる。 In response to a copy instruction from the host, a remote unit is provided to transfer the initialization information of the management table to the disk control device of the secondary center, so copy processing at the secondary center is executed using factory format information. it can.
又、本発明では、前記制御ユニットは、外部からの指示に応じて、前記管理テーブルに前記初期化済みかのフラグを設定し、前記記憶デイスクデバイスのトラックのトラックフォーマットの初期化を行うことにより、容易に初期化処理が可能となる。 In the present invention, the control unit sets a flag indicating whether the initialization has been completed in the management table in accordance with an instruction from the outside, and initializes the track format of the track of the storage disk device. Thus, the initialization process can be easily performed.
更に、本発明では、前記制御ユニットは、前記ホストからのライト要求に対し、前記ライトデータを前記キャッシュメモリに展開した後、前記記憶デイスクデバイスに前記トラックフォーマットとともに、書き込むことにより、デイスクに実フォーマットを形成できる。 Further, according to the present invention, in response to a write request from the host, the control unit develops the write data in the cache memory, and then writes the data together with the track format to the actual format on the disk. Can be formed.
更に、本発明では、前記制御ユニットは、前記ホストからのリード要求に対し、前記管理テーブルを参照し、前記トラックフォーマットを作成して、前記ホストに応答することにより、このようにしても、ホストへ応答できる。 Further, in the present invention, the control unit refers to the management table in response to a read request from the host, creates the track format, and responds to the host. Can respond.
更に、本発明では、複数のトラックフォーマットパターンを格納するリストテーブルを設け、前記制御ユニットは、前記ホストからの入出力要求に対し、前記管理テーブルを参照して、前記リストテーブルで指定されたトラックフォーマットの作成を行うことにより、ユーザ任意のフォーマットで工場フォーマットを可能にする。 Furthermore, in the present invention, a list table for storing a plurality of track format patterns is provided, and the control unit refers to the management table in response to an input / output request from the host, and specifies a track specified in the list table. By creating the format, the user can format the factory in any format.
又、本発明では、前記リモートユニットは、前記初期化済みでないトラックに関する情報を、転送することにより、転送量を減少できる。 In the present invention, the remote unit can reduce the transfer amount by transferring the information on the uninitialized track.
更に、本発明では、前記リモートユニットは、前記初期化済みでないトラックの範囲を転送することにより、より転送量を減少できる。 Furthermore, in the present invention, the remote unit can further reduce the transfer amount by transferring the uninitialized track range.
更に、本発明では、前記リモートユニットは、前記初期化済みでないトラックに対し、トラックフォーマットを作成し、作成されたトラックフォーマットを、転送することにより、副センタは工場フォーマットを意識せずに、コピー処理を実行できる。 Furthermore, in the present invention, the remote unit creates a track format for the non-initialized track, and transfers the created track format so that the sub-center can copy without being aware of the factory format. Processing can be executed.
以下、本発明の実施の形態を、磁気ディスク制御システム、工場フォーマット処理、リード/ライト処理、リモート磁気デイスク制御システム、第1のボリュームコピー処理、第2のボリュームコピー処理、第3のボリュームコピー処理、他の実施の形態の順で説明する。 Hereinafter, embodiments of the present invention will be described with reference to a magnetic disk control system, factory format processing, read / write processing, remote magnetic disk control system, first volume copy processing, second volume copy processing, and third volume copy processing. These will be described in the order of other embodiments.
[磁気デイスク制御システム]
図1は、本発明の一実施の形態のデイスク制御システムの構成図であり、磁気デイスクを使用したRAIDシステムを示す。図1に示すように、磁気デイスク制御装置(以下FCUという)1は、計算機センタ(ホスト)3の大量のデータをRAIDディスクドライブ(以下、デイスクという)2へ高速かつ、ランダムに読み書きが出来るシステムである。
[Magnetic disk control system]
FIG. 1 is a configuration diagram of a disk control system according to an embodiment of the present invention, and shows a RAID system using a magnetic disk. As shown in FIG. 1, a magnetic disk control device (hereinafter referred to as FCU) 1 is a system that can read and write a large amount of data from a computer center (host) 3 to a RAID disk drive (hereinafter referred to as disk) 2 at high speed and randomly. It is.
FCU1は、CA10 / CM12 / DA16 の3つのファンクションモジュールによって構成されている。これらの3つのファンクションモジュールは、FCU1内部のアクションを行うための役割分担が決められており、処理の一極集中による負担を軽減している。また、モジュール間のコミュニケーション・インタフェースは、メッセージやACBと呼ばれるものを用いて処理内容や、各モジュールの状態の伝達を行っている。
The FCU 1 includes three function modules CA10 / CM12 / DA16. These three function modules are assigned roles for performing actions inside the
各ファンクション・モジュール10、12、16の役割分担の概要を以下に説明する。CA(Channel Adapter)10は、FCU1とHOST3を結ぶホスト・インタフェースの制御をつかさどるモジュールである。CA10は、HOST3よりデータのWrite / Readオペレーション要求を受領すると、CM12に対して処理要求を通知したり、CM12上のCache Memory14に直接アクセスして、HOST3間でのデータ転送を行う。
An outline of the role sharing of each
CM(Centralized Module)12は、リソース管理(各モジュールの資源や、有効な制御管理を行う)と、Cache Memory管理(メモリ領域の割り当て管理、制御全般を行う)と、サービス処理(メンテナンス用ツールにより、各種サービスを提供する機能である)を行う。また、CM12には、RAID Disk2から読み込んだデータを蓄えるCache Memory(数ギガ)14が内蔵されている。
The CM (Centralized Module) 12 includes resource management (performs resource management of each module and effective control management), cache memory management (performs management of memory area allocation and overall control), and service processing (using a maintenance tool). Is a function that provides various services). In addition, the
DA(Device Adapter)16は、FCU1とデバイス(磁気ディスク)2とのデバイス・インタフェースの制御を担うモジュールであり、CM12からの指示によりデバイス2への処理を行う。
The DA (Device Adapter) 16 is a module that controls the device interface between the
このRAID(Redundant Arrays of Inexpensive Disk)は、大型機向けの高価なディスクを、複数の小型機向けの小容量、安価なディスクで置き換え、データの保全、冗長性を保証するディスクシステムである。 This RAID (Redundant Array of Inexpensive Disk) is a disk system that guarantees data integrity and redundancy by replacing expensive disks for large machines with small capacity and inexpensive disks for multiple small machines.
後述するTFT(Track Format Table)20は、デイスク2上のフォーマットの状態を示す8バイトの情報であり、このテーブル20は、CM12のCache メモリ14上に存在する。1Trackあたり一つのTFTが存在し、TFTには、トラック内に存在するレコード数、Data部のデータ長、Flag(多目的で使用)が格納されている。CA10はこのTFT20により、Cache12上の実Trackを調べることなくTrack Formatを認識する事ができる。TFT20は、ホスト3からのWrite I/Oによってトラックフォーマットが変更された際、CA10によって書きかえられる。
A TFT (Track Format Table) 20, which will be described later, is 8-byte information indicating the format state on the
次に、Factory Format(工場フォーマット)を説明する。従来, メインフレーム系のディスクは工場でCKD論理フォーマット(HA/標準R0のみ作成)を行い, その後, 実際の運用で使用されていた。しかし, ディスクを物理的にフォーマットするため, フォーマットに関する時間・コストを要する。そこで、それらの時間・コストを削減するため、物理的なフォーマットを行わず、TFT20上でCKD論理フォーマットを行う。具体的には、 TFT20に“Factory Format”というフラグを設け, 全トラックのTFT20に対して、このフラグを“1”にセットすることで実現する。
Next, Factory Format will be described. Traditionally, mainframe disks were CKD logical format (created only for HA / standard R0) at the factory and then used in actual operation. However, formatting the disk physically requires time and cost for formatting. Therefore, in order to reduce the time and cost, CKD logical formatting is performed on the
そのため、Factory Formatとは、工場出荷時のCKD論理フォーマットを示すものであるが, 実際のディスク2上には、有効なデータは存在しない。このトラックに対するホスト3からのI/Oに対して, CA10は、ディスク2上にあたかもHA/標準R0があるように振舞わなくてはならない。
Therefore, Factory Format indicates the CKD logical format at the time of shipment from the factory, but there is no valid data on the
[工場フォーマット処理]
図2は、本発明の一実施の形態のフォーマット処理の説明図、図3は、図2のトラック管理テーブルの構成図、図4は、図3のトラック管理テーブルのフォーマット図、図5は、図2のフォーマットリストテーブルの構成図、図6は、図2の磁気デイスクの格納領域の説明図、図7は、図2の管理端末のフォーマット処理フロー図、図8は、図2のCMのフォーマット処理フロー図、図9は、図2のDAのフォーマット処理フロー図である。
[Factory format processing]
2 is an explanatory diagram of format processing according to an embodiment of the present invention, FIG. 3 is a configuration diagram of the track management table of FIG. 2, FIG. 4 is a format diagram of the track management table of FIG. 3, and FIG. 2 is a configuration diagram of the format list table in FIG. 2, FIG. 6 is an explanatory diagram of the storage area of the magnetic disk in FIG. 2, FIG. 7 is a format processing flow diagram of the management terminal in FIG. 2, and FIG. FIG. 9 is a format processing flowchart of the DA of FIG. 2.
図2において、図1で示したものと同一のものは、同一の記号で示してある。図2に示すように、工場フォーマット処理では、FCU1内にトラック管理テーブル(以下、TFT:Track Format Tableと称する)20を持つ。TFT20は、図3に示すように、各機番の1トラック毎に8Byteの管理情報を持つテーブルから成る。
2 that are the same as those shown in FIG. 1 are denoted by the same symbols. As shown in FIG. 2, in the factory format process, the
図4に示すように、各トラックのTFT管理情報は、トラックアドレスCCHH(0〜2byte)、1バイトのフラグ、そのトラックのレコード数、レコード番号、レコード長からなる。このフラグは、工場出荷時フォーマットを示すフラグと、トラックフォーマットパターンを示すフラグ#1〜#Nからなる。即ち、FCU1内部で管理されるトラックテーブルTFT20に、工場出荷時フォーマットを示すフラグを設ける。
As shown in FIG. 4, the TFT management information of each track includes a track address CCHH (0 to 2 bytes), a 1-byte flag, the number of records in the track, a record number, and a record length. This flag is composed of a flag indicating a factory default format and
工場フォーマット方法は、このTFT20の工場出荷時フォーマットフラグを“1”に設定し、TFT20のみを磁気ディスク2へ転送することにより実現する。図6に示すように、各機番のユーザデータ領域以外の管理領域の一部のTFT領域にこのTFT20が格納される。TFT領域は、磁気デイスクの10トラック数以内であるため、従来の磁気ディスクの各トラックへの書き込みを必要としていたものが不要になるため、高速な工場フォーマットが可能である。
The factory formatting method is realized by setting the factory format flag of the
また、図2に示すように、FCU1内に工場フォーマットリストテーブル(以下、FFLT:Factory Format List Tableと称する)22を設けることで、ユーザ任意のフォーマットで工場フォーマットを可能にする。図5に示すように、FFLT22は、複数の工場出荷時トラックフォーマットパターンを記憶することが可能であり、ユーザは保守端末(PC等)4より任意のパターンを複数設定可能である。
Also, as shown in FIG. 2, a factory format list table (hereinafter referred to as FFLT: Factory Format List Table) 22 is provided in the
またTFT20には、トラックフォーマットを示すフラグを複数持つことにより、ユーザが任意に設定したトラックフォーマットパターンをフラグに記憶する。ユーザ任意フォーマットによる工場フォーマットは、TFT22のユーザが指定するトラックフォーマットパターンに相当するフラグを“1”に設定し、TFT22のみを磁気ディスクへ転送することにより実現する。
Further, the
図2の保守端末(PC等)4/CM12/DA16の各々のマイクロプログラムを実行することにより、工場フォーマットが行われる。保守端末(PC等)4/CM12/DA16の処理フローを図7,図8、図9にそれぞれに示す。
図2の保守端末(PC等)4/CM12/DA16の各々のマイクロプログラムを実行することにより、工場フォーマットが行われる。保守端末(PC等)4/CM12/DA16の処理フローを図7,図8、図9にそれぞれに示す。
The factory format is performed by executing each microprogram of the maintenance terminal (PC etc.) 4 / CM12 / DA16 of FIG. The processing flow of the maintenance terminal (PC, etc.) 4 / CM12 / DA16 is shown in FIGS. 7, 8, and 9, respectively.
The factory format is performed by executing each microprogram of the maintenance terminal (PC etc.) 4 / CM12 / DA16 of FIG. The processing flow of the maintenance terminal (PC, etc.) 4 / CM12 / DA16 is shown in FIGS. 7, 8, and 9, respectively.
以下に、本発明における磁気ディスクの工場フォーマット処理を図2、図7乃至図9を用いて説明する。 Hereinafter, the factory formatting process of the magnetic disk according to the present invention will be described with reference to FIGS. 2 and 7 to 9.
(1)図7に示すように、保守端末(PC等)4からCM12に対し、工場フォーマット実行指示を出す。また、この時、工場フォーマットの対象機番、対象範囲(トラック範囲)を指示することにより、ユーザが希望する範囲の工場フォーマットを行う。例えば、磁気デイスクシステムが、複数の計算機システムに共用される場合には、そのユーザーの領域のみを工場フォーマットする等が可能である。この工場フォーマット指示において、以下のようなパラメータ設定が可能である。
(1) As shown in FIG. 7, a factory format execution instruction is issued from the maintenance terminal (PC or the like) 4 to the
全部または指定機番
全部または指定トラック
(2)図8に示すように、CM12は、保守端末(PC等)4からの指示に従い、対象機番のTFT20の工場出荷時フォーマットフラグを“1”にセットする。
All or specified machine number All or specified track
(2) As shown in FIG. 8, the
(3)CM12は(2)で更新されたTFT20を磁気ディスク2に書き込むようDA16に指示する。
(3) The
(4)図9に示すように、DA16は、CM12からの指示を受け、TFT20を磁気ディスク2に書き込む。
(4) As shown in FIG. 9, the
(5)DA16は指示された範囲のTFT20を磁気ディスク2へ書き込み、完了すると、CM12に完了を通知する。
(5) The
(6)CM12は、保守端末(PC等)4に工場フォーマットの完了を通知する。
(6) The
(3)〜(6)は、(1)〜(2)とは非同期で行われる。 (3) to (6) are performed asynchronously with (1) to (2).
[工場フォーマット後のリード/ライト処理]
以上のように、本発明では,TFT20に工場出荷時フォーマットフラグ“1”の状態を保持することにより、工場フォーマットを実現しているので、実際の磁気ディスク2上のトラックには有効なデータは存在しない。従って、このトラックに対するホストからのI/O要求(リード/ライト)に対して、FCU1は、磁気ディスク2上にあたかも、HAと標準R0データが存在するように、処理を行わなければならない。この処理は、CA10のマイクロプログラムによって行われる。
[Read / write processing after factory formatting]
As described above, in the present invention, the factory format is realized by holding the state of the factory format flag “1” in the
先ず、図10により、工場フォーマット後のHOST3からのリード要求に対するFCU1の処理について説明する。
First, the processing of the
(S10)HOST3は,工場フォーマットされたトラックに対しリードコマンドを発行する。
(S10) The
(S11)HOST3よりコマンドを受けたCA10は,CM12に対し,HOST3より指定されたトラック等の情報を送信し,リード要求を行う。
(S11) Upon receiving the command from the
(S12)CA10からリード要求されたCM12は、TFT20を参照し、該当トラックの工場出荷時フォーマットのフラグを調べる。
(S12) The
(S13)該当トラックの工場出荷時フォーマットフラグがオンでないことを認識すると、CM12は、キャッシュメモリ14のアロケーション、及び対象トラックがキャッシュ14に無い場合には、対象データの磁気ディスク2からキャッシュメモリ14へのステージングを行う。
(S13) Upon recognizing that the factory shipment format flag of the corresponding track is not on, the
(S14)CA10は,TFT20を参照し,工場出荷時フォーマットフラグがオンであることを認識し、HOST3からのリードコマンドがHA/標準R0に対するものかを調べる。リードコマンドが、HA/標準R0であれば、内部バッファに工場出荷時フォーマットのデータであるHA/標準R0の捏造(作成)を行う。
(S14) The
(S15)CA10は,キャッシュ14又は内部バッファ上のデータをHOST3へ転送する。CA10はHOST3へリード処理完了通知を行う。
(S15) The
(S16)ステップS14でリードコマンドがHA/標準R0でないと、工場フォーマットでは、当該トラックに実フォーマットが形成されていないため、HOST3へデータ無しを通知して、終了する。
(S16) If the read command is not HA / standard R0 in step S14, the actual format is not formed in the track in the factory format, so the
次に、図11により、工場フォーマット直後のライト処理を説明する。 Next, the write processing immediately after the factory format will be described with reference to FIG.
(S20)HOST3は,工場フォーマットされたトラックに対しライトコマンドを発行する。
(S20) The
(S21)コマンドを受けたCA10は,CM12に対し,HOST3より指定されたトラック等の情報を送信し,ライト要求を行う。
(S21) Upon receiving the command, the
(S22)CA10からライト要求されたCM12は、TFT20を参照し、工場出荷時フォーマットフラグがオンであるかをチエックする。
(S22) The
(S23)工場フォーマットフラグがオンでないと、磁気デイスクの該当トラックは、実フォーマット済みのため、CM12は、キャッシュメモリ14のアロケーション、及び対象トラックがキャッシュ14に無い場合には、対象データの磁気ディスク2からキャッシュメモリ14へのステージングを行う。そして、CA10は、HOST3から受けたデータをキャッシュ14に書き込み、ステップS27に進む。
(S23) If the factory format flag is not ON, the corresponding track of the magnetic disk has already been formatted, and therefore the
(S24)一方、工場フォーマットフラグがオンであることを認識すると、CM12はキャッシュメモリ14のアロケーションのみを行い、CA10に処理開始を指示する。
(S24) On the other hand, when recognizing that the factory format flag is on, the
(S25)CA10 は,対象レコードが、HA/R0である時は、HOST3からのHA/R0データをキャッシュメモリ14上に書き込む。一方、対象レコードがHA/R0でない時は、内部バッファ上に、HA/標準R0データの捏造を行い,転送データをキャッシュメモリ14上に書き込み、本来のトラックデータをキャッシュメモリ14上に完成させる。
(S25) CA10 writes the HA / R0 data from HOST3 onto the
(S26)キャッシュメモリ14へのデータ書き込みが完了すると,CA10は当該トラックのTFT20の工場出荷時フォーマットフラグをオフにし、通常トラック状態に更新する。
(S26) When the data writing to the
(S27)CA10は,HOST3へライト処理完了通知を行う。
(S27) The
尚、周知のように、CM12は、HOST3からのI/Oとは、非同期に、DA16を介しキャッシュメモリ14のデータを磁気デイスク2へ書き戻す。これにより、磁気デイスクの該当トラックは、実フォーマット済みとなり、本来のトラックデータが完成する。
As is well known, the
更に、本発明のこの実施の形態では、新たにFFLT22を設け、ユーザが任意のデータパターンから成る工場出荷時フォーマットを指定することができる。図12は、FFLT登録処理の説明図である。以下にFFLT22への工場出荷時フォーマットの登録処理を説明する。
Furthermore, in this embodiment of the present invention, a
保守端末(PC等)4で、工場出荷時フォーマットのデータパターンを設定する((1))。保守端末(PC等)4は、CM12に対し登録した工場出荷時フォーマットのデータパターンをFFLT22に登録するよう指示する((2))。CM12は保守端末(PC等)4の指示を受け、FFLT22に工場出荷時フォーマットのデータパターンを登録する((3))。CM12は保守端末(PC等)4に対し、FFLT22への工場出荷時フォーマットの登録完了を通知する((4))。
On the maintenance terminal (PC etc.) 4, set the data pattern in the factory default format ((1)). The maintenance terminal (PC or the like) 4 instructs the
次に、FFLT22を用いた工場フォーマットの実行処理では、図7乃至図9で説明した処理に、保守端末(PC等)4からFFLT22に登録されたトラックフォーマットパターンを指定する処理を追加する。
Next, in the factory format execution process using the
又、FFLT22を用いたリード処理では、内部バッファにFFLT22の指定されたデータパターンを捏造する。更に、FFLT22を用いたライト処理では、内部バッファ上にFFLT22の指定されたデータパターンの捏造を行い、キャッシュメモリ上に書き込み、本来のトラックデータを磁気ディスク上に完成させる。
In the read processing using the
以上説明したように、本発明によれば、工場フォーマットを従来の磁気ディスクへのアクセスを伴なった方法ではなく、TFT20の工場出荷時フォーマットフラグで実現したので、従来に比べ約1/100の処理時間で工場フォーマットを行うことが可能となり、処理時間の大幅な短縮とそれに伴なうコストの低減が可能となる。
As described above, according to the present invention, the factory format is realized by the factory format flag of the
また、本発明ではFFLT22に任意のデータパターンから成る工場出荷時フォーマットを登録することが可能な為、ユーザ先において任意の工場出荷時フォーマットへの変更が短時間に容易に可能となる。
In the present invention, since a factory format composed of an arbitrary data pattern can be registered in the
[リモート磁気ディスク制御装置(RFCF)]
図13は、図1の磁気デイスク制御装置を利用したリモート磁気ディスク制御装置(以下RFCFという)の構成図である。リモート磁気デイスク制御装置は、遠隔地へデータのバックアップ機能を保持するFCU1のことである。
[Remote magnetic disk controller (RFCF)]
FIG. 13 is a block diagram of a remote magnetic disk control device (hereinafter referred to as RFCF) using the magnetic disk control device of FIG. The remote magnetic disk control device is an
計算機センタ(以下 正センタ)3が、通常の業務と平行して、遠隔地に設けた別のFCU(以下 副センタ)1−1に正センタ1のデータをミラーリングすることにより、大規模な災害がどちらのセンタに発生しても、被災に合わなかったセンタにデータが残る仕組みになっている。
A large-scale disaster can occur when the computer center (hereinafter referred to as the “primary center”) 3 mirrors the data of the
図13に示すように、RFCF1には、FCU1にRA19という通信制御を担うモジュールを加えた構成である。RA(Remote Adapter)19は、通信制御装置(RT;ルータ)5と、FCUとのインタフェースを担うアダプタである。RA19は、RT5,専用回線6、RT5を介し副センタの副FCU1−1のRA19−1に接続される。副FCU1−1も、主FCU(RFCF)1と同一の構成を有し、CA10−1,CM12−1、DA16−1、磁気デイスク2−1、RA19−1を有する。
As shown in FIG. 13, RFCF1 has a configuration in which a module responsible for communication control called RA19 is added to FCU1. The RA (Remote Adapter) 19 is an adapter that serves as an interface between the communication control device (RT; router) 5 and the FCU. The
FCU1では、ACBという内部指示書を利用する。ホストからコマンドで依頼される処理内容(例えばリード)の一連の流れを「オペレーション」と呼び、このオペレーションを遂行する為に必要な個々の内部処理(磁気ディスクより、データをメモリに吸い出す処理等)をアクションと呼ぶ。FCU1では、オペレーションを行う上で必要なアクションを各モジュールに通知する指示書としてACBを用いる。
The
RFCF1では、リアルタイム転送方式が実行される。リアルタイム転送は、正ホスト3からの正FCU1に書きこみ動作(ライトI/O)が行われた際、正FCU1は,自身のRAID DISK(キャッシュ14、磁気デイスク2)にデータを書きこむと同時に、副センタFCU3−1にも同じデータを転送する機能である。
In RFCF1, a real-time transfer method is executed. In real-time transfer, when a write operation (write I / O) is performed from the
このRFCF1では、正側のディスク2内のデータを副側のディスク2−1にコピーして、ミラーリングを行うVolume Pair Copy機能が設けられている。正ホスト3は、正FCU1に、コピーを行うデバイス及びコピー範囲(開始CCHH〜終了CCHH)を指示する事により、正FCU1から副FCU1−1に該当範囲のトラックが全てコピーされる。例えば、既存のシステムで正FCU1を運用後、リモートコピーシステムに変更するため、副FCU1−1を設ける場合に、Volume Pair Copyが利用される。
The
又、図14に示すように、正RA19から副RA19−1には、パケットでデータが転送される。1パケットは、4352byte(256+4096)であり、1トラックを46Kbyteとすると、1トラックは、12パケットで構成される。図15に示すように、先頭の256byteはRA Header60と呼び,正RA19,副RA19−1間のコミュニケーション用として使用される。RAHeaderには、対象Device番号、シリンダ、へッド値が格納されている。パケットの後半4096byteには、ユーザデータ61が格納されている。
Further, as shown in FIG. 14, data is transferred in packets from the
次に、Volume Pair Copy処理を説明する。 Next, Volume Pair Copy processing will be described.
[第1の実施の形態のコピー処理]
RFCF1では、Volume Pair Copyにおいて,当該トラックが工場出荷時フォーマット(以下、Factory Formatという)だった場合は、正センタFCU1のRA19がHA/R0部を捏造し、副センタ1−1に転送する。これにより、Factory Formatを用いても、Volume Pair Copyが実現できる。
[Copy processing of the first embodiment]
In RFCF1, in Volume Pair Copy, when the track is in a factory-shipped format (hereinafter referred to as Factory Format),
図16により、第1の実施の形態のコピー処理内容を説明する。 The contents of copy processing according to the first embodiment will be described with reference to FIG.
(S30)正FCU1は、正HOST3からVolume Pair Copyオペレーション通知を受領する。
(S30) The
(S31)CM12は、TFT20から該当トラックがFactory Formatであるかを判定し、該当トラックがFactory Formatでない場合には、正CM12は、該当Trackをディスク2から読み込み(実際はDAが行う)、自身のCache Memory14上に展開する。又、該当TrackのTFT20がFactory Formatである場合、CM12はこの動作を行わない。
(S31) The
(S32)正CM12は、正RA19に対し、正FCU1側から副FCU1−1側へVolume Pair Copyを行うように通知する。このとき、正CM12は、ACBを介してVolume Pair Copyを行うべきボリューム番号、シリンダアドレス、ヘッド アドレスを正RA19に通知する。また、HA/R0を転送する指示も明記する。
(S32) The
(S33)正RA19は、TFT20を読み込み、該当TrackがFactory Formatであるかどうかを判断する。
(S33) The
(S34)正RA19は、リモート転送の対象トラックがFactory Formatであった場合、HA/R0データを作成(捏造)し、副センタ1−1に転送する。
(S34) If the target track for remote transfer is Factory Format, the
(S35)Factory Formatでなかった場合は、Cache14上より該当Trackを読み込み(1Track)、そのTrackを副センタ1−1に転送する。転送終了後、正RAは副RAからのレスポンスを待つ。副RA19−1は、送られてきたデータを副CM12−1上のCacheメモリ14−1に書きこむ。副RA19−1は,正RA19に対して、当該トラックのリモート転送に対するレスポンスパケットを返送する。
(S35) If the format is not Factory Format, the corresponding track is read from the cache 14 (1 track), and the track is transferred to the sub center 1-1. After the transfer is completed, the primary RA waits for a response from the secondary RA. The secondary RA 19-1 writes the transmitted data to the cache memory 14-1 on the secondary CM 12-1. The secondary RA 19-1 returns a response packet for the remote transfer of the track to the
(S36)正RA19は,副RA19−1よりレスポンスを受信したことにより、正CM12に対し、転送が完了(1Trackのみ)した事を通知する。
(S36) When the
(S37)正FCU1は,Volume Pair Copyの範囲が終了したかを調べ、終了していなければ、ステップS31に戻り、終了するまで、S31〜S36の動作を繰り返す。
(S37) The
図17は、第1の実施の形態でのVolume Pair Copyの範囲トラック1〜15内にトラック4〜7のFactory Format Trackが存在した場合の動作説明図であり、正RA19から副RA19−1へ136パケット転送される。
FIG. 17 is an operation explanatory diagram when the factory format tracks of
[第2の実施の形態のコピー処理]
第1の実施の形態では,n個のFactory Format Trackがあると、転送がn回行われた。第2の実施の形態は、これを1度の転送で済ませるものである。
[Copy processing of the second embodiment]
In the first embodiment, when there are n Factory Format Tracks, transfer is performed n times. In the second embodiment, this is done only once.
このため、正CM12はVolume Pair Copy範囲内にFactory Formatの存在をCheckし、もし存在するならばACBを介して存在するCCHH(単一もしくは複数のケースがある)を正RA19に通知する。通知を受けた正RA19は、図19に示すように、RA Header60にFactory Formatである事Xと、さらにFactory Format Trackの範囲 (開始CCHH,終了CCHH)を記し、副RA19−1に通知する。即ち、第1の実施の形態とは異なり正RA19はHA/R0を模造しない。副RA19−1は、RA Header60により複数TrackのFactory Formatを作成する事を認識し、副Cache14−1上に複数のHA/R0のみのTrackを作成する。
For this reason, the
図18により、第2の実施の形態のコピー処理を説明する。 The copy processing according to the second embodiment will be described with reference to FIG.
(S40)正FCU1は、HOST3からVolume Pair Copyオペレーション通知を受領する。
(S40) The
(S41)正CM12はTFT20により該当トラックがFactory Formatであるかを判定する。
(S41) The
(S42)該当トラックがFactory Formatでない場合には、正CM12は、該当トラックをディスク2から読み込み、自身のCache14上に展開する。正CM12は、正RA19に対し、該当トラックのコピーを指示する。正RA19は、キャッシュ14上よりトラックデータを読み込み、副RA19−1に対してパケットを送信する。正CM12は、該当トラックCCHHを(CCHH+1)に更新する。ステップS45に進む。
(S42) If the track is not Factory Format, the
(S43)正CM12はTFT20により該当トラックがFactory Formatである事を認識すると、次のトラックがFactory Formatであるかを判定する。
(S43) When the
(S44)次のトラックがFactory Formatでないと、正CM12は、ACBにFactory Formatの機番及び範囲(開始CCHH、終了CCHH)をセットし、正RA19に対してコピーを行う様通知する。正RA19はACBよりFactory Format Trackの転送である事を認識する。正RA19はパケットのRA Header60に図19に示すような値をセットし、副RA19−1に転送する。副RA19−1はRA Header60によりFactory Format Trackの転送である事を認識し、RA Header60に示されるトラック範囲に関して、HA/R0を模造し、Cache14−2上に書き込む。
(S44) If the next track is not Factory Format, the
(S45)副RA19−1は、正RA19に対しレスポンスパケットを送信する。
正RA19は副RA19−1からのレスポンスパケットを受信した事により、正CM12に対し該当Trackのコピーが終了した事を通知する。
(S45) The secondary RA 19-1 transmits a response packet to the
When the
(S46)正FCU1は,Volume Pair Copyの範囲が終了したかを調べ、終了していなければ、ステップS41に戻り、終了するまで、S42〜S45の動作を繰り返す。
(S46) The
図20は、第2の実施の形態でのVolume Pair Copyの範囲トラック1〜15内にトラック4〜7のFactory Format Trackが存在した場合の動作説明図であり、正RA19から副RA19−1へ133パケット転送される。第1の実施の形態では、Volume Pair Copyの範囲内にn TrackのFactory Format Trackが存在した場合、正RAから副RAへの転送がn回行われた。この実施の形態では、これを1度の転送で済ませることができ、I/Oのトータルの処理時間を減らすことができる。
FIG. 20 is an operation explanatory diagram when the factory format tracks of
図21は、1つのデバイス内にFactory Format Trackが離散した場合でも対応できる例を示すものである。Volume Pair Copyの範囲トラック1〜15内にトラック4〜7のFactory Format Trackと、トラック9〜10のFactory Format Trackとが離散した場合の動作説明図であり、110パケットで済む。
FIG. 21 shows an example in which even when Factory Format Tracks are dispersed in one device. It is an operation explanatory diagram when the factory format tracks of
正CM12は、TFT20より該当トラックがFactory Format Trackである事を認識すると、このCCHHを内部メモリに一端メモしておく。正CM12は続けて次のトラックをCheckする。Checkした結果、Factory Format Trackでない事から、先程メモしておいたトラックをACBにセットし、正RA19に対し、Factory Format TrackのVolume Pair Copyを行うよう通知する。正RA19はACBよりFactory Format Trackの転送である事を認識する。正RA19はパケットのRA Header60に図19に示すような値をセットし、副RA19−1に転送する。副RA19−1はRA Header60によりFactory Format Trackの転送である事を認識する。副RA19−1は、RA Header60に示されるトラックに関して、HA/R0を模造し、Cache上に書き込む。
When the
第1の実施の形態では、Volume Pair Copyの範囲内にn TrackのFactory Format Trackが離散して存在した場合、Factory Format Trackの正RAから副RAへの転送がn回行われるが、本実施の形態では、これを1度の転送で済ませることができる。よって、I/Oのトータルの処理時間が大幅に減らすことができる。 In the first embodiment, when n Track Factory Format Tracks exist discretely within the range of Volume Pair Copy, the Factory Format Track is transferred n times from the primary RA to the secondary RA. In this form, this can be done with a single transfer. Therefore, the total processing time of I / O can be significantly reduced.
[第3の実施の形態のコピー処理]
この実施の形態は、Factory Formatのトラックの範囲が、デバイスのユーザーデータの領域の終端から、以降デバイスの終端までだった場合は、副RAが転送されたユーザーデータの終端をキャッシュメモリに書き込んだことをきっかけに、副RAが、自発的にFactory FormatのトラックのHA/R0の捏造処理をデバイスの最終まで行なうものである。
[Copy processing of the third embodiment]
In this embodiment, if the factory format track range is from the end of the user data area of the device to the end of the device, the end of the user data transferred by the secondary RA is written to the cache memory. As a result, the Deputy RA voluntarily performs the HA / R0 fabrication process for Factory Format tracks to the end of the device.
以下、図22、図23のCMの動作処理フロー図乃至図24のRAの動作処理フロー図により、説明する。 Hereinafter, the operation process flow chart of CM in FIGS. 22 and 23 to the operation process flow chart of RA in FIG.
(S50)正FCU1が、HOST3からVolume Pair Copy通知を受領すると、CM12は、図25の内部バッファのメモテーブル62を最大転送量分初期化する。ホストから指示された転送範囲の内、最初のCCHHを、転送CCHHにセットする。
(S50) When the
(S51)正CM12はTFT20により該当トラック(転送CCHH)がFactory Formatであるかを判定する。
(S51) The
(S52)該当トラックがFactory Formatでない場合には、正CM12は、該当トラックをディスク2から読み込み、自身のCache14上に展開する。正CM12は、正RA19に対し、ACBを作成し、リモート転送を指示する。正RA19からのレスポンス待ちとなり、正RA19からのレスポンスパケットを受信した事により、正CM12は、転送トラックCCHHを(CCHH+1)に更新する。
(S52) If the track is not Factory Format, the
(S53)正CM12は,Volume Pair Copyの範囲が終了したかを調べ、終了していなければ、ステップS51に戻り、終了していれば、終了する。
(S53) The
(S54)正CM12は、TFT20により該当トラックがFactory Formatである事を認識すると、該当ボリュームのメモテーブル62に、ファクトリ・フォーマットトラックの開始と終了をセットする。
(S54) When the
(S55)メモテーブル62が最大転送量を超えたかを判定する。メモテーブル62が最大転送量を超えると、メモテーブル62の内容をACBにコピーし、RA19にリモート転送を通知する。メモテーブル62を初期化し、正RA19からのレスポンス待ちとなり、正RA19からのレスポンスパケットを受信した事により、正CM12は、転送トラックCCHHを(CCHH+1)に更新する。
(S55) It is determined whether the memo table 62 exceeds the maximum transfer amount. When the memo table 62 exceeds the maximum transfer amount, the contents of the memo table 62 are copied to the ACB, and the remote transfer is notified to the
(S56)正CM12は,Volume Pair Copyの範囲が終了したかを調べ、終了していなければ、ステップS51に戻り、終了していれば、図23のステップS57に進む。
(S56) The
(S57)メモテーブル62が最大転送量を超えたかを判定する。 (S57) It is determined whether the memo table 62 exceeds the maximum transfer amount.
(S58)メモテーブル62が最大転送量を超えると、メモテーブル62の内容をACBにコピーし、RA19にリモート転送を通知する。メモテーブル62を初期化し、正RA19からのレスポンス待ちとなり、正RA19からのレスポンスパケットを受信した事により、正CM12は、処理を終了する。
(S58) When the memo table 62 exceeds the maximum transfer amount, the contents of the memo table 62 are copied to the ACB and the
(S59)メモテーブル62が最大転送量を超えないと、別ボリュームのメモテーブル62に有効データ(Factory Format Track CCHH)が存在するかを調べ、存在しない時は、ステップS58に進み、存在する場合には、そのデータ(介しCCHH,終了CCHH)を転送対象ボリュームのメモテーブルの空き領域にコピーし、別ボリュームのメモテーブルを初期化し、ステップS57に戻る。 (S59) If the memo table 62 does not exceed the maximum transfer amount, it is checked whether valid data (Factory Format Track CCHH) exists in the memo table 62 of another volume. If not, the process proceeds to step S58. The data (via CCHH, end CCHH) is copied to the free area of the memo table of the transfer target volume, the memo table of another volume is initialized, and the process returns to step S57.
一方、RAでは、図24の処理を行う。 On the other hand, in RA, the process of FIG. 24 is performed.
(S60)RA19は、副RA19−1からパケットを受信したかを判定する。
(S60) The
(S61)正RA19は、ACBよりFactory Format Trackの転送であるかを調べ、Factory Format Trackのフラグが立っていれば、ACBをパケットのRA Header60に乗せる。Factory Format Trackのフラグが立っていなければ、キャッシュ14からトラックを読み込む。
(S61) The
(S62)そして、副RA19−1にリモート転送する。尚、副RA19−1はRA Header60によりFactory Format Trackの転送である事を認識し、RA Header60に示されるトラック範囲に関して、HA/R0を模造し、Cache14−2上に書き込む。
(S62) Then, remote transfer is performed to the sub RA 19-1. The secondary RA 19-1 recognizes that the factory format track is transferred by the
(S63)副RA19−1は、Volume Pair Copyを受け取ったかを調べ、受け取ってないと、レスポンスパケットかを調べ、レスポンスパケットなら、正CM12に対し該当Trackのコピーが終了した事を通知する。
(S63) The secondary RA 19-1 checks whether or not Volume Pair Copy has been received. If not, the secondary RA 19-1 checks whether it is a response packet. If it is a response packet, the secondary RA 19-1 notifies the
(S64)以降は、副RAの処理であり、正RAより転送されたパケット内のデータを副FCU内部のメモリにライトアクションを行う。副RAは、転送されたパケットのRA HEADER内にフラグが立っていると、ユーザ・データのキャッシュメモリへのライトアクションが終了したことをきっかけに、Factory FormatのトラックのHA/R0の捏造作業をデバイスの終端まで行う。 (S64) and subsequent steps are sub-RA processing, in which data in a packet transferred from the primary RA is written to the memory in the sub-FCU. If the flag is set in the RA HEADER of the transferred packet, the secondary RA performs the HA / R0 forgery of the factory format track when the write action to the cache memory of the user data is completed. Repeat until the end of the device.
副RAは、RA HEADER内のFactory Formatのトラック範囲(先頭CCHH〜終端CCHH)よりFactory Formatのトラックを理解し、副センタ側のRAIDディスクの該当トラックに対し、HA/R0の捏造を行なう。 左記の処理を終了後、副RAは、Volume Pair Copy対象のユーザデータのFactory Format以外のトラックを副センタのキャッシュメモリへ書き込む。キャッシュメモリへユーザーデータを書き込み処理を終了後、副RAは、正センタ側へVolume Pair Copyオペレーションが正常に終了したことを通知するために、レスポンスパケットを転送する。 The secondary RA understands the factory format track from the factory format track range (start CCHH to end CCHH) in the RA HEADER, and creates HA / R0 for the corresponding track on the RAID disk on the secondary center side. After completing the process on the left, the secondary RA writes a track other than Factory Format of the user data to be volume pair copied to the cache memory of the secondary center. After completing the process of writing the user data to the cache memory, the secondary RA transfers a response packet to notify the primary center side that the Volume Pair Copy operation has been completed normally.
図26は、第3の実施の形態の動作説明図であり、Factory Formatが複数トラックに連続してデバイスの最終トラックにまで続いていた場合に限定されてしまうが、このような、デバイスの時は、第1、第2の実施の形態よりも更に転送効率を上げることが出来る。 FIG. 26 is a diagram for explaining the operation of the third embodiment. This is limited to the case where Factory Format continues to the last track of the device after a plurality of tracks. The transfer efficiency can be further increased as compared with the first and second embodiments.
このように、正RAがRA HeaderにFactory Format Trackに関する情報(Factory Formatである事及び、Factory Format Trackの範囲(開始CCHH,終了CCHH))を記すことで、副RAが、副センタディスクの当該TrackにFactory Format Trackを作成する事が出来るリモート磁気ディスク制御装置を実現できる。 In this way, the primary RA records the information related to the Factory Format Track (factory format and the range of the Factory Format Track (start CCHH, end CCHH)) in the RA header. A remote magnetic disk control device that can create a Factory Format Track for the Track can be realized.
又、Factory Format Trackが複数Trackに離散して存在した場合、正RAがFactory FormatであるTrackをピックアップし、Factory Format Trackに関する情報をRA Header内にまとめて記す事で、副RAは、複数のFactory Format Trackを一度のリモート転送処理で作成する事が出来るリモート磁気ディスク制御装置を実現できる。 In addition, when Factory Format Tracks are distributed in multiple tracks, the primary RA picks up the track that is the factory format, and records the information related to the factory format track in the RA header. A remote magnetic disk control device that can create Factory Format Track with a single remote transfer process can be realized.
ユーザデータの終端からデバイスの終端までの連続した全てのTrackがFactory Format Trackであった場合、リモート転送パケット内のRA Headerに、ユーザデータの終端から、デバイスの終端までのTrackは全てFactory Format Trackである事を記す事で、副RAが、自発的にFactory Format Trackの作成を行う事が出来るリモート磁気ディスク制御装置を実現できる。 If all continuous tracks from the end of user data to the end of the device are Factory Format Tracks, all tracks from the end of user data to the end of the device are stored in the RA Header in the remote transfer packet. It is possible to realize a remote magnetic disk control device in which the secondary RA can spontaneously create a Factory Format Track.
[他の実施の形態]
上述の実施例では、デイスクを磁気デイスクで説明したが、光デイスク、光磁気デイスクにも適用できる。CKDフォーマットで説明したが、他のトラックフォーマットにも適用できる。
[Other embodiments]
In the above embodiment, the disk is described as a magnetic disk, but it can also be applied to an optical disk and a magneto-optical disk. Although described in the CKD format, it can also be applied to other track formats.
以上、本発明を実施の形態で説明したが、本発明の趣旨の範囲内で種々の変形が可能であり、本発明の技術的範囲からこれらを排除するものではない。 As mentioned above, although this invention was demonstrated by embodiment, a various deformation | transformation is possible within the range of the meaning of this invention, and these are not excluded from the technical scope of this invention.
工場フォーマットを従来の磁気ディスクへのアクセスを伴なった方法ではなく、TFT20の工場出荷時フォーマットフラグで実現したので、従来に比べ約1/100の処理時間で工場フォーマットを行うことが可能となり、処理時間の大幅な短縮とそれに伴うコストの低減が可能となる。 Since the factory format was realized with the factory format flag of the TFT20 instead of the conventional method with access to the magnetic disk, it became possible to perform the factory format in about 1/100 processing time compared to the conventional method. The processing time can be greatly shortened and the costs associated therewith can be reduced.
また、本発明ではFFLT22に任意のデータパターンから成る工場出荷時フォーマットを登録することが可能な為、ユーザ先において任意の工場出荷時フォーマットへの変更が短時間に容易に可能となる。
In the present invention, since a factory format composed of an arbitrary data pattern can be registered in the
1 ファイルコントロールユニット(FCU)
2 磁気デイスク
3 ホスト
4 保守端末
10 チャネルアダプタ(CA)
12 制御ユニット(CM)
14 キャッシュメモリ
16 デバイスアダプタ(DA)
20 トラック管理テーブル(TFT)
22 工場フォーマットリストテーブル(FFLT)
1 File control unit (FCU)
2
12 Control unit (CM)
14
20 Track management table (TFT)
22 Factory format list table (FFLT)
Claims (9)
前記記憶デイスクデバイスのデータの一部を格納するキャッシュメモリと、
前記記憶デイスクデバイスのトラックが所定のトラックフォーマットに初期化済みか否かを示す初期化情報を格納する管理テーブルと、
前記ホストからの入出力要求に対し、前記管理テーブルを参照して、初期化済みでないトラックのためのトラックの属性を示すトラックフォーマットパターンの作成を行う制御ユニットと、
前記主ホストからのコピー指示に応じて、前記管理テーブルの初期化情報を、副センタのホストに接続され、前記副センタのホストからの入出力要求に対し、前記管理テーブルを参照して、初期化済みでないトラックのためのトラックの属性を示すトラックフォーマットパターンの作成を行う前記デイスク制御装置に転送するリモートユニットとを有する
ことを特徴とするリモートデイスク制御装置。 In response to an input / output request from the main host, performs data input / output control of the storage disk device, and in the remote disk control device connected to the disk control device of the secondary center,
A cache memory for storing a part of the data of the storage disk device;
A management table for storing initialization information indicating whether or not the tracks of the storage disk device have been initialized to a predetermined track format;
In response to an input / output request from the host, with reference to the management table, a control unit that creates a track format pattern indicating a track attribute for a track that has not been initialized, and
In response to a copy instruction from the primary host, the initialization information of the management table is connected to the secondary center host, and an input / output request from the secondary center host is referred to the management table to initialize A remote disk control device comprising: a remote unit for transferring to the disk control device for creating a track format pattern indicating a track attribute for a track that has not been converted to a track.
特徴とする請求項1のリモートデイスク制御装置。 The remote disk control device according to claim 1, wherein the remote unit transfers information on the uninitialized track.
特徴とする請求項1のリモートデイスク制御装置。 The remote disk control device according to claim 1, wherein the remote unit transfers the range of the uninitialized track.
特徴とする請求項1のリモートデイスク制御装置。 The remote disk control device according to claim 1, wherein the remote unit creates a track format pattern for the non-initialized track and transfers the created track format pattern.
管理テーブルに、前記記憶デイスクデバイスのトラックが所定のトラックフォーマットに初期化済みか否かを示す情報を設定して、初期化するステップと、
前記ホストからの入出力要求に対し、前記管理テーブルを参照して、前記トラックフォーマットの作成を行う制御ステップと、
前記ホストからのコピー指示に応じて、前記管理テーブルの初期化情報を、副センタのホストからの入出力要求に応じて、記憶デイスクデバイスのデータの入出力制御を行うデイスク制御装置に転送するリモートステップとを有することを
特徴とするリモートデイスク制御方法。 In a remote disk control method for performing data input / output control of a storage disk device in response to an input / output request from a host,
In the management table, setting information indicating whether or not the track of the storage disk device has been initialized to a predetermined track format, and initializing;
A control step for creating the track format with reference to the management table in response to an input / output request from the host;
In response to a copy instruction from the host, the management table initialization information is transferred to a disk control device that performs data input / output control of the storage disk device in response to an input / output request from the sub-center host. And a remote disk control method.
特徴とする請求項5のリモートデイスク制御方法。 6. The remote disk control method according to claim 5, wherein the remote step transfers information on the uninitialized track.
特徴とする請求項5のリモートデイスク制御方法。 6. The remote disk control method according to claim 5, wherein the remote step transfers the range of the uninitialized track.
特徴とする請求項5のリモートデイスク制御方法。 6. The remote disk control method according to claim 5, wherein the remote step creates a track format for the non-initialized track and transfers the created track format.
副ホストからの入出力要求に応じて、記憶デイスクデバイスのデータの入出力制御を行う第2のリモートデイスク制御装置とを有し、
前記第1及び第2のリモートデイスク制御装置は、
前記記憶デイスクデバイスのデータの一部を格納するキャッシュメモリと、
前記記憶デイスクデバイスのトラックが所定のトラックフォーマットに初期化済みか否かを示す初期化情報を格納する管理テーブルと、
前記ホストからの入出力要求に対し、前記管理テーブルを参照して、初期化済みでないトラックのためのトラックの属性を示すトラックフォーマットパターンの作成を行う制御ユニットと、
前記第1及び第2のリモートデイスク制御装置間で、通信を行うためのリモートユニットとを有し、
前記第1のリモートデイスク制御装置のリモートユニットは、前記主ホストからのコピー指示に応じて、前記管理テーブルの初期化情報を、前記第2のリモートデイスク制御装置に転送する
ことを特徴とするリモートデイスク制御システム。 A first remote disk control device for performing data input / output control of the storage disk device in response to an input / output request from the main host;
A second remote disk control device for performing input / output control of data of the storage disk device in response to an input / output request from the secondary host;
The first and second remote disk control devices are:
A cache memory for storing a part of the data of the storage disk device;
A management table for storing initialization information indicating whether or not the tracks of the storage disk device have been initialized to a predetermined track format;
In response to an input / output request from the host, with reference to the management table, a control unit that creates a track format pattern indicating a track attribute for a track that has not been initialized, and
A remote unit for performing communication between the first and second remote disk control devices;
The remote unit of the first remote disk control device transfers initialization information of the management table to the second remote disk control device in response to a copy instruction from the main host. Disk control system.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008125040A JP4808745B2 (en) | 2008-05-12 | 2008-05-12 | Remote disk control device, remote disk control method, and remote disk control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008125040A JP4808745B2 (en) | 2008-05-12 | 2008-05-12 | Remote disk control device, remote disk control method, and remote disk control system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2002521682 Division | 2000-08-18 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008269623A true JP2008269623A (en) | 2008-11-06 |
JP4808745B2 JP4808745B2 (en) | 2011-11-02 |
Family
ID=40048949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008125040A Expired - Lifetime JP4808745B2 (en) | 2008-05-12 | 2008-05-12 | Remote disk control device, remote disk control method, and remote disk control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4808745B2 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08147110A (en) * | 1994-11-18 | 1996-06-07 | Sony Corp | Method and device for data recording medium management and data recording medium |
JPH11143646A (en) * | 1997-11-06 | 1999-05-28 | Hitachi Ltd | Control method for external storage sub-system and external storage sub-system |
-
2008
- 2008-05-12 JP JP2008125040A patent/JP4808745B2/en not_active Expired - Lifetime
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08147110A (en) * | 1994-11-18 | 1996-06-07 | Sony Corp | Method and device for data recording medium management and data recording medium |
JPH11143646A (en) * | 1997-11-06 | 1999-05-28 | Hitachi Ltd | Control method for external storage sub-system and external storage sub-system |
Also Published As
Publication number | Publication date |
---|---|
JP4808745B2 (en) | 2011-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7634616B2 (en) | Remote disk control apparatus, and remote disk control method | |
JP3714184B2 (en) | Copying method between data areas of storage device and storage system | |
US8209507B2 (en) | Storage device and information management system | |
JP4920979B2 (en) | Storage apparatus and control method thereof | |
JP4412989B2 (en) | Data processing system having a plurality of storage systems | |
US8285824B2 (en) | Storage system and data replication method that refuses one or more requests for changing the first logical configuration information until the first storage apparatus and second storage apparatus are synchronized | |
JP4074072B2 (en) | Remote copy system with data integrity | |
JP2005309550A (en) | Remote copying method and system | |
JP5712713B2 (en) | Control device, control method, and storage device | |
JP2012519319A (en) | Storage subsystem | |
WO2001029647A1 (en) | Storage area network system | |
JPH10198607A (en) | Data multiplexing system | |
JP2008225616A (en) | Storage system, remote copy system and data restoration method | |
JP5409799B2 (en) | Remote copy system and remote copy control method | |
JPWO2009133605A1 (en) | Virtual tape device, control method, control unit | |
JP2002049517A5 (en) | Storage system, storage system response method and recording medium | |
US7093087B2 (en) | Method for controlling storage device controller, storage device controller, and program | |
JP4433372B2 (en) | Data access system and method | |
JP4808745B2 (en) | Remote disk control device, remote disk control method, and remote disk control system | |
JP3260998B2 (en) | Disk controller | |
JP4936088B2 (en) | Disk array device, disk array system, and cache control method | |
US7587466B2 (en) | Method and computer system for information notification | |
JP2009252114A (en) | Storage system and data saving method | |
JP2012022645A (en) | Data storage system and asynchronous replication method | |
JP2002278706A (en) | Disk array device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101005 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20101129 |
|
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: 20110816 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20110817 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140826 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4808745 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
EXPY | Cancellation because of completion of term |