JP6600818B2 - Data erasure method - Google Patents
Data erasure method Download PDFInfo
- Publication number
- JP6600818B2 JP6600818B2 JP2016122291A JP2016122291A JP6600818B2 JP 6600818 B2 JP6600818 B2 JP 6600818B2 JP 2016122291 A JP2016122291 A JP 2016122291A JP 2016122291 A JP2016122291 A JP 2016122291A JP 6600818 B2 JP6600818 B2 JP 6600818B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- replacement
- recording
- target
- write
- 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.)
- Active
Links
Images
Description
本開示は、追記型光ディスクを複数使用したRAID(Redundant Arrays of Inexpensive Disks)システムに記録されたデータを消去する方法に関する。 The present disclosure relates to a method of erasing data recorded in a RAID (Redundant Arrays of Inexpensive Disks) system using a plurality of write-once optical discs.
DVD−RやBD−R等の追記型光ディスクは、一旦記録した記録マークを書き換えることができない記録媒体である。特許文献1は、追記型光ディスクに記録したデータを消去する光ディスクデータ消去装置を開示する。
A write-once optical disc such as a DVD-R or a BD-R is a recording medium in which a recording mark once recorded cannot be rewritten.
特許文献1の光ディスクデータ消去装置は、記録時の記録パワーでレーザービームを照射して上書きを行い、記録データを消去することを可能としている。これにより消去した箇所は再生不能となる。
The optical disk data erasing apparatus of
一方、光ディスクは交換可能な記録媒体であるため、埃や傷などによってその記録面に欠陥が存在し得る。そのため光ディスクへの記録再生を行う光ディスクドライブ装置では、記録再生データの信頼性保証のために欠陥管理を行うのが一般的である(例えば特許文献2参照)。 On the other hand, since an optical disk is a replaceable recording medium, a defect may exist on the recording surface due to dust or scratches. For this reason, in an optical disc drive apparatus that performs recording / reproduction on an optical disc, defect management is generally performed to guarantee the reliability of the recording / reproduction data (see, for example, Patent Document 2).
またさらに信頼性向上のために、複数の光ディスクを使用してRAIDシステムを構成することも可能である。特許文献3の記録装置は、複数の記録媒体をマガジンに格納し、記録装置内の複数のドライブユニットにマガジン内の記録媒体を搬送し、複数の記録媒体へ並列に記録するRAID制御部を設けることにより、マガジン単位でRAIDを構成することを可能としている。
In order to further improve the reliability, it is possible to configure a RAID system using a plurality of optical disks. The recording apparatus disclosed in
本開示は、RAIDを構成する複数の追記型光ディスクにストライプ記録されたデータを消去するデータ消去方法を提供する。 The present disclosure provides a data erasing method for erasing data recorded in stripes on a plurality of write-once optical disks constituting a RAID.
本開示におけるデータ消去方法は、RAIDを構成する、複数のデータ記録用ブロックと誤り検出用ブロックとを有する、複数の追記型光ディスクにストライプ記録されたデータを消去するデータ消去方法である。データ消去方法は、消去対象のデータである対象データが記録されたデータ記録用ブロックである少なくとも1つの対象ブロックおよび誤り検出用ブロックを所定の交替領域に交替記録する。また、対象ブロックを、対象データが正しく読み出せなくなるように上書きする。 The data erasing method according to the present disclosure is a data erasing method for erasing data recorded in stripes on a plurality of write-once optical discs, which includes a plurality of data recording blocks and error detection blocks, which constitute a RAID. In the data erasing method, at least one target block that is a data recording block in which target data that is data to be erased is recorded and an error detection block are alternately recorded in a predetermined replacement area. The target block is overwritten so that the target data cannot be read correctly.
本開示におけるデータ消去方法は、追記型光ディスクを複数使用したRAIDシステムに記録されたデータを消去するのに有効である。 The data erasing method according to the present disclosure is effective for erasing data recorded in a RAID system using a plurality of write-once optical discs.
以下、適宜図面を参照しながら、実施の形態を詳細に説明する。但し、必要以上に詳細な説明は省略する場合がある。例えば、既によく知られた事項の詳細説明や実質的に同一の構成に対する重複説明を省略する場合がある。これは、以下の説明が不必要に冗長になるのを避け、当業者の理解を容易にするためである。 Hereinafter, embodiments will be described in detail with reference to the drawings as appropriate. However, more detailed description than necessary may be omitted. For example, detailed descriptions of already well-known matters and repeated descriptions for substantially the same configuration may be omitted. This is to avoid the following description from becoming unnecessarily redundant and to facilitate understanding by those skilled in the art.
なお、発明者(ら)は、当業者が本開示を十分に理解するために添付図面および以下の説明を提供するのであって、これらによって特許請求の範囲に記載の主題を限定することを意図するものではない。 The inventor (s) provides the accompanying drawings and the following description in order for those skilled in the art to fully understand the present disclosure, and is intended to limit the subject matter described in the claims. Not what you want.
(本開示に係る一形態に至った経緯)
図9は、追記型光ディスクを複数使用したRAIDシステム(以下、光ディスクRAIDシステム)における、データ消去の概要を説明する図である。追記型光ディスク901、902、903、904を使用してRAID5のシステムを構成している。追記型光ディスク上にはセクタが配置されている。例えば光ディスク901にはアドレスD10、D11、D12、D13のセクタが配置されている。RAIDシステムとしてはアドレスA1〜A12が割り当てられている。アドレスP1、P2、P3、P4はパリティを保存するためのセクタである。ファイル1がセクタ群905に、ファイル2がセクタ群906に記録されている。
(Background to the form related to the present disclosure)
FIG. 9 is a diagram for explaining the outline of data erasure in a RAID system using a plurality of write-once optical disks (hereinafter, optical disk RAID system). A RAID 5 system is configured by using write-once
RAIDシステムよりファイル1を読み出す場合、RAIDシステムのアドレスA1、A2、A3、A4のセクタ内容を読み出せばよい。これは光ディスク901のアドレスD10、D11、光ディスク902のアドレスD20、光ディスク903のアドレスD30を読み出すことに相当する。ここで、アドレスA2が再生できない場合、RAIDシステムはアドレスA1、A3、およびパリティP1の内容から、アドレスA2の内容を復元して再生する。すなわち、一つの光ディスクから読み出しが不可能でも、RAIDシステムとしては読み出しが可能となる冗長性を確保している。
When reading the
ファイル1を消去する場合は、ファイル1が保存されているアドレスA1〜A4を消去する。しかしながら、アドレスA4については消去を行ったとしても、アドレスA5,A6及びパリティP2から復元が可能であるためファイル1は完全に消去されていないことになる。
When erasing
また、ファイル1の消去後のファイル2の再生時に、例えばアドレスA5が読み出し不可能であった場合、アドレスA4、A6、パリティP2を再生してアドレスA5の内容を復元しようとしても、すでにアドレスA4は消去されていて再生不能のため、読み出しがエラーになり復元が不可能になってしまう。すなわち冗長度が低下した状態になる。
Further, when the file A after the deletion of the
そこで本開示は、追記型光ディスクを複数使用したRAIDシステムの冗長性を確保しながら記録されたデータを消去する方法を提供する。 Therefore, the present disclosure provides a method for erasing recorded data while ensuring redundancy of a RAID system using a plurality of write-once optical disks.
(実施の形態1)
図1は、光ディスクRAIDシステムのデータ消去方法における実施の形態の構成を示した図である。図1において、サーバー107は、アプリケーション110、SCSI(Small Computer System Interface)ライブラリ108、およびUDF(Universal Disk Format)ドライバー109として動作する。より具体的には、サーバー107は、CPUと、メモリと、HDD(Hard Disk Drive)とを備える。HDDは、各種プログラムを記憶している。CPUは、HDDから各種プログラムをメモリに読み出して実行することにより、アプリケーション110、SCSIライブラリ108、およびUDFドライバー109として動作する。
(Embodiment 1)
FIG. 1 is a diagram showing a configuration of an embodiment of a data erasing method of an optical disk RAID system. In FIG. 1, a
サーバー107は、光ディスクRAIDシステム111と接続されている。アプリケーション110は、SCSIライブラリ108もしくはUDFドライバー109を通じて、SCSIコマンドを使用して光ディスクRAIDシステム111を制御する。
The
光ディスクRAIDシステム111は、コントローラー101、複数のドライブ102、マガジン104、複数の光ディスク105、マガジン搬送機構103、および光ディスク搬送機構106を備える。本実施の形態では、光ディスクRAIDシステム111は、4台のドライブ102を備えている。
The optical
アプリケーション110がマガジン104の光ディスク105にファイルを記録する場合、以下のように記録する。ここではファイル1、ファイル2を記録する場合を例に挙げて説明する。
When the
アプリケーション110は、SCSIライブラリ108を通じて、光ディスクRAIDシステム111のコントローラー101に対し、マガジン104内の光ディスク105をドライブ102に装填するように指示する。コントローラー101は、マガジン搬送機構103に対し、マガジン104を装填位置まで搬送するように指示する。マガジン搬送機構103は、マガジン104を搬送し、ドライブ102に光ディスク105を装填することが可能な位置である装填位置に移動する。次にコントローラー101は、光ディスク搬送機構106及びドライブ102に対し、マガジン104内の光ディスクをドライブ102に装填するように指示する。光ディスク搬送機構106は、光ディスク105をマガジン104内からドライブ102へと移動させる。ドライブ102は、光ディスク105をローディングし、記録再生可能な状態になるよう起動処理を行う。コントローラー101は、上記を繰り返し、マガジン104内の全ての光ディスク105をドライブ102に装填する。装填された複数の光ディスク105は、1つの光ディスクRAIDとみなされる。本実施の形態では、4台のドライブ102に装填された4枚の光ディスク105が、光ディスクRAIDを構成する。また、本実施の形態では、RAIDレベルはRAID5である。
The
次にアプリケーション110は、UDFドライバー109に対し、ファイル1及びファイル2を記録するように指示する。UDFドライバー109は、UDF規格に従って、複数の光ディスク105で構成された光ディスクRAID上の空きセクタを探し、光ディスクRAID上にファイル1及びファイル2のデータを記録する。それと共に、UDFドライバー109は、光ディスクRAID上のファイルシステム管理情報にファイル1及びファイル2のファイル名と記録アドレスを記録する。このファイルシステム管理情報は、UDF規格に従って光ディスクRAID上に記録される。
Next, the
図3は、ファイルシステム管理情報の一例を示す図である。ファイル1のサイズが8kbyte、ファイル2のサイズが10kbyte、光ディスクRAIDシステムにおけるセクタ容量が2kbyteであるものとする。この場合、UDFドライバー109は、光ディスクRAID上の空きセクタを探し、ファイル1を光ディスクRAID上のアドレスA1〜A4、ファイル2を光ディスクRAID上のアドレスA5〜A9へ記録する。このときのファイルシステム管理情報は図3に示す通りとなる。
FIG. 3 is a diagram illustrating an example of file system management information. Assume that the size of
UDFドライバー109は、ファイル1のデータ及びファイル2のデータを、光ディスクRAID上のアドレスA1〜A4及びアドレスA5〜A9に記録するように光ディスクRAIDシステム111のコントローラー101に指示する。
The
図2を使用して、コントローラー101が光ディスクRAID上のアドレスA1〜A9にファイル1及びファイル2を記録する際の動作を説明する。なお、4台のドライブ102に装填された光ディスク105を、便宜上光ディスク201、202、203、204と呼ぶ。すなわち、光ディスクRAIDシステム111は、光ディスク201、202、203、204を使用してRAID5のシステムを構成している。各光ディスク上にはセクタが配置されている。例えば光ディスク201には、アドレスD10、D11、D12、D13のセクタが配置されている。また各光ディスクには、RAIDシステムとしてはアドレスA1〜A12及びアドレスP1〜P4が割り当てられている。アドレスP1、P2、P3、P4は、パリティを保存するためのセクタである。すなわち、アドレスP1、P2、P3、P4は、誤り検出用のセクタである。また、各光ディスク上には交替領域が確保されている。例えば光ディスク201には交替領域D1S0、D1S2、D1S2が確保されている。交替領域には、光ディスクRAIDのアドレスは割り振られていない。交替領域は、光ディスク上に欠陥があった場合や、後述する消去を行う際に使用される。
The operation when the
コントローラー101が光ディスクRAID上のアドレスA1〜A9に記録する場合、コントローラー101は、ドライブ102に指示を送り、光ディスク201のアドレスD10、光ディスク202のアドレスD20、光ディスク203のアドレスD30に対し、光ディスクRAIDのアドレスA1、A2、A3に記録するべきデータを記録する。それと共に、コントローラー101は、アドレスA1、A2、A3に記録したデータに基づいてRAID5のパリティを計算する。コントローラー101は、ドライブ102に指示を送り、光ディスク204のアドレスD40にパリティを記録する。光ディスクRAIDのアドレスA4〜A6、A7〜A9、P2、P3についても上記を繰り返し、光ディスク201、202、203、204にデータとパリティとを記録する。
When the
その後、UDFドライバー109は、ファイルシステム管理情報(図3)を記録するように光ディスクRAIDシステム111のコントローラー101に指示する。コントローラー101は、光ディスクRAID上にファイルシステム管理情報を記録する。
Thereafter, the
ファイル1を消去する方法を、図4A、図4B、図5、図6を使用して説明する。アプリケーション110は、ファイルを記録する場合と同様に、事前にマガジン104内の光ディスク105をドライブ102に装填する。図5は、アプリケーション110がファイルを消去する動作を示すフローチャートである。アプリケーション110がファイル1を消去する場合を例にとり説明する。ステップS51において、アプリケーション110は、SCSIライブラリ108を通じて光ディスクRAIDシステム111にコマンドを発行し、ファイル1のファイルシステム管理情報を読み取る。ステップS52において、アプリケーション110は、ファイルシステム管理情報からファイル1のデータの記録アドレスを取得する。ファイルシステム管理情報が図3に示す内容である場合、ファイル1のデータの記録アドレスは、A1〜A4となる。ステップS53において、アプリケーション110は、SCSIライブラリ108を通じて、ファイル1のデータが書き込こまれたアドレスA1〜A4の消去コマンドを光ディスクRAIDシステム111のコントローラー101へ発行し、ファイル1のデータを消去する。ステップS54において、全ての対象ファイルの消去が完了していれば、アプリケーション110は、消去動作を終了する。全ての対象ファイルを消去していない場合、ステップS51に戻り、アプリケーション110は、次のファイルを消去する。
A method for deleting the
図6は、コントローラー101が消去コマンドを実行する動作を示すフローチャートである。ステップS61において、コントローラー101は、アプリケーション110から消去コマンドを受領すると、消去コマンドに含まれる、消去すべきデータのアドレス範囲に、RAIDストライプの全範囲が含まれるかどうかを判断する。ここでRAIDストライプとは、RAIDを構成する光ディスクに対してストライプ記録を行う際の最小単位であり、パリティを演算するのに必要なアドレスの組み合わせである。RAIDストライプのアドレス範囲は、図2ではアドレスA1〜A3、アドレスA4〜A6、アドレスA7〜A9、アドレスA10〜A12のような範囲である。例えば、アプリケーションから指示されたアドレスの範囲がアドレスA1〜A4の場合、ステップS61において、コントローラー101は、1つのRAIDストライプを構成するアドレスA1〜A3の全体が含まれると判断する。すなわち、コントローラー101は、消去コマンドのアドレス範囲に、RAIDストライプ全範囲が含まれると判断する(ステップS61においてYes)。この場合、ステップS62において、コントローラー101は、ステップS61で抽出したアドレスA1〜A3を消去するため、ドライブ102に光ディスク201のアドレスD10、光ディスク202のアドレスD20、光ディスク203のアドレスD30の消去を指示する。そして、ドライブ102は、指示されたアドレスを消去する。消去コマンドのアドレス範囲に、RAIDストライプの全範囲が複数含まれる場合は、コントローラー101は、それらすべてのアドレスについて消去を行う。消去が完了するとステップS63へ進む。また、ステップS61において、コントローラー101が、RAIDストライプ全範囲を含むアドレス範囲が存在しないと判断する場合(ステップS61においてNo)は、ステップS63へ進む。
FIG. 6 is a flowchart showing an operation in which the
次にステップS63において、コントローラー101は、受領した消去コマンドのアドレス範囲に、RAIDストライプの一部の範囲のみが含まれるかどうかを判断する。コントローラー101は、消去コマンドのアドレス範囲に、RAIDストライプの一部の範囲のみが含まれないと判断する場合(ステップS63においてNo)、処理を終了する。一方、例えばアプリケーションから指示されたアドレスの範囲がアドレスA1〜A4の場合、ステップS63において、コントローラー101は、アドレスA4がRAIDストライプの一部のみに相当すると判断する。すなわち、コントローラー101は、消去コマンドのアドレス範囲に、RAIDストライプの一部の範囲のみが含まれると判断する(ステップS63においてYes)。この場合、ステップS64において、コントローラー101は、RAIDストライプの一部であるアドレスA4を消去する。さらに、ステップS65において、コントローラー101は、アドレスA4について、内容が0のデータで交替記録をする。具体的には、コントローラー101は、ドライブ102に対して光ディスク201のアドレスD11の消去を指示し、ドライブ102は指示されたアドレスを消去する。また、コントローラー101は、ドライブ102に対して、光ディスク201のアドレスD11を、全て0の内容で交替記録するように指示する。ドライブ102は、光ディスク201の交替領域の中から空いている交替領域D1S0を選択し、交替領域D1S0に対して全て0の内容で記録を行う。すなわち、ドライブ102は、交替領域D1S0に全てのビットが0のデータを記録する。そしてドライブ102は、光ディスク201の交替管理情報(図4A)に光ディスク201のアドレスD11が交替先D1S0に交替したことを示す情報を登録し、この交替管理情報も光ディスク201に記録する。ドライブ102は、これ以降アドレスD11にアクセスが来た場合は、交替管理情報に基づいてアドレスD11の代わりにアドレスD1S0に対してアクセスを行う。なお、ステップS65において、全て0の内容で交替記録することに代えて、全て1の内容で交替記録してもよいし、その他の所定のデータに置き換えて交替記録してもよい。
In step S63, the
次に、コントローラー101は、ステップS66において、対象アドレスを含むRAIDストライプのパリティを再計算する。そして、コントローラー101は、ステップS67において、その再計算したパリティを交替記録する。ステップS64においてファイル1のアドレスA4を消去した場合、コントローラー101は、ドライブ102にアドレスA4を含むRAIDストライプのアドレスA4、A5、A6を読み出すように指示する。ドライブ102は、光ディスク201のアドレスD11、光ディスク202のアドレスD21、光ディスク204のアドレスD41の内容を読み出す。なお、光ディスク201のアドレスD11はアドレスD1S0に交替されている。ドライブ102は、アドレスD11を読み出そうとするときに、図4Aに示す交代管理情報を参照することにより、アドレスD11がアドレスD1S0に交替されていることを把握する。そしてドライブ102は、アドレスD11の代わりにアドレスD1S0の内容を読み出す。コントローラー101は、読み出された内容からパリティを再計算し、ドライブ102に対して、光ディスク203のアドレスD31を、再計算したパリティで交替記録するように指示する。ドライブ102は、光ディスク203の交替領域の中から空いている交替領域D3S0を選択し、交替領域D3S0に対して再計算したパリティの内容で記録を行う。そしてドライブ102は、光ディスク203の交替管理情報(図4B)に光ディスク203のアドレスD31が交替先D3S0に交替したことを示す情報を登録し、この交替管理情報も光ディスク203に記録する。ドライブ102は、これ以降アドレスD31にアクセスが来た場合は、アドレスD31の変わりにアドレスD3S0に対してアクセスを行う。さらに、コントローラー101は、ステップS68において、再計算する前のパリティを消去してもよい。具体的には、コントローラー101は、ドライブ102に対して光ディスク203のアドレスD31の消去を指示し、ドライブ102は指示されたアドレスを消去してもよい。なお、ステップS68の動作は省略してもよい。
Next, in step S66, the
上記のように動作することにより、光ディスクRAIDのアドレスA1〜A4に記録されていたファイル1のデータを消去することができる。また光ディスクRAIDのアドレスA4については交替記録及び、パリティの再計算と記録も行っているため、アドレスA5、A6、及びパリティP2からアドレスA4の元のデータを復元することもできなくなる。すなわち、ファイル1の全てのデータが光ディスクRAID上から消去されたことになる。
By operating as described above, the data of the
上記のようにファイル1が消去された光ディスクRAIDにおいて、ファイル2のデータの一部が記録されているアドレスA5、A6については、アドレスA4が全て0の内容またはその他の所定のデータで交替記録された上で、パリティP2が再計算されて交替記録されているため、ファイル1の消去前と同じ冗長性を確保できている。すなわち、本実施の形態の、光ディスクRAIDにおけるデータ消去方法は、データの消去にあたり、消去しないデータの冗長性を確保したまま消去することができる。
In the optical disk RAID from which the
なお、交替記録における交替元のパリティP2(アドレスD31)のデータについては、消去しても良い。この場合、コントローラー101は、パリティの再計算と交替記録(ステップS66、S67)に加えて、ドライブ102に光ディスク203のアドレスD31を消去するように指示し、ドライブ102はアドレスD31を消去する(ステップS68)。このように行えば、交替前のアドレスD31を読み出し、アドレスA5、A6の内容からアドレスA4の内容を復元することが不可能となり、より確実にファイル1を消去できる。
Note that the data of the parity P2 (address D31) of the replacement source in the replacement recording may be deleted. In this case, the
(実施の形態2)
本発明の実施の形態2を図7、図8A〜図8Dを用いて説明する。実施の形態2において実施の形態1と同様の構成については、説明を省略する。
(Embodiment 2)
A second embodiment of the present invention will be described with reference to FIGS. 7 and 8A to 8D. In the second embodiment, the description of the same configuration as that of the first embodiment is omitted.
図7は、複数のファイルの消去を行う、本実施の形態の消去方法を示すアプリケーション110の動作を示すフローチャートである。本実施の形態では、光ディスクRAIDに記録されたファイル1、2を消去する場合を例に説明する。
FIG. 7 is a flowchart showing the operation of the
事前にアプリケーション110は、ファイルを記録する場合と同様に、マガジン104内の光ディスク105をドライブ102に装填する。
The
ステップS71において、アプリケーション110は、SCSIライブラリ108を通じて、光ディスクRAIDシステム111にコマンドを送り、ファイル1、2のファイルシステム管理情報を読み取る。ステップS72において、アプリケーション110は、ファイルシステム管理情報からファイル1、2のデータの記録アドレスを取得し、取得した記録アドレスから連続したデータ書き込みアドレスを抽出する。ファイルシステム管理情報が図3に示す内容である場合、ファイル1のデータの記録アドレスは、A1〜A4、ファイル2のデータの記録アドレスは、A5〜A9となる。このため、抽出した連続データ書き込みアドレスは、A1〜A9となる。ステップS73において、アプリケーション110は、抽出した連続データ書き込みアドレスA1〜A9に対する消去コマンドを光ディスクRAIDシステム111のコントローラー101へ発行し、ファイル1、2のデータを消去する。ステップS74において、アプリケーション110は、抽出したすべての連続データ書き込みアドレスの消去が完了していれば(ステップS74においてYes)、消去動作を終了する。完了していない場合(ステップS74においてNo)、ステップS73に戻り、アプリケーション110は、次の連続したデータ書き込みアドレスを消去する。
In step S <b> 71, the
コントローラー101は、図6に示す消去コマンドを実行するフローチャートに従い動作する。アプリケーションから指示されたアドレスがA1〜A9の場合、ステップS61において、コントローラー101は、アドレスA1〜A9にRAIDストライプの全範囲が含まれると判断する。具体的には、コントローラー101は、アドレスA1〜A9の範囲内に、RAIDストライプを構成するアドレスA1、A2、A3と、アドレスA4、A5、A6と、アドレスA7、A8、A9とが含まれると判断する。そしてステップS62において、コントローラー101は、ステップS61で抽出したアドレスA1〜A3、A4〜A6、A7〜A9を消去する。具体的には、コントローラー101は、ドライブ102に光ディスク201のアドレスD10、D11、D12の消去を指示する。また、コントローラー101は、ドライブ102に光ディスク202のアドレスD20、D21の消去を指示する。また、コントローラー101は、ドライブ102に光ディスク203のアドレスD30、D32の消去を指示する。また、コントローラー101は、ドライブ102に光ディスク204のアドレスD41、D42の消去を指示する。ドライブ102は、指示された各アドレスを消去する。
The
次に、コントローラー101は、ステップS63において、受領した消去コマンドのアドレス範囲に、RAIDストライプの一部の範囲のみが含まれるかどうかを判断する。しかしながらアプリケーションから指示されたアドレス範囲がアドレスA1〜A9の場合、ステップS63において、コントローラー101は、RAIDストライプの一部のみを含むアドレス範囲は無い、と判断し、消去の動作を完了する。
Next, in step S63, the
上記のように動作することにより、交替領域の消費を抑制しつつ、ファイルの消去を行うことが可能となる。例に挙げたファイル1、ファイル2の消去の場合は、交替領域の消費はない。それに対し、同じファイル1、ファイル2を実施の形態1に基づいて消去した場合、図8A〜図8Dに示す光ディスク201〜204の交替管理情報のように、ファイル1の消去のため光ディスクRAIDのアドレスA4すなわち光ディスク201のアドレスD11の交替記録、及びパリティP2すなわち光ディスク203のアドレスD31の交替記録が発生する。またファイル2の消去のため、光ディスクRAIDのアドレスA5、P2、A6、すなわち光ディスク202のアドレスD21、光ディスク203のアドレスD31、光ディスク204のアドレスD41の交替記録が発生する。
By operating as described above, it is possible to delete a file while suppressing consumption of a replacement area. In the case of erasing
これに対し、本実施の形態では、コントローラー101が、複数のファイルを合わせて消去するように動作する。このため上記の例では、コントローラー101が、ファイル1のデータが記録されたアドレスA4と、ファイル2のデータが記録されたアドレスA5、A6とで構成されるRAIDストライプの全範囲が、消去コマンドのアドレス範囲に含まれると判断することができる。したがって、これらのアドレスA4、A5、A6について、交替記録をすることなく消去することが可能となる。
On the other hand, in the present embodiment, the
このように本実施の形態の、光ディスクRAIDにおけるデータ消去方法は、データの消去にあたり、交替領域の消費を抑えることができるため、信頼性を確保したままデータの消去を行うことができる。 As described above, the data erasing method in the optical disk RAID according to the present embodiment can suppress the consumption of the spare area when erasing data, so that data can be erased while ensuring reliability.
(他の実施の形態)
以上のように、本出願において開示する技術の例示として、実施の形態1〜2を説明した。しかしながら、本開示における技術は、これに限定されず、変更、置き換え、付加、省略などを行った実施の形態にも適用できる。また、上記実施の形態1〜2で説明した各構成要素を組み合わせて、新たな実施の形態とすることも可能である。
(Other embodiments)
As described above,
そこで、以下、他の実施の形態を例示する。 Therefore, other embodiments will be exemplified below.
なお、実施の形態1〜2では、消去コマンドのアドレス範囲にRAIDストライプの一部のみが含まれる場合、データの消去・交替記録において、交替先のアドレスに全て0の内容を記録することで交替記録を行っていたが、交替先のアドレスへのデータの記録を行わず、交替管理情報の交替先アドレスとして、光ディスク上に存在しないアドレスを登録してもよい。この場合、ドライブ102は、光ディスク上に存在しないアドレスが交替先アドレスとして登録されているアドレスに再生要求が来た場合、再生結果として全て0の内容を返却するようにする。このようにすれば、交替領域を消費しなくてすむため、さらに消去するための交替領域を削減することが可能となる。上記では光ディスク上に存在しないアドレスを登録したが、交替管理情報に交替属性の項目を追加し、交替属性として交替記録は行わず、交替元のアドレスにアクセスされた場合は全て0の内容を返却することを示す属性を記録してもよい。
In
また、実施の形態1〜2では、光ディスク上に設けられた交替領域を使用したが、光ディスクRAIDとして消去を行う場合、光ディスクのフォーマット時において、本開示の消去を行わない(欠陥領域に対して交替記録を行う)光ディスクRAIDを構成する光ディスクよりも、交替領域を多く確保するようにしてもよい。このようにすれば、消去のための交替領域を確保しつつ、消去を行わない光ディスクRAIDと同等の欠陥による交替領域を確保することが可能となる。 In the first and second embodiments, the replacement area provided on the optical disk is used. However, when erasing as the optical disk RAID, the erasure according to the present disclosure is not performed at the time of formatting the optical disk (for the defective area). It is also possible to secure a larger number of replacement areas than the optical disk constituting the optical disk RAID. In this way, it is possible to secure a spare area for erasure and secure a spare area due to a defect equivalent to the optical disk RAID that is not erased.
また、実施の形態1〜2では、光ディスク上に設けられた交替領域は光ディスク上に欠陥があった場合と消去を行う場合に使用されるが、欠陥があった場合に使用する交替領域と消去を行うための交替領域とを別々の領域として確保しても良い。このようにすれば、確実に消去を行える回数を保障することが可能となる。
In
また、実施の形態1〜2では、光ディスクを4枚使用したRAID5の光ディスクRAIDの構成を例に挙げて説明したが、光ディスクを5枚使用して、RAID5もしくはRAID6の光ディスクRAIDを構成に本開示を適用することも可能である。この場合、RAIDの種類によって、例えばRAID5またはRAID6によって、確保する交替領域の量を変えてもよい。RAID6の場合はパリティが増えるため交替領域がより必要になるためである。このようにすることにより使用するRAIDの種類に関わらず、消去を行える回数を確保することが可能となる。 In the first and second embodiments, the configuration of the RAID 5 optical disk RAID using four optical disks has been described as an example. However, the present disclosure uses the configuration of a RAID 5 or RAID 6 optical disk RAID using five optical disks. It is also possible to apply. In this case, the amount of spare area to be secured may be changed depending on the type of RAID, for example, RAID 5 or RAID 6. This is because in the case of RAID 6, since the parity increases, a replacement area becomes more necessary. This makes it possible to secure the number of times that erasure can be performed regardless of the type of RAID used.
また、実施の形態1〜2では、交替記録において、光ディスク上に確保された交替領域を使用したが、UDF2.6規格で規定されるPOW(Pseudo Over Write)のように、光ディスク上の交替領域ではないデータ領域に交替記録を行ってもよい。このようにすれば、光ディスクのフォーマット時に消去のための交替領域を確保する必要がなく、フォーマット後に、消去の必要性に応じて空き容量を管理すれば消去を行うことが可能となる。 In the first and second embodiments, the replacement area secured on the optical disk is used in the replacement recording. However, the replacement area on the optical disk as in POW (Pseudo Over Write) defined in the UDF 2.6 standard. Alternate recording may be performed in a data area that is not. In this way, it is not necessary to secure a replacement area for erasing at the time of formatting the optical disk, and erasing can be performed by managing the free space according to the necessity of erasing after formatting.
また、実施の形態1において、ステップ65の対象セクタの交替記録は、対象セクタの対象データを所定のデータに置き換えて所定の交替領域に交替記録するとしたが、複数の追記型光ディスクのうち同一の追記型光ディスク上の対象セクタの交替先は、同一としてもよい。このようにすれば、交替領域を削減することが可能となる。
In the first embodiment, the replacement recording of the target sector in
なお、上述の実施の形態は、本開示における技術を例示するためのものであるから、請求の範囲またはその均等の範囲において種々の変更、置き換え、付加、省略などを行うことができる。 In addition, since the above-mentioned embodiment is for demonstrating the technique in this indication, a various change, substitution, addition, abbreviation, etc. can be performed in a claim or its equivalent range.
本開示は、追記型光ディスクを複数使用したRAIDシステムに記録されたデータの消去方法に適用可能である。 The present disclosure is applicable to a method for erasing data recorded in a RAID system using a plurality of write-once optical discs.
101 コントローラー
102 ドライブ
103 マガジン搬送機構
104 マガジン
105 光ディスク
106 光ディスク搬送機構
107 サーバー
108 SCSIライブラリ
109 UDFドライバー
110 アプリケーション
111 光ディスクRAIDシステム
201,202,203,204 光ディスク
901,902,903,904 光ディスク
905,906 セクタ群
DESCRIPTION OF
Claims (14)
消去対象のデータである対象データが記録されたデータ記録用ブロックである少なくとも1つの対象ブロックおよび前記誤り検出用ブロックを所定の交替領域に交替記録する交替記録ステップと、
前記対象ブロックを、前記対象データが正しく読み出せなくなるように上書きする上書きステップと、を含む、
データ消去方法。 A data erasing method for erasing data recorded in stripes on a plurality of write-once optical disks constituting a RAID, wherein the plurality of write-once optical disks have a plurality of data recording blocks and an error detection block. ,
A replacement recording step in which at least one target block, which is a data recording block in which target data, which is data to be erased, is recorded, and the error detection block are alternately recorded in a predetermined replacement area;
Overwriting the target block so as to prevent the target data from being read correctly.
Data erasure method.
請求項1記載のデータ消去方法。 The overwriting step further overwrites the error detection block so that the target data cannot be read correctly.
The data erasing method according to claim 1.
前記交替記録ステップは、前記対象データがストライプ内の一部の前記データ記録用ブロックに記録されているストライプについては、前記対象ブロックおよび前記誤り検出用ブロックを所定の交替領域に交替記録し、前記対象データがストライプ内の全ての前記データ記録用ブロックの全てに記録されているストライプについては、交替記録せず、
前記上書きステップは、前記対象データがストライプ単位内の一部の前記データ記録用ブロックに記録されているストライプについては、前記対象ブロックおよび前記誤り検出用ブロックを正しく読み出せなくなるように上書きし、前記対象データがストライプ内の全ての前記データ記録用ブロックの全てに記録されているストライプについては、前記ストライプ内の全てのデータ記録用ブロックを正しく読み出せなくなるように上書きする、
請求項1記載のデータ消去方法。 The plurality of write-once optical discs have a plurality of data recording blocks and the error detection block for the stripes in a stripe,
In the replacement recording step, for the stripe in which the target data is recorded in a part of the data recording block in the stripe, the target block and the error detection block are replaced and recorded in a predetermined replacement area, For the stripe in which the target data is recorded in all the data recording blocks in the stripe, the alternate recording is not performed.
The overwriting step overwrites the target data and the error detection block so that the target data and the error detection block cannot be correctly read for stripes in which the target data is recorded in a part of the data recording blocks in a stripe unit, For the stripe in which the target data is recorded in all of the data recording blocks in the stripe, it is overwritten so that all the data recording blocks in the stripe cannot be read correctly.
The data erasing method according to claim 1.
請求項1記載のデータ消去方法。 In the replacement recording step, the error detection data of the error detection block is replaced with recalculated error detection data, and the replacement recording is performed in a predetermined replacement area.
The data erasing method according to claim 1.
請求項1記載のデータ消去方法。 In the replacement recording step, replacement recording is performed on a replacement area for replacement recording on a defective area on the plurality of write-once optical disks.
The data erasing method according to claim 1.
請求項1記載のデータ消去方法。 In the replacement recording step, replacement recording is performed for a replacement area for replacement recording for a defective area on the plurality of write-once optical disks and a replacement area different from a user data area for recording user data.
The data erasing method according to claim 1.
請求項1記載のデータ消去方法。 In the replacement recording step, replacement recording is performed on a user data area for recording user data on the plurality of write-once optical disks.
The data erasing method according to claim 1.
請求項1記載のデータ消去方法。 Securing a replacement area of the plurality of write-once optical disks for erasing data larger than a replacement area of the plurality of write-once optical disks not performing data erasure;
The data erasing method according to claim 1.
請求項1記載のデータ消去方法。 Change the size of the spare area to be secured according to the RAID level to be applied
The data erasing method according to claim 1.
請求項1記載のデータ消去方法。 In the replacement recording step, the replacement destination of the target block on the same write-once optical disc among the plurality of write-once optical discs is the same.
The data erasing method according to claim 1.
請求項1記載のデータ消去方法。 The replacement recording step records in the replacement information that the target block is predetermined data without replacement recording in a predetermined replacement area.
The data erasing method according to claim 1.
請求項1記載のデータ消去方法。 The replacement recording step replaces the target data of the target block with predetermined data and records the replacement in a predetermined replacement area;
The data erasing method according to claim 1.
請求項12記載のデータ消去方法。 The predetermined data is data in which all bits are 0.
The data erasing method according to claim 12.
請求項12記載のデータ消去方法。 The predetermined data is data in which all bits are 1.
The data erasing method according to claim 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US15/248,577 US10042582B2 (en) | 2015-08-28 | 2016-08-26 | Data erasing method |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015168589 | 2015-08-28 | ||
JP2015168589 | 2015-08-28 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017045500A JP2017045500A (en) | 2017-03-02 |
JP6600818B2 true JP6600818B2 (en) | 2019-11-06 |
Family
ID=58212213
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016122291A Active JP6600818B2 (en) | 2015-08-28 | 2016-06-21 | Data erasure method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6600818B2 (en) |
-
2016
- 2016-06-21 JP JP2016122291A patent/JP6600818B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2017045500A (en) | 2017-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4886877B2 (en) | Recording medium control apparatus and method | |
JP2000105980A (en) | Method for controlling defective area in optical recording medium | |
JP3135531B2 (en) | Recording medium for storing additional information for defect management and defect management method | |
JP2004005942A5 (en) | ||
KR20050088475A (en) | Write-once read-many information recording medium, information recording method, information reproduction method, information recording apparatus, and information reproduction apparatus | |
WO2005109432A1 (en) | Information recording device | |
JP2014186412A (en) | Controller, storage device, and control program | |
JP2008507797A (en) | Apparatus and method for recording information on a record carrier | |
US9235352B2 (en) | Datastore for non-overwriting storage devices | |
US20170097789A1 (en) | Information recording device and information recording method | |
JP5914885B2 (en) | Recording / reproducing apparatus and recording / reproducing method | |
JP6600818B2 (en) | Data erasure method | |
US10042582B2 (en) | Data erasing method | |
JP3637346B1 (en) | Information recording apparatus, information recording method, and program | |
JP2009026349A (en) | Method and device for recording/reproducing video | |
US20060221804A1 (en) | Optical recording medium and defect management device and method therefor | |
WO2005041186A1 (en) | Information recorder and information recording method and recording medium | |
JP4273149B2 (en) | Information recording and playback method | |
JP2008198102A (en) | Data processing system, data storage device, hard disk device, and data management method in data storage device | |
JP2014071917A (en) | File recorder, file system management method, file recovery method and change drive | |
JP6670995B2 (en) | Information recording apparatus and information recording method | |
US20050007912A1 (en) | Recording medium, recording method and recording apparatus | |
JP2005190539A (en) | Information recording method and information recording apparatus | |
JP2002230889A (en) | Recording system and program for non-rewritable recording medium | |
JPWO2011096201A1 (en) | Information reproducing apparatus and information reproducing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20190118 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190529 |
|
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: 20190827 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20190909 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 6600818 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |