Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3480282B2 - Duplicated file I/O device, method thereof, and information processing device using the same - Google Patents
[go: Go Back, main page]

JP3480282B2 - Duplicated file I/O device, method thereof, and information processing device using the same - Google Patents

Duplicated file I/O device, method thereof, and information processing device using the same

Info

Publication number
JP3480282B2
JP3480282B2 JP32341197A JP32341197A JP3480282B2 JP 3480282 B2 JP3480282 B2 JP 3480282B2 JP 32341197 A JP32341197 A JP 32341197A JP 32341197 A JP32341197 A JP 32341197A JP 3480282 B2 JP3480282 B2 JP 3480282B2
Authority
JP
Japan
Prior art keywords
file
information
load
request
status table
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.)
Expired - Fee Related
Application number
JP32341197A
Other languages
Japanese (ja)
Other versions
JPH11161555A (en
Inventor
謙一 菊池
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP32341197A priority Critical patent/JP3480282B2/en
Publication of JPH11161555A publication Critical patent/JPH11161555A/en
Application granted granted Critical
Publication of JP3480282B2 publication Critical patent/JP3480282B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は二重化ファイルI/
O装置及びその方法及びそれを使用した情報処理装置に
関する。
The present invention relates to a duplex file I/O.
The present invention relates to an O device, a method thereof, and an information processing device using the same.

【0002】[0002]

【従来の技術】従来、この種の二重化ファイルI/O装
置においては、ライト処理は正ファイル及び副ファイル
の両ファイルに行い、リード処理は正ファイルのみから
行うものであり、ファイルの信頼性を向上させるために
採用されるシステムである。
2. Description of the Related Art Conventionally, in this type of duplicated file I/O device, write operations are performed on both the primary file and the secondary file, and read operations are performed only from the primary file; this is a system adopted to improve the reliability of files.

【0003】特開昭56−129964号公報には、こ
のような二重化ファイルシステムにおいて、正ファイル
と副ファイルの2つのファイルにデータをライトする処
理の効率化を図るために、それぞれのファイルに対応す
るダイレクトメモリアクセスチャネルとバッファレジス
タを共通化するという技術が記載されている。
Japanese Patent Publication No. 56-129964 describes a technique for sharing the direct memory access channel and buffer register corresponding to each file in order to improve the efficiency of the process of writing data to two files, a main file and a sub file, in such a dual file system.

【0004】[0004]

【発明が解決しようとする課題】この従来技術における
第1の問題点は、ファイルをリードする時に、一般には
常に正ファイルからリードするので、正ファイルがある
装置のI/O負荷が高いと、処理効率が低下することで
ある。その理由は、正および副ファイルがある装置のI
/O負荷を考慮しないからである。
The first problem with this prior art is that when reading a file, generally the primary file is always read, so if the I/O load on the device where the primary file is located is high, the processing efficiency drops.
This is because the /O load is not taken into consideration.

【0005】第2の問題点は、ファイルをライトする時
に、プログラムの処理時間が延びることである。その理
由は、正および副ファイルのライトが共に完了するま
で、プログラムの実行を停止するからである。
The second problem is that when writing a file, the processing time of the program increases, because the execution of the program is stopped until writing of both the primary and secondary files is completed.

【0006】本発明の目的は、利用者プログラムの処理
効率の低下を抑えつつファイルの二重化による耐障害性
を提供する二重化ファイルI/O装置及びその方法及び
情報処理装置を提供することにある。
An object of the present invention is to provide a duplicated file I/O device, method and information processing device which provide fault tolerance by duplicating files while suppressing a decrease in the processing efficiency of user programs.

【0007】[0007]

【課題を解決するための手段】本発明の二重化ファイル
I/O装置は、正ファイルと副ファイルとからなる二重
化ファイルと、前記正ファイルがある装置を示す装置情
報、前記副ファイルがある装置を示す装置情報、最後に
ライトしたブロックの位置を示す位置情報および最後に
前記正ファイルまたは前記副ファイルのどちらへのライ
トが先に完了したかを示すファイル情報を記憶するファ
イル状態表と、前記装置のI/O負荷を示す負荷情報を
記憶するI/O負荷表と、I/O要求がリードである場
合は、前記ファイル状態表の前記位置情報を参照し、前
記I/O要求が前記位置情報が示すブロックへの要求で
あるときは、前記ファイル状態表の前記ファイル情報を
参照し、前記ファイル情報が示す前記正ファイルまたは
前記副ファイルにリードを発行し、前記I/O要求が前
記位置情報が示すブロックへの要求ではないときには、
前記I/O負荷表の前記負荷情報および前記ファイル状
態表の前記正ファイル装置情報と前記副ファイル装置情
報を参照し、I/O負荷が低い装置にある前記正ファイ
ルまたは前記副ファイルにリードを発行し、前記I/O
要求がライトである場合には、前記I/O負荷表の前記
負荷情報および前記ファイル状態表の前記正ファイル装
置情報と前記副ファイル装置情報を参照し、I/O負荷
が低い装置にある前記正ファイルまたは前記副ファイル
にライトを発行した後、もう一方の前記副ファイルまた
は前記正ファイルにライトを発行するとともに、先にI
/Oが完了した前記正ファイルまたは前記副ファイルの
情報を前記ファイル状態表の前記ファイル情報に記憶
し、ライトした前記ブロックの位置を前記ファイル状態
表の前記位置情報に記憶する手段とを備えたことを特徴
とする。
The duplicated file of the present invention
The I/O device has a dual file system consisting of a primary file and a secondary file.
The original file and device information indicating the device on which the original file is located
information, device information indicating the device on which said subfile resides, and finally
The location information indicating the location of the written block and the last
The license to either the main file or the sub file
A file that remembers file information indicating which
and load information indicating the I/O load of the device.
The I/O load table to be stored and the I/O request if it is a read
In this case, the position information in the file status table is referenced.
The I/O request is a request to a block indicated by the location information.
At some time, the file information in the file status table is
Refer to the original file indicated by the file information or
Issue a read to the subfile and the I/O request
If the request is not for the block indicated by the location information,
The load information and the file status of the I/O load table
The main file device information and the sub file device information in the state table
Refer to the information and check that the positive file is in a device with low I/O load.
issue a read to the file or to the subfile,
If the request is a write,
Load information and the original file device of the file status table
The I/O load is calculated by referring to the file device information and the secondary file device information.
The primary file or the secondary file in the device with the lowest
After issuing a write to the other subfile or
issues a write to the original file and
/O is completed for the main file or the sub file
Store information in the file status table
The position of the written block is stored in the file status
and means for storing the position information in a table.
Let us assume that.

【0008】本発明の二重化ファイルI/O方法は、コ
ンピュータが、I/O要求を受け、前記I/O要求がリ
ードである場合は、二重化ファイルの一方である正ファ
イルがある装置を示す装置情報、二重化ファイルのもう
一方である副ファイルがある装置を示す装置情報、最後
にライトしたブロックの位置を示す位置情報および最後
に前記正ファイルまたは前記副ファイルのどちらへのラ
イトが先に完了したかを示すファイル情報を記憶するフ
ァイル状態表の前記位置情報を参照し、前記I/O要求
が前記位置情報が示すブロックへの要求であるときは、
前記ファイル状態表の前記ファイル情報を参照し、前記
ファイル情報が示す前記正ファイルまたは前記副ファイ
ルにリードを発行し、前記I/O要求が前記位置情報が
示すブロックへの要求ではないときには、前記装置のI
/O負荷を示す負荷情報を記憶するI/O負荷表の前記
負荷情報および前記ファイル状態表の前記正ファイル装
置情報と前記副ファイル装置情報を参照し、I/O負荷
が低い装置にある前記正ファイルまたは前記副ファイル
にリードを発行し、前記I/O要求がライトである場合
には、前記I/O負荷表の前記負荷情報および前記ファ
イル状態表の前記正ファイル装置情報と前記副ファイル
装置情報を参照し、I/O負荷が低い装置にある前記正
ファイルまたは前記副ファイルにライトを発行した後、
もう一方の前記副ファイルまたは前記正ファイルにライ
トを発行するとともに、先にI/Oが完了した前記正フ
ァイルまたは前記副ファイルの情報を前記ファイル状態
表の前記ファイル情報に記憶し、ライトした前記ブロッ
クの位置を前記ファイル状態表の前記位置情報に記憶す
るステップを含むことを特徴とする。
The dual file I/O method of the present invention comprises:
A computer receives an I/O request, and the I/O request is
If the file is a duplicated file, the primary file is
Device information showing the device where the duplicated file is located,
Device information indicating the device on which the subfile resides,
The location information and the last block written to the
Either the main file or the sub file is
A file that stores file information indicating which file was completed first
The I/O request is
is a request to a block indicated by the location information,
Refer to the file information in the file status table,
The primary file or secondary file indicated by the file information
and the I/O request issues a read to the
When there is no request to the block shown, the I
The I/O load table stores load information indicating an I/O load.
Load information and the original file device of the file status table
The I/O load is calculated by referring to the file device information and the secondary file device information.
The primary file or the secondary file in the device with the lowest
If a read is issued to the I/O request and the I/O request is a write
The load information of the I/O load table and the file
The main file device information and the sub file device information in the file status table
Refer to the device information and select the positive one in the device with low I/O load.
After issuing a write to a file or its subfile,
The other secondary file or the primary file is
At the same time, the I/O for the primary frame that was completed first is issued.
The information of the file or the subfile is stored in the file status.
The block that was written and stored in the file information of the table
The location of the file is stored in the location information of the file status table.
The present invention is characterized by including a step of:

【0009】[0009]

【0010】[0010]

【0011】[0011]

【0012】[0012]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of the present invention will be described in detail with reference to the drawings.

【0013】本発明の一実施の形態をブロックで示す図
1を参照すると、この実施の形態の二重化ファイルI/
O装置は、I/O先選択手段1と、ファイル状態表2
と、I/O負荷表3と、I/O手段4と、二重化ファイ
ル5とを含む。
Referring to FIG. 1, which shows a block diagram of one embodiment of the present invention, the duplex file I/O of this embodiment is
The O device includes an I/O destination selection means 1 and a file status table 2.
, an I/O load table 3 , an I/O means 4 , and a duplicated file 5 .

【0014】ファイル状態表2は、二重化ファイル5の
正および副ファイルが置かれている装置、最後にライト
したブロックの位置、ならびに最後に正または副のどち
らへのライトが先に完了したかを記憶する。
The file status table 2 stores the devices on which the primary and secondary files of the duplicated file 5 are located, the location of the last written block, and whether writing to the primary or secondary file was completed first.

【0015】I/O負荷表3はコンピュータシステムに
構成される各ディスク装置のI/O負荷の情報、例えば
I/Oのビジー率を記憶する。この情報は、I/O手段
4や、一般のディスクI/Oを処理するOSのコンポー
ネントにより随時更新される。
The I/O load table 3 stores information on the I/O load of each disk device configured in the computer system, such as the I/O busy rate. This information is updated as needed by the I/O means 4 and the OS components that process general disk I/O.

【0016】I/O先選択手段1は、利用者プログラム
6からのリード要求に対して、リードするブロックの位
置がファイル状態表2に記憶されている位置と同じか調
べる。同じならば、前回先にライトされた側のファイル
を第1のファイルとして選択する。リードするブロック
の位置がファイル状態表2に記憶されている位置と異な
れば、I/O先選択手段1は、I/O負荷表3を見て、
負荷が低い側の装置にあるファイルを選択する。利用者
プログラム6からのライトの要求に対しては、I/O先
選択手段1はまず前回のライトが完了したことを確認
後、I/O負荷表3を見て、負荷が低い側の装置にある
ファイルを第1のファイルとして選択し、残りの側を第
2のファイルとして選択する。
In response to a read request from a user program 6, the I/O destination selection means 1 checks whether the position of the block to be read is the same as the position stored in the file status table 2. If they are the same, the file to which data was previously written is selected as the first file. If the position of the block to be read is different from the position stored in the file status table 2, the I/O destination selection means 1 checks the I/O load table 3 and
A file in the device with the lightest load is selected. In response to a write request from the user program 6, the I/O destination selection means 1 first confirms that the previous write has been completed, then looks at the I/O load table 3 and selects a file in the device with the lightest load as the first file, and the other device as the second file.

【0017】I/O手段4は、リード要求なら上記のよ
うに選択された第1のファイルに対してリードを発行
し、完了を待つ。ライト要求の場合は、第1および第2
のファイルに対してライトを発行して、どちらかのファ
イルのライトが完了するのを待ち、ファイル状態表2に
必要な情報を登録し直しておく。
If the request is a read request, the I/O means 4 issues a read command to the first file selected as described above and waits for completion. If the request is a write request, the I/O means 4 issues a read command to the first and second files selected as described above and waits for completion.
Then, the write is issued to the file, and the necessary information is registered again in the file status table 2 after waiting for the write of either file to be completed.

【0018】次に、この実施の形態の動作の流れを示す
図2を図1に併せて参照して、この実施の形態の動作に
ついて説明する。
Next, the operation of this embodiment will be described with reference to FIG. 2, which shows the flow of operation of this embodiment, in addition to FIG.

【0019】利用者プログラム6から二重化ファイル5
のI/Oが要求されると、I/O先選択手段1は要求さ
れたI/Oの種別を判断して(ステップA1)、リード
の場合、リードするブロックの位置がファイル状態表2
に記憶された前回ライトした位置と異なれば、I/O負
荷表3を参照することにより、負荷が低い側の装置にあ
る正または副ファイルを第1のファイルとして、他方を
第2のファイルとして選択する(ステップA2、A5〜
A7)。なお、リードの場合、第2のファイルは選択し
ても使用されない。リードするブロックの位置が前回ラ
イトした位置と同じなら、ファイル状態表2から前回の
ライトが先に完了している正または副ファイルを第1の
ファイルとして選択する(ステップA2、A3)。I/
Oの種別がライトの場合、I/O先選択手段1は、まず
前回のライトが完了するまで待ち(ステップA4)、先
に説明したものと同じく、I/O負荷表3から負荷に応
じて第1および第2のファイルを選択する(ステップA
5〜A7)。
From the user program 6 to the duplicated file 5
When an I/O is requested, the I/O destination selection means 1 judges the type of the requested I/O (step A1). In the case of a read, the position of the block to be read is checked in the file status table 2.
If the position is different from the previous write position stored in the I/O load table 3, the primary or secondary file in the device with the lower load is selected as the first file, and the other is selected as the second file (steps A2, A5 to
A7). In the case of a read, the second file is not used even if it is selected. If the position of the block to be read is the same as the position where it was written last time, the primary or secondary file in which the previous write was completed first is selected as the first file from the file status table 2 (steps A2 and A3).
If the type of I/O is a write, the I/O destination selection means 1 first waits until the previous write is completed (step A4), and then selects the first and second files from the I/O load table 3 according to the load, as described above (step A5).
5-A7).

【0020】I/O手段4では、要求に応じて第1のフ
ァイルに対してリードまたはライトを発行する(ステッ
プA8)。ライトの場合、続いて第2のファイルに対し
ても発行する(ステップA9、A10)。その後、I/
Oが1つ完了するのを待つ(ステップA11)。ライト
の場合、先にI/Oが完了したファイルを、ライトした
位置と共にファイル状態表2に記憶しておく(ステップ
A12、A13)。なお、通常は、I/O負荷が低く、
第1のファイルとして選択した側のライトが先に完了す
るはずである。
In response to the request, the I/O means 4 issues a read or write command to the first file (step A8). In the case of a write command, it then issues a read command to the second file (steps A9 and A10).
The process waits for one I/O to be completed (step A11). In the case of a write, the file for which the I/O has been completed first is stored in the file status table 2 together with the write position (steps A12 and A13). Note that normally, the I/O load is low,
The write to the first file selected should be completed first.

【0021】次に、図3〜図5を図1及び図2に併せて
参照して、具体例を用いてこの実施の形態の動作を説明
する。
Next, the operation of this embodiment will be described using a concrete example with reference to FIGS. 3 to 5 in addition to FIGS.

【0022】図3に示すように、例えばファイル状態表
2には、正ファイルのある装置、副ファイルのある装
置、最後にライトした位置、最後のライトが先に完了し
たファイル、が記憶されている。また、図4に示すよう
に、I/O負荷表3には、その時々の装置の負荷が記憶
されている。
As shown in Fig. 3, for example, the file status table 2 stores the device where the primary file is located, the device where the secondary file is located, the last write position, and the file for which the last write was completed first. Also, as shown in Fig. 4, the I/O load table 3 stores the load of the device at any given time.

