JP2006216146A - Hard disk drive - Google Patents

Hard disk drive Download PDF

Info

Publication number
JP2006216146A
JP2006216146A JP2005027154A JP2005027154A JP2006216146A JP 2006216146 A JP2006216146 A JP 2006216146A JP 2005027154 A JP2005027154 A JP 2005027154A JP 2005027154 A JP2005027154 A JP 2005027154A JP 2006216146 A JP2006216146 A JP 2006216146A
Authority
JP
Japan
Prior art keywords
data
host
sector
hdd
management table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005027154A
Other languages
Japanese (ja)
Inventor
Hisaaki Hiratsuka
久晃 平塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2005027154A priority Critical patent/JP2006216146A/en
Publication of JP2006216146A publication Critical patent/JP2006216146A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an HDD capable of preventing leakage of HDD data and deleting the HDD data at a high speed. <P>SOLUTION: This hard disk drive is constructed in such a manner that a management table is provided for recording access history of a sector for each data sector unit to be accessed by an instruction from a host, write history is recorded in an area, corresponding to the writing-designated sector of the management table by a writing instruction from the host, reference is made to the reading-designated sector of the management table by a reading instruction from the host to return the data of the designated sector when writing history is set, and data, unrelated to the data of the designated sector, is made to be returned to the host, when writing history has not been set. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、パソコン等の情報処理装置の外部記憶装置であるハードディスクドライブ(以下HDDと略す)に書かれた情報が、リユースのため第三者に渡す際に漏れないようにするため、HDD内のデータを消去する方法(ホワイトニング)に関する。   In order to prevent information written in a hard disk drive (hereinafter abbreviated as HDD), which is an external storage device of an information processing apparatus such as a personal computer, from leaking when being passed to a third party for reuse, Relates to a method (whitening) of erasing data.

近年、パソコンのリサイクルに関する関連法規施行の影響もあり、パソコンの中古販売という市場がにわかに脚光を浴びてきている。この際問題になるのは、HDD内に書かれている重要な情報が第三者に漏れないようにする事である。ファイルの削除は、OS上で削除を行っただけでは不十分で、特殊なツールを使う事でファイルを復活させる事ができてしまう。これを防ぐため、従来はHDDの全データエリアに対して無意味なデータを上書きする(いわゆるホワイトニング)という作業を行っていた。   In recent years, due to the enforcement of laws and regulations related to the recycling of personal computers, the market for second-hand sales of personal computers has been attracting attention. At this time, a problem is to prevent important information written in the HDD from leaking to a third party. It is not enough to delete a file on the OS, and the file can be restored by using a special tool. In order to prevent this, conventionally, an operation of overwriting meaningless data in all data areas of the HDD (so-called whitening) has been performed.

このホワイトニング作業は、この作業はHDDの全データエリアに対してライトを行うため、時間がかかるという問題がある。さらに、上書きするデータによっては、メディアの残留磁気のために、ファイル復活される可能性もあった。このため、特許文献1には、ホワイトニングを確実に高速におこなう技術が開示されている。   This whitening operation has a problem that it takes time because the operation writes to all data areas of the HDD. Furthermore, depending on the data to be overwritten, the file may be restored due to the residual magnetism of the media. For this reason, Patent Document 1 discloses a technique for reliably performing whitening at high speed.

特開2003-30801号公報Japanese Patent Laid-Open No. 2003-30801

しかし、上記従来技術では、いずにしてもデータの上書きをおこなっているため、消去処理に時間が掛かってします。特に、近年HDDの容量がどんどん大きくなってきているため、容量が大きくなればなるほどその時間は膨大となる事により、作業時間の短縮、効率向上の必要性がますます高くなってきている。   However, in the above prior art, data is overwritten anyway, so it takes time to delete. In particular, since the capacity of HDDs has been increasing in recent years, the larger the capacity, the longer the time, and the need for shortening the work time and improving the efficiency has become higher.

本発明は、上記問題を解決し、データの漏洩を防止し、高速にHDDのデータを消去するHDDを提供することにある。   An object of the present invention is to provide an HDD that solves the above problems, prevents data leakage, and erases data from the HDD at high speed.

