JP2010165257A - Apparatus and method for recording data - Google Patents
Apparatus and method for recording data Download PDFInfo
- Publication number
- JP2010165257A JP2010165257A JP2009008147A JP2009008147A JP2010165257A JP 2010165257 A JP2010165257 A JP 2010165257A JP 2009008147 A JP2009008147 A JP 2009008147A JP 2009008147 A JP2009008147 A JP 2009008147A JP 2010165257 A JP2010165257 A JP 2010165257A
- Authority
- JP
- Japan
- Prior art keywords
- recording
- striping
- file
- group
- striping group
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、データを高速に記録する記録装置の高信頼性化に関する。 The present invention relates to high reliability of a recording apparatus that records data at high speed.
近年、容量の大きいデータを扱う機会が頻出するようになった。特に、映像データの高精細化が進み、映像データの容量は膨大な容量となっている。このような大容量のデータを記録媒体に記録するとき、その記録時間が長時間化する。そのため、記録をより高速に行う技術が求められている。 In recent years, there have been frequent opportunities to handle large volumes of data. In particular, as the definition of video data increases, the volume of video data has become enormous. When such a large amount of data is recorded on a recording medium, the recording time becomes longer. Therefore, a technique for recording at higher speed is required.
記録を高速に行う技術として、複数の記録媒体を用意し、1つのデータ(例えば「A」というファイル名のデータ)をそれらの複数の記録媒体に分散記録するというストライピングまたはRAID(Redundant Arrays of Inexpensive Disks)と呼ばれる技術がある。このストライピング技術は、1つのデータを1つの記録媒体に記録するよりも高速に記録することができる技術として知られている。また、分散記録する記録媒体の数を増加させれば増加させるほど、記録をより高速化することができる。 Striping or RAID (Redundant Arrays of Inexpensive) in which a plurality of recording media are prepared as a technique for recording at high speed, and one data (for example, data having a file name “A”) is distributed and recorded on the plurality of recording media. There is a technology called Disks). This striping technique is known as a technique capable of recording one data at a higher speed than recording one data on one recording medium. Further, as the number of recording media for distributed recording is increased, the recording speed can be further increased.
ところで、記録媒体に記録されたデータを読み出す場合に、読出し要求から読出し開始までの時間を短縮する技術として、例えば、特許文献1が知られている。特許文献1には、ネットワークで複数のディスクを複数のサーバで共有するストレージ共有型分散マルチメディアサーバシステムにおいて、複数のサーバがディスクへ同時にアクセスすることを防ぐためにスケジューリングした場合に、スケジューリングによって読出しを要求してから実際に読出し開始までの時間が長くなることを解決するために、それらのディスクをグルーピングするということが記載されている。 By the way, as a technique for shortening the time from the read request to the start of reading when reading the data recorded on the recording medium, for example, Patent Document 1 is known. In Patent Document 1, in a shared storage distributed multimedia server system in which a plurality of disks are shared by a plurality of servers in a network, when scheduling is performed to prevent a plurality of servers from accessing the disks at the same time, reading is performed by scheduling. It is described that these disks are grouped in order to solve the problem that the time from the request to the actual start of reading becomes long.
しかしながら、複数の記録媒体に1つのデータを分散記録すると、そのうちの1つの記録媒体が故障した場合、故障した記録媒体に記録されていた部分のデータを読み出すことができないため、「A」という名前のファイルのあちこちのデータが消失する。そのため、「A」という名前のファイルを読み出すことができなくなる。しかも、「A」というファイルだけでなく、それ以外のファイルも記録されているのであれば、それらのファイルももちろん分散記録されているため、たった1つの記録媒体の故障により全てのファイルが読出し不可能になってしまう。 However, when one piece of data is distributedly recorded on a plurality of recording media, if one of the recording media fails, the portion of data recorded on the failed recording medium cannot be read, so the name “A” Data around the file is lost. As a result, the file named “A” cannot be read. Moreover, if not only the file “A” but also other files are recorded, these files are of course distributedly recorded, so that all the files cannot be read due to the failure of only one recording medium. It will be possible.
そのため、RAID3やRAID4、またはRAID5という技術として知られる、読出しができなくなった記録媒体に記録されているデータを補う誤り訂正符号が分散記録に用いられている。 Therefore, an error correction code that is known as a technique called RAID 3, RAID 4, or RAID 5 and that supplements data recorded on a recording medium that cannot be read is used for distributed recording.
例えば、RAID4では、仮に4個の記録媒体が用意されているとすると、これらの記録媒体にストライピングを行う場合、「A」というファイル名の1つのデータは、多数に分割され、分割されたデータを3個の記録媒体に分散記録する。このとき、残りの1個の記録媒体は、他の3個の記録媒体に記録されているデータを補間するためのデータが記録される。このデータを補間するためのデータを記録する記録媒体は、しばしばパリティディスクと呼ばれる。具体的なこのパリティディスクの使用法としては、「A」という名前のファイルが記録されている3個の記録媒体のうちの1つが故障した場合、正常な2個の記録媒体に記録されたデータとパリティディスクに記録されたデータから、故障した記録媒体に記録されているデータを補間するというものである。 For example, in RAID4, assuming that four recording media are prepared, when performing striping on these recording media, one piece of data with the file name “A” is divided into a large number of pieces of data. Are distributed and recorded on three recording media. At this time, the remaining one recording medium is recorded with data for interpolating the data recorded on the other three recording media. A recording medium for recording data for interpolating this data is often called a parity disk. As a specific usage of this parity disk, when one of the three recording media on which the file named “A” is recorded fails, the data recorded on the two normal recording media The data recorded on the failed recording medium is interpolated from the data recorded on the parity disk.
しかしながら、複数の記録媒体が故障した場合や、パリティディスクが故障した場合には、それらの記録媒体に記録されているデータの全てが読出し不可能となってしまい、信頼性に欠ける。また、上記の特許文献1にも、分散記録に使用される一部の記録媒体が故障した場合にデータが読出し不可能とならないための対策について記載されていない。 However, when a plurality of recording media fail or when the parity disk fails, all of the data recorded on these recording media cannot be read, and reliability is lacking. Further, the above Patent Document 1 does not describe a measure for preventing data from being unreadable when a part of recording media used for distributed recording fails.
そこで、本発明は、上記問題点を解決するためになされたもので、記録速度が高速で、かつ信頼性が高いデータ記録装置およびデータ記録方法を提供することを目的とする。 Accordingly, the present invention has been made to solve the above-described problems, and an object of the present invention is to provide a data recording apparatus and a data recording method with high recording speed and high reliability.
上記目的を達成するために、本発明によるデータ記録装置は、ファイルが入力されるインタフェース部と、前記ファイルを記録する複数の記録媒体を備える複数のストライピンググループと、前記ストライピンググループの空き容量に関する情報を、前記ストライピンググループ毎に記録するSG管理テーブルと、前記SG管理テーブルの情報を参照して、前記インタフェース部から入力される前記ファイルを記録するストライピンググループを1つに決定するファイル管理処理手段と、前記ファイル管理処理手段によって決定された1つのストライピンググループに前記ファイルを記録するデータ処理手段とを有することを特徴とする。 In order to achieve the above object, a data recording apparatus according to the present invention includes an interface unit to which a file is input, a plurality of striping groups including a plurality of recording media for recording the file, and information relating to the free capacity of the striping group. SG management table for recording each striping group, and file management processing means for determining one striping group for recording the file input from the interface unit with reference to the information of the SG management table And data processing means for recording the file in one striping group determined by the file management processing means.
また、上記目的を達成するために、本発明によるデータ記録方法は、入力されるファイルの容量を判断する容量判断ステップと、前記容量判断ステップで判断された容量よりも空き容量の大きいストライピンググループを、前記ストライピンググループの空き容量および前記ストライピンググループの記録回数を記録するSG管理テーブルを参照して判断する空き容量判断ステップと、前記SG管理テーブルを参照して、前記空き容量判断ステップによって判断されたストライピンググループのうち記録回数が最も少ないストライピンググループを記録先に決定する記録先決定ステップとを有することを特徴とする。 In order to achieve the above object, a data recording method according to the present invention includes a capacity determination step for determining the capacity of an input file, and a striping group having a free capacity larger than the capacity determined in the capacity determination step. The free capacity determination step for determining with reference to the SG management table for recording the free capacity of the striping group and the number of recordings of the striping group, and the free capacity determination step with reference to the SG management table And a recording destination determining step for determining a striping group having the smallest number of recordings among the striping groups as a recording destination.
また、上記目的を達成するために、本発明によるデータ記録方法は、ストライピンググループの空き容量および前記ストライピンググループの記録回数を記録するSG管理テーブルを参照して、空き容量のあるストライピンググループを判断する空き判断ステップと、前記SG管理テーブルを参照して、前記空き容量判断ステップによって判断されたストライピンググループのうち記録回数が最も少ないストライピンググループを記録先に決定する記録先決定ステップとを有することを特徴とするデータ記録方法。 In order to achieve the above object, the data recording method according to the present invention determines a striping group having a free capacity by referring to an SG management table that records the free capacity of the striping group and the number of recordings of the striping group. A vacancy determination step, and a recording destination determination step of determining, as a recording destination, a striping group having the smallest number of recordings among the striping groups determined in the vacant capacity determination step with reference to the SG management table. Data recording method.
本発明によるデータ記録装置によれば、記録速度が高速で、かつ信頼性をより高めることができる。 According to the data recording apparatus of the present invention, the recording speed is high and the reliability can be further improved.
以下、本発明の実施例を、図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、本発明の一実施の形態を示すデータ記録装置の機能ブロック図である。
データ記録装置100は、入力されたデータや出力するデータを処理するデータ処理部10、ファイルを管理するファイル管理部20、ファイルを記録する記録部30、およびファイルの入力または出力を行うインタフェース部40を有する。
FIG. 1 is a functional block diagram of a data recording apparatus showing an embodiment of the present invention.
The
記録部30には、複数の記録媒体を1つのグループとした複数のストライピンググループSG1、SG2、SG3が備えられている。1つのストライピンググループSG(SG1乃至SG3共通)には、例えばハードディスクやフラッシュメモリなどの複数の記録媒体M1、M2、…、M9と、それらの記録媒体へデータを記録する場合にどのデータをどこ(記録媒体の物理アドレス)に記録するかなど、記録したデータの物理アドレスを制御するコントローラC1、C2、C3とが備えられている。このストライピンググループSGは、ストライピンググループにファイルが記録される際、1つのストライピンググループSGに備えられている複数の記録媒体M(M1乃至M9共通)に分散記録され、さらに、誤り訂正符号も記録される。 The recording unit 30 is provided with a plurality of striping groups SG1, SG2, and SG3 each having a plurality of recording media as one group. In one striping group SG (common to SG1 to SG3), for example, a plurality of recording media M1, M2,... Controllers C1, C2, and C3 that control the physical address of the recorded data, such as whether to record to the physical address of the recording medium, are provided. The striping group SG is distributed and recorded on a plurality of recording media M (common to M1 to M9) provided in one striping group SG when a file is recorded in the striping group, and further an error correction code is also recorded. The
ファイル管理部20には、ファイルがどのストライピンググループSGに記録されているかを管理する情報を記録するファイル管理テーブル22と、ストライピンググループSGの空き容量や記録回数を記録するSG管理テーブル23と、ファイル管理テーブル22およびSG管理テーブル23の情報を検索したり更新したりするファイル管理処理部21とが備えられている。
The file management unit 20 includes a file management table 22 for recording information for managing in which striping group SG a file is recorded, an SG management table 23 for recording free space and the number of recordings of the striping group SG, A file
ファイルがインタフェース部40から入力されると、データ処理部10は、ファイル管理処理部21に対し、空き容量のあるスライピンググループSGを検索指示し、ファイル管理処理部21は、SG管理テーブル23を参照して空き容量のあるストライピンググループSGを判断する。空き容量のあるストライピンググループSGを判断したファイル管理処理部21は、記録先のストライピンググループSGとして、空き容量のあるストライピンググループSGを決定し、データ処理部10に対し記録先を指示する。データ処理部10は、記録先として指示されたストライピンググループSGに、ファイルを記録する。記録先として指示されたストライピンググループSGが備える複数の記録媒体Mのうち、どの記録媒体Mのどの位置にファイルのどの部分を記録するかについては、ストライピンググループSGに備えられているコントローラC(C1乃至C3共通)が分散記録し、どの記録媒体Mのどの位置に記録したかの情報を記録しておくようになっている。
When a file is input from the
ファイルの読出しを行う場合には、図示しないマンマシンインタフェースや上位のアプリケーション等からファイルの読出しを指示されると、データ処理部10はそのファイルがどのストライピンググループSGに記録されているかをファイル管理処理部21へ検索指示し、ファイル管理処理部21は、ファイル管理テーブル22を検索してファイルがどのストライピンググループSGに記録されているかを判断し、データ処理部10へそのストライピンググループSGから読み出すことを指示する。データ処理部10は、指示されたストライピンググループSGへファイル読出しを要求し、そのストライピンググループSGが備えるコントローラCが実際にどの記録媒体Mのどの位置に記録しているかを判断して読み出すようになっている。
When reading a file, when an instruction to read the file is given from a man-machine interface (not shown) or a higher-level application, the
ここで、図2および図3を参照して、ファイル管理テーブル22およびSG管理テーブル23について説明する。 Here, the file management table 22 and the SG management table 23 will be described with reference to FIGS.
図2は、ファイル管理部20に備えられたファイル管理テーブル22の一例を示したものである。ファイル管理テーブル22には、記録部30に記録されているファイルを識別するファイル名と、そのファイルが記録されているストライピンググループSGを識別するストライピンググループ名とが対応付けて記録されている。図2に示したファイル管理テーブル22の例では、「FILE1」というファイル名のファイルはストライピンググループ2に記録されていることを示す「SG2」と対応付けられている。「FILE2」というファイル名のファイルはストライピンググループ3に記録されていることを示す「SG3」と対応付けられている。以下同様に、「FILE3」は「SG1」というように対応付けられている。
FIG. 2 shows an example of the file management table 22 provided in the file management unit 20. In the file management table 22, a file name for identifying a file recorded in the recording unit 30 and a striping group name for identifying the striping group SG in which the file is recorded are recorded in association with each other. In the example of the file management table 22 shown in FIG. 2, the file with the file name “FILE1” is associated with “SG2” indicating that it is recorded in the
また、新たにファイルを記録部30へ記録した場合には、このファイル管理テーブル22にその情報を記録し、記録部30へ記録されているファイルを削除した場合には、このファイル管理テーブル22のその情報を削除するように、ファイル管理処理部21により更新される。
When a new file is recorded in the recording unit 30, the information is recorded in the file management table 22. When a file recorded in the recording unit 30 is deleted, the file management table 22 stores the information. The file
ファイル管理テーブル22には、ファイルを識別するファイル名と、そのファイルが記録されているストライピンググループSGを識別するストライピンググループ名とを対応付けて記録されているため、ファイル管理処理部21がこのファイル管理テーブル22を参照することで、ファイルを読み出す場合に、読み出すストライピンググループSGを判断することができるようになっている。 In the file management table 22, a file name for identifying a file and a striping group name for identifying the striping group SG in which the file is recorded are recorded in association with each other. By referring to the management table 22, when the file is read, the striping group SG to be read can be determined.
図3は、ファイル管理部20に備えられたSG管理テーブル23の一例を示したものである。SG管理テーブル23には、ストライピンググループSG毎に、その時点でどれだけ空き容量があるかを示す空き容量の情報と、そのストライピンググループSGに記録した回数を示す記録回数の情報とが記録されている。図3に示したSG管理テーブル23の例では、ストライピンググループ1を示す「SG1」は、空き容量が「10M」で、記録回数が「10986回」であることが記録されている。また、ストライピンググループ2を示す「SG2」は、空き容量が「30M」で、記録回数が「5931回」であり、同様にストライピンググループ3は空き容量が「5M」、記録回数が「8142回」であることが記録されている。
FIG. 3 shows an example of the SG management table 23 provided in the file management unit 20. In the SG management table 23, for each striping group SG, information on the free capacity indicating how much free capacity is available at that time, and information on the number of recordings indicating the number of times recorded in the striping group SG are recorded. Yes. In the example of the SG management table 23 shown in FIG. 3, “SG1” indicating the striping group 1 records that the free capacity is “10M” and the recording count is “10986”. In addition, “SG2” indicating the
このSG管理テーブル23は、その時点でのストライピンググループSG毎の空き容量と記録回数を記録するものであるので、記録部30にファイルを記録した場合には、そのファイルを記録したストライピンググループSGの空き容量の情報および記録回数の情報をファイル管理処理部21が更新する。記録部30に記録されているファイルを削除した場合には、そのファイルを削除したストライピンググループSGの空き容量の情報をファイル管理処理部21が更新するようになっている。
Since the SG management table 23 records the free capacity and the number of recordings for each striping group SG at that time, when a file is recorded in the recording unit 30, the SG of the striping group SG that recorded the file is recorded. The file
SG管理テーブル23には、ストライピンググループ毎に、そのストライピンググループSGの空き容量と、そのストライピンググループSGへの記録回数が対応付けて記録されているため、ファイルを記録部30へ記録する場合に、ファイル管理処理部21は、どのストライピンググループへ記録すればよいかをこのSG管理テーブル23を参照して判断することができるようになっている。
In the SG management table 23, for each striping group, the free capacity of the striping group SG and the number of times of recording in the striping group SG are recorded in association with each other, so when recording a file to the recording unit 30, The file
なお、図3に一例を示したSG管理テーブル23には、ストライピンググループSG毎にその時点での空き容量および記録回数を記録するようにしたが、空き容量の代わりに、記録媒体Mの容量およびその時点での記録容量を記録するようにしてもよい。 In the SG management table 23 shown as an example in FIG. 3, the free capacity and the number of times of recording at that time are recorded for each striping group SG. However, instead of the free capacity, the capacity of the recording medium M and The recording capacity at that time may be recorded.
次に、図4を参照して、入力されたファイルを記録する処理の例について説明する。図4は、入力されたファイルの容量が既知である場合の処理を示すフローチャートの例である。 Next, an example of processing for recording an input file will be described with reference to FIG. FIG. 4 is an example of a flowchart showing processing when the capacity of the input file is known.
まず、ファイルがインタフェース部40から入力されると、データ処理部10は、そのファイルの容量を判断する(S101)。そのファイルの容量より空き容量の大きいストライピンググループSGがあるか否かをデータ処理部10はファイル管理処理部21に検索指示する(S102)。検索を指示されたファイル管理処理部21は、SG管理テーブル23を参照して、入力されたファイルの容量より空き容量の大きいストライピンググループSGがあるか否かを判断する。このとき、入力されたファイルの容量より空き容量の大きいストライピンググループSGがない場合は、記録せず、「記録できません」等の表示や警告を行い、処理を終了する。入力されたファイルの容量より空き容量の大きいストライピンググループがある場合は、ファイル管理処理部21は、そのストライピンググループSGの数が1つか複数かを判断する(S103)。
First, when a file is input from the
複数の場合には、その中で記録回数が最も少ないストライピンググループSGを記録先として決定する(S104)。記録先のストライピンググループSGを決定すると、ファイル管理処理部21は、決定したストライピンググループSGを記録先として指示し、データ処理部10は、そのストライピンググループSGへファイルの記録を行う。また、処理S103で、入力されたファイルの容量より空き容量の大きいストライピンググループが1つと判断された場合は、そのストライピンググループSGを記録先に決定する(S105)。決定されたストライピンググループSGへのファイルの記録の仕方については、処理S104と同様に行う。
If there are a plurality of recording groups, the striping group SG having the smallest number of recordings is determined as the recording destination (S104). When the recording destination striping group SG is determined, the file
処理S104または処理S105の処理を終えると、処理S104または処理S105の処理で記録したストライピンググループSGの空き容量および記録回数を現時点の値にするためにファイル管理処理部21がSG管理テーブル23を更新し、そのファイルがどのストライピンググループSGに記録されたかを管理するために、ファイル管理処理部21がファイル管理テーブル22を更新して終了する(S106)。
When the process S104 or S105 is completed, the file
このように、1つのファイルを1つのストライピンググループSGに記録するようにしたことで、他のストライピンググループSGの中の記録媒体Mが故障した場合でも故障していないストライピンググループSGに記録されているファイルを読み出すことができ、記録媒体Mが故障した場合に消失するファイルを少なくすることができる。また、ストライピンググループSGの中の記録媒体Mが故障した場合でも、ストライピンググループ毎に誤り訂正符号が記録されているため、記録媒体Mの故障の範囲によっては故障した記録媒体Mに記録されているデータを補間することができる。さらに、ファイルを記録するストライピンググループSGを決定する際に、ストライピンググループSG毎の記録回数も判断材料にし、記録回数の少ないストライピンググループに記録するようにしているため、記録回数に限界がある記録媒体Mの場合に、記録媒体Mの寿命を長くすることができる。 As described above, since one file is recorded in one striping group SG, even when the recording medium M in another striping group SG fails, the file is recorded in the non-failed striping group SG. Files can be read, and the number of files lost when the recording medium M fails can be reduced. Even when the recording medium M in the striping group SG fails, an error correction code is recorded for each striping group, so that depending on the failure range of the recording medium M, it is recorded on the failed recording medium M. Data can be interpolated. Further, when the striping group SG for recording the file is determined, the number of recordings for each striping group SG is also used as a judgment material, and recording is performed in a striping group with a small number of recordings. In the case of M, the life of the recording medium M can be extended.
(ファイルの記録処理の変形例)
図4のフローチャートの例では、記録部30に記録するファイルの容量が既知の場合に記録先のストライピンググループSGを決定する処理について説明した。ここでは、その変形例として、記録部30に記録するファイルの容量が不明の場合に、どのように記録先のストライピンググループSGを決定するかについての例を示す。
(Modification of file recording process)
In the example of the flowchart of FIG. 4, the process of determining the recording striping group SG when the capacity of the file to be recorded in the recording unit 30 is known has been described. Here, as a modification thereof, an example of how to determine the recording destination striping group SG when the capacity of the file to be recorded in the recording unit 30 is unknown is shown.
図5は、記録部30に記録するファイルの容量が不明の場合の処理を示したフローチャートの例である。 FIG. 5 is an example of a flowchart illustrating processing when the capacity of a file to be recorded in the recording unit 30 is unknown.
まず、ファイルが入力されると(S201)、データ処理部10は空き容量のあるストライピンググループSGがあるか否かをファイル管理処理部21に検索指示する(S202)。空き容量のあるストライピンググループSGが無い場合は、そのファイルを記録できないため、「空きSGがありません」等の表示や警告を行い処理を終了する。処理S202において、空き容量のあるストライピンググループSGがある場合は、そのストライピンググループSGが1つか複数かを判断する(S203)。以降の処理S204乃至処理S206は、処理S104乃至処理S106と同様であるため、説明を省略する。
First, when a file is input (S201), the
このように、記録部30へ記録するファイルが入力された時点で、そのファイルの容量が不明であっても、ファイルの容量が既知の場合と同様の効果を得ることができる。 Thus, even when the capacity of the file is unknown at the time when the file to be recorded is input to the recording unit 30, the same effect as when the capacity of the file is known can be obtained.
以上のように、1つのファイルを1つのストライピンググループSGに記録するようにすることで、ストライピンググループSGに備えられている複数の記録媒体Mに分散記録することによって記録速度が高速であるとともに、記録媒体Mが故障した場合に消失するファイルを少なくすることができる。その結果、ファイルの記録に対する信頼性を高めることができる。 As described above, by recording one file in one striping group SG, the recording speed is high by performing distributed recording on a plurality of recording media M provided in the striping group SG. Files that disappear when the recording medium M fails can be reduced. As a result, the reliability of file recording can be improved.
また、ファイルを記録するストライピンググループSGを決定する際に、ストライピンググループSG毎の記録回数も判断材料にして記録回数の少ないストライピンググループに記録するようにしているため、記録回数に限界がある記録媒体Mの場合に、記録媒体Mの寿命を長くすることができる。 Further, when the striping group SG for recording the file is determined, the recording frequency for each striping group SG is also used as a judgment material so that the recording is performed in the striping group with a small recording frequency. In the case of M, the life of the recording medium M can be extended.
なお、本発明は、以上の構成に限定されるものではなく、種々の変形が可能である。例えば、ストライピンググループSGの数は、実施例では3つであったが、4つ以上備えるようにしてもよく、1つのストライピンググループSGが備える記録媒体Mの数も、実施例に示した3つに限定されるものではなく、4つ以上備えるようにしてもよい。 In addition, this invention is not limited to the above structure, A various deformation | transformation is possible. For example, the number of striping groups SG is three in the embodiment. However, four or more striping groups SG may be provided, and the number of recording media M included in one striping group SG is three as shown in the embodiment. It is not limited to, You may make it provide four or more.
10…データ処理部、20…ファイル管理部、21…ファイル管理処理部、22…ファイル管理テーブル、23…SG管理テーブル、30…記録部、M,M1〜M9…記録媒体、SG,SG1〜SG3…ストライピンググループ、C,C1〜C3…コントローラ
DESCRIPTION OF
Claims (4)
前記ファイルを記録する複数の記録媒体を備える複数のストライピンググループと、
前記ストライピンググループの空き容量に関する情報を、前記ストライピンググループ毎に記録するSG管理テーブルと、
前記SG管理テーブルの情報を参照して、前記インタフェース部から入力される前記ファイルを記録するストライピンググループを1つに決定するファイル管理処理手段と、
前記ファイル管理処理手段によって決定された1つのストライピンググループに前記ファイルを記録するデータ処理手段と
を有することを特徴とするデータ記録装置。 An interface part to which a file is input;
A plurality of striping groups comprising a plurality of recording media for recording the files;
An SG management table for recording information on the free capacity of the striping group for each striping group;
File management processing means for referring to the information in the SG management table and determining one striping group for recording the file input from the interface unit;
A data recording apparatus comprising: data processing means for recording the file in one striping group determined by the file management processing means.
前記ファイル管理処理手段は、前記SG管理テーブルを参照して、空き容量のある前記ストライピンググループのうち、前記ストライピンググループ毎の記録回数が最も少ないストライピンググループを記録先に決定することを特徴とする請求項1に記載のデータ記録装置。 The SG management table records the number of recordings for each striping group,
The file management processing means refers to the SG management table, and determines, from among the striping groups having free capacity, a striping group having the smallest number of recordings for each striping group as a recording destination. Item 4. The data recording device according to Item 1.
前記容量判断ステップで判断された容量よりも空き容量の大きいストライピンググループを、前記ストライピンググループの空き容量および前記ストライピンググループの記録回数を記録するSG管理テーブルを参照して判断する空き容量判断ステップと、
前記SG管理テーブルを参照して、前記空き容量判断ステップによって判断されたストライピンググループのうち記録回数が最も少ないストライピンググループを記録先に決定する記録先決定ステップと
を有することを特徴とするデータ記録方法。 A capacity determination step for determining the capacity of the input file;
A free capacity determining step of determining a striping group having a free capacity larger than the capacity determined in the capacity determining step with reference to an SG management table that records the free capacity of the striping group and the number of recordings of the striping group;
A data recording method comprising: referring to the SG management table; and a recording destination determining step of determining, as a recording destination, a striping group having the smallest number of recordings among the striping groups determined in the free capacity determining step. .
前記SG管理テーブルを参照して、前記空き容量判断ステップによって判断されたストライピンググループのうち記録回数が最も少ないストライピンググループを記録先に決定する記録先決定ステップと
を有することを特徴とするデータ記録方法。 An empty determination step of determining a striping group having an empty capacity with reference to an SG management table that records the empty capacity of the striping group and the number of recordings of the striping group;
A data recording method comprising: referring to the SG management table; and a recording destination determining step of determining, as a recording destination, a striping group having the smallest number of recordings among the striping groups determined in the free capacity determining step. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009008147A JP2010165257A (en) | 2009-01-16 | 2009-01-16 | Apparatus and method for recording data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009008147A JP2010165257A (en) | 2009-01-16 | 2009-01-16 | Apparatus and method for recording data |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010165257A true JP2010165257A (en) | 2010-07-29 |
Family
ID=42581348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009008147A Pending JP2010165257A (en) | 2009-01-16 | 2009-01-16 | Apparatus and method for recording data |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010165257A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011096543A1 (en) | 2010-02-08 | 2011-08-11 | 矢崎総業株式会社 | Wire harness connectivity inspection device, wire harness connectivity inspection program and wire harness connectivity inspection method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0736634A (en) * | 1993-07-16 | 1995-02-07 | Toshiba Corp | Disk array device |
JP2000187559A (en) * | 1998-12-24 | 2000-07-04 | Hitachi Ltd | Disk system |
JP2003223342A (en) * | 2002-01-28 | 2003-08-08 | Toshiba Corp | Information storage managing device |
JP2007226909A (en) * | 2006-02-24 | 2007-09-06 | Victor Co Of Japan Ltd | Optical disk recording device and optical disk recording method |
JP2008015623A (en) * | 2006-07-03 | 2008-01-24 | Hitachi Ltd | Controller of storage system equipped with many kinds of storage devices |
JP2008015769A (en) * | 2006-07-05 | 2008-01-24 | Hitachi Ltd | Storage system and writing distribution method |
-
2009
- 2009-01-16 JP JP2009008147A patent/JP2010165257A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0736634A (en) * | 1993-07-16 | 1995-02-07 | Toshiba Corp | Disk array device |
JP2000187559A (en) * | 1998-12-24 | 2000-07-04 | Hitachi Ltd | Disk system |
JP2003223342A (en) * | 2002-01-28 | 2003-08-08 | Toshiba Corp | Information storage managing device |
JP2007226909A (en) * | 2006-02-24 | 2007-09-06 | Victor Co Of Japan Ltd | Optical disk recording device and optical disk recording method |
JP2008015623A (en) * | 2006-07-03 | 2008-01-24 | Hitachi Ltd | Controller of storage system equipped with many kinds of storage devices |
JP2008015769A (en) * | 2006-07-05 | 2008-01-24 | Hitachi Ltd | Storage system and writing distribution method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011096543A1 (en) | 2010-02-08 | 2011-08-11 | 矢崎総業株式会社 | Wire harness connectivity inspection device, wire harness connectivity inspection program and wire harness connectivity inspection method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111506251B (en) | Data processing method and device, SMR storage system and storage medium | |
WO2010100813A1 (en) | Storage system | |
JP2005531071A5 (en) | ||
CN103699457A (en) | Method and device for restoring disk arrays based on stripping | |
JP5248669B2 (en) | File processing apparatus and file processing method | |
JP2015138372A (en) | Write inspection program, information processing apparatus, and method for write inspection | |
US20130212428A1 (en) | Information storage medium library array apparatus, information recording method and information recording program | |
JP2010165257A (en) | Apparatus and method for recording data | |
JP2009301148A (en) | Distributed storage control system, distributed storage control method, and distributed storage control program | |
JP2010191499A (en) | Storage system | |
CN103294410A (en) | Archive system and processing method | |
CN103155040A (en) | Record/access device and record/access method | |
JP6175771B2 (en) | Disk array device, bad sector repair method, and repair program | |
JP2006003971A (en) | Redundant drive group, and writing method and read-out method using the same | |
US9224424B2 (en) | Data recording/reproducing device, archive system, and recording control method | |
JP6624197B2 (en) | Information processing apparatus, information recording medium, information processing method, and program | |
JP6670995B2 (en) | Information recording apparatus and information recording method | |
JP2012194867A (en) | Storage device and control device | |
JP6600818B2 (en) | Data erasure method | |
JP2008181595A (en) | Disk medium recording and reproducing device, multi-stream readout program, and multi-stream readout method | |
JP2009295224A (en) | Data management method, information storage device, and data management circuit | |
JP2012174296A (en) | Recording and playback device and recording and playback method | |
US7406011B2 (en) | Recording medium and methods of and device for recording information on the recording medium | |
JP2010267333A (en) | Hard disk drive with parity function | |
JP2013105387A (en) | File processing apparatus and file processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110318 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20111125 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20111205 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121120 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130121 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20130322 |