【0023】利用者プログラム6が位置P2(P2≠P
1とする)をリードしようとすると、I/O先選択手段
1は、ファイル状態表2(図3)から、最後にライトし
た位置と異なる位置であることを知る(ステップA1、
A2)。次にI/O負荷表3(図4)から、装置D1と
装置D2とでは、装置D2の負荷が低いことを知り、副
ファイルを第1のファイルとして、正ファイルを第2の
ファイルとして選択する(ステップA5、A7)。I/
O手段4は、従って副ファイルからリードし、その完了
を待つ(ステップA8、A9、A11)。
When the user program 6 is at position P2 (P2≠P
When an attempt is made to read the file from the file status table 2 (FIG. 3), the I/O destination selection means 1 learns that the file is in a different location from the location where it was last written (step A1,
Next, from I/O Load Table 3 (FIG. 4), it is found that the load of device D2 is lower than that of device D1, and the secondary file is selected as the first file and the primary file as the second file (steps A5 and A7).
O means 4 therefore reads from the subfile and waits for its completion (steps A8, A9, A11).

【0024】また、利用者プログラム6が位置P3をラ
イトしようとすると、I/O先選択手段1はまず前回の
ライト完了を待ち(ステップA4)、I/O負荷表3
(図4)から、副ファイルを第1のファイルとして、正
ファイルを第2のファイルとして選択する(ステップA
5、A7)。
When the user program 6 attempts to write to the position P3, the I/O destination selection means 1 first waits for the previous write to be completed (step A4), and then checks the I/O load table 3.
From FIG. 4, select the secondary file as the first file and the primary file as the second file (step A
5, A7).

【0025】I/O手段4では、まず副ファイルにライ
トを発行し、次に正ファイルにライトを発行する(ステ
ップA8〜A11)。副ファイルのライトが先に完了し
たとすると、ファイル状態表2の内容は、図5のように
なる。
In the I/O means 4, a write is first issued to the subfile, and then a write is issued to the main file (steps A8 to A11). If the write to the subfile is completed first, the contents of the file status table 2 will be as shown in FIG.

【0026】[0026]

【発明の効果】以上説明したように、本発明の効果は、
利用者プログラムの処理効率の低下を抑えつつファイル
の二重化による耐障害性を利用できることにある。
As described above, the effects of the present invention are as follows:
The present invention makes it possible to utilize fault tolerance by duplicating files while suppressing a decrease in the processing efficiency of user programs.

【0027】その理由は、I/O負荷が低い装置にある
ファイルに優先してリード/ライトを発行することと、
ライトの場合は正または副ファイルのどちらかのI/O
が完了した時に利用者プログラムの実行を可能とするた
めである。
The reason for this is that read/write requests are issued preferentially to files in devices with low I/O loads, and
In the case of write, I/O for either the primary or secondary file
This is to enable execution of the user program when the process is completed.

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

【図1】本発明の一実施の形態の構成を示すブロック図
である。
FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】この実施の形態おける動作の一例を示す流れ図
である。
FIG. 2 is a flow chart showing an example of the operation in this embodiment.

【図3】この実施の形態のファイル状態表の具体例を示
す図である。
FIG. 3 is a diagram showing a specific example of a file status table according to the embodiment.

【図4】この実施の形態のI/O負荷表の具体例を示す
図である。
FIG. 4 is a diagram showing a specific example of an I/O load table according to this embodiment.

【図5】この実施の形態のファイル状態表で図3から変
化した状態の具体例を示す図である。
5 is a diagram showing a specific example of a state changed from that shown in FIG. 3 in the file status table of this embodiment.

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

1 I/O先選択手段 2 ファイル状態表 3 I/O負荷表 4 I/O手段 5 二重化ファイル 6 利用者プログラム 1 I/O destination selection means 2 File status table 3 I/O load table 4 I/O means 5 Duplicated file 6 User program

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 12/00 G06F 12/16 G06F 3/06 ─────────────────────────────────────────────────────────── Continued from the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 12/00 G06F 12/16 G06F 3/06

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 正ファイルと副ファイルとからなる二重Claim 1: A duplicate file consisting of a main file and a sub file.
化ファイルと、The file, 前記正ファイルがある装置を示す装置情報、前記副ファDevice information indicating the device where the primary file is located,
イルがある装置を示す装置情報、最後にライトしたブロDevice information showing the device on which the file is located, the block that was last written,
ックの位置を示す位置情報および最後に前記正ファイルLocation information indicating the location of the check and finally the original file
または前記副ファイルのどちらへのライトが先に完了しOr, which of the subfiles is written first?
たかを示すファイル情報を記憶するファイル状態表と、a file status table for storing file information indicating whether 前記装置のI/O負荷を示す負荷情報を記憶するI/OAn I/O load information indicating an I/O load of the device is stored.
負荷表と、Load table and I/O要求がリードである場合は、前記ファイル状態表If the I/O request is a read, the file status table
の前記位置情報を参照し、前記I/O要求が前記位置情and the I/O request is
報が示すブロックへの要求であるときは、前記ファイルIf the request is for the block indicated by the information,
状態表の前記ファイル情報を参照し、前記ファイル情報The file information in the state table is referenced.
が示す前記正ファイルまたは前記副ファイルにリードをA read is made to the main file or the sub file indicated by
発行し、前記I/O要求が前記位置情報が示すブロックThe I/O request is issued to the block indicated by the location information.
への要求ではないときには、前記I/O負荷表の前記負When the request is not to
荷情報および前記ファイル状態表の前記正ファイル装置The file device of the shipment information and the file status table
情報と前記副ファイル装置情報を参照し、I/O負荷がThe I/O load is calculated by referring to the file device information and the file device information.
低い装置にある前記正ファイルまたは前記副ファイルにThe primary file or the secondary file in the lower device
リードを発行し、前記I/O要求がライトである場合にIf a read is issued and the I/O request is a write,
は、前記I/O負荷表の前記負荷情報および前記ファイThe load information in the I/O load table and the file
ル状態表の前記正ファイル装置情報と前記副ファイル装The primary file device information and the secondary file device information in the file status table
置情報を参照し、I/O負荷が低い装置にある前記正フThe primary folder in the device with the lowest I/O load is selected by referring to the location information.
ァイルまたは前記副ファイルにライトを発行した後、もAfter issuing a write to the file or its subfile,
う一方の前記副ファイルまたは前記正ファイルにライトWrite to the other secondary file or primary file.
を発行するとともに、先にI/Oが完了した前記正ファand issues the positive file where the I/O was completed first.
イルまたは前記副ファイルの情報を前記ファイル状態表The information of the file or the sub-file is stored in the file status table.
の前記ファイル情報に記憶し、ライトした前記ブロックThe file information is stored in the block
の位置を前記ファイル状態表の前記位置情報に記憶するThe position of the file is stored in the position information of the file status table.
手段とを備えたことを特徴とする二重化ファイルI/Oand a duplex file I/O means.
装置。Device.
【請求項2】 コンピュータが、I/O要求を受け、前Claim 2: A computer receives an I/O request and
記I/O要求がリードである場合は、二重化ファイルのIf the I/O request is a read request,
一方である正ファイルがある装置を示す装置情報、二重Device information indicating the device where the primary file is located,
化ファイルのもう一方である副ファイルがある装置を示The device on which the subfile, the other half of the file, is located.
す装置情報、最後にライトしたブロックの位置を示す位The location of the last written block.
置情報および最後に前記正ファイルまたは前記副ファイLocation information and finally the main file or the sub file
ルのどちらへのライトが先に完了したかを示すファイルThe file that indicates which write to which file was completed first.
情報を記憶するファイル状態表の前記位置情報を参照Refer to the location information in the file status table that stores the information
し、前記I/O要求が前記位置情報が示すブロックへのThe I/O request is directed to a block indicated by the location information.
要求であるときは、前記ファイル状態表の前記ファイルIf it is a request, the file in the file status table
Emotion 報を参照し、前記ファイル情報が示す前記正ファイルThe file information indicates the correct file.
または前記副ファイルにリードを発行し、前記I/O要or issue a read to the subfile and
求が前記位置情報が示すブロックへの要求ではないときWhen the request is not a request for a block indicated by the location information
には、前記装置のI/O負荷を示す負荷情報を記憶するload information indicating the I/O load of the device is stored in
I/O負荷表の前記負荷情報および前記ファイル状態表The load information in the I/O load table and the file status table
の前記正ファイル装置情報と前記副ファイル装置情報をThe primary file device information and the secondary file device information
参照し、I/O負荷が低い装置にある前記正ファイルまRefer to the above primary file on the device with low I/O load.
たは前記副ファイルにリードを発行し、前記I/O要求or issue a read to the subfile, and
がライトである場合には、前記I/O負荷表の前記負荷If it is a write, the load in the I/O load table
情報および前記ファイル状態表の前記正ファイル装置情information and the primary file device information of the file status table
報と前記副ファイル装置情報を参照し、I/O負荷が低The I/O load is reduced by referring to the information on the secondary file device and the information on the secondary file device.
い装置にある前記正ファイルまたは前記副ファイルにラThe original file or the secondary file in the device that is not connected to the
イトを発行した後、もう一方の前記副ファイルまたは前After issuing the file, the other subfile or
記正ファイルにライトを発行するとともに、先にI/OWrite to the file and perform I/O first.
が完了した前記正ファイルまたは前記副ファイルの情報Information on the main file or the sub file for which
を前記ファイル状態表の前記ファイル情報に記憶し、ラThe file information is stored in the file status table.
イトした前記ブロックの位置を前記ファイル状態表の前The position of the block that was inserted is added to the front of the file status table.
記位置情報に記憶するステップを含むことを特徴とするThe method further comprises the step of storing the position information in the
二重化ファイルI/O方法。Dual file I/O method.
JP32341197A 1997-11-25 1997-11-25 Duplicated file I/O device, method thereof, and information processing device using the same Expired - Fee Related JP3480282B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32341197A JP3480282B2 (en) 1997-11-25 1997-11-25 Duplicated file I/O device, method thereof, and information processing device using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32341197A JP3480282B2 (en) 1997-11-25 1997-11-25 Duplicated file I/O device, method thereof, and information processing device using the same

Publications (2)

Publication Number Publication Date
JPH11161555A JPH11161555A (en) 1999-06-18
JP3480282B2 true JP3480282B2 (en) 2003-12-15

Family

ID=18154411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32341197A Expired - Fee Related JP3480282B2 (en) 1997-11-25 1997-11-25 Duplicated file I/O device, method thereof, and information processing device using the same

Country Status (1)

Country Link
JP (1) JP3480282B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008136075A1 (en) 2007-04-20 2008-11-13 Fujitsu Limited Storage management program, storage management device, and storage management method
JP5090221B2 (en) * 2008-03-21 2012-12-05 株式会社日立ソリューションズ Journal log recording control method

Also Published As

Publication number Publication date
JPH11161555A (en) 1999-06-18

Similar Documents

Publication Publication Date Title
JPH10133959A (en) Method and system for backing up and restoring data in multi-system environment
US20030167312A1 (en) Method of copying data and recording medium including a recorded program for copying data
JP3534302B2 (en) Multipath system for storage devices
JP4727800B2 (en) Digital data subsystem including a directory for efficiently providing format information about stored records
JP3480282B2 (en) Duplicated file I/O device, method thereof, and information processing device using the same
JPH1153123A (en) Backup system
CN115048154B (en) Vehicle-mounted configuration information management method, device, system and storage medium
JPH0667811A (en) Multiplexed disk control device
JP2001014219A (en) Method and device for controlling cache
JP3022011B2 (en) Data backup system
JP4624702B2 (en) Virtual tape device control system and control program
JPH02151944A (en) data processing equipment
JPH0235537A (en) Multiplexed volume update control method
JPH0444134A (en) Method and device for control of storage
JP2739790B2 (en) Disk file access control method
JPH07306839A (en) How to speed up access to network files
JPH03252809A (en) File compiler
JPH0876940A (en) Disk array control method
JPH08263389A (en) Data backup method
JPH07271647A (en) Duplex file system
JPH02250166A (en) information processing equipment
JP3009168B2 (en) Data processing device
JPS63314642A (en) Control processing system for selected product
JPH04148351A (en) Disk cache controller
JPH05233159A (en) Dual auxiliary storage system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030513

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030909

LAPS Cancellation because of no payment of annual fees