上記の課題を解決するために、本発明のハードディスクドライブは、ホストからの指示によりアクセスするデータセクタ単位に該セクタのアクセス履歴を記録する管理テーブルを設けて、ホストからのライト指示により、前記管理テーブルのライト指定されたセクタに対応する領域にライト履歴を記録し、ホストからリード指示により前記管理テーブルのリード指定されたセクタに対応する領域を参照して、ライト履歴が設定されている場合には指定されたセクタのデータをホストに返し、ライト履歴が未設定の場合には指定されたセクタのデータとは無関係なデータをホストに返すようにした。   In order to solve the above-described problems, the hard disk drive of the present invention is provided with a management table for recording the access history of each sector in the data sector to be accessed by an instruction from the host. When the write history is set by referring to the area corresponding to the read-designated sector of the management table according to the read instruction from the host by recording the write history in the area corresponding to the write-designated sector of the table Returns the data of the specified sector to the host, and returns data unrelated to the data of the specified sector to the host when the write history is not set.

さらに、ホストから特定の動作コマンドを指定されたときに、前記管理テーブルのライト履歴を消去するようにした。   Furthermore, the write history of the management table is erased when a specific operation command is designated from the host.

本発明により、HDDの全面データ消去を実施したのと同じ効果を瞬時にして実施する事が可能となる。即ち、HDDのホワイトニング作業を瞬時に行う事ができるようになるため、パソコンのリユースに伴うHDDのホワイトニング作業時間の短縮、効率向上に絶大なる効果がある。   According to the present invention, it is possible to instantly implement the same effect as that of erasing the entire data of the HDD. That is, since the HDD whitening work can be performed instantaneously, the HDD whitening work time associated with the reuse of the personal computer is greatly reduced and the efficiency is greatly improved.

以下に本発明の実施の形態を説明する。   Embodiments of the present invention will be described below.

以下、本発明の一実施例によるHDDのホワイトニングを行う際の動作を説明する。図1は本実施例によるHDDの構成図である。HDD1は実際のデータが書かれているディスク2と、本発明の特徴である管理テーブル3を持っている。   Hereinafter, an operation when whitening the HDD according to an embodiment of the present invention will be described. FIG. 1 is a configuration diagram of an HDD according to the present embodiment. The HDD 1 has a disk 2 in which actual data is written and a management table 3 that is a feature of the present invention.

この管理テーブル3には、ディスク2上の各セクタ単位で書き込みをした事があるかどうかを示すフラグが用意されている。ここで、フラグが立っている状態を1、立っていない状態を0であると仮定する。まず初期のHDDは全てのフラグが0となっているものとする。その後、書き込みを行ったセクタは、該当するフラグを1に変更する。例えば、セクタ1に書き込みを行うと、管理テーブル3のセクタ1のフラグが0から1になる(図1)。リードを行う場合は、まず管理テーブル3の該当するセクタのフラグを調べ、1なら実際のディスク2の該当セクタをリードし、そのデータをホストに転送する。0ならディスク2からはリードせず、該当セクタとは無関係の無意味なデータ(例えばオール00、インクリメンタルパターン、等)をホストに転送する。   The management table 3 is provided with a flag indicating whether or not data has been written in units of sectors on the disk 2. Here, it is assumed that the flag is set to 1 and the flag is not set to 0. First, it is assumed that all flags are 0 for the initial HDD. Thereafter, the sector that has written changes the corresponding flag to 1. For example, when writing to sector 1, the flag of sector 1 in management table 3 changes from 0 to 1 (FIG. 1). When reading, first, the flag of the corresponding sector in the management table 3 is checked, and if it is 1, the corresponding sector of the actual disk 2 is read and the data is transferred to the host. If 0, the disk 2 is not read, and meaningless data unrelated to the sector (for example, all 00, incremental pattern, etc.) is transferred to the host.

