JP2012185686A - File system - Google Patents
File system Download PDFInfo
- Publication number
- JP2012185686A JP2012185686A JP2011048496A JP2011048496A JP2012185686A JP 2012185686 A JP2012185686 A JP 2012185686A JP 2011048496 A JP2011048496 A JP 2011048496A JP 2011048496 A JP2011048496 A JP 2011048496A JP 2012185686 A JP2012185686 A JP 2012185686A
- Authority
- JP
- Japan
- Prior art keywords
- file
- metadata
- information
- auxiliary storage
- storage device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000010365 information processing Effects 0.000 claims abstract description 53
- 230000004913 activation Effects 0.000 claims description 83
- 230000006870 function Effects 0.000 claims description 27
- 238000003672 processing method Methods 0.000 claims description 7
- 238000000034 method Methods 0.000 description 54
- 230000008569 process Effects 0.000 description 31
- 238000010586 diagram Methods 0.000 description 12
- 238000007726 management method Methods 0.000 description 12
- 238000012217 deletion Methods 0.000 description 8
- 230000037430 deletion Effects 0.000 description 8
- 230000008859 change Effects 0.000 description 4
- 238000011084 recovery Methods 0.000 description 4
- 238000013500 data storage Methods 0.000 description 3
- 238000005192 partition Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
本発明は、ファイルシステムにかかり、特に、データ復旧機能を有するファイルシステムに関する。 The present invention relates to a file system, and more particularly to a file system having a data recovery function.
ファイルシステムに対して書き込みを行なう場合、実際のデータの他に、データのディスク上の位置などを確定できるようにするためメタデータの更新も行なわれる。メタデータの更新途中でシステム障害が発生すると、メタデータの情報に矛盾が生じる可能性があるため、一般的にはジャーナルと呼ばれる領域にメタデータの更新ログを記録してからディスクに反映して確定(コミット)する。これにより、メタデータに矛盾が発生することはなくなるが、データの保証はされない。 When writing to the file system, in addition to the actual data, the metadata is also updated so that the position of the data on the disk can be determined. If a system failure occurs during the updating of metadata, there is a possibility of inconsistency in the metadata information. Therefore, the metadata update log is generally recorded in an area called a journal and then reflected on the disk. Confirm (commit). As a result, no contradiction occurs in the metadata, but the data is not guaranteed.
そのため、書き込み途中だったデータを、アプリケーション側で保証する仕組みが必要となる。例えば、NFS(Network File System)のプロトコルでは、NFSクライアントはコミットが完了するまで送信したデータを保持しておく必要があり、NFSサーバで障害が発生した場合、NFSクライアントはコミットされていない部分のデータを再送するよう規定されている。 Therefore, it is necessary to have a mechanism that guarantees the data that was being written on the application side. For example, in the NFS (Network File System) protocol, the NFS client needs to keep the transmitted data until the commit is completed. If a failure occurs on the NFS server, the NFS client It is specified to resend data.
しかし、アプリケーションに処理の再開機能(resume機能)が実装されていない場合には、resume機能を利用者が独自に作り込む必要が出てくる。作り込みの手間を考えると、利用者がプロトコルを意識してresume機能を実現するのは現実的には難しい。そのため、例えばCIFS(Common Internet File System)経由でファイルのバックアップをする場合、バックアップサーバ側で障害が発生するとファイルの先頭からバックアップをしなおすのが一般的となる。ただしこの場合、ファイルサイズが非常に大きくなると時間的なロスが大きくなってしまう。 However, if the processing resume function (resume function) is not implemented in the application, the user needs to create the resume function independently. Considering the effort of making it, it is practically difficult for the user to realize the resume function with awareness of the protocol. For this reason, for example, when backing up a file via CIFS (Common Internet File System), if a failure occurs on the backup server side, the backup is generally started again from the beginning of the file. In this case, however, the time loss increases when the file size becomes very large.
ここで、ファイルを復旧に関連する技術の一例が、特許文献1に開示されている。特許文献1に開示のシステムでは、データブロックをトランザクション毎の識別子に関連付けておき、システム故障発生時にいずれの識別子が起動していたかを起動中の識別子リストからチェックしている。 Here, an example of a technique related to file restoration is disclosed in Patent Document 1. In the system disclosed in Patent Document 1, a data block is associated with an identifier for each transaction, and which identifier was activated when a system failure occurred is checked from the activated identifier list.
しかしながら、上述した技術を用いた場合には、識別子リストを用いて全てのデータの復旧処理を明示的に開始して実行する必要がある。すると、復旧処理自体が複雑となると共に、復旧処理中におけるファイルへのアクセスが不可能となったり、ファイルシステムの負荷が高くなるなどの問題が生じ、ファイルシステムの安定した稼働が困難となる。 However, when the above-described technique is used, it is necessary to explicitly start and execute a recovery process for all data using the identifier list. As a result, the recovery process itself becomes complicated, and problems such as the inability to access the file during the recovery process and an increase in the load on the file system occur, making it difficult to stably operate the file system.
このため、本発明の目的は、上述した課題である、簡易な構成にてファイル復旧が可能であると共に、安定した稼働が可能なファイルシステムを提供することにある。 Therefore, an object of the present invention is to provide a file system that can restore a file with a simple configuration and can operate stably, which is the above-described problem.
本発明の一形態であるファイルシステムは、
ファイルに対する処理を行うために、当該ファイルの実データと、当該ファイルの実データの格納位置情報を含むメタデータと、を一時的に記憶するキャッシュメモリと、
前記キャッシュメモリ上のファイルの実データ及びメタデータを前記補助記憶装置に書き込む書込処理部と、
メタデータに基づいてファイルの実データにアクセスするファイルアクセス部と、
ファイルシステムが構築された情報処理装置自体から発行され、当該情報処理装置の起動毎に異なる起動識別情報を取得する起動識別情報取得部と、を備え、
前記書込処理部は、ファイルの実データ及びメタデータを前記補助記憶装置に書き込むと共に、当該ファイルのメタデータに、情報処理装置自体から現在発行されている前記起動識別情報と、前記補助記憶装置に書き込みが完了したファイルの実データ部分を特定する書込完了済み情報と、を含めて前記補助記憶装置に記憶する機能を有する、
という構成を取る。
A file system according to one aspect of the present invention is:
A cache memory for temporarily storing the actual data of the file and metadata including storage location information of the actual data of the file in order to perform processing on the file;
A write processing unit for writing real data and metadata of a file on the cache memory to the auxiliary storage device;
A file access unit for accessing the actual data of the file based on the metadata;
An activation identification information acquisition unit which is issued from the information processing apparatus itself in which the file system is constructed and acquires different activation identification information for each activation of the information processing apparatus,
The write processing unit writes the actual data and metadata of the file to the auxiliary storage device, and the activation identification information currently issued from the information processing device itself to the metadata of the file, and the auxiliary storage device Including a write completion information specifying the actual data portion of the file that has been written to, and storing the auxiliary storage device in the auxiliary storage device,
Take the configuration.
また、本発明の他の形態であるプログラムは、
ファイルに対する処理を行うために、当該ファイルの実データと、当該ファイルの実データの格納位置情報を含むメタデータと、を一時的に記憶するキャッシュメモリを備え、ファイルシステムを構成する情報処理装置に、
前記キャッシュメモリ上のファイルの実データ及びメタデータを前記補助記憶装置に書き込む書込処理部と、
メタデータに基づいてファイルの実データにアクセスするファイルアクセス部と、
ファイルシステムが構築された情報処理装置自体から発行され、当該情報処理装置の起動毎に異なる起動識別情報を取得する起動識別情報取得部と、
を実現させると共に、
前記書込処理部は、ファイルの実データ及びメタデータを前記補助記憶装置に書き込むと共に、当該ファイルのメタデータに、情報処理装置自体から現在発行されている前記起動識別情報と、前記補助記憶装置に書き込みが完了したファイルの実データ部分を特定する書込完了済み情報と、を含めて前記補助記憶装置に記憶する、
ことを実現させるためのプログラムである。
Moreover, the program which is the other form of this invention is:
In order to perform processing on a file, an information processing apparatus that includes a cache memory that temporarily stores real data of the file and metadata including storage location information of the real data of the file, and that configures the file system ,
A write processing unit for writing real data and metadata of a file on the cache memory to the auxiliary storage device;
A file access unit for accessing the actual data of the file based on the metadata;
An activation identification information acquisition unit which is issued from the information processing apparatus itself in which the file system is constructed and acquires different activation identification information for each activation of the information processing apparatus;
And realize
The write processing unit writes the actual data and metadata of the file to the auxiliary storage device, and the activation identification information currently issued from the information processing device itself to the metadata of the file, and the auxiliary storage device Storing in the auxiliary storage device including the write completion information for specifying the actual data portion of the file that has been written to
It is a program for realizing this.
また、本発明の他の形態であるファイル処理方法は、
ファイルに対する処理を行うために、当該ファイルの実データと、当該ファイルの実データの格納位置情報を含むメタデータと、を一時的に記憶するキャッシュメモリを備えたファイルシステムにて、
前記キャッシュメモリ上のファイルの実データ及びメタデータを前記補助記憶装置に書き込み、
メタデータに基づいてファイルの実データにアクセスすると共に、
ファイルの実データ及びメタデータを前記補助記憶装置に書き込むときに、当該ファイルのメタデータに、ファイルシステムが構築された情報処理装置自体から現在発行されている当該情報処理装置の起動毎に異なる起動識別情報と、前記補助記憶装置に書き込みが完了したファイルの実データ部分を特定する書込完了済み情報と、を含めて前記補助記憶装置に記憶する、
という構成を取る。
In addition, a file processing method according to another aspect of the present invention includes:
In order to perform processing on the file, in the file system having a cache memory that temporarily stores the actual data of the file and the metadata including the storage location information of the actual data of the file,
Write the actual data and metadata of the file on the cache memory to the auxiliary storage device,
Access the actual file data based on the metadata,
When writing the actual data and metadata of a file to the auxiliary storage device, the file metadata is activated differently for each activation of the information processing device currently issued from the information processing device itself in which the file system is constructed Storing in the auxiliary storage device including identification information and write completion information specifying the actual data portion of the file that has been written to the auxiliary storage device,
Take the configuration.
本発明は、上記構成を取ることにより、簡易な構成にてファイル復旧が可能であると共に、安定した稼働が可能なファイルシステムを提供することができる。 By adopting the above-described configuration, the present invention can provide a file system that can restore a file with a simple configuration and can operate stably.
本発明の第1の実施形態を、図1乃至図8を参照して説明する。図1乃至図2は、ファイルシステムの構成を説明するための図であり、図3乃至図8は、ファイルシステムの動作を説明するための図である。 A first embodiment of the present invention will be described with reference to FIGS. FIGS. 1 and 2 are diagrams for explaining the configuration of the file system, and FIGS. 3 to 8 are diagrams for explaining the operation of the file system.
[構成]
本実施形態1における情報処理システムは、図1に示すように、アプリケーションG1と、ファイルシステムG2と、OS(Operating System)G4と、を備えている。なお、ファイルシステムG2とOSG4とは、情報処理システムを構成する情報処理装置に、プログラムが組み込まれることで構築される。また、情報処理システムは、補助記憶装置として、ディスクG3を備えている。
[Constitution]
As shown in FIG. 1, the information processing system according to the first embodiment includes an application G1, a file system G2, and an OS (Operating System) G4. Note that the file system G2 and the OSG4 are constructed by incorporating a program into an information processing apparatus constituting the information processing system. The information processing system also includes a disk G3 as an auxiliary storage device.
上記アプリケーションG1は、ファイルシステムG2が構築された同じ情報処理装置内で動作するものである。但し、アプリケーションG1は、NFS(Network File System)やCIFS(Common Internet File System)のように別装置からネットワーク経由で動作するものであってもよい。また、アプリケーションG1は、書き込みログを保持しておく必要は無いが、オリジナルのデータは保持している。従って、本実施形態におけるアプリケーションG1は、例えば、CIFS経由でデータをバックアップする機能を有するものであることが考えられる。但し、アプリケーションG1は、上述した機能を有するものに限定されず、後述するように、ディスクG3に対して、ファイルの書き込み、読み込み、更新などを行うべく、アクセスする機能を有していればよい。 The application G1 operates in the same information processing apparatus in which the file system G2 is constructed. However, the application G1 may operate from another device via a network, such as NFS (Network File System) or CIFS (Common Internet File System). The application G1 does not need to hold a write log, but holds original data. Therefore, it is conceivable that the application G1 in the present embodiment has a function of backing up data via CIFS, for example. However, the application G1 is not limited to the one having the above-described function, and may have a function of accessing the disk G3 so as to write, read, and update a file as will be described later. .
上記OSG4は、ファイルシステムが構築された情報処理装置単位あるいはファイルシステム単位で、当該情報処理装置の起動毎に一意に決まる識別情報である起動ID(起動識別情報)を出力する起動ID払出処理部B0を有する。具体的に、起動ID払出処理部B0は、情報処理装置が起動、再起動したときに、更新された新たな起動IDを払い出す。なお、起動IDとしては、例えば、システムの起動時刻、あるファイルシステムのマウント時刻、などが考えられるが、これらに限定されない。 The OSG 4 is an activation ID payout processing unit that outputs an activation ID (activation identification information) that is identification information uniquely determined for each activation of the information processing apparatus in units of information processing apparatuses or file systems in which a file system is constructed. Has B0. Specifically, the activation ID payout processing unit B0 pays out the updated new activation ID when the information processing apparatus is activated and restarted. The activation ID may be, for example, a system activation time, a certain file system mount time, and the like, but is not limited thereto.
上記ファイルシステムG1は、図1に示すように、インタフェース部A0,inodeコピー処理部C0、キャッシュ管理部D0、ディスクアクセス部E0、を有する。また、データを一時保存するためのキャッシュメモリに形成された、メタデータ記憶領域F1、データキャッシュ領域F2、を有する。 As shown in FIG. 1, the file system G1 includes an interface unit A0, an inode copy processing unit C0, a cache management unit D0, and a disk access unit E0. Further, it has a metadata storage area F1 and a data cache area F2 formed in a cache memory for temporarily storing data.
上記インタフェース部A0は、上記起動ID払出処理部B0から払い出された起動IDを取得する起動ID取得処理部A1(起動識別情報取得部)を備える。また、インタフェース部A0は、アプリケーションG1がファイルのアクセスを行うためにやり取りを行うファイルアクセス部として機能する構成として、オープン処理部A2、読み込み処理部A3、書き込み処理部A4、クローズ処理部A5を備える。なお、これら各処理部A2〜A5は、まず、ファイルのメタデータであるinode情報にアクセスし、そのinode情報に基づいてファイルの実データにアクセスする。これら各処理部A2〜A5の機能については、後述する動作説明時に詳述する。 The interface unit A0 includes an activation ID acquisition processing unit A1 (activation identification information acquisition unit) that acquires the activation ID paid out from the activation ID payout processing unit B0. In addition, the interface unit A0 includes an open processing unit A2, a reading processing unit A3, a writing processing unit A4, and a closing processing unit A5 as a configuration that functions as a file access unit that exchanges for the application G1 to access a file. . Each of the processing units A2 to A5 first accesses inode information that is metadata of a file, and accesses actual data of the file based on the inode information. The functions of each of the processing units A2 to A5 will be described in detail when the operation is described later.
上記inodeコピー処理部C0は、上述したオープン処理部A2、読み込み処理部A3、書き込み処理部A4、クローズ処理部A5と協働してファイルアクセス部として機能し、上記オープン処理部A2等によってファイルにアクセスするとき、つまり、ディスクG3からinodeなどのファイルのinode情報を読み込むときに、当該inode情報を書き換えてメタデータ記憶領域F1に格納する機能を有する。なお、inodeコピー処理部C0は、図1に示すように、再立上判定処理部C1と、コミット情報チェック処理部C2と、inode書換処理部C3と、を備えており、当該inode処理部C0によるinodeの書き換え処理の詳細については、後述する動作説明時に詳述する。 The inode copy processing unit C0 functions as a file access unit in cooperation with the above-described open processing unit A2, read processing unit A3, write processing unit A4, and close processing unit A5. When accessing, that is, when inode information of a file such as an inode is read from the disk G3, the inode information is rewritten and stored in the metadata storage area F1. As shown in FIG. 1, the inode copy processing unit C0 includes a restart determination processing unit C1, a commit information check processing unit C2, and an inode rewrite processing unit C3. The inode processing unit C0 Details of the inode rewriting process will be described in detail when the operation is described later.
上記キャッシュ管理部D0は、データキャッシュ領域F2にキャッシュがたまって書き込みが滞ることを防ぐための処理であり、一定時間時間が経過した場合や、キャッシュ領域に一定量データがたまった場合、アプリケーションG1がコミット要求を発行した場合などに、ディスクアクセス部E0に要求して、データキャッシュ領域F2内のファイルの実データをディスクG3に反映させる。なお、以下では、データキャッシュ領域F2内のデータをディスクG3に反映させる処理を、「コミット」と呼ぶこととする。従って、このキャッシュ管理部D0は、上記書込み処理部A4と共に、ファイルの実データ及びinode情報を、ディスクに書き込む書込処理部として機能する。 The cache management unit D0 is a process for preventing a cache from being accumulated in the data cache area F2 and writing to be delayed. When a certain amount of time has elapsed or when a certain amount of data has accumulated in the cache area, the application G1 When a commit request is issued, the disk access unit E0 is requested to reflect the actual data of the file in the data cache area F2 to the disk G3. In the following, the process of reflecting the data in the data cache area F2 on the disk G3 is referred to as “commit”. Accordingly, the cache management unit D0 functions as a write processing unit that writes the actual data and inode information of the file to the disk together with the write processing unit A4.
上記ディスクアクセス部E0は、データのディスクG3への書き込みや、ディスクG3にあるデータの読み込みを行なうための処理を行い、ファイルシステムG2とディスクG3とのインタフェースとして機能する。 The disk access unit E0 performs processing for writing data to the disk G3 and reading data in the disk G3, and functions as an interface between the file system G2 and the disk G3.
上記データキャッシュ領域F2は、アプリケーションG1からディスクG3への書き込みの性能を向上させるために用いられ、特に、ファイルの実データを一時的に記憶するキャッシュメモリの領域である。 The data cache area F2 is used to improve the performance of writing from the application G1 to the disk G3, and in particular, is an area of a cache memory that temporarily stores the actual data of the file.
また、上記メタデータ記憶領域F2は、ファイルのinode情報を保存しておくための一時的なキャッシュメモリの領域である。ここで、inode情報の一例を、図2を参照して説明する。図2(B)に示すように、本実施形態におけるinode情報は、データキャッシュ領域F2で処理されているファイル全体つまりファイルの実データのサイズを表す「ファイルサイズ」情報と、対応するファイルの補助記憶装置に対する格納場所を表す「データの格納場所」情報と、を含む。また、inode情報は、対応するファイルに関する情報として、「所有者ID」、「グループID」、「inode番号」、「パーミッション」、最終ファイル更新時や最終inode更新時、最終参照時等を表す「タイムスタンプ」、を含む。 The metadata storage area F2 is a temporary cache memory area for storing file inode information. Here, an example of inode information will be described with reference to FIG. As shown in FIG. 2B, the inode information in this embodiment includes “file size” information indicating the size of the entire file being processed in the data cache area F2, that is, the actual data size of the file, and corresponding file assistance. And “data storage location” information indicating a storage location for the storage device. The inode information includes “owner ID”, “group ID”, “inode number”, “permission”, information regarding the corresponding file, “last file update time, last inode update time, last reference time”, etc. Time stamp ".
さらに、本実施形態におけるinode情報は、図2(B)に示すように、上述した起動ID取得処理部A1にて取得した「起動ID」を含む。また、本実施形態におけるinode情報は、ディスクG3に対して書込みが完了したファイルの実データ部分のサイズを表す「コミット済サイズ」を含む。これら「起動ID」と「コミット済サイズ」とは、図2(A)に示す一般的なファイルシステムで使用されるファイルのinode情報には含まれない情報である。なお、上記「起動ID」と「コミット済サイズ」とは、ファイルの実データがデータキャッシュ領域F2やディスクG3に書き込まれるときに更新される。ここで、上記「コミット済サイズ」は、必ずしもデータのサイズを表す情報であることに限定されず、ファイルの実データのうちディスクG3に書き込みが完了した部分を特定する情報であれば、他の情報であってもよい。 Furthermore, the inode information in the present embodiment includes the “activation ID” acquired by the activation ID acquisition processing unit A1 described above, as shown in FIG. The inode information in the present embodiment includes “committed size” indicating the size of the actual data portion of the file that has been written to the disk G3. These “activation ID” and “committed size” are information that is not included in the inode information of the file used in the general file system shown in FIG. The “activation ID” and the “committed size” are updated when the actual data of the file is written to the data cache area F2 or the disk G3. Here, the “committed size” is not necessarily limited to the information indicating the size of the data. If the information specifies the portion of the actual data of the file that has been written to the disk G3, other information It may be information.
[動作]
次に、上述した情報処理システムの動作を説明する。はじめに、図3を参照して、既にファイルがディスクG3に格納されており、当該ディスクG3からファイルを参照したり更新するときの動作を説明する。
[Operation]
Next, the operation of the information processing system described above will be described. First, referring to FIG. 3, the operation when a file is already stored in the disk G3 and the file is referred to or updated from the disk G3 will be described.
まず、アプリケーションG1が、ファイルの参照や更新を行なおうとした場合には、ファイルのパス名とディスクに格納されている位置情報を対応付けるため、ファイルのinode情報を参照する。このとき、アクセスに必要なinode情報がメタデータ記憶領域F1内にあればそれを利用するが(ステップS1、ステップS2でYes)、なかった場合には(ステップS2でNo)、ディスクG3からinode情報を読み込む。 First, when the application G1 tries to refer to or update a file, the inode information of the file is referred to associate the path name of the file with the position information stored on the disk. At this time, if the inode information necessary for access is in the metadata storage area F1, it is used (Yes in step S1 and step S2). If not (No in step S2), the inode information from the disk G3 is used. Read information.
続いて、ディスクG3からinode情報を読み込むために、インタフェース部A0はinodeコピー処理部C0を実行する(ステップS3)。inodeコピー処理部C0は、ディスクアクセス部E0に要求して、ディスクG3から必要とするinode情報を、メタデータ記憶領域F1に読み込む(ステップS4)。 Subsequently, in order to read inode information from the disk G3, the interface unit A0 executes the inode copy processing unit C0 (step S3). The inode copy processing unit C0 requests the disk access unit E0 to read necessary inode information from the disk G3 into the metadata storage area F1 (step S4).
続いて、メタデータ記憶領域F1にinode情報の読み込みができたら、当該inode情報内の「起動ID」と、起動ID取得処理部A1にて取得した現在の情報処理装置あるいはファイルシステムの「起動ID」と、を比較する(ステップS5)。これは、前回書き込みを行なったのが、システムの再起動を行う前か後かを判断するための比較である。従って、「起動ID」が一致している場合には(ステップS6でYes)、前回の書き込みがシステムの再起動の後であると言え、データを書き込んだ後にシステム障害が発生していないことが言える。なお、起動ID取得処理部A1によるシステムの「起動ID」の取得は、システムが起動してから一度行なっていればよく、例えば、システム起動後の最初にinodeコピー処理C0が実行された場合やシステムの起動スクリプトから読み込んでおけばよい。 Subsequently, when the inode information can be read into the metadata storage area F1, the “activation ID” in the inode information and the “activation ID” of the current information processing apparatus or file system acquired by the activation ID acquisition processing unit A1. Are compared with each other (step S5). This is a comparison for determining whether the previous writing was performed before or after the system was restarted. Accordingly, if the “startup IDs” match (Yes in step S6), it can be said that the previous writing is after the restart of the system, and that no system failure has occurred after writing the data. I can say that. The activation ID acquisition unit A1 may acquire the “activation ID” of the system once after the system is activated. For example, when the inode copy process C0 is first executed after the system is activated, Read from the system startup script.
そして、システムの取得した「起動ID」とinode上の「起動ID」とが一致していなかった場合には(ステップS6でNo)、前回、データを書き込んでいる最中にシステム障害が発生した可能性がある。そのため、inode情報の中にある「ファイルサイズ」と「コミット済サイズ」とを比較し(ステップS7)、ファイルの実データをディスクG3に書き込む処理であるコミットが完了した以降に、データの書き込みが発生したかどうかを確認する。 If the “startup ID” acquired by the system does not match the “startup ID” on the inode (No in step S6), a system failure occurred during the previous data writing. there is a possibility. Therefore, the “file size” in the inode information is compared with the “committed size” (step S7), and after the commit, which is the process of writing the actual data of the file to the disk G3, is completed, the data writing is completed. Check if it has occurred.
システムの「起動ID」とinode上の「起動ID」とが一致しておらず、「ファイルサイズ」と「コミット済サイズ」とが一致していなかった場合(ステップS8でNo)、ファイルのロールバック処理を実行するため、inode情報内の「ファイルサイズ」の値を「コミット済サイズ」の値に上書きする(ステップS9)。 If the “boot ID” of the system does not match the “boot ID” on the inode, and the “file size” does not match the “committed size” (No in step S8), the file roll In order to execute the back process, the value of “file size” in the inode information is overwritten with the value of “committed size” (step S9).
続いて、inode情報の「ファイルサイズ」の値が「コミット済サイズ」の値に上書きされると、ファイルサイズは小さくなるため、今まで利用していたデータブロックが利用されなくなる場合がある。そのため、ファイルサイズの変更に合わせて、inodeに記載されているデータの格納場所を修正し、メタデータのデータブロックビットマップの情報を未使用に変更する(ステップS10)。 Subsequently, when the value of “file size” in the inode information is overwritten with the value of “committed size”, the file size becomes small, and the data block that has been used until now may not be used. Therefore, in accordance with the change of the file size, the data storage location described in the inode is corrected, and the information of the metadata data block bitmap is changed to unused (step S10).
その後、変更したinode情報や他のメタデータの値を、メタデータ格納領域F1に格納する(ステップS11)。そして、inodeコピー処理部C0は、処理が完了したことをインタフェース部A0に通知し、オープン処理部A2や読み込み処理部A3等によって、コミットした時点までロールバックしたファイルへのアクセスができるようにする(ステップS12)。 Thereafter, the changed inode information and other metadata values are stored in the metadata storage area F1 (step S11). Then, the inode copy processing unit C0 notifies the interface unit A0 that the processing has been completed, and the open processing unit A2, the reading processing unit A3, and the like can access the file that has been rolled back to the point of commit. (Step S12).
上述した処理を行うことによるファイルの状況を、図8を参照して説明する。まず、図8(A)は、一般的なファイルシステムにおけるinode情報とファイルの実データとの関係を示す図である。この図に示すように、一般的なファイルシステムでは、「ファイルサイズ」に従ってファイルの実データにアクセスされるため、未コミット部分が残ってしまい、アクセスが不可能となる。一方、本実施形態におけるファイルシステムでは、図8(B)の上段に示すように、上述したinodeコピー処理部C0による処理の前には、「ファイルサイズ」が「データ(未コミット)」部分まで含んでいるが、inodeコピー処理部C0による処理後には、「コミット済サイズ」が「ファイルサイズ」に上書きされるため、図8(B)の下段の実践部分に示すように、ファイル自体がコミット済みのデータ部分までとなる。逆に言うと、図8(B)の下段に示す点線部分は、ディスクG3には残っているものの、存在しないように見えるため、コミットが完了した時点までロールバックして、ファイルにアクセスすることが可能となる。 The state of the file by performing the above-described processing will be described with reference to FIG. First, FIG. 8A is a diagram showing the relationship between inode information and actual file data in a general file system. As shown in this figure, in the general file system, since the actual data of the file is accessed according to the “file size”, an uncommitted part remains and access is impossible. On the other hand, in the file system according to the present embodiment, as shown in the upper part of FIG. 8B, before the processing by the inode copy processing unit C0 described above, the “file size” reaches the “data (uncommitted)” part. Although it is included, since the “committed size” is overwritten with the “file size” after the processing by the inode copy processing unit C0, the file itself is committed as shown in the lower part of FIG. 8B. Up to the data part that has been completed. In other words, the dotted line portion shown in the lower part of FIG. 8B remains on the disk G3 but does not exist. Therefore, rollback to the point where the commit is completed and access the file. Is possible.
次に、ファイルシステムによる「ファイルのオープン」、「ファイルの書き込み(非同期)」、「ファイルの書き込み(同期)」、「ファイルの読み込み」、「ファイルのクローズ」の各動作を説明する。 Next, operations of “file open”, “file write (asynchronous)”, “file write (synchronous)”, “file read”, and “file close” by the file system will be described.
(ファイルのオープン)
図4を参照して、「ファイルのオープン」処理の動作を説明する。
1.アプリケーションG1がインタフェース部A0に対してファイルのオープンを要求する。
2.インタフェース部A0は、オープン処理部A2に処理を渡す。オープン処理部A2では、要求された該当ファイルのinodeがメタデータ記憶領域F1に存在しているか確認する。存在していれば、下記手順4に進み、存在していなければ、下記手順3に進む。
(Open file)
The operation of the “file open” process will be described with reference to FIG.
1. The application G1 requests the interface unit A0 to open a file.
2. The interface unit A0 passes the processing to the open processing unit A2. The open processing unit A2 confirms whether the requested inode of the corresponding file exists in the metadata storage area F1. If it exists, the procedure proceeds to the following procedure 4. If not, the procedure proceeds to the procedure 3.
3.オープン処理部A2は、inodeコピー処理部C0による処理を実行する。inodeコピー処理部C0による処理は、上述した処理と同じ処理を行い、処理が完了したことをオープン処理部A2に通知する。
4.オープン処理部A2は、メタデータ記憶領域F1内のinode情報に基づき、ファイルのオープン処理を行ない、処理が完了したらアプリケーションG1に処理が完了したことを通知する。
3. The open processing unit A2 executes processing by the inode copy processing unit C0. The processing by the inode copy processing unit C0 performs the same processing as described above, and notifies the open processing unit A2 that the processing has been completed.
4). The open processing unit A2 performs a file open process based on the inode information in the metadata storage area F1, and notifies the application G1 that the process has been completed when the process is completed.
(ファイルの書き込み(非同期))
図5を参照して、「ファイルの書き込み(非同期)」処理の動作を説明する。
1.アプリケーションG1がインタフェース部A0に対して書き込むデータを送信する。
2.インタフェース部A0は、書き込み処理部A4に処理を渡す。書き込み処理部A4では、要求された該当ファイルのinodeが、メタデータ記憶領域F1に存在しているか確認する。存在していれば下記手順4に進み、存在していなければ下記手順3に進む。なお、ファイルのオープンができていたとしても、メモリを解放するためにメタデータ記憶領域F1から必要なinode情報がクリアされている可能性もあるため、inodeの存在確認処理を行う。
(File writing (asynchronous))
The operation of the “file write (asynchronous)” process will be described with reference to FIG.
1. The application G1 transmits data to be written to the interface unit A0.
2. The interface unit A0 passes the processing to the write processing unit A4. The write processing unit A4 confirms whether the inode of the requested file exists in the metadata storage area F1. If it exists, the procedure proceeds to the following procedure 4. If not, the procedure proceeds to the procedure 3. Even if the file can be opened, inode information necessary for releasing the memory may have been cleared from the metadata storage area F1, so the presence check process of inode is performed.
3.書き込み処理部A4は、inodeコピー処理部C0による処理を実行する。inodeコピー処理部C0による処理は、上述した処理と同じ処理を行い、処理が完了したことを書き込み処理部A4に通知する。
4.書き込み処理部A4は、メタデータ記憶領域F1内のinode情報に基づき、受け取った書き込みデータ(ファイルの実データ)をデータキャッシュ領域F2に書き込む。このとき、書き込むデータに合わせてinode情報も変更する必要があるが、そのときにインタフェース部A0で保持している現在の「起動ID」の情報を、inode情報内に反映する。
5.書き込み処理部A4は、メタデータ記憶領域F1内のinodeの更新と、データキャッシュ領域F2へのファイルの実データの書き込みが完了したら、アプリケーションG1に書き込みの完了を通知する。
3. The write processing unit A4 executes processing by the inode copy processing unit C0. The process by the inode copy processing unit C0 performs the same process as described above, and notifies the write processing unit A4 that the process has been completed.
4). The write processing unit A4 writes the received write data (actual data of the file) in the data cache area F2 based on the inode information in the metadata storage area F1. At this time, it is necessary to change the inode information in accordance with the data to be written. At this time, the current “activation ID” information held in the interface unit A0 is reflected in the inode information.
5. When the update of the inode in the metadata storage area F1 and the writing of the actual data of the file to the data cache area F2 are completed, the writing processing unit A4 notifies the application G1 of the completion of writing.
(ファイルの書き込み(同期))
図6を参照して、「ファイルの書き込み(同期)」処理の動作を説明する。
1.アプリケーションG1がインタフェース部A0に対して、ファイルの実データである書き込むデータを送信する。
2.インタフェース部A0は、書き込み処理部A4に処理を渡す。書き込み処理部A4では、要求された該当ファイルのinodeが、メタデータ記憶領域F1に存在しているか確認する。存在していれば下記手順4に進み、存在していなければ下記手順3に進む。なお、ファイルのオープンができていたとしても、メモリを解放するためにメタデータ記憶領域F1から必要なinode情報がクリアされている可能性もあるため、inodeの存在確認処理を行う。
(Write file (synchronized))
The operation of the “file writing (synchronization)” process will be described with reference to FIG.
1. The application G1 transmits data to be written, which is actual file data, to the interface unit A0.
2. The interface unit A0 passes the processing to the write processing unit A4. The write processing unit A4 confirms whether the inode of the requested file exists in the metadata storage area F1. If it exists, the procedure proceeds to the following procedure 4. If not, the procedure proceeds to the procedure 3. Even if the file can be opened, inode information necessary for releasing the memory may have been cleared from the metadata storage area F1, so the presence check process of inode is performed.
3.書き込み処理部A4は、inodeコピー処理部C0による処理を実行する。inodeコピー処理部C0は、上述した処理と同じ処理を行い、処理が完了したことを書き込み処理部A4に通知する。
4.書き込み処理部A4は、メタデータ記憶領域F1内のinode情報に基づき、受け取った書き込みデータであるファイルの実データをデータキャッシュ領域F2に書き込む。このとき、書き込むデータに合わせてinode情報も変更する必要があるが、そのときにインタフェース部A0で保持している「起動ID」の情報をinode内に反映する。
3. The write processing unit A4 executes processing by the inode copy processing unit C0. The inode copy processing unit C0 performs the same processing as described above, and notifies the write processing unit A4 that the processing has been completed.
4). Based on the inode information in the metadata storage area F1, the write processing unit A4 writes the actual data of the file that is the received write data to the data cache area F2. At this time, it is necessary to change the inode information in accordance with the data to be written. At that time, the information of the “activation ID” held in the interface unit A0 is reflected in the inode.
5.書き込み処理部A4は、メタデータ記憶領域F1内のinode情報の更新とデータキャッシュ領域F2へのデータの書き込みが完了したら、ディスクアクセス部E0にディスクへの反映を要求する。
6.ディスクアクセス部E0は、ディスクG3への反映が完了したら、書き込み処理部A4に通知する。
7.書き込み処理部A4は、メタデータ記憶領域F1内のinode内の「コミット済サイズ」の値を、「ファイルサイズ」の値に上書きする。
8.書き込み処理部A4は、ディスクアクセス部E0に対し、メタデータ記憶領域F1内のinodeのディスクG3への反映を要求する。
9.ディスクアクセス部E0は、ディスクG3への反映が完了したら、書き込み処理部A4に通知する。
10.書き込み処理部A4は、アプリケーションG1に書き込みの完了を通知する。
5. When the update of the inode information in the metadata storage area F1 and the writing of data to the data cache area F2 are completed, the write processing unit A4 requests the disk access unit E0 to reflect on the disk.
6). When the reflection to the disk G3 is completed, the disk access unit E0 notifies the write processing unit A4.
7). The write processing unit A4 overwrites the value of “committed size” in the inode in the metadata storage area F1 with the value of “file size”.
8). The write processing unit A4 requests the disk access unit E0 to reflect the inode in the metadata storage area F1 on the disk G3.
9. When the reflection to the disk G3 is completed, the disk access unit E0 notifies the write processing unit A4.
10. The write processing unit A4 notifies the application G1 of the completion of writing.
(ファイルの読み込み)
図7を参照して、「ファイルの読み込み」処理の動作を説明する。
1.アプリケーションG1が、インタフェース部A0に対してファイルの読み込みを要求する。
2.インタフェース部A0は、読み込み処理部A3に処理を渡す。読み込み処理部A3では、要求された該当ファイルのinodeが、メタデータ記憶領域F1に存在しているか確認する。存在していれば下記手順4に進み、存在していなければ下記手順3に進む。
(File reading)
With reference to FIG. 7, the operation of the “file read” process will be described.
1. The application G1 requests the interface unit A0 to read a file.
2. The interface unit A0 passes the processing to the reading processing unit A3. The read processing unit A3 confirms whether the requested inode of the corresponding file exists in the metadata storage area F1. If it exists, the procedure proceeds to the following procedure 4. If not, the procedure proceeds to the procedure 3.
3.読み込み処理部A3は、inodeコピー処理部C0の処理を実行する。inodeコピー処理部C0は、上述した処理と同じ処理を行い、処理が完了したことを読み込み処理部A3に通知する。
4.読み込み処理部A3は、メタデータ記憶領域F1内のinode情報に基づき、ディスクアクセス部E0にデータの読み込みを要求する。
5.ディスクアクセス部E0は、ディスクG3からデータを読み込んだら、読み込み処理部A3に返却する。なお、通常は読み込んだデータについても書き込み時と同じようにキャッシュを利用する実装が一般に行なわれるが、ここでは、説明を省略し、直接読み込み処理部A3に渡す例を記載している。
6.読み込み処理部A3は、アプリケーションG1に書き込みの完了を通知する。
3. The read processing unit A3 executes the process of the inode copy processing unit C0. The inode copy processing unit C0 performs the same processing as described above, and notifies the reading processing unit A3 that the processing has been completed.
4). The read processing unit A3 requests the disk access unit E0 to read data based on the inode information in the metadata storage area F1.
5. When the disk access unit E0 reads data from the disk G3, the disk access unit E0 returns the data to the read processing unit A3. Normally, the read data is generally mounted using a cache in the same manner as at the time of writing. However, here, an explanation is omitted, and an example in which the data is directly transferred to the read processing unit A3 is described.
6). The read processing unit A3 notifies the application G1 of the completion of writing.
(ファイルのクローズ)
次に、「ファイルのクローズ」処理の動作を説明する。
1.アプリケーションG1が、インタフェース部A0に対してファイルのクローズを要求する。
2.インタフェース部A0は、クローズ処理部A5に処理を渡す。クローズ処理部A5では、要求された該当ファイルのinodeが、メタデータ記憶領域F1に存在しているか確認する。存在していれば下記手順4に進み、存在していなければ下記手順3に進む。
(File close)
Next, the operation of the “file close” process will be described.
1. The application G1 requests the interface unit A0 to close the file.
2. The interface unit A0 passes the process to the close processing unit A5. The close processing unit A5 confirms whether the requested inode of the corresponding file exists in the metadata storage area F1. If it exists, the procedure proceeds to the following procedure 4. If not, the procedure proceeds to the procedure 3.
3.クローズ処理部A5は、メタデータコピー処理部C0による処理を実行する。inodeコピー処理部C0による処理は上述した処理と同じ処理を行い、処理が完了したことをクローズ処理部A5に通知する。
4.クローズ処理部A5は、メタデータ記憶領域F1内のinode情報に基づき、ディスクアクセス部E0にデータキャッシュ領域F2内のデータのディスクG3への反映を要求する。
3. The close processing unit A5 executes processing by the metadata copy processing unit C0. The processing by the inode copy processing unit C0 performs the same processing as described above, and notifies the close processing unit A5 that the processing has been completed.
4). The close processing unit A5 requests the disk access unit E0 to reflect the data in the data cache area F2 on the disk G3 based on the inode information in the metadata storage area F1.
5.ディスクアクセス部E0は、ディスクG3への反映が完了したら、クローズ処理部A5に通知する。
6.クローズ処理部A5は、メタデータ記憶領域F1内のinode内の「コミット済サイズ」の値を「ファイルサイズ」の値に上書きする。
7.クローズ処理部A5は、ディスクアクセス部E0に対し、メタデータ記憶領域F1内のinodeのディスクG3への反映を要求する。
8.ディスクアクセス部E0は、ディスクG3への反映が完了したら、クローズ処理部A5に通知する。
9.クローズ処理部A5は、アプリケーションG1にクローズの完了を通知する。
5. When the reflection to the disk G3 is completed, the disk access unit E0 notifies the close processing unit A5.
6). The close processing unit A5 overwrites the value of “committed size” in the inode in the metadata storage area F1 with the value of “file size”.
7). The close processing unit A5 requests the disk access unit E0 to reflect the inode in the metadata storage area F1 on the disk G3.
8). When the reflection to the disk G3 is completed, the disk access unit E0 notifies the close processing unit A5.
9. The close processing unit A5 notifies the application G1 of the completion of the close.
(データの非同期の反映)
上述した非同期書き込みを行う場合、データキャッシュ領域F2内のデータをディスクG3に反映するための処理が別途必要となる。以下、その処理について説明する。
1.一定時間時間が経過した場合、データキャッシュ領域F2に一定量データがたまった場合などに、キャッシュ管理部D0からディスクアクセス部E0に要求してデータキャッシュ領域F2のデータをディスクG3に書き込む処理を要求する。
2.ディスクアクセス部E0は、メタデータ記憶領域F1およびデータキャッシュ領域F2のキャッシュを読み込み、ディスクG3に反映する。
3.データおよびinodeなどのメタデータの反映後、さらにinodeの「コミット済サイズ」だけ更新し、inodeについて再度ディスクG3に反映する。
(Asynchronous reflection of data)
When the asynchronous writing described above is performed, a process for reflecting the data in the data cache area F2 to the disk G3 is separately required. Hereinafter, the processing will be described.
1. When a certain amount of time has elapsed or when a certain amount of data has accumulated in the data cache area F2, a request is made from the cache management unit D0 to the disk access unit E0 to write data in the data cache area F2 to the disk G3. To do.
2. The disk access unit E0 reads the caches in the metadata storage area F1 and the data cache area F2 and reflects them in the disk G3.
3. After reflecting the data and metadata such as inode, only the “committed size” of the inode is updated, and the inode is reflected on the disk G3 again.
(resume処理)
次に、アプリケーションG1が、書き込みデータのresumeを行う場合の処理について説明する。
1.アプリケーションG1は、インタフェース部A0に対してファイルのオープンを要求する。なお、この時点では、システムに障害が発生していないこととする。
2.インタフェース部A0は、オープン処理部A2に処理を渡し、オープン処理部A2からinodeコピー処理部C0による処理を実行する。
(Resume processing)
Next, processing when the application G1 resumes write data will be described.
1. The application G1 requests the interface unit A0 to open a file. At this point, it is assumed that no failure has occurred in the system.
2. The interface unit A0 passes processing to the open processing unit A2, and executes processing by the inode copy processing unit C0 from the open processing unit A2.
3.この時点で障害は発生していないため、ディスクG3にあるinode情報を、メタデータ格納領域F1にそのままコピーする。
4.inodeコピー処理部C0が、オープン処理部A2に完了を通知し、オープン処理部A2はアプリケーションG1にオープン完了を通知する。
5.アプリケーションG1は、インタフェース部A0に対してデータの送信を行なう。
6.インタフェース部A0は、書き込み処理部A4に処理を渡す。
7.書き込み処理部A4は、メタデータ記憶領域F1内のinode情報に基づき、受け取った書き込みデータをデータキャッシュ領域F2に書き込む。このとき、書き込むデータに合わせてinode情報も変更する。また、inode更新では「起動ID」の情報をinodeに反映する。
3. Since no failure has occurred at this point, the inode information in the disk G3 is copied as it is to the metadata storage area F1.
4). The inode copy processing unit C0 notifies the completion to the open processing unit A2, and the open processing unit A2 notifies the open completion to the application G1.
5. The application G1 transmits data to the interface unit A0.
6). The interface unit A0 passes the processing to the write processing unit A4.
7). The write processing unit A4 writes the received write data in the data cache area F2 based on the inode information in the metadata storage area F1. At this time, the inode information is also changed according to the data to be written. In addition, in the inode update, the “startup ID” information is reflected in the inode.
8.その後、システム障害が発生すると、システムが再起動する。このとき、アプリケーションG1も異常終了してしまう。
9.システム再起動後、アプリケーションG1で書き込んでいたデータをresumeするため、ファイルのサイズを確認する。ファイルサイズを確認するため、アプリケーションG1はファイルのオープンを要求する。
10.インタフェース部A0は、オープン処理部A2に処理を渡す。オープン処理部A2では、該当ファイルのinodeがメタデータ記憶領域F1に存在しているか確認する。但し、この時点では、メタデータ記憶領域F1にinodeは存在していないものとする。
8). Thereafter, when a system failure occurs, the system is restarted. At this time, the application G1 also ends abnormally.
9. After restarting the system, the file size is checked to resume the data written by the application G1. In order to confirm the file size, the application G1 requests opening of the file.
10. The interface unit A0 passes the processing to the open processing unit A2. The open processing unit A2 confirms whether the inode of the corresponding file exists in the metadata storage area F1. However, at this time, it is assumed that no inode exists in the metadata storage area F1.
11.オープン処理部A2は、inodeコピー処理部C0による処理を実行する。
12.inodeコピー処理部C0では、ディスクアクセス部E0に要求して、ディスクG3から必要とするinode情報を読み込む。
13.inodeの読み込みができたら、システムの「起動ID」とinode上の「起動ID」を比較する。システム再起動の前にinodeの更新が行なわれていたため、システムの「起動ID」とinode上の「起動ID」は異なる値を持つ。
14.次に、inode情報の中にある「ファイルサイズ」と「コミット済サイズ」を比較する。書き込み中に障害が発生したため、「ファイルサイズ」と「コミット済サイズ」は異なる値を持つ。なお、コミットの処理が完了した直後に障害が発生する可能性もあるが、一般には極めて稀なタイミングであるため、この例では考えないものとする。
15.システムの「起動ID」とinode上の「起動ID」が一致しておらず、「ファイルサイズ」と「コミット済サイズ」が一致していなかったため、inode内の「ファイルサイズ」の値を「コミット済サイズ」の値に上書きする。
11. The open processing unit A2 executes processing by the inode copy processing unit C0.
12 The inode copy processing unit C0 requests the disk access unit E0 to read necessary inode information from the disk G3.
13. When the inode can be read, the system "boot ID" is compared with the "boot ID" on the inode. Since the inode has been updated before the system is restarted, the “boot ID” of the system and the “boot ID” on the inode have different values.
14 Next, “file size” and “committed size” in the inode information are compared. Since a failure occurred during writing, “file size” and “committed size” have different values. Although a failure may occur immediately after the commit processing is completed, it is not considered in this example because the timing is generally extremely rare.
15. The system “boot ID” and the “boot ID” on the inode do not match, and the “file size” and “committed size” do not match. Overwrite the value of "completed size".
16.inodeの「ファイルサイズ」の値が「コミット済サイズ」の値に上書きされると、ファイルサイズは小さくなるため、ファイルサイズの変更に合わせて、inodeに記載されているデータの格納場所の情報を修正し、メタデータのデータブロックビットマップの情報を未使用に変更する。
17.上記手順15と手順16で変更したinodeや他のメタデータの情報をメタデータ格納領域F1に格納する。
18.inodeコピー処理部C0は、オープン処理部A2に処理が完了したことを通知する。
16. If the inode “file size” value is overwritten with the “committed size” value, the file size will be reduced, so the data storage location information described in the inode will be updated as the file size changes. Modify and change the metadata data block bitmap information to unused.
17. Information on the inodes and other metadata changed in steps 15 and 16 are stored in the metadata storage area F1.
18. The inode copy processing unit C0 notifies the open processing unit A2 that the processing has been completed.
19.オープン処理部A2は、ファイルのオープン処理を実行する。オープン処理が完了したら、アプリケーションG1に対してオープン処理が完了したことを通知する。
20.アプリケーションG1はファイルサイズの参照を要求する。
21.インタフェース部A0は、メタデータ記憶領域F1にあるinode情報からファイルサイズを通知する。
22.アプリケーションG1は、データの書き込みを再開させるため、受け取ったファイルサイズの値のファイルとして認識し、当該ファイルサイズの値から先のデータの書き込みを始める。
19. The open processing unit A2 executes file open processing. When the open process is completed, the application G1 is notified that the open process has been completed.
20. The application G1 requests a file size reference.
21. The interface unit A0 notifies the file size from the inode information in the metadata storage area F1.
22. In order to resume data writing, the application G1 recognizes the received file size value as a file, and starts writing the previous data from the file size value.
以上のように、本実施形態によると、保証されていないデータは、かかるデータへのアクセス時に削除されるため、最終的に参照可能なデータは、保証された(コミットされた)データだけとなる。そして、データのアクセス時にメタデータをディスクからメモリにコピーするときに、メモリ上でメタデータを書き換えることでロールバック処理をしているため、データのロールバック処理に時間が掛からない。 As described above, according to the present embodiment, unguaranteed data is deleted at the time of accessing such data, so the only data that can be finally referred to is guaranteed (committed) data. . Then, when copying the metadata from the disk to the memory at the time of accessing the data, the rollback process is performed by rewriting the metadata on the memory, so that the data rollback process does not take time.
さらに、本実施形態によると、アプリケーションG1からは保証されたデータのみディスクG3に格納されているように見えるため、ファイルサイズを確認してそれ以降のデータのみ書き込めばresumeしたことになるため、アプリケーションG1で書き込みログを用意していなくても、データの書き込みのresumeが容易に行なえる。 Furthermore, according to the present embodiment, since it appears that only guaranteed data is stored in the disk G3 from the application G1, if the file size is confirmed and only the subsequent data is written, the application is resumed. Even if the write log is not prepared in G1, the data write can be resumed easily.
<実施形態2>
次に、本発明の第2の実施形態を、図9乃至図12を参照して説明する。図9と図12は、本発明の構成を示すブロック図であり、図10と図11は、本発明におけるファイルのデータ構造を示す図である。
<Embodiment 2>
Next, a second embodiment of the present invention will be described with reference to FIGS. 9 and 12 are block diagrams showing the configuration of the present invention, and FIGS. 10 and 11 are diagrams showing the data structure of files in the present invention.
[構成]
本実施形態におけるファイルシステムは、ファイルを格納する前に分割し、その分割データについて同一内容のデータは重複して記憶されることを排除する重複排除機能を有する。そして、このような重複排除機能を有するファイルシステムにて、以下に説明するロールバック機能を導入し、重複排除率の低下を防ぐ、というものである。
[Constitution]
The file system according to the present embodiment has a deduplication function that divides a file before storing it and eliminates that the same data is stored redundantly for the divided data. In a file system having such a deduplication function, a rollback function described below is introduced to prevent a reduction in the deduplication rate.
図9に示すように、本実施形態における情報処理システムは、OSQ2と、ファイルシステムQ3と、クラスタ機能Q5と、ディスクQ4と、アプリケーションQ1と、を備えて構成されている。なお、本実施形態における情報処理システムは、図12に示すように、それぞれファイルシステムを構成する複数の情報処理装置がネットワークを介して接続された構成をとっている。 As shown in FIG. 9, the information processing system according to the present embodiment includes an OSQ2, a file system Q3, a cluster function Q5, a disk Q4, and an application Q1. As shown in FIG. 12, the information processing system according to the present embodiment has a configuration in which a plurality of information processing apparatuses each constituting a file system are connected via a network.
上記クラスタ機能Q5は、負荷分散などのために、外部からのアクセスを他の装置に切り替えるために用いられる。切り替え前の装置でファイルシステム終了スクリプトR2を実行し、切り替え後の装置でファイルシステム起動スクリプトR1を実行することで切り替えを実現する。 The cluster function Q5 is used to switch access from the outside to another device for load distribution or the like. Switching is realized by executing the file system termination script R2 on the device before switching and executing the file system activation script R1 on the device after switching.
上記OSQ2は、実施形態1と同様に、起動ID払出処理部P0を有しており、システムの起動毎に更新される「起動ID」を払い出す。 As in the first embodiment, the OSQ 2 includes the activation ID payout processing unit P0, and issues an “activation ID” that is updated every time the system is activated.
上記ファイルシステムQ3は、インタフェース部L0と、分割管理部N1と、ディスクアクセス部N2と、メタデータ記憶領域M1と、データキャッシュ領域M2と、保留データキャッシュ領域M3と、を備える。また、上記インタフェース部L0は、起動ID取得処理部L1、クローズ処理部L2、オープン処理部L3、読み込み処理部L4、書込み処理部L5、キャッシュ削除処理部L6を備える。以下、主に、実施形態1と異なる構成について詳述する。 The file system Q3 includes an interface unit L0, a partition management unit N1, a disk access unit N2, a metadata storage area M1, a data cache area M2, and a reserved data cache area M3. The interface unit L0 includes an activation ID acquisition processing unit L1, a close processing unit L2, an open processing unit L3, a read processing unit L4, a write processing unit L5, and a cache deletion processing unit L6. Hereinafter, the configuration different from the first embodiment will be mainly described in detail.
上記キャッシュ削除処理部L6は、上述したクラスタ機能Q5のファイルシステム終了スクリプトR2から呼び出され、キャッシュ削除処理を実行する。 The cache deletion processing unit L6 is called from the file system end script R2 of the cluster function Q5 described above, and executes cache deletion processing.
上記分割管理部N1は、書き込み時は特定のルールに従い1つのファイルを複数のファイルに分割してディスクQ4に格納し、読み込み時は複数のファイルに分割されたデータを元の1つのファイルとして読めるようにする処理を行なう。例えば、ファイルの書き込み時には、図10(A)に示すファイルを、図10(B)に示すように、ファイルの実データを「a1」、「b1」等の各分割ファイルに分割し、予め設定されたルールにて各分割ファイルを種類別に分割データD2としてまとめて、ディスクQ4に格納する。同時に、各分割ファイルに対応して、当該分割ファイルのディスクQ4に対する格納位置情報と当該分割ファイルの分割前におけるファイルに対する位置情報とを含む各メタデータからなる位置情報ファイルD1を生成して、ディスクQ4に格納する。そして、読み出し時には、位置情報ファイルD1の各メタデータに含まれる格納位置情報から当該各メタデータに対応する各分割ファイルを読み出し、元ファイルに対する位置情報に基づいてファイルを復元して読み出す。 The division management unit N1 divides one file into a plurality of files according to a specific rule at the time of writing and stores them in the disk Q4, and can read the data divided into the plurality of files as one original file at the time of reading. The process to do is done. For example, when writing a file, the file shown in FIG. 10A is divided into each divided file such as “a1” and “b1” as shown in FIG. Each divided file is grouped as divided data D2 by type according to the rule and stored in the disk Q4. At the same time, in correspondence with each divided file, a position information file D1 composed of each metadata including storage position information of the divided file with respect to the disk Q4 and position information with respect to the file before the division of the divided file is generated. Store in Q4. At the time of reading, each divided file corresponding to each metadata is read from the storage position information included in each metadata of the position information file D1, and the file is restored and read based on the position information with respect to the original file.
なお、位置情報ファイルD1の各エントリを構成する各メタデータは、上述したように、対応する分割ファイルの格納位置情報や分割前のファイルに対する位置情報の他、対応する分割ファイルの種類(実データ/非データ)、対応する分割ファイルのサイズ、CRCなどの情報も含んでいる。 As described above, each metadata constituting each entry of the position information file D1 includes the corresponding divided file type (actual data) in addition to the storage position information of the corresponding divided file and the position information with respect to the file before the division. / Non-data), the size of the corresponding split file, and information such as CRC.
そして、分割管理部N1では、上述したメタデータに含まれる対応する分割ファイルの格納位置情報として、当該分割ファイルのデータ内容に固有なコンテンツアドレスを用いている。従って、同一のデータ内容の分割ファイルはコンテンツアドレスが同一となるため、1つの分割ファイルをディスクQ4に格納しておけばよい。つまり、同一データ内容の他の分割ファイルを書き込むときには、既に記憶されている同一データ内容の分割ファイルのコンテンツアドレスである格納位置を参照することで、重複記憶を排除することができる。 The division management unit N1 uses a content address unique to the data content of the divided file as storage location information of the corresponding divided file included in the metadata. Accordingly, since the divided files having the same data contents have the same content address, it is only necessary to store one divided file on the disk Q4. That is, when another divided file having the same data content is written, the duplicate storage can be eliminated by referring to the storage position that is the content address of the already stored divided file having the same data content.
上記保留データキャッシュ領域M3は、ファイルを分割するためのルールで判断ができなかったものを保留しておき、後から来るデータと合わせて判断できるようにするために用いられる一時的なキャッシュ領域である。 The reserved data cache area M3 is a temporary cache area that is used for holding what could not be determined by the rules for dividing the file and determining it together with the data coming later. is there.
なお、本実施形態におけるシステムは、実施形態1と比較して、以下の相違点がある。
1.まず、アーカイブソフトなどのアプリケーションを使ってファイルシステムにファイル(実データ)を格納すると、実データにアーカイブソフトで管理するための日付などの情報(非データ)が付与されて格納する場合がある。すると、実データの更新がなくても、非データの更新が行なわれると、ファイルシステムにとっては別々のファイルとして扱う。このため、ファイルシステムが重複排除機能を有していた場合であっても、うまく重複排除できないことがある。かかる状況であっても効率よく重複排除を行うために、本実施形態では、実データと非データを分割して格納することにより、効率的に重複排除を行う機能を有する。なお、複数のファイルに分割して格納する技術はすでにあるため、その詳細な説明は省略する。
In addition, the system in this embodiment has the following differences compared with Embodiment 1. FIG.
1. First, when a file (actual data) is stored in a file system using an application such as archive software, information such as a date (non-data) for management by the archive software may be assigned to the actual data and stored. Then, even if there is no actual data update, if non-data update is performed, it is handled as a separate file for the file system. For this reason, even if the file system has a deduplication function, deduplication may not be performed well. In order to perform deduplication efficiently even in such a situation, the present embodiment has a function of efficiently performing deduplication by dividing and storing actual data and non-data. Since there is already a technique for dividing and storing a plurality of files, a detailed description thereof will be omitted.
2.本実施形態では、各分割ファイルの格納位置情報などを含む各メタデータに、対応する分割ファイルがコミットされたか否かを表す「コミット情報」と「起動ID」とを含む。
3.実施形態1では、ファイルのメタデータであるinodeをメタデータ記憶領域F1に記憶するときに、inodeコピー処理部C0による処理により書き換えを行なってから記憶していたが、本実施形態では、分割して格納されているデータを1つのファイルのように見せるため、分割管理部N1で元のファイルの状態に復元してから見せるようにしている。
2. In the present embodiment, each piece of metadata including storage location information of each divided file includes “commit information” and “activation ID” indicating whether or not the corresponding divided file has been committed.
3. In the first embodiment, when the inode that is the metadata of the file is stored in the metadata storage area F1, it is stored after being rewritten by the processing by the inode copy processing unit C0. However, in this embodiment, the inode is divided. In order to make the stored data look like a single file, the division management unit N1 restores the original data to the original file state.
4.本実施形態では、データキャッシュ領域M2のデータをディスクQ4に格納するときに、意味のある形で分割できるように保留データキャッシュ領域M3を備えている。
5.本実施形態では、クラスタ機能Q5と、当該クラスタ機能Q5のファイルシステム終了スクリプトR2から呼び出されるキャッシュ削除処理部L6を備えている。
4). In this embodiment, the pending data cache area M3 is provided so that the data in the data cache area M2 can be divided in a meaningful manner when stored in the disk Q4.
5. In this embodiment, a cluster function Q5 and a cache deletion processing unit L6 called from the file system end script R2 of the cluster function Q5 are provided.
[動作]
次に、上述したシステムの動作の概略を説明する。まず、アプリケーションQ1がファイルの参照や更新を行なおうとした場合、ファイルが複数の分割ファイルに分割されてディスクQ4に格納されていると、分割ファイルを元に戻して処理しなければならない。そのため、インタフェース部L0からメタデータやデータにアクセスするためには、すべて分割管理部N1を通してアクセスを行なう。
このとき、ファイルの実データである各分割ファイルに関する情報である各メタデータには、対応する分割データのディスクG4への書き込みに完了したか否かを表す「コミット情報」と「起動ID」とを記憶している。
なお、ファイルを分割してディスクに書き込む目的として、データの暗号化を行なったり重複排除を行なったりすることが考えられるが、書き込まれたデータを処理するときに、データキャッシュ領域に十分データがたまっていないと、どのように分割するべきかの情報を得られない場合がある。そのような場合、保留データキャッシュ領域M3に分割できなかったデータを一時格納しておき、次に書き込まれるデータとあわせることで有効な分割を行うことができる。
[Operation]
Next, an outline of the operation of the above-described system will be described. First, when the application Q1 tries to refer to or update a file, if the file is divided into a plurality of divided files and stored in the disk Q4, the divided file must be restored and processed. Therefore, in order to access metadata and data from the interface unit L0, all access is performed through the division management unit N1.
At this time, each piece of metadata, which is information related to each divided file that is the actual data of the file, includes “commit information” and “activation ID” that indicate whether or not writing of the corresponding divided data to the disk G4 has been completed. Is remembered.
It is possible to divide the file and write it to the disk by encrypting the data or performing deduplication. However, when processing the written data, the data cache area has enough data. Otherwise, information on how to divide may not be obtained. In such a case, effective division can be performed by temporarily storing data that could not be divided into the reserved data cache area M3 and combining it with the data to be written next.
しかし、保留データキャッシュ領域M3にデータが存在している状態で、コミット要求があると、分割するのに必要な情報が足りていなくても、ディスクに書き込む必要がある。この場合、重複排除を行うファイルシステムであると、重複排除率が低下してしまう。また一般に、負荷分散のために別の装置からファイルシステムをアクセスできるようにすると、負荷分散前に利用していた装置でのアクセスをすべて停止する必要があり、このときにはコミット要求が来る。 However, if there is a commit request in the state where data exists in the pending data cache area M3, it is necessary to write to the disk even if there is not enough information to divide. In this case, if the file system performs deduplication, the deduplication rate decreases. In general, if a file system can be accessed from another device for load distribution, it is necessary to stop all access on the device used before load distribution, and at this time, a commit request comes.
以上のように、負荷分散を繰り返し行なうだけで重複排除率が低下してしまうため、本実施形態では、負荷分散などでの切り替えを行なう場合にはコミットを行なわず、キャッシュデータをすべて捨てる処理を行う。 As described above, since the deduplication rate is lowered simply by repeatedly performing load distribution, in this embodiment, when switching is performed by load distribution or the like, a process of discarding all cache data without performing commit is performed. Do.
次に、「コミット情報の登録」処理について説明する。本実施形態では、コミット要求があった場合、分割ファイルをディスクに書き込んだ後、その分割ファイルに対応するメタデータを更新して、当該メタデータにコミットしたことを示すフラグを立てることで、コミットが完了した旨を表す「コミット情報」を登録する。例えば、図11(A)の黒丸印に示すように、メタデータに「コミット情報」を登録する。 Next, the “commit information registration” process will be described. In this embodiment, when there is a commit request, after writing the divided file to the disk, the metadata corresponding to the divided file is updated, and the commit is set by setting a flag indicating that the metadata is committed. Register “commit information” indicating the completion of. For example, “commit information” is registered in the metadata as indicated by the black circles in FIG.
次に、「ロールバック」処理について説明する。ディスクQ4からファイルを読むためには、当該ファイルに対応したメタデータ群からなる位置情報ファイルD1を参照する必要があるが、まず、位置情報ファイルD1内のメタデータ中の「起動ID」が、起動ID取得処理部L1にて取得した現在の「起動ID」と一致するか否かを調べる。一致しない場合には、障害発生前に行われたファイルの変更内容がコミットされていない場合が考えられるため、続いて、位置情報ファイルD1内の各メタデータ中の「コミット情報」を探す。このとき、位置情報ファイルD1の終端側からさかのぼって各メタデータ内のコミット情報を探す。なお、位置情報ファイルの各エントリである各メタデータを固定長にすることにより、コミット情報をすばやく確認することができる。 Next, the “rollback” process will be described. In order to read a file from the disk Q4, it is necessary to refer to the position information file D1 including a metadata group corresponding to the file. First, the “activation ID” in the metadata in the position information file D1 is It is checked whether or not it coincides with the current “activation ID” acquired by the activation ID acquisition processing unit L1. If they do not match, there may be a case where the file changes made before the failure has not been committed. Therefore, “commit information” in each piece of metadata in the position information file D1 is subsequently searched. At this time, the commit information in each metadata is searched from the end side of the position information file D1. Note that commit information can be quickly confirmed by setting each metadata, which is each entry in the position information file, to a fixed length.
そして、メタデータ記憶領域M1上に位置情報ファイルD1を展開するときには、最終コミットの地点以降のメタデータはないものとして扱う。つまり、位置情報ファイルD1内のメタデータから「コミット情報」を検出すると、当該「コミット情報」を検出したメタデータのうち位置情報ファイルD1の最後端側に位置するメタデータ以降のメタデータを「0」に変更し、この「0」となったメタデータに対応する分割ファイルも「0」に変更する。このとき、対応するメタデータがない分割ファイルも「0」に変更する。換言すると、オープン処理部L3、読み込み処理部L4等のインタフェース部L0は、図11(B)に示すように、位置情報ファイルD1の先頭から見て、黒丸印である「コミット情報」が含まれる最後方のメタデータに対応する分割ファイルまでで復元されるファイルを、アクセス可能とする。具体的に、図11(B)の例では、点線部分のデータがないものとして扱われる。 When the position information file D1 is expanded on the metadata storage area M1, it is handled that there is no metadata after the last commit point. That is, when “commit information” is detected from the metadata in the location information file D1, metadata after the metadata located at the end of the location information file D1 among the metadata in which the “commit information” is detected is “ The divided file corresponding to the metadata that has become “0” is also changed to “0”. At this time, the divided file having no corresponding metadata is also changed to “0”. In other words, the interface unit L0 such as the open processing unit L3 and the reading processing unit L4 includes “commit information” that is a black circle as seen from the top of the position information file D1, as shown in FIG. A file restored up to the split file corresponding to the last metadata is made accessible. Specifically, in the example of FIG. 11B, it is handled that there is no data of the dotted line portion.
次に、キャッシュ削除処理について、図9及び図12を参照して説明する。
1.負荷分散の切り替えのため、クラスタ機能Q5のファイルシステム終了スクリプトR2が実行される。
2.ファイルシステム終了スクリプトR2は、インタフェース部L0のキャッシュ削除処理部L6による処理を呼び出す。
3.キャッシュ削除処理部L6では、インタフェース部L0へのアクセスをすべて停止する。これは、アプリケーションQ1からの追加の書き込みやコミット要求を受けないようにするためである。
4.アクセスがすべて停止した段階で、データキャッシュ領域M2のデータと保留データキャッシュ領域M3のデータをすべて削除する。つまり、ディスクQ4に書き込みを行わない。
5.キャッシュのデータがすべて削除できたら、ファイルシステム終了スクリプトR2の残りの処理を実施する。これにより、ファイルシステムのアンマウントなどが行なわれる。
6.負荷分散により切り替わる先の装置で、ファイルシステム起動スクリプトR1を実行する。これにより、ファイルシステムのマウントなどが行なわれる。
Next, the cache deletion process will be described with reference to FIGS.
1. The file system end script R2 of the cluster function Q5 is executed for switching load distribution.
2. The file system end script R2 calls processing by the cache deletion processing unit L6 of the interface unit L0.
3. The cache deletion processing unit L6 stops all access to the interface unit L0. This is to prevent receiving an additional write or commit request from the application Q1.
4). When all accesses are stopped, the data in the data cache area M2 and the data in the reserved data cache area M3 are all deleted. That is, no writing is performed on the disk Q4.
5. When all the cache data has been deleted, the remaining processing of the file system termination script R2 is executed. As a result, the file system is unmounted.
6). The file system activation script R1 is executed on the destination device that is switched by load distribution. As a result, the file system is mounted.
以上により、保留データキャッシュ領域M3内にあったデータはディスクに書き込まれないことになり、分割できない状態で強制的にディスクQ4へ書き込む必要が無くなる。そのため、重複排除率の低下を防ぐことができる。また、切り替わる先の装置でデータのロールバックが実行されるため、データは保証されることになる。 As a result, the data in the reserved data cache area M3 is not written to the disk, and there is no need to forcibly write to the disk Q4 in a state where it cannot be divided. Therefore, it is possible to prevent the deduplication rate from decreasing. In addition, the data is guaranteed because the data rollback is executed in the switching destination device.
<付記>
上記実施形態の一部又は全部は、以下の付記のようにも記載されうる。以下、本発明におけるファイルシステム等の構成を説明する。但し、本発明は、以下の構成に限定されない。
<Appendix>
Part or all of the above-described embodiment can be described as in the following supplementary notes. The configuration of the file system and the like in the present invention will be described below. However, the present invention is not limited to the following configuration.
(付記1)
ファイルに対する処理を行うために、当該ファイルの実データと、当該ファイルの実データの格納位置情報を含むメタデータと、を一時的に記憶するキャッシュメモリと、
前記キャッシュメモリ上のファイルの実データ及びメタデータを前記補助記憶装置に書き込む書込処理部と、
メタデータに基づいてファイルの実データにアクセスするファイルアクセス部と、
ファイルシステムが構築された情報処理装置自体から発行され、当該情報処理装置の起動毎に異なる起動識別情報を取得する起動識別情報取得部と、を備え、
前記書込処理部は、ファイルの実データ及びメタデータを前記補助記憶装置に書き込むと共に、当該ファイルのメタデータに、情報処理装置自体から現在発行されている前記起動識別情報と、前記補助記憶装置に書き込みが完了したファイルの実データ部分を特定する書込完了済み情報と、を含めて前記補助記憶装置に記憶する機能を有する、
ファイルシステム。
(Appendix 1)
A cache memory for temporarily storing the actual data of the file and metadata including storage location information of the actual data of the file in order to perform processing on the file;
A write processing unit for writing real data and metadata of a file on the cache memory to the auxiliary storage device;
A file access unit for accessing the actual data of the file based on the metadata;
An activation identification information acquisition unit which is issued from the information processing apparatus itself in which the file system is constructed and acquires different activation identification information for each activation of the information processing apparatus,
The write processing unit writes the actual data and metadata of the file to the auxiliary storage device, and the activation identification information currently issued from the information processing device itself to the metadata of the file, and the auxiliary storage device Including a write completion information specifying the actual data portion of the file that has been written to, and storing the auxiliary storage device in the auxiliary storage device,
File system.
(付記2)
付記1に記載のファイルシステムであって、
前記ファイルアクセス部は、ファイルへのアクセス時に当該ファイルのメタデータが前記キャッシュメモリに記憶されていない場合に、当該メタデータを前記補助記憶装置から前記キャッシュメモリに読み出して、当該メタデータ内の前記起動識別情報が情報処理装置自体から現在発行されている前記起動識別情報と異なる場合に、ファイルのメタデータ内の前記書込完了済み情報にて特定される実データ部分のファイルにアクセスする、
ファイルシステム。
(Appendix 2)
The file system according to attachment 1, wherein
The file access unit reads the metadata from the auxiliary storage device into the cache memory when the metadata of the file is not stored in the cache memory when accessing the file, and the metadata in the metadata When the activation identification information is different from the activation identification information currently issued from the information processing device itself, the file of the actual data part specified by the write completion information in the metadata of the file is accessed.
File system.
(付記3)
付記2に記載のファイルシステムであって、
前記書込処理部は、ファイルのメタデータ内に、前記キャッシュメモリ上におけるファイルの実データのサイズを表すファイルサイズ情報を含めると共に、当該ファイルの前記補助記憶装置に対する書き込みが完了した実データ部分のサイズを前記書込完了済み情報として含めて、ファイルのメタデータを前記補助記憶装置に記憶し、
前記ファイルアクセス部は、前記補助記憶装置から前記キャッシュメモリに読み出したファイルのメタデータ内の前記起動識別情報が情報処理装置自体から現在発行されている前記起動識別情報と異なり、当該メタデータ内の前記書込完了済み情報の値が当該メタデータ内の前記ファイルサイズ情報の値と異なる場合に、当該ファイルサイズに前記書込済み情報の値を上書きする、
ファイルシステム。
(Appendix 3)
The file system according to appendix 2,
The write processing unit includes file size information indicating the size of the actual data of the file on the cache memory in the metadata of the file, and the real data portion of the file that has been written to the auxiliary storage device. Including the size as the completion of writing information, storing file metadata in the auxiliary storage device,
The file access unit is different from the activation identification information currently issued from the information processing apparatus itself in the metadata of the file read from the auxiliary storage device to the cache memory, and in the metadata When the value of the written completion information is different from the value of the file size information in the metadata, the value of the written information is overwritten on the file size.
File system.
(付記4)
付記3に記載のファイルシステムであって、
前記ファイルアクセス部は、前記補助記憶装置から前記キャッシュメモリに読み出したファイルのメタデータ内の前記ファイルサイズ情報に対応するサイズの実データ部分のファイルにアクセスする、
ファイルシステム。
(Appendix 4)
The file system according to appendix 3,
The file access unit accesses a file of an actual data part having a size corresponding to the file size information in the metadata of the file read from the auxiliary storage device to the cache memory;
File system.
(付記5)
付記2に記載のファイルシステムであって、
前記書込処理部は、ファイルの実データを分割した分割ファイル毎に、当該分割ファイルの実データ、及び、当該分割ファイルの前記補助記憶装置に対する格納位置情報と当該分割ファイルの分割前のファイルに対する位置情報とを含むメタデータ、を前記補助記憶装置に書き込むと共に、当該分割ファイルのメタデータに、情報処理装置自体から現在発行されている前記起動識別情報と、当該分割ファイルの前記補助記憶装置に対する書き込みが完了したことを表す前記書込完了済み情報と、を含めて前記補助記憶装置に記憶する機能を有する、
ファイルシステム。
(Appendix 5)
The file system according to appendix 2,
For each divided file obtained by dividing the actual data of the file, the writing processing unit stores the actual data of the divided file, the storage location information of the divided file with respect to the auxiliary storage device, and the file before the division of the divided file. Metadata including location information is written to the auxiliary storage device, and the activation identification information currently issued from the information processing device itself to the metadata of the divided file and the auxiliary storage device of the divided file Having the function of storing in the auxiliary storage device including the writing completion information indicating that writing has been completed,
File system.
(付記6)
付記5に記載のファイルシステムであって、
前記ファイルアクセス部は、前記補助記憶装置から前記キャッシュメモリに読み出したファイルの分割ファイルに対応するメタデータ内の前記起動識別情報が情報処理装置自体から現在発行されている前記起動識別情報と異なる場合に、前記補助記憶装置から前記キャッシュメモリに読み出したファイルの各分割ファイルに対応する各メタデータのうち、ファイルの先頭から見て前記書込み完了済み情報が含まれている最後方のメタデータに対応する分割ファイルまでの実データ部分のファイルにアクセスする、
ファイルシステム。
(Appendix 6)
The file system according to appendix 5,
The file access unit, when the activation identification information in the metadata corresponding to the divided file of the file read from the auxiliary storage device to the cache memory is different from the activation identification information currently issued from the information processing device itself In addition, among the metadata corresponding to each divided file of the file read from the auxiliary storage device to the cache memory, the metadata corresponding to the last metadata including the written completion information as seen from the top of the file Access the file of the actual data part up to the split file to be
File system.
(付記7)
ファイルに対する処理を行うために、当該ファイルの実データと、当該ファイルの実データの格納位置情報を含むメタデータと、を一時的に記憶するキャッシュメモリを備え、ファイルシステムを構成する情報処理装置に、
前記キャッシュメモリ上のファイルの実データ及びメタデータを前記補助記憶装置に書き込む書込処理部と、
メタデータに基づいてファイルの実データにアクセスするファイルアクセス部と、
ファイルシステムが構築された情報処理装置自体から発行され、当該情報処理装置の起動毎に異なる起動識別情報を取得する起動識別情報取得部と、
を実現させると共に、
前記書込処理部は、ファイルの実データ及びメタデータを前記補助記憶装置に書き込むと共に、当該ファイルのメタデータに、情報処理装置自体から現在発行されている前記起動識別情報と、前記補助記憶装置に書き込みが完了したファイルの実データ部分を特定する書込完了済み情報と、を含めて前記補助記憶装置に記憶する、
ことを実現させるためのプログラム。
(Appendix 7)
In order to perform processing on a file, an information processing apparatus that includes a cache memory that temporarily stores real data of the file and metadata including storage location information of the real data of the file, and that configures the file system ,
A write processing unit for writing real data and metadata of a file on the cache memory to the auxiliary storage device;
A file access unit for accessing the actual data of the file based on the metadata;
An activation identification information acquisition unit which is issued from the information processing apparatus itself in which the file system is constructed and acquires different activation identification information for each activation of the information processing apparatus;
And realize
The write processing unit writes the actual data and metadata of the file to the auxiliary storage device, and the activation identification information currently issued from the information processing device itself to the metadata of the file, and the auxiliary storage device Storing in the auxiliary storage device including the write completion information for specifying the actual data portion of the file that has been written to
A program to make things happen.
(付記8)
付記7に記載のプログラムであって、
前記ファイルアクセス部は、ファイルへのアクセス時に当該ファイルのメタデータが前記キャッシュメモリに記憶されていない場合に、当該メタデータを前記補助記憶装置から前記キャッシュメモリに読み出して、当該メタデータ内の前記起動識別情報が情報処理装置自体から現在発行されている前記起動識別情報と異なる場合に、ファイルのメタデータ内の前記書込完了済み情報にて特定される実データ部分のファイルにアクセスする、
プログラム。
(Appendix 8)
The program according to appendix 7,
The file access unit reads the metadata from the auxiliary storage device into the cache memory when the metadata of the file is not stored in the cache memory when accessing the file, and the metadata in the metadata When the activation identification information is different from the activation identification information currently issued from the information processing device itself, the file of the actual data part specified by the write completion information in the metadata of the file is accessed.
program.
(付記9)
ファイルに対する処理を行うために、当該ファイルの実データと、当該ファイルの実データの格納位置情報を含むメタデータと、を一時的に記憶するキャッシュメモリを備えたファイルシステムにて、
前記キャッシュメモリ上のファイルの実データ及びメタデータを前記補助記憶装置に書き込み、
メタデータに基づいてファイルの実データにアクセスすると共に、
ファイルの実データ及びメタデータを前記補助記憶装置に書き込むときに、当該ファイルのメタデータに、ファイルシステムが構築された情報処理装置自体から現在発行されている当該情報処理装置の起動毎に異なる起動識別情報と、前記補助記憶装置に書き込みが完了したファイルの実データ部分を特定する書込完了済み情報と、を含めて前記補助記憶装置に記憶する、
ファイル処理方法。
(Appendix 9)
In order to perform processing on the file, in the file system having a cache memory that temporarily stores the actual data of the file and the metadata including the storage location information of the actual data of the file,
Write the actual data and metadata of the file on the cache memory to the auxiliary storage device,
Access the actual file data based on the metadata,
When writing the actual data and metadata of a file to the auxiliary storage device, the file metadata is activated differently for each activation of the information processing device currently issued from the information processing device itself in which the file system is constructed Storing in the auxiliary storage device including identification information and write completion information specifying the actual data portion of the file that has been written to the auxiliary storage device,
File processing method.
(付記10)
付記9に記載のファイル処理方法であって、
ファイルへのアクセス時に、当該ファイルのメタデータが前記キャッシュメモリに記憶されていない場合に、当該メタデータを前記補助記憶装置から前記キャッシュメモリに読み出して、当該メタデータ内の前記起動識別情報が情報処理装置自体から現在発行されている前記起動識別情報と異なる場合に、ファイルのメタデータ内の前記書込完了済み情報にて特定される実データ部分のファイルにアクセスする、
ファイル処理方法。
(Appendix 10)
A file processing method according to attachment 9, wherein
When accessing the file, if the metadata of the file is not stored in the cache memory, the metadata is read from the auxiliary storage device to the cache memory, and the activation identification information in the metadata is information When different from the activation identification information currently issued from the processing device itself, to access the file of the actual data portion specified by the write completion information in the metadata of the file,
File processing method.
A0 インタフェース部
A1 起動ID取得処理部
A2 オープン処理部
A3 読み込み処理部
A4 書き込み処理部
A5 クローズ処理部
B0 起動ID払出処理部
C0 inodeコピー処理部
C1 再立上判定処理部
C2 コミット情報チェック処理部
C3 inode書換処理部
D0 キャッシュ管理部
E0 ディスクアクセス部
F1 メタデータ記憶領域
F2 データキャッシュ領域
G1 アプリケーション
G2 ファイルシステム
G3 ディスク
G4 OS
L0 インタフェース部
L1 起動ID取得処理部
L2 クローズ処理部
L3 オープン処理部
L4 読み込み処理部
L5 書き込み処理部
L6 キャッシュ削除処理部
M1 メタデータ記憶領域
M2 データキャッシュ領域
M3 保留データキャッシュ領域
N1 分割管理部
N2 ディスクアクセス部
P0 起動ID払出処理部
Q1 アプリケーション
Q2 OS
Q3 ファイルシステム
Q4 ディスク
Q5 クラスタ機能
R1 ファイルシステム起動スクリプト
R2 ファイルシステム終了スクリプト
A0 interface unit A1 activation ID acquisition processing unit A2 open processing unit A3 read processing unit A4 write processing unit A5 close processing unit B0 activation ID issue processing unit C0 inode copy processing unit C1 restart determination processing unit C2 commit information check processing unit C3 inode rewrite processing unit D0 cache management unit E0 disk access unit F1 metadata storage area F2 data cache area G1 application G2 file system G3 disk G4 OS
L0 interface unit L1 activation ID acquisition processing unit L2 close processing unit L3 open processing unit L4 read processing unit L5 write processing unit L6 cache deletion processing unit M1 metadata storage area M2 data cache area M3 reserved data cache area N1 partition management unit N2 disk Access unit P0 Startup ID issue processing unit Q1 Application Q2 OS
Q3 File system Q4 Disk Q5 Cluster function R1 File system start script R2 File system end script
Claims (10)
前記キャッシュメモリ上のファイルの実データ及びメタデータを前記補助記憶装置に書き込む書込処理部と、
メタデータに基づいてファイルの実データにアクセスするファイルアクセス部と、
ファイルシステムが構築された情報処理装置自体から発行され、当該情報処理装置の起動毎に異なる起動識別情報を取得する起動識別情報取得部と、を備え、
前記書込処理部は、ファイルの実データ及びメタデータを前記補助記憶装置に書き込むと共に、当該ファイルのメタデータに、情報処理装置自体から現在発行されている前記起動識別情報と、前記補助記憶装置に書き込みが完了したファイルの実データ部分を特定する書込完了済み情報と、を含めて前記補助記憶装置に記憶する機能を有する、
ファイルシステム。 A cache memory for temporarily storing the actual data of the file and metadata including storage location information of the actual data of the file in order to perform processing on the file;
A write processing unit for writing real data and metadata of a file on the cache memory to the auxiliary storage device;
A file access unit for accessing the actual data of the file based on the metadata;
An activation identification information acquisition unit which is issued from the information processing apparatus itself in which the file system is constructed and acquires different activation identification information for each activation of the information processing apparatus,
The write processing unit writes the actual data and metadata of the file to the auxiliary storage device, and the activation identification information currently issued from the information processing device itself to the metadata of the file, and the auxiliary storage device Including a write completion information specifying the actual data portion of the file that has been written to, and storing the auxiliary storage device in the auxiliary storage device,
File system.
前記ファイルアクセス部は、ファイルへのアクセス時に当該ファイルのメタデータが前記キャッシュメモリに記憶されていない場合に、当該メタデータを前記補助記憶装置から前記キャッシュメモリに読み出して、当該メタデータ内の前記起動識別情報が情報処理装置自体から現在発行されている前記起動識別情報と異なる場合に、ファイルのメタデータ内の前記書込完了済み情報にて特定される実データ部分のファイルにアクセスする、
ファイルシステム。 The file system according to claim 1,
The file access unit reads the metadata from the auxiliary storage device into the cache memory when the metadata of the file is not stored in the cache memory when accessing the file, and the metadata in the metadata When the activation identification information is different from the activation identification information currently issued from the information processing device itself, the file of the actual data part specified by the write completion information in the metadata of the file is accessed.
File system.
前記書込処理部は、ファイルのメタデータ内に、前記キャッシュメモリ上におけるファイルの実データのサイズを表すファイルサイズ情報を含めると共に、当該ファイルの前記補助記憶装置に対する書き込みが完了した実データ部分のサイズを前記書込完了済み情報として含めて、ファイルのメタデータを前記補助記憶装置に記憶し、
前記ファイルアクセス部は、前記補助記憶装置から前記キャッシュメモリに読み出したファイルのメタデータ内の前記起動識別情報が情報処理装置自体から現在発行されている前記起動識別情報と異なり、当該メタデータ内の前記書込完了済み情報の値が当該メタデータ内の前記ファイルサイズ情報の値と異なる場合に、当該ファイルサイズに前記書込済み情報の値を上書きする、
ファイルシステム。 The file system according to claim 2,
The write processing unit includes file size information indicating the size of the actual data of the file on the cache memory in the metadata of the file, and the real data portion of the file that has been written to the auxiliary storage device. Including the size as the completion of writing information, storing file metadata in the auxiliary storage device,
The file access unit is different from the activation identification information currently issued from the information processing apparatus itself in the metadata of the file read from the auxiliary storage device to the cache memory, and in the metadata When the value of the written completion information is different from the value of the file size information in the metadata, the value of the written information is overwritten on the file size.
File system.
前記ファイルアクセス部は、前記補助記憶装置から前記キャッシュメモリに読み出したファイルのメタデータ内の前記ファイルサイズ情報に対応するサイズの実データ部分のファイルにアクセスする、
ファイルシステム。 The file system according to claim 3,
The file access unit accesses a file of an actual data part having a size corresponding to the file size information in the metadata of the file read from the auxiliary storage device to the cache memory;
File system.
前記書込処理部は、ファイルの実データを分割した分割ファイル毎に、当該分割ファイルの実データ、及び、当該分割ファイルの前記補助記憶装置に対する格納位置情報と当該分割ファイルの分割前のファイルに対する位置情報とを含むメタデータ、を前記補助記憶装置に書き込むと共に、当該分割ファイルのメタデータに、情報処理装置自体から現在発行されている前記起動識別情報と、当該分割ファイルの前記補助記憶装置に対する書き込みが完了したことを表す前記書込完了済み情報と、を含めて前記補助記憶装置に記憶する機能を有する、
ファイルシステム。 The file system according to claim 2,
For each divided file obtained by dividing the actual data of the file, the writing processing unit stores the actual data of the divided file, the storage location information of the divided file with respect to the auxiliary storage device, and the file before the division of the divided file. Metadata including location information is written to the auxiliary storage device, and the activation identification information currently issued from the information processing device itself to the metadata of the divided file and the auxiliary storage device of the divided file Having the function of storing in the auxiliary storage device including the writing completion information indicating that writing has been completed,
File system.
前記ファイルアクセス部は、前記補助記憶装置から前記キャッシュメモリに読み出したファイルの分割ファイルに対応するメタデータ内の前記起動識別情報が情報処理装置自体から現在発行されている前記起動識別情報と異なる場合に、前記補助記憶装置から前記キャッシュメモリに読み出したファイルの各分割ファイルに対応する各メタデータのうち、ファイルの先頭から見て前記書込み完了済み情報が含まれている最後方のメタデータに対応する分割ファイルまでの実データ部分のファイルにアクセスする、
ファイルシステム。 The file system according to claim 5,
The file access unit, when the activation identification information in the metadata corresponding to the divided file of the file read from the auxiliary storage device to the cache memory is different from the activation identification information currently issued from the information processing device itself In addition, among the metadata corresponding to each divided file of the file read from the auxiliary storage device to the cache memory, the metadata corresponding to the last metadata including the written completion information as seen from the top of the file Access the file of the actual data part up to the split file to be
File system.
前記キャッシュメモリ上のファイルの実データ及びメタデータを前記補助記憶装置に書き込む書込処理部と、
メタデータに基づいてファイルの実データにアクセスするファイルアクセス部と、
ファイルシステムが構築された情報処理装置自体から発行され、当該情報処理装置の起動毎に異なる起動識別情報を取得する起動識別情報取得部と、
を実現させると共に、
前記書込処理部は、ファイルの実データ及びメタデータを前記補助記憶装置に書き込むと共に、当該ファイルのメタデータに、情報処理装置自体から現在発行されている前記起動識別情報と、前記補助記憶装置に書き込みが完了したファイルの実データ部分を特定する書込完了済み情報と、を含めて前記補助記憶装置に記憶する、
ことを実現させるためのプログラム。 In order to perform processing on a file, an information processing apparatus that includes a cache memory that temporarily stores real data of the file and metadata including storage location information of the real data of the file, and that configures the file system ,
A write processing unit for writing real data and metadata of a file on the cache memory to the auxiliary storage device;
A file access unit for accessing the actual data of the file based on the metadata;
An activation identification information acquisition unit which is issued from the information processing apparatus itself in which the file system is constructed and acquires different activation identification information for each activation of the information processing apparatus;
And realize
The write processing unit writes the actual data and metadata of the file to the auxiliary storage device, and the activation identification information currently issued from the information processing device itself to the metadata of the file, and the auxiliary storage device Storing in the auxiliary storage device including the write completion information for specifying the actual data portion of the file that has been written to
A program to make things happen.
前記ファイルアクセス部は、ファイルへのアクセス時に当該ファイルのメタデータが前記キャッシュメモリに記憶されていない場合に、当該メタデータを前記補助記憶装置から前記キャッシュメモリに読み出して、当該メタデータ内の前記起動識別情報が情報処理装置自体から現在発行されている前記起動識別情報と異なる場合に、ファイルのメタデータ内の前記書込完了済み情報にて特定される実データ部分のファイルにアクセスする、
プログラム。 The program according to claim 7,
The file access unit reads the metadata from the auxiliary storage device into the cache memory when the metadata of the file is not stored in the cache memory when accessing the file, and the metadata in the metadata When the activation identification information is different from the activation identification information currently issued from the information processing device itself, the file of the actual data part specified by the write completion information in the metadata of the file is accessed.
program.
前記キャッシュメモリ上のファイルの実データ及びメタデータを前記補助記憶装置に書き込み、
メタデータに基づいてファイルの実データにアクセスすると共に、
ファイルの実データ及びメタデータを前記補助記憶装置に書き込むときに、当該ファイルのメタデータに、ファイルシステムが構築された情報処理装置自体から現在発行されている当該情報処理装置の起動毎に異なる起動識別情報と、前記補助記憶装置に書き込みが完了したファイルの実データ部分を特定する書込完了済み情報と、を含めて前記補助記憶装置に記憶する、
ファイル処理方法。 In order to perform processing on the file, in the file system having a cache memory that temporarily stores the actual data of the file and the metadata including the storage location information of the actual data of the file,
Write the actual data and metadata of the file on the cache memory to the auxiliary storage device,
Access the actual file data based on the metadata,
When writing the actual data and metadata of a file to the auxiliary storage device, the file metadata is activated differently for each activation of the information processing device currently issued from the information processing device itself in which the file system is constructed Storing in the auxiliary storage device including identification information and write completion information specifying the actual data portion of the file that has been written to the auxiliary storage device,
File processing method.
ファイルへのアクセス時に、当該ファイルのメタデータが前記キャッシュメモリに記憶されていない場合に、当該メタデータを前記補助記憶装置から前記キャッシュメモリに読み出して、当該メタデータ内の前記起動識別情報が情報処理装置自体から現在発行されている前記起動識別情報と異なる場合に、ファイルのメタデータ内の前記書込完了済み情報にて特定される実データ部分のファイルにアクセスする、
ファイル処理方法。
The file processing method according to claim 9, wherein
When accessing the file, if the metadata of the file is not stored in the cache memory, the metadata is read from the auxiliary storage device to the cache memory, and the activation identification information in the metadata is information When different from the activation identification information currently issued from the processing device itself, to access the file of the actual data portion specified by the write completion information in the metadata of the file,
File processing method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011048496A JP5626034B2 (en) | 2011-03-07 | 2011-03-07 | File system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2011048496A JP5626034B2 (en) | 2011-03-07 | 2011-03-07 | File system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2012185686A true JP2012185686A (en) | 2012-09-27 |
| JP5626034B2 JP5626034B2 (en) | 2014-11-19 |
Family
ID=47015724
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2011048496A Expired - Fee Related JP5626034B2 (en) | 2011-03-07 | 2011-03-07 | File system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5626034B2 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR101556300B1 (en) | 2014-12-15 | 2015-09-30 | 아주대학교산학협력단 | A apparatus and a method for recoverying file in a linux file system |
| JP2017501476A (en) * | 2013-12-11 | 2017-01-12 | インテル・コーポレーション | Using cache and non-cache in distributed storage systems |
| JP2020190812A (en) * | 2019-05-20 | 2020-11-26 | 日本電気株式会社 | Deduplication storage method, deduplication storage controller, deduplication storage system, program |
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0628226A (en) * | 1992-07-09 | 1994-02-04 | Hitachi Ltd | Method and device for data processing |
| JPH08314792A (en) * | 1995-05-17 | 1996-11-29 | Nec Corp | Input/output system for computer system |
| JPH10143406A (en) * | 1996-11-14 | 1998-05-29 | Hitachi Ltd | File management device |
| US20040225659A1 (en) * | 2003-05-09 | 2004-11-11 | O'brien John | Storage foundry |
| US20050165862A1 (en) * | 2004-01-12 | 2005-07-28 | International Business Machines Corporation | Autonomic and fully recovering filesystem operations |
| JP2009520279A (en) * | 2005-12-16 | 2009-05-21 | パワーファイル,インク. | Permanent storage |
| WO2009110912A1 (en) * | 2008-03-05 | 2009-09-11 | Nec Laboratories America, Inc. | System and method for content addressable storage |
| JP2009211668A (en) * | 2007-03-28 | 2009-09-17 | Fujitsu Ltd | Access control program |
| JP2009282752A (en) * | 2008-05-22 | 2009-12-03 | Hitachi Systems & Services Ltd | Storage device and recording method of file system |
-
2011
- 2011-03-07 JP JP2011048496A patent/JP5626034B2/en not_active Expired - Fee Related
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0628226A (en) * | 1992-07-09 | 1994-02-04 | Hitachi Ltd | Method and device for data processing |
| JPH08314792A (en) * | 1995-05-17 | 1996-11-29 | Nec Corp | Input/output system for computer system |
| JPH10143406A (en) * | 1996-11-14 | 1998-05-29 | Hitachi Ltd | File management device |
| US20040225659A1 (en) * | 2003-05-09 | 2004-11-11 | O'brien John | Storage foundry |
| US20050165862A1 (en) * | 2004-01-12 | 2005-07-28 | International Business Machines Corporation | Autonomic and fully recovering filesystem operations |
| JP2009520279A (en) * | 2005-12-16 | 2009-05-21 | パワーファイル,インク. | Permanent storage |
| JP2009211668A (en) * | 2007-03-28 | 2009-09-17 | Fujitsu Ltd | Access control program |
| WO2009110912A1 (en) * | 2008-03-05 | 2009-09-11 | Nec Laboratories America, Inc. | System and method for content addressable storage |
| JP2009282752A (en) * | 2008-05-22 | 2009-12-03 | Hitachi Systems & Services Ltd | Storage device and recording method of file system |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2017501476A (en) * | 2013-12-11 | 2017-01-12 | インテル・コーポレーション | Using cache and non-cache in distributed storage systems |
| KR101556300B1 (en) | 2014-12-15 | 2015-09-30 | 아주대학교산학협력단 | A apparatus and a method for recoverying file in a linux file system |
| JP2020190812A (en) * | 2019-05-20 | 2020-11-26 | 日本電気株式会社 | Deduplication storage method, deduplication storage controller, deduplication storage system, program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP5626034B2 (en) | 2014-11-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11579987B1 (en) | Disaster recovery systems and methods with low recovery point objectives | |
| US10956364B2 (en) | Efficient data synchronization for storage containers | |
| US9436556B2 (en) | Customizable storage system for virtual databases | |
| US7325110B2 (en) | Method for acquiring snapshot | |
| JP4237354B2 (en) | Transaction processing method and transaction processing system | |
| US8209498B2 (en) | Method and system for transferring duplicate files in hierarchical storage management system | |
| US8315982B2 (en) | Method, apparatus, program and system for migrating NAS system | |
| JP4363676B2 (en) | Computer system | |
| US8484161B2 (en) | Live file system migration | |
| JP4219589B2 (en) | Transactional file system | |
| US8005797B1 (en) | File-level continuous data protection with access to previous versions | |
| US7107294B2 (en) | Method and apparatus for interrupting updates to a database to provide read-only access | |
| US8762344B2 (en) | Method for managing information processing system and data management computer system | |
| US9436559B2 (en) | Storage apparatus and method for controlling cache of storage apparatus | |
| US9910592B2 (en) | System and method for replicating data stored on non-volatile storage media using a volatile memory as a memory buffer | |
| US20090006500A1 (en) | Namespace replication program, namespace replication device, and namespace replication method | |
| US20070180000A1 (en) | Storage apparatus and storage system | |
| US20080172423A1 (en) | Hsm control program, hsm control apparatus, and hsm control method | |
| US20120278559A1 (en) | Performing a data write on a storage device | |
| JP2004038929A (en) | System and method of managing two or more snapshots | |
| JP2001356945A (en) | Data backup recovery system | |
| JP2009251853A (en) | Memory database, memory database system, and memory database update method | |
| CN116303325A (en) | Method, system, equipment and storage medium for protecting remote copy data | |
| JP5626034B2 (en) | File system | |
| JPH11120057A (en) | File backup method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| RD07 | Notification of extinguishment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7427 Effective date: 20120719 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140207 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140822 |
|
| 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: 20140902 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140915 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 5626034 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |