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 PDF

Info

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
Application number
JP2008125040A
Other languages
Japanese (ja)
Other versions
JP4808745B2 (en
Inventor
Atsushi Ishii
淳 石井
Hideo Takahashi
秀夫 高橋
Tatsuya Yanagisawa
達也 柳澤
Hideshi Kobayashi
秀史 小林
Hideo Masuda
日出夫 増田
Rei Hirose
玲 広瀬
Daisuke Miyazaki
大介 宮崎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2008125040A priority Critical patent/JP4808745B2/en
Publication of JP2008269623A publication Critical patent/JP2008269623A/en
Application granted granted Critical
Publication of JP4808745B2 publication Critical patent/JP4808745B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To format each track of a storage disk device in a short time. <P>SOLUTION: This disk controller 1 has a cache memory 14 for storing one part of data, a control table 20 for indicating whether a track of the storage disk device 2 is initialized to a prescribed track format or not, and control units 10, 12 for preparing a track format pattern with respect to an input/output request from a host 3, while referring to the control table 20. A track control table is provided in the controller, a flag is provided to indicate a factory deliver time format, the factory deliver time format flag of the control table is set to "1" in a factory format time, and only the control table is transferred to a disk. A quick factory format gets possible by this technique. <P>COPYRIGHT: (C)2009,JPO&INPIT

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 host computer 100. A magnetic disk drive 210 is connected to the FCU 200. The RAID system replaces an expensive disk for a large machine with a small capacity disk for a plurality of small machines, and is excellent in data maintenance and redundancy.

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 magnetic disk 210, and data used for function control. And a cache memory 240, and a bus 260 connecting them.

FCU200は、接続された磁気ディスク210にデータを保持しているため、ホスト100からの入出力要求があると、磁気ディスク210からキャッシュメモリ240へデータを展開(ステージング動作)し、入出力処理はすべてキャッシュメモリ240を介して行う。ただし、ホスト100からの入出力要求時に、すでにキャッシュメモリ240上に対象データがある場合(キャッシュヒット)は、キャッシュメモリ240上のデータを読み書きして、ホスト100へ処理の終了を通知する。   Since the FCU 200 holds data on the connected magnetic disk 210, when there is an input / output request from the host 100, the data is expanded (staging operation) from the magnetic disk 210 to the cache memory 240, and the input / output processing is performed. All this is done via the cache memory 240. However, when the target data already exists in the cache memory 240 at the time of the input / output request from the host 100 (cache hit), the data on the cache memory 240 is read / written, and the end of the process is notified to the host 100.

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 magnetic disk 210 connected to the FCU 200 adopts the CKD track format as shown in FIG. As shown in FIG. 29, one disk 280 of the magnetic disk 210 has a plurality of concentric tracks. For example, it has about 10,000 tracks.

全てのトラックはインデックスマークで始まりインデックスマークで終わる。各トラックは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 magnetic disk 210 is formatted in an initial state where no user data exists when the FCU 200 is shipped or when the magnetic disk 210 is added, and then used for actual operation. That is, as shown in FIG. 27, this is realized by connecting a maintenance terminal (PC or the like) 300 at the factory or the user and issuing an initialization instruction to the magnetic disk control device 200 from the terminal 300. In response to this initialization instruction, the magnetic disk control device 200 creates only the HA and standard R0 (R0 consisting of an 8-byte Count portion and a Data portion in which all 8 bytes are 0) on each track.

図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へ完了通知を行う。
特開平11−143646号公報
The maintenance terminal (PC or the like) 300 issues a command to the CM 230 and instructs the factory format of the magnetic disk 210 ((1)). The CM 230 receives an instruction from the maintenance terminal (PC or the like) 300, schedules a factory format task, and instructs the DA 250 to execute the factory format ((2)). The DA 250 receives an instruction from the CM 230, and generates a factory-shipped format including an HA / standard R0 data pattern in the DA 250 internal buffer ((3)). The DA 250 writes the data pattern generated in (3) to the magnetic disk 210 ((4)). The DA 250 repeats steps (3) to (4) to perform factory formatting on all tracks on the magnetic disk 210, and notifies the CM 230 of completion upon completion ((5)). The CM 230 notifies the maintenance terminal (PC or the like) 300 of completion.
Japanese Patent Laid-Open No. 11-143646

このように、従来の工場フォーマットは、工場出荷時フォーマットデータを直接磁気ディスク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 magnetic disk 210. Therefore, a large amount of data needs to be transferred to the magnetic disk 210, and formatting takes time. . Since the magnetic disk drive positions the head on each track of the magnetic disk and writes the format to each track, all the tracks (for example, 10,000 tracks) of one magnetic disk take time.

例えば, メインフレーム系磁気ディスク装置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 disk drives 210 are connected to 1 FCU 200, if a 64th magnetic disk is connected to 1 FCU 200, it takes 101 [minutes]. For ordinary users, considering the connection of 64, 128, and 256 magnetic disks, it takes several hours at the factory or at the user site, and there is a problem that costs such as labor costs are required. .

この目的の達成のため、本発明の主ホストからの入出力要求に応じて、記憶デイスクデバイスのデータの入出力制御を行うとともに、副センタのデイスク制御装置と接続されたリモートデイスク制御装置において、前記記憶デイスクデバイスのデータの一部を格納するキャッシュメモリと、前記記憶デイスクデバイスのトラックが所定のトラックフォーマットに初期化済みか否かを示す初期化情報を格納する管理テーブルと、前記ホストからの入出力要求に対し、前記管理テーブルを参照して、初期化済みでないトラックのためのトラックの属性を示すトラックフォーマットパターンの作成を行う制御ユニットと、前記主ホストからのコピー指示に応じて、前記管理テーブルの初期化情報を、副センタのホストに接続され、前記副センタのホストからの入出力要求に対し、前記管理テーブルを参照して、初期化済みでないトラックのためのトラックの属性を示すトラックフォーマットパターンの作成を行う前記デイスク制御装置に転送するリモートユニットとを有する。   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 FCU 1, reducing the burden caused by the extreme concentration of processing. In addition, the communication interface between modules communicates the processing contents and the status of each module using a message or ACB.

各ファンクション・モジュール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 function module 10, 12, 16 will be described below. The CA (Channel Adapter) 10 is a module that controls the host interface connecting the FCU 1 and the HOST 3. When the CA 10 receives a data write / read operation request from the HOST 3, the CA 10 notifies the CM 12 of the processing request, or directly accesses the cache memory 14 on the CM 12 to transfer data between the HOST 3.

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 CM 12 has a built-in Cache Memory (several gigabytes) 14 for storing data read from the RAID Disk 2.

DA(Device Adapter)16は、FCU1とデバイス(磁気ディスク)2とのデバイス・インタフェースの制御を担うモジュールであり、CM12からの指示によりデバイス2への処理を行う。   The DA (Device Adapter) 16 is a module that controls the device interface between the FCU 1 and the device (magnetic disk) 2, and performs processing to the device 2 in accordance with an instruction from the CM 12.

この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 disk 2, and this table 20 exists in the cache memory 14 of the CM 12. There is one TFT per track, and the TFT stores the number of records present in the track, the data length of the Data portion, and Flag (used for multiple purposes). The CA 10 can recognize the track format by using the TFT 20 without checking the actual track on the cache 12. The TFT 20 is rewritten by the CA 10 when the track format is changed by Write I / O from the host 3.

次に、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 TFT 20 without performing physical formatting. Specifically, this is realized by providing a flag “Factory Format” for the TFT 20 and setting this flag to “1” for the TFT 20 of all tracks.

そのため、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 actual disk 2. For I / O from host 3 to this track, CA 10 must behave as if HA / standard R0 is on disk 2.

[工場フォーマット処理]
図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 FCU 1 has a track management table (hereinafter referred to as TFT: Track Format Table) 20. As shown in FIG. 3, the TFT 20 includes a table having management information of 8 bytes for each track of each machine number.

図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 flags # 1 to #N indicating a track format pattern. That is, a flag indicating the factory shipment format is provided in the track table TFT 20 managed in the FCU 1.

工場フォーマット方法は、このTFT20の工場出荷時フォーマットフラグを“1”に設定し、TFT20のみを磁気ディスク2へ転送することにより実現する。図6に示すように、各機番のユーザデータ領域以外の管理領域の一部のTFT領域にこのTFT20が格納される。TFT領域は、磁気デイスクの10トラック数以内であるため、従来の磁気ディスクの各トラックへの書き込みを必要としていたものが不要になるため、高速な工場フォーマットが可能である。   The factory formatting method is realized by setting the factory format flag of the TFT 20 to “1” and transferring only the TFT 20 to the magnetic disk 2. As shown in FIG. 6, this TFT 20 is stored in a part of the TFT area of the management area other than the user data area of each machine number. Since the TFT area is within 10 tracks of the magnetic disk, it is not necessary to write to each track of the conventional magnetic disk, so that a high-speed factory format is possible.

また、図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 FCU 1 to enable factory formatting in any format desired by the user. As shown in FIG. 5, the FFLT 22 can store a plurality of factory-shipped track format patterns, and the user can set a plurality of arbitrary patterns from the maintenance terminal (PC or the like) 4.

またTFT20には、トラックフォーマットを示すフラグを複数持つことにより、ユーザが任意に設定したトラックフォーマットパターンをフラグに記憶する。ユーザ任意フォーマットによる工場フォーマットは、TFT22のユーザが指定するトラックフォーマットパターンに相当するフラグを“1”に設定し、TFT22のみを磁気ディスクへ転送することにより実現する。   Further, the TFT 20 has a plurality of flags indicating the track format, so that a track format pattern arbitrarily set by the user is stored in the flag. The factory format by the user arbitrary format is realized by setting a flag corresponding to the track format pattern designated by the user of the TFT 22 to “1” and transferring only the TFT 22 to the magnetic disk.

図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 CM 12. At this time, the factory format in the range desired by the user is performed by designating the target machine number of the factory format and the target range (track range). For example, when a magnetic disk system is shared by a plurality of computer systems, it is possible to factory format only the user area. In this factory format instruction, the following parameter settings are possible.

全部または指定機番
全部または指定トラック
(2)図8に示すように、CM12は、保守端末(PC等)4からの指示に従い、対象機番のTFT20の工場出荷時フォーマットフラグを“1”にセットする。
All or specified machine number All or specified track
(2) As shown in FIG. 8, the CM 12 sets the factory format flag of the target machine number TFT 20 to “1” in accordance with an instruction from the maintenance terminal (PC or the like) 4.

(3)CM12は(2)で更新されたTFT20を磁気ディスク2に書き込むようDA16に指示する。   (3) The CM 12 instructs the DA 16 to write the TFT 20 updated in (2) to the magnetic disk 2.

(4)図9に示すように、DA16は、CM12からの指示を受け、TFT20を磁気ディスク2に書き込む。   (4) As shown in FIG. 9, the DA 16 receives the instruction from the CM 12 and writes the TFT 20 to the magnetic disk 2.

(5)DA16は指示された範囲のTFT20を磁気ディスク2へ書き込み、完了すると、CM12に完了を通知する。   (5) The DA 16 writes the TFT 20 in the instructed range to the magnetic disk 2, and when complete, notifies the CM 12 of completion.

(6)CM12は、保守端末(PC等)4に工場フォーマットの完了を通知する。   (6) The CM 12 notifies the maintenance terminal (PC, etc.) 4 of the completion of the factory format.

(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 TFT 20, so that there is no valid data in the track on the actual magnetic disk 2. not exist. Therefore, in response to an I / O request (read / write) from the host for this track, the FCU 1 must perform processing so that the HA and standard R0 data exist on the magnetic disk 2. This process is performed by the micro program of CA10.

先ず、図10により、工場フォーマット後のHOST3からのリード要求に対するFCU1の処理について説明する。   First, the processing of the FCU 1 in response to a read request from the HOST 3 after factory formatting will be described with reference to FIG.

(S10)HOST3は,工場フォーマットされたトラックに対しリードコマンドを発行する。   (S10) The HOST 3 issues a read command to the factory formatted track.

(S11)HOST3よりコマンドを受けたCA10は,CM12に対し,HOST3より指定されたトラック等の情報を送信し,リード要求を行う。   (S11) Upon receiving the command from the HOST 3, the CA 10 transmits information such as the track designated by the HOST 3 to the CM 12 and makes a read request.

(S12)CA10からリード要求されたCM12は、TFT20を参照し、該当トラックの工場出荷時フォーマットのフラグを調べる。   (S12) The CM 12 requested to read from the CA 10 refers to the TFT 20 and checks the flag of the factory shipment format of the corresponding track.

(S13)該当トラックの工場出荷時フォーマットフラグがオンでないことを認識すると、CM12は、キャッシュメモリ14のアロケーション、及び対象トラックがキャッシュ14に無い場合には、対象データの磁気ディスク2からキャッシュメモリ14へのステージングを行う。   (S13) Upon recognizing that the factory shipment format flag of the corresponding track is not on, the CM 12 allocates the cache memory 14 and, if the target track is not in the cache 14, the CM 12 stores the cache data 14 from the magnetic disk 2 of the target data. Staging to.

(S14)CA10は,TFT20を参照し,工場出荷時フォーマットフラグがオンであることを認識し、HOST3からのリードコマンドがHA/標準R0に対するものかを調べる。リードコマンドが、HA/標準R0であれば、内部バッファに工場出荷時フォーマットのデータであるHA/標準R0の捏造(作成)を行う。   (S14) The CA 10 refers to the TFT 20, recognizes that the factory shipment format flag is on, and checks whether the read command from the HOST 3 is for the HA / standard R0. If the read command is HA / standard R0, the HA / standard R0, which is data in the factory default format, is created (created) in the internal buffer.

(S15)CA10は,キャッシュ14又は内部バッファ上のデータをHOST3へ転送する。CA10はHOST3へリード処理完了通知を行う。   (S15) The CA 10 transfers the data on the cache 14 or the internal buffer to the HOST 3. The CA 10 notifies the read processing completion to the HOST 3.

(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 HOST 3 is notified that there is no data, and the process ends.

次に、図11により、工場フォーマット直後のライト処理を説明する。   Next, the write processing immediately after the factory format will be described with reference to FIG.

(S20)HOST3は,工場フォーマットされたトラックに対しライトコマンドを発行する。   (S20) The HOST 3 issues a write command to the factory formatted track.

(S21)コマンドを受けたCA10は,CM12に対し,HOST3より指定されたトラック等の情報を送信し,ライト要求を行う。   (S21) Upon receiving the command, the CA 10 transmits information such as the track designated by the HOST 3 to the CM 12 and makes a write request.

(S22)CA10からライト要求されたCM12は、TFT20を参照し、工場出荷時フォーマットフラグがオンであるかをチエックする。   (S22) The CM 12 requested to write from the CA 10 refers to the TFT 20 and checks whether the factory shipment format flag is on.

(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 CM 12 allocates the cache memory 14 and if the target track is not in the cache 14, the magnetic disk of the target data 2 to the cache memory 14 is performed. Then, the CA 10 writes the data received from the HOST 3 to the cache 14 and proceeds to step S27.

(S24)一方、工場フォーマットフラグがオンであることを認識すると、CM12はキャッシュメモリ14のアロケーションのみを行い、CA10に処理開始を指示する。   (S24) On the other hand, when recognizing that the factory format flag is on, the CM 12 performs only the allocation of the cache memory 14 and instructs the CA 10 to start processing.

(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 cache memory 14 when the target record is HA / R0. On the other hand, when the target record is not HA / R0, the HA / standard R0 data is prepared on the internal buffer, the transfer data is written on the cache memory 14, and the original track data is completed on the cache memory 14.

(S26)キャッシュメモリ14へのデータ書き込みが完了すると,CA10は当該トラックのTFT20の工場出荷時フォーマットフラグをオフにし、通常トラック状態に更新する。   (S26) When the data writing to the cache memory 14 is completed, the CA 10 turns off the factory shipment format flag of the TFT 20 of the track and updates it to the normal track state.

(S27)CA10は,HOST3へライト処理完了通知を行う。   (S27) The CA 10 sends a write processing completion notification to the HOST 3.

尚、周知のように、CM12は、HOST3からのI/Oとは、非同期に、DA16を介しキャッシュメモリ14のデータを磁気デイスク2へ書き戻す。これにより、磁気デイスクの該当トラックは、実フォーマット済みとなり、本来のトラックデータが完成する。   As is well known, the CM 12 writes the data in the cache memory 14 back to the magnetic disk 2 via the DA 16 asynchronously with the I / O from the HOST 3. As a result, the corresponding track of the magnetic disk is actually formatted, and the original track data is completed.

更に、本発明のこの実施の形態では、新たにFFLT22を設け、ユーザが任意のデータパターンから成る工場出荷時フォーマットを指定することができる。図12は、FFLT登録処理の説明図である。以下にFFLT22への工場出荷時フォーマットの登録処理を説明する。   Furthermore, in this embodiment of the present invention, a new FFLT 22 is provided, and the user can specify a factory format consisting of an arbitrary data pattern. FIG. 12 is an explanatory diagram of the FFLT registration process. The process for registering the factory format in the FFLT 22 will be described below.

保守端末(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 CM 12 to register the registered factory format data pattern in the FFLT 22 ((2)). The CM 12 receives an instruction from the maintenance terminal (PC or the like) 4 and registers the data pattern in the factory default format in the FFLT 22 ((3)). The CM 12 notifies the maintenance terminal (PC or the like) 4 that the factory format registration to the FFLT 22 is completed ((4)).

次に、FFLT22を用いた工場フォーマットの実行処理では、図7乃至図9で説明した処理に、保守端末(PC等)4からFFLT22に登録されたトラックフォーマットパターンを指定する処理を追加する。 Next, in the factory format execution process using the FFLT 22, a process for designating the track format pattern registered in the FF LT 22 from the maintenance terminal (PC, etc.) 4 is added to the process described with reference to FIGS. .

又、FFLT22を用いたリード処理では、内部バッファにFFLT22の指定されたデータパターンを捏造する。更に、FFLT22を用いたライト処理では、内部バッファ上にFFLT22の指定されたデータパターンの捏造を行い、キャッシュメモリ上に書き込み、本来のトラックデータを磁気ディスク上に完成させる。   In the read processing using the FFLT 22, a data pattern designated by the FFLT 22 is created in the internal buffer. Further, in the write processing using the FFLT 22, the data pattern designated by the FFLT 22 is created on the internal buffer, written on the cache memory, and the original track data is completed on the magnetic disk.

以上説明したように、本発明によれば、工場フォーマットを従来の磁気ディスクへのアクセスを伴なった方法ではなく、TFT20の工場出荷時フォーマットフラグで実現したので、従来に比べ約1/100の処理時間で工場フォーマットを行うことが可能となり、処理時間の大幅な短縮とそれに伴なうコストの低減が可能となる。   As described above, according to the present invention, the factory format is realized by the factory format flag of the TFT 20 instead of the conventional method with access to the magnetic disk. Factory formatting can be performed in the processing time, and the processing time can be greatly shortened and the associated costs can be reduced.

また、本発明ではFFLT22に任意のデータパターンから成る工場出荷時フォーマットを登録することが可能な為、ユーザ先において任意の工場出荷時フォーマットへの変更が短時間に容易に可能となる。   In the present invention, since a factory format composed of an arbitrary data pattern can be registered in the FFLT 22, a user can easily change to an arbitrary factory format in a short time.

[リモート磁気ディスク制御装置(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 FCU 1 that retains a data backup function to a remote location.

計算機センタ(以下 正センタ)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 primary center 1 on another FCU (hereinafter referred to as the “secondary center”) 1-1 provided in a remote location in parallel with normal operations. Regardless of which center occurs, data remains in the center that did not match the disaster.

図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 RA 19 is connected to the RA 19-1 of the sub FCU 1-1 of the sub center via the RT 5, the dedicated line 6, and the RT 5. The sub FCU 1-1 also has the same configuration as the main FCU (RFCF) 1 and includes CA 10-1, CM 12-1, DA 16-1, magnetic disk 2-1, and RA 19-1.

FCU1では、ACBという内部指示書を利用する。ホストからコマンドで依頼される処理内容(例えばリード)の一連の流れを「オペレーション」と呼び、このオペレーションを遂行する為に必要な個々の内部処理(磁気ディスクより、データをメモリに吸い出す処理等)をアクションと呼ぶ。FCU1では、オペレーションを行う上で必要なアクションを各モジュールに通知する指示書としてACBを用いる。   The FCU 1 uses an internal instruction called ACB. A series of processing contents (for example, read) requested by a command from the host is called an “operation”, and individual internal processes necessary for performing this operation (such as a process of extracting data from a magnetic disk to a memory). Is called an action. In the FCU 1, ACB is used as an instruction sheet for notifying each module of actions necessary for performing an operation.

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 primary host 3 to the primary FCU 1, the primary FCU 1 simultaneously writes data to its own RAID DISK (cache 14, magnetic disk 2). This is a function for transferring the same data to the sub-center FCU 3-1.

このRFCF1では、正側のディスク2内のデータを副側のディスク2−1にコピーして、ミラーリングを行うVolume Pair Copy機能が設けられている。正ホスト3は、正FCU1に、コピーを行うデバイス及びコピー範囲(開始CCHH〜終了CCHH)を指示する事により、正FCU1から副FCU1−1に該当範囲のトラックが全てコピーされる。例えば、既存のシステムで正FCU1を運用後、リモートコピーシステムに変更するため、副FCU1−1を設ける場合に、Volume Pair Copyが利用される。   The RFCF 1 has a Volume Pair Copy function for copying data in the primary disk 2 to the secondary disk 2-1 and performing mirroring. When the primary host 3 instructs the primary FCU 1 to perform a copy device and a copy range (start CCHH to end CCHH), all tracks in the corresponding range are copied from the primary FCU 1 to the secondary FCU 1-1. For example, Volume Pair Copy is used when the secondary FCU 1-1 is provided in order to change to the remote copy system after operating the primary FCU 1 in an existing system.

又、図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 primary RA 19 to the secondary RA 19-1. One packet is 4352 bytes (256 + 4096). If one track is 46 Kbytes, one track is composed of 12 packets. As shown in FIG. 15, the first 256 bytes is called RA Header 60, and is used for communication between the primary RA 19 and the secondary RA 19-1. RAHeader stores the target device number, cylinder, and head value. User data 61 is stored in the latter half 4096 bytes of the packet.

次に、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), RA 19 of primary center FCU 1 creates the HA / R0 part and transfers it to sub-center 1-1. As a result, Volume Pair Copy can be realized even if Factory Format is used.

図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 primary FCU 1 receives a Volume Pair Copy operation notification from the primary HOST 3.

(S31)CM12は、TFT20から該当トラックがFactory Formatであるかを判定し、該当トラックがFactory Formatでない場合には、正CM12は、該当Trackをディスク2から読み込み(実際はDAが行う)、自身のCache Memory14上に展開する。又、該当TrackのTFT20がFactory Formatである場合、CM12はこの動作を行わない。   (S31) The CM 12 determines from the TFT 20 whether or not the corresponding track is a Factory Format. If the corresponding track is not a Factory Format, the primary CM 12 reads the corresponding Track from the disk 2 (actually performed by the DA). Expands on the Cache Memory 14. In addition, when the TFT 20 of the corresponding track is Factory Format, the CM 12 does not perform this operation.

(S32)正CM12は、正RA19に対し、正FCU1側から副FCU1−1側へVolume Pair Copyを行うように通知する。このとき、正CM12は、ACBを介してVolume Pair Copyを行うべきボリューム番号、シリンダアドレス、ヘッド アドレスを正RA19に通知する。また、HA/R0を転送する指示も明記する。   (S32) The primary CM 12 notifies the primary RA 19 to perform Volume Pair Copy from the primary FCU 1 side to the secondary FCU 1-1 side. At this time, the primary CM 12 notifies the primary RA 19 of the volume number, cylinder address, and head address to be subjected to Volume Pair Copy via the ACB. Also, specify instructions for transferring HA / R0.

(S33)正RA19は、TFT20を読み込み、該当TrackがFactory Formatであるかどうかを判断する。   (S33) The primary RA 19 reads the TFT 20, and determines whether or not the corresponding track is Factory Format.

(S34)正RA19は、リモート転送の対象トラックがFactory Formatであった場合、HA/R0データを作成(捏造)し、副センタ1−1に転送する。   (S34) If the target track for remote transfer is Factory Format, the primary RA 19 creates (makes) HA / R0 data and transfers it to the sub-center 1-1.

(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 primary RA 19.

(S36)正RA19は,副RA19−1よりレスポンスを受信したことにより、正CM12に対し、転送が完了(1Trackのみ)した事を通知する。   (S36) When the primary RA 19 receives the response from the secondary RA 19-1, the primary RA 19 notifies the primary CM 12 that the transfer is complete (only 1 track).

(S37)正FCU1は,Volume Pair Copyの範囲が終了したかを調べ、終了していなければ、ステップS31に戻り、終了するまで、S31〜S36の動作を繰り返す。   (S37) The primary FCU 1 checks whether or not the range of Volume Pair Copy has ended, and if it has not ended, returns to step S31 and repeats the operations of S31 to S36 until it ends.

図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 tracks 4 to 7 exist in the volume pair copy range tracks 1 to 15 in the first embodiment, from the primary RA 19 to the secondary RA 19-1. 136 packets are transferred.

[第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 primary CM 12 checks the presence of the Factory Format within the Volume Pair Copy range, and if it exists, notifies the primary RA 19 of the CCHH (single or multiple cases) existing via the ACB. As shown in FIG. 19, the primary RA 19 that has received the notification records the fact that it is Factory Format X in the RA Header 60 and the range of the Factory Format Track (start CCHH, end CCHH), and notifies the secondary RA 19-1 of the fact. That is, unlike the first embodiment, the primary RA 19 does not imitate HA / R0. The secondary RA 19-1 recognizes that a factory format of a plurality of tracks is created by the RA header 60, and creates a plurality of tracks of only HA / R0 on the secondary cache 14-1.

図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 primary FCU 1 receives a Volume Pair Copy operation notification from the HOST 3.

(S41)正CM12はTFT20により該当トラックがFactory Formatであるかを判定する。   (S41) The primary CM 12 determines whether the corresponding track is Factory Format by the TFT 20.

(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 primary CM 12 reads the track from the disk 2 and develops it on its own Cache. The primary CM 12 instructs the primary RA 19 to copy the corresponding track. The primary RA 19 reads the track data from the cache 14 and transmits a packet to the secondary RA 19-1. The primary CM 12 updates the corresponding track CCHH to (CCHH + 1). Proceed to step S45.

(S43)正CM12はTFT20により該当トラックがFactory Formatである事を認識すると、次のトラックがFactory Formatであるかを判定する。   (S43) When the primary CM 12 recognizes that the corresponding track is in Factory Format by the TFT 20, it determines whether the next track is in Factory Format.

(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 primary CM 12 sets the factory format machine number and range (start CCHH, end CCHH) in the ACB, and notifies the primary RA 19 to copy. The primary RA 19 recognizes that the factory format track is transferred from the ACB. The primary RA 19 sets a value as shown in FIG. 19 in the RA Header 60 of the packet and transfers it to the secondary RA 19-1. The secondary RA 19-1 recognizes that the factory format track is transferred by the RA Header 60, and imitates HA / R0 for the track range indicated by the RA Header 60, and writes it on the Cache 14-2.

(S45)副RA19−1は、正RA19に対しレスポンスパケットを送信する。
正RA19は副RA19−1からのレスポンスパケットを受信した事により、正CM12に対し該当Trackのコピーが終了した事を通知する。
(S45) The secondary RA 19-1 transmits a response packet to the primary RA 19.
When the primary RA 19 receives the response packet from the secondary RA 19-1, the primary RA 19 notifies the primary CM 12 that the copying of the corresponding track has been completed.

(S46)正FCU1は,Volume Pair Copyの範囲が終了したかを調べ、終了していなければ、ステップS41に戻り、終了するまで、S42〜S45の動作を繰り返す。   (S46) The primary FCU 1 checks whether the range of Volume Pair Copy has ended, and if it has not ended, returns to step S41 and repeats the operations of S42 to S45 until it ends.

図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 tracks 4 to 7 exist in the volume pair copy range tracks 1 to 15 in the second embodiment, from the primary RA 19 to the secondary RA 19-1. 133 packets are transferred. In the first embodiment, when there are n Track Factory Format Tracks within the range of Volume Pair Copy, transfer from the primary RA to the secondary RA is performed n times. In this embodiment, this can be done by one transfer, and the total processing time of I / O can be reduced.

図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 tracks 4 to 7 and the factory format tracks of tracks 9 to 10 are dispersed in the range pairs 1 to 15 of the volume pair copy, and 110 packets are sufficient.

正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 primary CM 12 recognizes from the TFT 20 that the corresponding track is a Factory Format Track, it notes this CCHH in the internal memory. The primary CM 12 continues to check the next track. As a result of the check, since it is not a Factory Format Track, the track previously noted is set in the ACB, and the main RA 19 is notified to perform Volume Pair Copy of the Factory Format Track. The primary RA 19 recognizes that the factory format track is transferred from the ACB. The primary RA 19 sets a value as shown in FIG. 19 in the RA Header 60 of the packet and transfers it to the secondary RA 19-1. The sub RA 19-1 recognizes that the factory format track is transferred by the RA Header 60. The secondary RA 19-1 imitates HA / R0 for the track indicated in the RA Header 60 and writes it on the Cache.

第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 primary FCU 1 receives the Volume Pair Copy notification from the HOST 3, the CM 12 initializes the memo table 62 of the internal buffer in FIG. 25 for the maximum transfer amount. The first CCHH within the transfer range instructed by the host is set as the transfer CCHH.

(S51)正CM12はTFT20により該当トラック(転送CCHH)がFactory Formatであるかを判定する。   (S51) The primary CM 12 determines whether the corresponding track (transfer CCHH) is Factory Format by the TFT 20.

(S52)該当トラックがFactory Formatでない場合には、正CM12は、該当トラックをディスク2から読み込み、自身のCache14上に展開する。正CM12は、正RA19に対し、ACBを作成し、リモート転送を指示する。正RA19からのレスポンス待ちとなり、正RA19からのレスポンスパケットを受信した事により、正CM12は、転送トラックCCHHを(CCHH+1)に更新する。   (S52) If the track is not Factory Format, the primary CM 12 reads the track from the disk 2 and develops it on its own Cache. The primary CM 12 creates an ACB for the primary RA 19 and instructs remote transfer. The primary CM 12 updates the transfer track CCHH to (CCHH + 1) by waiting for a response from the primary RA 19 and receiving a response packet from the primary RA 19.

(S53)正CM12は,Volume Pair Copyの範囲が終了したかを調べ、終了していなければ、ステップS51に戻り、終了していれば、終了する。   (S53) The primary CM 12 checks whether or not the range of Volume Pair Copy has ended. If it has not ended, the process returns to step S51, and if it has ended, it ends.

(S54)正CM12は、TFT20により該当トラックがFactory Formatである事を認識すると、該当ボリュームのメモテーブル62に、ファクトリ・フォーマットトラックの開始と終了をセットする。   (S54) When the primary CM 12 recognizes that the corresponding track is Factory Format by the TFT 20, it sets the start and end of the factory format track in the memo table 62 of the corresponding volume.

(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 RA 19. The primary CM 12 updates the transfer track CCHH to (CCHH + 1) by initializing the memo table 62, waiting for a response from the primary RA 19, and receiving a response packet from the primary RA 19.

(S56)正CM12は,Volume Pair Copyの範囲が終了したかを調べ、終了していなければ、ステップS51に戻り、終了していれば、図23のステップS57に進む。   (S56) The primary CM 12 checks whether or not the range of Volume Pair Copy has ended. If it has not ended, the process returns to step S51. If it has ended, the process proceeds to step S57 in FIG.

(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 RA 19 is notified of the remote transfer. The memo table 62 is initialized, the response from the primary RA 19 is awaited, and when the response packet from the primary RA 19 is received, the primary CM 12 ends the processing.

(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 RA 19 determines whether a packet is received from the sub-RA 19-1.

(S61)正RA19は、ACBよりFactory Format Trackの転送であるかを調べ、Factory Format Trackのフラグが立っていれば、ACBをパケットのRA Header60に乗せる。Factory Format Trackのフラグが立っていなければ、キャッシュ14からトラックを読み込む。   (S61) The primary RA 19 checks whether it is Factory Format Track transfer from the ACB, and if the Factory Format Track flag is set, places the ACB on the RA Header 60 of the packet. If the Factory Format Track flag is not set, the track is read from the cache 14.

(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 RA header 60, and imitates the HA / R0 for the track range indicated by the RA header 60 and writes it on the cache 14-2.

(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 primary CM 12 that the corresponding track has been copied.

(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 FFLT 22, a user can easily change to an arbitrary factory format in a short time.

図1は、本発明の一実施の形態のファイル制御システムの全体構成図である。FIG. 1 is an overall configuration diagram of a file control system according to an embodiment of the present invention. 図2は、本発明の一実施の形態のフォーマット処理の説明図である。FIG. 2 is an explanatory diagram of the format processing according to the embodiment of this invention. 図3は、図2のトラック管理テーブルの構成図である。FIG. 3 is a configuration diagram of the track management table of FIG. 図4は、図3のトラック管理テーブルのフォーマット図である。FIG. 4 is a format diagram of the track management table of FIG. 図5は、図2のフォーマットリストテーブルの構成図である。FIG. 5 is a configuration diagram of the format list table of FIG. 図6は、図2の磁気デイスクの格納領域の説明図である。FIG. 6 is an explanatory diagram of the storage area of the magnetic disk of FIG. 図7は、図2の管理端末のフォーマット処理フロー図である。FIG. 7 is a format processing flowchart of the management terminal of FIG. 図8は、図2のCMのフォーマット処理フロー図である。FIG. 8 is a flowchart of the format process of the CM shown in FIG. 図9は、図2のDAのフォーマット処理フロー図である。FIG. 9 is a format processing flowchart of the DA of FIG. 図10は、図2の構成のリード処理フロー図である。FIG. 10 is a read processing flowchart of the configuration of FIG. 図11は、図2の構成のライト処理フロー図である。FIG. 11 is a write processing flowchart of the configuration of FIG. 図12は、図2のフォーマットリストテーブルの登録処理の説明図である。FIG. 12 is an explanatory diagram of the registration process of the format list table of FIG. 図13は、本発明の他の実施の形態のリモートファイル制御システムの構成図である。FIG. 13 is a configuration diagram of a remote file control system according to another embodiment of the present invention. 図14は、図13のパケット転送の説明図である。FIG. 14 is an explanatory diagram of the packet transfer of FIG. 図15は、図14の転送パケットの説明図である。FIG. 15 is an explanatory diagram of the transfer packet of FIG. 図16は、図13の第1の実施の形態のコピー処理フロー図である。FIG. 16 is a copy processing flow diagram of the first embodiment of FIG. 図17は、図14のリモート転送動作の説明図である。FIG. 17 is an explanatory diagram of the remote transfer operation of FIG. 図18は、図13の第2の実施の形態のコピー処理フロー図である。FIG. 18 is a copy processing flow diagram of the second embodiment of FIG. 図19は、図18の転送パケットの説明図である。FIG. 19 is an explanatory diagram of the transfer packet of FIG. 図20は、図18のリモート転送動作の説明図である。FIG. 20 is an explanatory diagram of the remote transfer operation of FIG. 図21は、図18の他のリモート転送動作の説明図である。FIG. 21 is an explanatory diagram of another remote transfer operation of FIG. 図22は、図13の第3の実施の形態のCMのコピー処理フロー図(その1)である。FIG. 22 is a flowchart of copy processing of the CM according to the third embodiment of FIG. 13 (part 1). 図23は、図13の第3の実施の形態のCMのコピー処理フロー図(その2)である。FIG. 23 is a second flowchart of the CM copy process according to the third embodiment of FIG. 図24は、図13の第3の実施の形態のRAのコピー処理フロー図である。FIG. 24 is a flowchart of RA copy processing according to the third embodiment of FIG. 図25は、図22のメモテーブルの説明図である。FIG. 25 is an explanatory diagram of the memo table of FIG. 図26は、図22乃至図24のリモート転送動作の説明図である。FIG. 26 is an explanatory diagram of the remote transfer operation of FIGS. 図27は、従来のフォーマット初期化処理の説明図である。FIG. 27 is an explanatory diagram of a conventional format initialization process. 図28は、磁気デイスクのCKDフォーマットの説明図である。FIG. 28 is an explanatory diagram of the CKD format of the magnetic disk. 図29は、磁気デイスクの説明図である。FIG. 29 is an explanatory diagram of a magnetic disk.

符号の説明Explanation of symbols

1 ファイルコントロールユニット(FCU)
2 磁気デイスク
3 ホスト
4 保守端末
10 チャネルアダプタ(CA)
12 制御ユニット(CM)
14 キャッシュメモリ
16 デバイスアダプタ(DA)
20 トラック管理テーブル(TFT)
22 工場フォーマットリストテーブル(FFLT)
1 File control unit (FCU)
2 Magnetic disk 3 Host 4 Maintenance terminal 10 Channel adapter (CA)
12 Control unit (CM)
14 Cache memory 16 Device adapter (DA)
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.
主ホストからの入出力要求に応じて、記憶デイスクデバイスのデータの入出力制御を行う第1のリモートデイスク制御装置と、
副ホストからの入出力要求に応じて、記憶デイスクデバイスのデータの入出力制御を行う第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.
JP2008125040A 2008-05-12 2008-05-12 Remote disk control device, remote disk control method, and remote disk control system Expired - Lifetime JP4808745B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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