例えば図1の状態のHDDであれば、セクタ1に対するリードコマンドが来た場合は、フラグが1なのでディスク2のセクタ1をリードし、そのデータをホストに転送するが、セクタ2に対するリードコマンドが来た場合は、フラグが0なのでディスク2をリードしに行かずに該セクタとは無関係の無意味なデータをホストに転送する。   For example, in the case of the HDD shown in FIG. 1, when a read command for sector 1 is received, the flag is 1, so sector 1 of disk 2 is read and the data is transferred to the host. When it comes, since the flag is 0, meaningless data unrelated to the sector is transferred to the host without going to read the disk 2.

以上の動作をリード時、ライト時それぞれにおいて、具体的にどのような動作を行うかを示したアルゴリズムを図2に示す。ここまでは、従来のHDDと本発明の方式を盛り込んだHDD1とは、HDDの動作自体は違いがあるものの、ホストから見た動きの違いはないので、通常のHDDとして問題なく動作する。   FIG. 2 shows an algorithm showing the specific operation to be performed in the above operation at the time of reading and at the time of writing. Up to this point, the conventional HDD and the HDD 1 incorporating the method of the present invention operate differently as a normal HDD because there is no difference in movement as viewed from the host, although the operation of the HDD itself is different.

次に、ホワイトニングを行う場合の動作を説明する。このHDD1には、特別なコマンドを出すと管理テーブル2のフラグを全て0に戻す機能を持たせておく。ホワイトニング作業は、この特別なコマンドを出すプログラムを走らせる事で完了する。管理テーブル3のフラグを戻すだけなので、瞬時にして実行される。この時点では、ディスク2にはまだユーザのデータが書かれたままである。   Next, the operation when whitening is performed will be described. The HDD 1 has a function of returning all the flags of the management table 2 to 0 when a special command is issued. The whitening process is completed by running a program that issues this special command. Since only the flag of the management table 3 is returned, it is executed instantaneously. At this point, the user data is still written on the disc 2.

更に、上記のホワイトニング作業を行った後、悪意ある者が特殊なツール等を使ってHDD内のデータを読み出そうとした場合を説明する。ディスク2にはユーザのデータは書かれているものの、このHDD1にリードコマンドを出しても、管理テーブル3のフラグは全て0なので、HDD1はディスク2に書かれているデータをリードせずに該セクタとは無関係の無意味なデータを転送してくる。よって、ユーザのデータを読み出す事はできない。これは、ホスト側から見れば完全消去ソフトでホワイトニングをしたHDDと同じ動作をしているように見えるので、本発明の方式によるホワイトニングでも効果は同等であり、有効である。   Further, a case where a malicious person attempts to read data in the HDD using a special tool or the like after performing the above whitening operation will be described. Although user data is written on the disk 2, even if a read command is issued to the HDD 1, the flags of the management table 3 are all 0, so the HDD 1 does not read the data written on the disk 2 and reads the data. Insignificant data unrelated to the sector is transferred. Therefore, user data cannot be read. Since this appears to be the same operation as the HDD whitened with the complete erasure software when viewed from the host side, the effect is equivalent and effective even with the whitening according to the method of the present invention.

次に、ホワイトニングを行う場合に使用する、管理テーブル2のフラグを全て0に戻す機能を別の手段で行う例を示す。
図3のように、HDD1の制御基板上に物理的なスイッチ4を設け、このスイッチ4がオンとなった時に管理テーブル2のフラグを全て0に戻す。これで、ホワイトニングを行う場合にはスイッチをオンするだけで実施ができるため、特別なコマンドを出すプログラム等を準備する必要もなく、またユーザが誤ってそのプログラムを実行してしまい、意図せずにデータを消失してしまう心配もない。更に、このスイッチをショートジャンパなどにする等、一般のユーザは気が付かないような方式にする事も可能で、そうすればユーザが誤って操作する心配もなく、リサイクル業者等、一部の者のみにその機能を開示して利用する事も可能となる。
Next, an example will be shown in which another function is used to return all the flags of the management table 2 to 0, which are used when whitening is performed.
As shown in FIG. 3, a physical switch 4 is provided on the control board of the HDD 1 and all the flags of the management table 2 are returned to 0 when the switch 4 is turned on. Since whitening can be performed simply by turning on the switch, it is not necessary to prepare a program that issues a special command. There is no worry about data loss. In addition, it is possible to make this switch a short jumper, etc. so that ordinary users do not notice it. It is also possible to disclose and use the function.

