A method for assuring the integrity of stored data in a storage system is provided. At a specified time at which further writes to a desired portion of the stored data are to be precluded, a hash value is calculated for the desired portion of stored data. At a later time, retrieval of the stored data is performed and the hash value recalculated. A comparison of the former and present hash values reveals whether the data has remained unchanged.
|
1. A storage system comprising:
a storage volume for storing data; and
a storage controller coupled to the storage volume, the controller controlling access to the storage volume, and being receptive to a command for preventing write operations to the data which has previously been stored in at least one selected portion of the storage volume prior to receiving the command; wherein
at a first time when the storage controller receives the command, a first hash value for the data is calculated, in response to receipt of the command; and
wherein at a second time later than the first time a second hash value for the data stored in at least the one selected portion of the storage volume is calculated and the second hash value is compared to the first hash value to determine if data stored in at least the selected portion of the storage volume has been changed between the first time and the second time.
2. A system as in
3. A system as in
4. A system as in
5. A system as in
6. A system as in
9. A system as in
10. A system as in
|
This invention relates to storage systems, and in particular to techniques of assuring data integrity in such systems.
Large organizations throughout the world now are involved in millions of electronic transactions which include enormous amounts of text, video, graphical and audio information. This information is being categorized, stored, accessed, and transferred every day. The volume of such information continues to increase. One technique for managing such massive amounts of information is to use storage systems. Conventional storage systems include large numbers of disk drives operating under various control mechanisms which record, mirror, remotely backup, and reproduce this data. This rapidly growing amount of data requires most companies to manage the data carefully with their information technology systems.
An increasingly important aspect in the management of such data is the need to preserve it and to later establish that the data has not been altered. For example, a common goal in the management of data is now to preserve the data on a certain volume at a certain point in time for a certain period of time. For example, in the United States, Securities and Exchange Commission Rule 17a-4 requires certain institutions to preserve communication information, such as e-mail, voice mail, and various documents, for a specified amount of time. To date such preservation of data has often taken the form of copying the data to various media, and associating with that media certain precautions to assure that the media is not changed between the time when the data was originally stored and some later time. In one such example, data is backed up using tape drives and the tapes securely maintained to assure that they have not been altered since being originally written. Unfortunately, such mechanisms are cumbersome, inefficient, and difficult to implement. The various measures often substantially increase the cost of preserving the data.
Accordingly, it would be desirable to have a more efficient and effective mechanism for assuring the integrity of stored data, but without the inconvenience of prior systems, such as backup systems.
This invention addresses the need of assuring data integrity, and does so by preserving data on hard disk drives in a manner which assures that it the data on a desired volume has not been altered since a specified time, the time being selected by the user of the system. Preferably the system is implemented by providing a storage system with functionality to decline write requests, and accept only read requests, to the desired volume or portion thereof. In addition, techniques are employed to prove that the stored data has not been altered since the specified time, for example, by surreptitious re-writing of the data by overcoming the read-only restriction.
In a preferred embodiment, the storage system providing this functionality includes a first storage volume for storing selected data and a second storage volume coupled to the first storage volume. A controller is coupled to the second storage volume for calculating at the selected time a first hash value of the data and storing that first hash value in the second storage volume. At some later time, when it is desired to determine the integrity of the data, the first stored hash value can be compared to a new hash value calculated for the data, thereby enabling a determination to be made about whether the data has been changed between the selected time and the later time when verification is performed.
In this application the preferred implementation is to use a hash volume as described above. Alternatively, however, the storage for the hash values can be provided in a separate volume, in a shared memory, or in the same volume as the data volume. This storage can be provided at any desired location, e.g. in the implementation discussed in
When host 107 issues input/output operations to volume 104, those requests come into the storage system 101 via the interface 105, and then are forwarded to the actual volume via the controller 102. Reads from the volumes are made by the controller 102 and the resulting data passed back to the host 107. In a preferred embodiment, as will be discussed in more detail below, the controller also includes an access control capability to permit it to accept or decline input/output operations from a certain host, or to a certain volume. In other words, controller 102 can be configured to permit only reads from volume 104, or a portion thereof, and to prevent any writes to volume 104, or the portion thereof. This is achieved by checking the target address of any write against a table of “write-prohibited” addresses, as discussed below.
Storage controller 102 also includes the functionality of being able to compute a hash value of all, or a portion, of the data stored on volume 104. The resulting hash value is stored in hash volume 103. The hash values are essentially uniquely defined by the data upon which they operate, thereby making the probability of a collision very rare. Thus the hash values provide a technique for determining whether data has been altered between a specified time at which the hash value is calculated, and a later time when the hash value is calculated again. The hash value is preferably calculated using a “one-way” hashing operation which prevents “reverse engineering” the original data from the hash values. Computation and storage of these hash values is one feature of the invention which provides the data integrity.
Each address range has been assigned a section number in
Any desired hashing technology may be employed to calculate the hash values, but the choice of the particular algorithm employed usually changes the length of the hash values. For example, the SHA-1 algorithm creates 160-bit hash values, while the MD-5 algorithm creates 128-bit hash values. The hash volume table may also include additional columns to indicate the particular hash algorithm employed, enabling different algorithms to be used for different data ranges.
The method of operation of the system of the invention is discussed next. When it is desired to preserve data, the storage system places the desired volumes, or portions thereof, into a “protected mode.” This mode is initiated by a command from the host, from the storage controller, from an administrative computer, or from another source. The command is referred to as a “start protected mode” command herein. The command typically will include the ID of the target volume if the entire volume is to be placed in this protected mode. As explained above, however, the entire volume may be divided into sections, and the hash value calculated for each section. The process of dividing the volume into sections may be performed prior to receiving the start protective mode command, or after it. The manner in which the volume is divided may be determined automatically by the storage controller 102, or be specified in the command, or specified by separate dedicated commands which configure the sections prior to receipt of the start protective mode command. If only a portion of the data in the target volume is to be protected, then the start protective mode command may include the data range in its arguments.
As explained above, the data input to the hash function may be all the data in the target volume, or preferably, a partial amount of that data. To create the partial data, the volume may be divided into equal parts of several sections, divided by sectors, or divided as some other arbitrary manner. If the volume is divided, however, the address range for each part should be specified, directly or implicitly, for example, as shown in column 203 of
If the volume is divided into sections on the basis of files stored, the address ranges to be protected usually will be given from the host 107, because host 107 maintains the tables of the addresses of the blocks where specific files are stored based on the file system for that storage. In this case, the write request to the target files may be declined at the file system level, not at the storage controller level.
If the storage system is functioning as a network attached storage server, the information to be given from the host 107 may not be the address range, but the file names, directory names, and partition names. This information enables the storage controller to generate information similar to table 201 from that information. Then, instead of declining rights to the particular region of data as shown by
The techniques described herein are particularly advantageous because even if the storage system 109 does not have the functionality to decline write requests to specific data ranges, the invention provides a method for determining if the data has been changed. It may occur, for example, that storage system 109 is connected to a certain host 114 and accepts from that host unauthorized writes to the specified data area.
In another aspect of the invention a technique is provided for assuring that data cannot be altered after the defined start time of protection, but the hash values recalculated in an attempt to hide the alterations. The verification process specified in
The auditing function to verify data integrity is described next. Assume that a certain volume has been set in a protected mode at a specified time in the past by using the start protected mode command and the process described in
The foregoing has been a description of preferred embodiments of the invention. It will be appreciated, however, that various implementation details have been described to explain the invention. The scope of the invention, however, may be ascertained from the appended claims.
Patent | Priority | Assignee | Title |
7594051, | Mar 09 2005 | Hitachi, Ltd. | Storage apparatus |
7661132, | Sep 26 2003 | Nippon Telegraph and Telephone Corporation | Tag privacy protection method, tag device, backend apparatus, updater, update solicitor and record medium carrying such programs in storage |
7725666, | Nov 03 2005 | Western Digital Technologies, INC | Micro-journaling of data on a storage device |
7873878, | Sep 24 2007 | AVAGO TECHNOLOGIES GENERAL IP SINGAPORE PTE LTD | Data integrity validation in storage systems |
8327131, | Nov 29 2004 | KIP Sign P1 LP | Method and system to issue trust score certificates for networked devices using a trust scoring service |
8429412, | Nov 29 2004 | KIP Sign P1 LP | Method to control access between network endpoints based on trust scores calculated from information system component analysis |
8782014, | May 14 2010 | International Business Machines Corporation | Data integrity mechanism for external storage devices |
9195825, | Oct 22 2009 | Qinetiq Limited | Data content checking |
9424266, | Oct 01 2007 | Microsoft Technology Licensing, LLC | Efficient file hash identifier computation |
9450966, | Nov 29 2004 | KIP Sign P1 LP | Method and apparatus for lifecycle integrity verification of virtual machines |
Patent | Priority | Assignee | Title |
5255270, | Nov 07 1990 | EMC Corporation | Method of assuring data write integrity on a data storage device |
6467060, | Jun 26 1998 | Seagate Technology LLC | Mass storage error correction and detection system, method and article of manufacture |
6658592, | Jul 20 2000 | EMC IP HOLDING COMPANY LLC | Error detection in disk storage systems |
6922782, | Jun 15 2000 | International Business Machines Corporation | Apparatus and method for ensuring data integrity of unauthenticated code |
6988180, | Sep 29 2003 | Microsoft Technology Licensing, LLC | Method and apparatus for lock-free, non-blocking hash table |
20010027450, | |||
20030126400, | |||
WO9938093, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Feb 15 2005 | Hitachi, Ltd. | (assignment on the face of the patent) | / | |||
Feb 25 2005 | OSAKI, NOBUYUKI | Hitachi, LTD | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 016574 | /0076 |
Date | Maintenance Fee Events |
Aug 27 2010 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
Sep 07 2010 | ASPN: Payor Number Assigned. |
Oct 26 2010 | RMPN: Payer Number De-assigned. |
Nov 10 2010 | ASPN: Payor Number Assigned. |
Oct 17 2014 | REM: Maintenance Fee Reminder Mailed. |
Mar 06 2015 | EXP: Patent Expired for Failure to Pay Maintenance Fees. |
Date | Maintenance Schedule |
Mar 06 2010 | 4 years fee payment window open |
Sep 06 2010 | 6 months grace period start (w surcharge) |
Mar 06 2011 | patent expiry (for year 4) |
Mar 06 2013 | 2 years to revive unintentionally abandoned end. (for year 4) |
Mar 06 2014 | 8 years fee payment window open |
Sep 06 2014 | 6 months grace period start (w surcharge) |
Mar 06 2015 | patent expiry (for year 8) |
Mar 06 2017 | 2 years to revive unintentionally abandoned end. (for year 8) |
Mar 06 2018 | 12 years fee payment window open |
Sep 06 2018 | 6 months grace period start (w surcharge) |
Mar 06 2019 | patent expiry (for year 12) |
Mar 06 2021 | 2 years to revive unintentionally abandoned end. (for year 12) |