今まで述べてきた2つの実施例は、ホワイトニングを行う場合に特別なコマンドを出すプログラムを用意するとか、機能を開示されている者のみが実施できるようなスイッチを操作するといった、そのHDDだけが持つ特別機能、即ちベンダーユニーク的な機能であった。これに対して、標準的な機能として本発明を実施する例を示す。   In the two embodiments described so far, only the HDD, such as preparing a program for issuing a special command when whitening, or operating a switch that can be executed only by a person whose function is disclosed, It was a special function that the vendor had. On the other hand, the example which implements this invention as a standard function is shown.

パソコン等に使われるATAインタフェースのHDDにおいては、近年追加された機能としてHDDパスワード機能をサポートしているものが増えてきた。このセキュリティ機能関係のコマンド群の中に、Security Erase Unitコマンドというものがある。このコマンドは本来、パスワードを忘れる等によりロックがかかったまま解除できなくなったHDDを、内部のデータを全て消去する事を条件にロックを解除してパスワード未設定の状態に戻すコマンドである。   In recent years, ATA interface HDDs used for personal computers and the like have increased the number of functions that support the HDD password function as an added function. Among the security function related commands, there is a security erase unit command. This command is a command to release the lock and return the HDD to a state in which no password is set, on condition that all the internal data is erased, since the HDD has been locked due to forgetting the password.

このコマンドの実行内容はホワイトニングをしている事と同じであるので、このコマンドを使ってHDDのホワイトニングを行う事もできる。しかし、このコマンドも実行内容はHDDの全データエリアに対して無意味なデータを上書きするものであり、完全消去ソフトと同じ事をやっているに過ぎない。よって、実行時間は膨大なものとなる。本発明をこのコマンドに応用すれば、瞬時にしてコマンドを実行できる。即ち、Security Erase Unitコマンドが発行された際に、管理テーブル2のフラグを全て0に戻す機能を実行する事で、全データエリアを消去する動作の実行に置き換える事ができる。   Since the execution content of this command is the same as that of whitening, the whitening of the HDD can be performed using this command. However, the execution contents of this command also overwrite meaningless data in all data areas of the HDD, and are merely doing the same thing as complete erasure software. Therefore, the execution time becomes enormous. If the present invention is applied to this command, the command can be executed instantaneously. In other words, when the Security Erase Unit command is issued, the function of resetting all the flags of the management table 2 to 0 can be executed, so that the operation of erasing all data areas can be replaced.

この実施例では、ATA規格で定められたコマンドを使用するものであり、ベンダーユニークな方法ではないため、本発明を使ったHDDであればベンダーによらず全て同じ方法でホワイトニングを瞬時に実行でき、汎用性が高まる。   In this embodiment, a command defined in the ATA standard is used, and since this is not a vendor-unique method, any HDD using the present invention can instantly execute whitening in the same manner regardless of the vendor. Increased versatility.

フラグ管理テーブルとディスクに書かれているデータの関係を表したHDDの構成をしめす図である。It is a figure showing the composition of HDD showing the relation between the flag management table and the data written on the disk. リード時とライト時の動作アルゴリズムを示したフロー図である。It is the flowchart which showed the operation | movement algorithm at the time of read and write. データ消去を物理的なスイッチで行う方法を説明するHDD外観図である。It is a HDD external view explaining the method of erasing data with a physical switch.

符号の説明Explanation of symbols

1…HDD、2…ディスク、3…管理テーブル、4…スイッチ
1 ... HDD, 2 ... disk, 3 ... management table, 4 ... switch

Claims (2)

ホストからの指示によりセクタ単位にリードライトをおこなうハードディスクドライブにおいて、
ホストからの指示によりアクセスするデータセクタ単位に該セクタのアクセス履歴を記録する管理テーブルを設けて、
ホストからのライト指示により、前記管理テーブルのライト指定されたセクタに対応する領域にライト履歴を記録し、
ホストからリード指示により前記管理テーブルのリード指定されたセクタに対応する領域を参照して、ライト履歴が設定されている場合には指定されたセクタのデータをホストに返し、ライト履歴が未設定の場合には指定されたセクタのデータとは無関係なデータをホストに返すことを特徴とするハードディスクドライブ。
In a hard disk drive that performs read / write in units of sectors according to instructions from the host,
Provide a management table that records the access history of the sector for each data sector to be accessed according to an instruction from the host,
In accordance with a write instruction from the host, a write history is recorded in an area corresponding to the sector specified for writing in the management table,
When the write history is set by referring to the area corresponding to the read-designated sector of the management table by the read instruction from the host, the data of the specified sector is returned to the host, and the write history is not set In some cases, the hard disk drive is characterized by returning data unrelated to the specified sector data to the host.
ホストから特定の動作コマンドを指定されたときに、前記管理テーブルのライト履歴を消去することを特徴とする請求項1記載のハードディスクドライブ。
2. The hard disk drive according to claim 1, wherein when a specific operation command is designated by the host, the write history of the management table is erased.
JP2005027154A 2005-02-03 2005-02-03 Hard disk drive Pending JP2006216146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005027154A JP2006216146A (en) 2005-02-03 2005-02-03 Hard disk drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005027154A JP2006216146A (en) 2005-02-03 2005-02-03 Hard disk drive

Publications (1)

Publication Number Publication Date
JP2006216146A true JP2006216146A (en) 2006-08-17

Family

ID=36979243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005027154A Pending JP2006216146A (en) 2005-02-03 2005-02-03 Hard disk drive

Country Status (1)

Country Link
JP (1) JP2006216146A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013140492A1 (en) * 2012-03-19 2013-09-26 富士通株式会社 Data access method and program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013140492A1 (en) * 2012-03-19 2013-09-26 富士通株式会社 Data access method and program
JPWO2013140492A1 (en) * 2012-03-19 2015-08-03 富士通株式会社 Data access method, program, and data access apparatus
US9582214B2 (en) 2012-03-19 2017-02-28 Fujitsu Limited Data access method and data access apparatus for managing initialization of storage areas

Similar Documents

Publication Publication Date Title
US7856451B2 (en) Selective file erasure using metadata modifications
JP2006127106A (en) Storage system and its control method
CN102622310A (en) Invalid data erasing method, device and system
CN106527992A (en) Method and device for destroying data in storage equipment
US7370165B2 (en) Apparatus and method for protecting data recording on a storage medium
KR101365134B1 (en) Method for protecting sensitive data on a storage device having wear leveling
JP2009205753A (en) Magnetic disk apparatus and data storage method
US8107337B2 (en) Image processing apparatus and data erasing method
JP2005050192A (en) Information recording system
JP2007128448A (en) File system and file information processing method
JP2006216146A (en) Hard disk drive
JP2005352535A (en) Method of protecting data
US8140795B2 (en) Hard disk drive with write-only region
JP2891877B2 (en) Recording medium and electronic publication utilization system and processing method
Fulton Solid State Disk forensics: Is there a path forward?
KR20100009330A (en) The data elimination method using a mobile type storage system
TW200935221A (en) System for securing an access to flash memory device and method for the same
JP4535049B2 (en) Virtual library device, control method for virtual library device, control program for virtual library device
JP2010152781A (en) Backup server device, backup/restore program, and backup/restore method
JP2005084974A5 (en)
US8068305B2 (en) Secure data disposal for disk drive
US8830619B1 (en) Overwrite threshold number of tracks
JP2004287550A (en) Recording medium data erasing method, data display method, computer program, and recording medium
JP2005313568A (en) Printer, erasing method of data in printer, program and recording medium
CA2454107C (en) Apparatus and method for protecting data recorded on a storage medium