WO2010142634A1 - Data verification using checksum sidefile - Google Patents

Data verification using checksum sidefile Download PDF

Info

Publication number
WO2010142634A1
WO2010142634A1 PCT/EP2010/057904 EP2010057904W WO2010142634A1 WO 2010142634 A1 WO2010142634 A1 WO 2010142634A1 EP 2010057904 W EP2010057904 W EP 2010057904W WO 2010142634 A1 WO2010142634 A1 WO 2010142634A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
read
sidefile
storage
checksum
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.)
Ceased
Application number
PCT/EP2010/057904
Other languages
French (fr)
Inventor
Liran Zvibel
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.)
IBM United Kingdom Ltd
International Business Machines Corp
Original Assignee
IBM United Kingdom Ltd
International Business Machines Corp
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 IBM United Kingdom Ltd, International Business Machines Corp filed Critical IBM United Kingdom Ltd
Publication of WO2010142634A1 publication Critical patent/WO2010142634A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1076Parity data used in redundant arrays of independent storages, e.g. in RAID systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum

Definitions

  • the present invention relates in general to computers, and more particularly to a method, system, and computer program product for facilitating data verification using a checksum in conjunction with a sidefile in data processing computer storage subsystems.
  • a checksum or has sum is a fixed-size datum computed from an arbitrary block of digital data for the purpose of detecting accidental errors that may have been introduced during its transmission or storage.
  • the integrity of the data may be checked at any time by recomputing the checksum and comparing it with the stored checksum. If the checksums do not match, the data is determined to be altered.
  • a storage controller In data processing computer storage subsystems, a storage controller often computes a checksum signature such as a Cyclic Redundancy Check (CRC).
  • CRC Cyclic Redundancy Check
  • a CRC is an error- detecting code. Its computation resembles a long division operation in which the quotient is discarded and the remainder becomes the result, with the important distinction that the arithmetic used is the carry-less arithmetic of a finite field. The length of the remainder is always less than or equal to the length of the divisor, which therefore determines how long the result can be.
  • the definition of a particular CRC specifies the divisor to be used, among other things.
  • the present invention provides method for data verification in a storage subsystem by at least one processor device in communication with at least one memory device, the method comprising: asynchronous Iy submitting a read of data to nonvolatile storage media; asynchronously submitting a read of a first checksum signature to a solid state, sidefile memory location of a storage controller in the storage subsystem, wherein the first checksum signature is representative of the data previously written to the nonvolatile storage media; calculating a second checksum signature from the read of the data; and comparing the first and second checksum signatures, wherein if a match is not determined, reporting a critical event.
  • asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location includes submitting the read to a storage module of the storage controller responsible for the nonvolatile storage media, wherein the solid state sidefile memory location is one of an available plurality of solid state sidefile memory locations associated with each of an available plurality of storage modules in the storage controller.
  • the method may further include, previous to asynchronously submitting the read of the data to the nonvolatile storage media: calculating the first checksum signature representative of the data, asynchronously submitting a write of the data to the nonvolatile storage media, and asynchronously submitting the first checksum signature to the solid state, sidefile memory location.
  • the method may further include, previous to asynchronously submitting the read of the data to the nonvolatile storage media, receiving one of a read and a verify instruction for a logical address.
  • a system for data verification in a storage subsystem having nonvolatile storage media comprising: a solid state, sidefile device of a storage controller operable in the storage subsystem, the sidefile device providing a memory location in addition to the nonvolatile storage media, wherein the sidefile device is adapted for storing a checksum signature calculated for data written to the nonvolatile storage media.
  • the storage module is further adapted for, pursuant to comparing the checksum signature to the additional checksum signature, determining if the checksum signature and the additional checksum signature match, wherein if a match is not determined, reporting a critical event.
  • the storage module is further adapted for receiving one of a read and a verify instruction for a logical address.
  • the data written to the nonvolatile storage media and the checksum signature calculated for the data are mappable by logical address.
  • the sidefile device is one of an available plurality of sidefile devices, each associated with one storage module of an available plurality of storage modules of the storage controller.
  • the sidefile device comprises a solid state disk (SSD) device.
  • the sidefile device comprises a flash memory device.
  • the checksum signature comprises a cyclic redundancy check (CRC).
  • a computer program comprising computer program code to, when loaded into a computer and executed thereon, cause said computer to perform all the steps of the method of the first aspect.
  • the computer program of the third aspect may be embodied in the form of a computer program product for data verification in a storage subsystem by at least one processor device in communication with at least one memory device, the computer program product comprising a computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising: a first executable portion for asynchronously submitting a read of data to nonvolatile storage media; a second executable portion for asynchronously submitting a read of a first checksum signature to a solid state, sidefile memory location of a storage controller in the storage subsystem, wherein the first checksum signature is representative of the data previously written to the nonvolatile storage media; a third executable portion for calculating a second checksum signature from the read of the data; and a fourth executable portion for comparing the first and second checksum signatures, wherein if a match is not determined, reporting a critical event.
  • the second executable portion for asynchronous Iy submitting the read of the first checksum signature to the solid state, sidefile memory location is further adapted for submitting the read to at least a portion of a solid state disk (SSD) device in communication with the storage controller.
  • the second executable portion for asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location is further adapted for submitting the read to at least a portion of a flash memory device in communication with the storage controller.
  • the second executable portion for asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location is further adapted for submitting the read to a storage module of the storage controller responsible for the nonvolatile storage media, wherein the solid state sidefile memory location is one of an available plurality of solid state sidefile memory locations associated with each of an available plurality of storage modules in the storage controller.
  • a preferred method of manufacturing a system for data verification in a storage subsystem having nonvolatile storage media comprising: providing a solid state, sidefile device of a storage controller in the storage subsystem, the sidefile device providing a memory location in addition to the nonvolatile storage media, wherein the sidefile device is adapted for storing a checksum signature calculated for data written to the nonvolatile storage media.
  • the method of manufacture may further include providing a storage module operable in the storage controller, wherein: the sidefile device is further adapted for providing the checksum signature to the storage module for data verification, the storage module is adapted for calculating an additional checksum signature for a subsequent read of the data from the nonvolatile storage media, and the storage module is further adapted for comparing the checksum signature to the additional checksum signature.
  • the storage module is further adapted for, pursuant to comparing the checksum signature to the additional checksum signature, determining if the checksum signature and the additional checksum signature match, wherein if a match is not determined, reporting a critical event.
  • the sidefile device comprises one of a solid state disk (SSD) device and a flash memory device.
  • Storage controllers typically place checksum signatures such as CRCs near the stored data, for example on the same nonvolatile storage media as the stored data. As a result, if the data becomes corrupted, the error may not be detectable by the CRC. For example, situations may arise where a write of data and/or the corresponding CRC does not occur
  • a read of data is asynchronously submitted to nonvolatile storage media.
  • a read of a first checksum signature is submitted to a solid state, sidefile memory location of a storage controller in the storage subsystem.
  • the first checksum signature is representative of the data previously written to the nonvolatile storage media.
  • a second checksum signature is calculated from the read of the data. The first and second checksum signatures are compared. If a match is not determined, a critical event is reported.
  • FIG. 1 is a block diagram of an exemplary computing environment including a data processing storage subsystem in which various aspects of the following description and claimed subject matter may be implemented;
  • Fig. 2A is a flow chart diagram of an exemplary method for submitting a checksum signature to a sidefile
  • Fig. 2B is a flow chart diagram of an exemplary method of writing data wherein a data error results
  • Fig. 2C is a flow chart diagram of an exemplary method of writing data wherein an additional data error results.
  • Fig. 3 is a flow chart diagram of an exemplary method for verifying data using a checksum signature submitted to a solid-state sidefile memory location according to the present invention.
  • the illustrated embodiments below provide mechanisms for data verification using a sidefile storage device as a memory location to store checksum signature information in lieu of placing the checksum signatures in close proximity to the stored data.
  • a sidefile may be implemented using a small, high-performance and zero-seek time storage device, such as a solid-state drive (SSD) or flash memory device.
  • SSD solid-state drive
  • the sidefile establishes a memory location in addition to the nonvolatile memory location in which the stored data is located. Accordingly, each checksum is recorded in the sidefile instead of being recorded on the storage controller disks. As a result, if data is never written to disk, the corresponding checksum is still written to the sidefile location. The associated error established by the stored checksum is thus ensured to be discovered.
  • the storage subsystem 10 receives, from one or more host computers 12, I/O requests, which are commands to read or write data at logical addresses on logical volumes. Any number of host computers 12 are coupled to the storage subsystem 10 by any means known in the art, for example, using a network.
  • the host computers 12 and the storage subsystem 10 are assumed to be coupled by a storage area network (SAN) 16 incorporating data connections 14 and host bus adapters (HBAs) 18.
  • SAN storage area network
  • HBAs host bus adapters
  • the logical addresses specify a range of data blocks within a logical volume, each block herein being assumed by way of example to contain 512 bytes.
  • a 10 KB data record used in a data processing application on a host computer would require 20 blocks, which the host computer might specify as being stored at a logical address comprising blocks 1000 through 1019 of a logical volume.
  • the storage subsystem 10 typically operates in, or as, a network attached storage (NAS) or a SAN system.
  • NAS network attached storage
  • the storage subsystem 10 comprises a clustered storage controller 24 coupled between the
  • Clustered storage controller 24 implements clusters of storage modules 26, each of whom includes an interface 28 (in communication between adapters 22 and 32), and a cache 30. Each storage module 26 is responsible for a number of disks 40 by way of data connection 38 as shown.
  • each storage module 26 further comprises a cache 30.
  • the number of caches used in the storage subsystem 10 and in conjunction with clustered storage controller 24 may be any convenient number. While all caches 30 in the storage subsystem 10 may operate in substantially the same manner and to comprise substantially similar elements, this is not a requirement.
  • Each of the caches 30 is typically, but not necessarily approximately equal in size and is assumed to be coupled, by way of example, in a one-to-one correspondence with a set of physical storage units, which are typically disks. In one embodiment, the disks 40 may comprise such disks.
  • Each set of physical storage comprises multiple slow and/or fast access time mass storage devices, herein below assumed to be multiple hard disks.
  • Fig. 1 shows the caches 30 coupled to respective sets of physical storage.
  • the sets of physical storage comprise one or more disks 40, which can have different performance characteristics.
  • the cache 30, may read or write data at addressable physical locations of physical storage.
  • the caches 30 are shown to exercise certain control functions over the physical storage. These control functions may alternatively be realized by hardware devices such as disk controllers, which are linked to the caches 30.
  • the routing of logical addresses is implemented according to methods described in the above-referenced U.S. Patent Application Publication No. 2005/0015566. Routing records, indicating the association of logical addresses of logical volumes with partitions and the association of the partitions with caches, are distributed by the SAN 16 to one or more generally similar network interfaces 28 of the storage modules 26. It will be understood that the storage subsystem 10, and thereby, the clustered storage controller 24, may comprise any convenient number of network interfaces 28. Subsequent to the formation of the disks 40, the network interfaces 28 receive I/O commands from the host computers 12 specifying logical addresses of the disks 40. The network interfaces use the routing records to break the commands into I/O instructions, or command subsets, that are then distributed among the caches 30.
  • Routing of commands and data from the HBAs 18 to the clustered storage controller 24 to each cache 30 is typically performed over a network and/or a switch.
  • the HBAs 18 may be coupled to the storage modules 26 by at least one switch (not shown) of the SAN 16 which can be of any known type having a digital cross-connect function.
  • the HBAs 18 may be directly connected to the storage modules 26.
  • Data having contiguous logical addresses are generally distributed among the disks 40. This can be accomplished using the techniques disclosed in the above-referenced U.S. Patent Application Publication No. 2005/0015566. Alternatively, the data can be distributed using other algorithms, e.g., byte or block interleaving. In general, this increases bandwidth, for instance, by allowing a volume in a SAN or a file in network attached storage to be read from or written to more than one disk at a time. However, this technique requires coordination among the various disks, and in practice may require complex provisions for disk failure, and a strategy for dealing with error checking information, e.g., a technique for storing parity information relating to distributed data.
  • error checking information e.g., a technique for storing parity information relating to distributed data.
  • Each storage module 26 in the clustered storage controller 24 includes a sidefile 42.
  • the sidefile 42 may include such storage devices as a solid-state drive (SSD) storage device or a flash memory device such as a Compact Flash (CF) storage device.
  • SSD solid-state drive
  • CF Compact Flash
  • the storage capacity of the sidefile 42 is not required to be nearly as large as that of the nonvolatile storage disks 40 as the checksums associated with stored write data are correspondingly small in comparison (typically a few bytes).
  • a small, high- performance device may be implemented in conjunction with each storage module in a cost effective manner.
  • Method 50 begins (step
  • a checksum signature is calculated by the system for the write (step 56).
  • the write is asynchronous Iy submitted to nonvolatile storage media, mappable by the logical address (step 58).
  • the checksum is asynchronously submitted to the sidef ⁇ le to be recorded (step 60). Both steps 58 and 60 occur asynchronously with each other so as to allow for increased system performance.
  • the checksum signature is also mappable by logical address.
  • Method 50 queries whether the write of the data and the checksum signature have been acknowledged (step 62). If no, the system waits (step 64) until this is the case. The method 50 then ends (step 66).
  • the checksum signature is submitted to the sidef ⁇ le for storage (again mappable by the logical address) (step 112).
  • the system waits until the writes of both data and checksum are acknowledged (steps 114, 116), and then the method 100 ends.
  • the method 200 queries whether the read of data and checksum signature information is acknowledged (step 210), and waits (step 212) until this is the case.
  • an additional checksum signature is calculated for the read of data (step 214).
  • the stored checksum is then compared against the checksum calculated for the read (step 216). If the two checksums match, then the data is verified and the method 200 ends (step 218). If not, then a critical event that system data has been corrupted is reported (step 220). The corrupted data is locked (step 222), and a read/verify error is reported (step 224). The method 200 ends (again, step 218).
  • Modules may also be implemented in software for storage for execution by various types of processors.
  • An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions, which may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the module and achieve the stated purpose for the module.
  • a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices.
  • operational data may be identified and illustrated herein within modules, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, as electronic signals on a system or network.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Detection And Correction Of Errors (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

Exemplary method, system, and computer program product embodiments for data verification in a storage system are provided. A read of data is asynchronously submitted to nonvolatile storage media. A read of a first checksum signature is submitted to a solid state, sidefϊle memory location of a storage controller in the storage subsystem. The first checksum signature is representative of the data previously written to the nonvolatile storage media. A second checksum signature is calculated from the read of the data. The first and second checksum signatures are compared. If a match is not determined, a critical event is reported.

Description

DATA VERIFICATION USING CHECKSUM SIDEFILE
BACKGROUND OF THE INVENTION
Field of the Invention
The present invention relates in general to computers, and more particularly to a method, system, and computer program product for facilitating data verification using a checksum in conjunction with a sidefile in data processing computer storage subsystems.
Description of the Related Art
A checksum or has sum is a fixed-size datum computed from an arbitrary block of digital data for the purpose of detecting accidental errors that may have been introduced during its transmission or storage. The integrity of the data may be checked at any time by recomputing the checksum and comparing it with the stored checksum. If the checksums do not match, the data is determined to be altered.
In data processing computer storage subsystems, a storage controller often computes a checksum signature such as a Cyclic Redundancy Check (CRC). A CRC is an error- detecting code. Its computation resembles a long division operation in which the quotient is discarded and the remainder becomes the result, with the important distinction that the arithmetic used is the carry-less arithmetic of a finite field. The length of the remainder is always less than or equal to the length of the divisor, which therefore determines how long the result can be. The definition of a particular CRC specifies the divisor to be used, among other things.
SUMMARY OF THE INVENTION
In a first aspect, the present invention provides method for data verification in a storage subsystem by at least one processor device in communication with at least one memory device, the method comprising: asynchronous Iy submitting a read of data to nonvolatile storage media; asynchronously submitting a read of a first checksum signature to a solid state, sidefile memory location of a storage controller in the storage subsystem, wherein the first checksum signature is representative of the data previously written to the nonvolatile storage media; calculating a second checksum signature from the read of the data; and comparing the first and second checksum signatures, wherein if a match is not determined, reporting a critical event.
Preferably, asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location includes submitting the read to at least a portion of a solid state disk (SSD) device in communication with the storage controller. Preferably, asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location includes submitting the read to at least a portion of a flash memory device in communication with the storage controller. Preferably, asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location includes submitting the read to a storage module of the storage controller responsible for the nonvolatile storage media, wherein the solid state sidefile memory location is one of an available plurality of solid state sidefile memory locations associated with each of an available plurality of storage modules in the storage controller.
The method may further include, previous to asynchronously submitting the read of the data to the nonvolatile storage media: calculating the first checksum signature representative of the data, asynchronously submitting a write of the data to the nonvolatile storage media, and asynchronously submitting the first checksum signature to the solid state, sidefile memory location. The method may further include, previous to asynchronously submitting the read of the data to the nonvolatile storage media, receiving one of a read and a verify instruction for a logical address.
In a second aspect, there is provided a system for data verification in a storage subsystem having nonvolatile storage media, comprising: a solid state, sidefile device of a storage controller operable in the storage subsystem, the sidefile device providing a memory location in addition to the nonvolatile storage media, wherein the sidefile device is adapted for storing a checksum signature calculated for data written to the nonvolatile storage media. The system may further include a storage module operable in the storage controller, wherein: the sidefile device is further adapted for providing the checksum signature to the storage module for data verification, the storage module is adapted for calculating an additional checksum signature for a subsequent read of the data from the nonvolatile storage media, and the storage module is further adapted for comparing the checksum signature to the additional checksum signature.
Preferably, the storage module is further adapted for, pursuant to comparing the checksum signature to the additional checksum signature, determining if the checksum signature and the additional checksum signature match, wherein if a match is not determined, reporting a critical event. Preferably, the storage module is further adapted for receiving one of a read and a verify instruction for a logical address. Preferably, the data written to the nonvolatile storage media and the checksum signature calculated for the data are mappable by logical address. Preferably, the sidefile device is one of an available plurality of sidefile devices, each associated with one storage module of an available plurality of storage modules of the storage controller. Preferably, the sidefile device comprises a solid state disk (SSD) device.
Preferably, the sidefile device comprises a flash memory device. Preferably, the checksum signature comprises a cyclic redundancy check (CRC).
In a third aspect, there is provided a computer program comprising computer program code to, when loaded into a computer and executed thereon, cause said computer to perform all the steps of the method of the first aspect.
The computer program of the third aspect may be embodied in the form of a computer program product for data verification in a storage subsystem by at least one processor device in communication with at least one memory device, the computer program product comprising a computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising: a first executable portion for asynchronously submitting a read of data to nonvolatile storage media; a second executable portion for asynchronously submitting a read of a first checksum signature to a solid state, sidefile memory location of a storage controller in the storage subsystem, wherein the first checksum signature is representative of the data previously written to the nonvolatile storage media; a third executable portion for calculating a second checksum signature from the read of the data; and a fourth executable portion for comparing the first and second checksum signatures, wherein if a match is not determined, reporting a critical event.
Preferably, the second executable portion for asynchronous Iy submitting the read of the first checksum signature to the solid state, sidefile memory location is further adapted for submitting the read to at least a portion of a solid state disk (SSD) device in communication with the storage controller. Preferably, the second executable portion for asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location is further adapted for submitting the read to at least a portion of a flash memory device in communication with the storage controller. Preferably, the second executable portion for asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location is further adapted for submitting the read to a storage module of the storage controller responsible for the nonvolatile storage media, wherein the solid state sidefile memory location is one of an available plurality of solid state sidefile memory locations associated with each of an available plurality of storage modules in the storage controller.
The computer program product may further include a fifth executable portion for, previous to asynchronously submitting the read of the data to the nonvolatile storage media: calculating the first checksum signature representative of the data, asynchronously submitting a write of the data to the nonvolatile storage media, and asynchronously submitting the first checksum signature to the solid state, sidefile memory location. The computer program product may further include a fifth executable portion for, previous to asynchronously submitting the read of the data to the nonvolatile storage media, receiving one of a read and a verify instruction for a logical address.
In a further embodiment there may be provided a preferred method of manufacturing a system for data verification in a storage subsystem having nonvolatile storage media, comprising: providing a solid state, sidefile device of a storage controller in the storage subsystem, the sidefile device providing a memory location in addition to the nonvolatile storage media, wherein the sidefile device is adapted for storing a checksum signature calculated for data written to the nonvolatile storage media.
The method of manufacture may further include providing a storage module operable in the storage controller, wherein: the sidefile device is further adapted for providing the checksum signature to the storage module for data verification, the storage module is adapted for calculating an additional checksum signature for a subsequent read of the data from the nonvolatile storage media, and the storage module is further adapted for comparing the checksum signature to the additional checksum signature. Preferably, the storage module is further adapted for, pursuant to comparing the checksum signature to the additional checksum signature, determining if the checksum signature and the additional checksum signature match, wherein if a match is not determined, reporting a critical event. Preferably, the sidefile device comprises one of a solid state disk (SSD) device and a flash memory device.
Storage controllers typically place checksum signatures such as CRCs near the stored data, for example on the same nonvolatile storage media as the stored data. As a result, if the data becomes corrupted, the error may not be detectable by the CRC. For example, situations may arise where a write of data and/or the corresponding CRC does not occur
(the data is not written). In such a case, the next read of this data will read the old data and/or the old CRC, and the system may determine that the old data and/or CRC is valid. In view of the foregoing, a need exists for a mechanism whereby checksum signatures such as CRCs may be retained, yet in a storage location apart from the stored data.
Accordingly, various exemplary method, system, and computer program product embodiments for data verification in a storage subsystem are provided. In one such exemplary embodiment, by way of example only, a read of data is asynchronously submitted to nonvolatile storage media. A read of a first checksum signature is submitted to a solid state, sidefile memory location of a storage controller in the storage subsystem.
The first checksum signature is representative of the data previously written to the nonvolatile storage media. A second checksum signature is calculated from the read of the data. The first and second checksum signatures are compared. If a match is not determined, a critical event is reported.
Related system and computer program product embodiments are also disclosed and provide additional advantages.
Brief Description of the Drawings
A preferred embodiment of the present invention will now be described, by way of example only, with reference to the accompanying drawings, in which:
Fig. 1 is a block diagram of an exemplary computing environment including a data processing storage subsystem in which various aspects of the following description and claimed subject matter may be implemented;
Fig. 2A is a flow chart diagram of an exemplary method for submitting a checksum signature to a sidefile;
Fig. 2B is a flow chart diagram of an exemplary method of writing data wherein a data error results;
Fig. 2C is a flow chart diagram of an exemplary method of writing data wherein an additional data error results; and
Fig. 3 is a flow chart diagram of an exemplary method for verifying data using a checksum signature submitted to a solid-state sidefile memory location according to the present invention.
Detailed Description of the Drawings
The illustrated embodiments below provide mechanisms for data verification using a sidefile storage device as a memory location to store checksum signature information in lieu of placing the checksum signatures in close proximity to the stored data. Such a sidefile may be implemented using a small, high-performance and zero-seek time storage device, such as a solid-state drive (SSD) or flash memory device. The sidefile establishes a memory location in addition to the nonvolatile memory location in which the stored data is located. Accordingly, each checksum is recorded in the sidefile instead of being recorded on the storage controller disks. As a result, if data is never written to disk, the corresponding checksum is still written to the sidefile location. The associated error established by the stored checksum is thus ensured to be discovered.
Turning now to the drawings, reference is initially made to Fig. 1, which is a block diagram of an exemplary data processing storage subsystem 10, in accordance with a disclosed embodiment of the invention. The particular subsystem shown in Fig. 1 is presented to facilitate an explanation of the invention. However, as the skilled artisan will appreciate, the invention can be practiced using other storage subsystems with diverse architectures and capabilities.
The storage subsystem 10 receives, from one or more host computers 12, I/O requests, which are commands to read or write data at logical addresses on logical volumes. Any number of host computers 12 are coupled to the storage subsystem 10 by any means known in the art, for example, using a network. Herein, by way of example, the host computers 12 and the storage subsystem 10 are assumed to be coupled by a storage area network (SAN) 16 incorporating data connections 14 and host bus adapters (HBAs) 18. The logical addresses specify a range of data blocks within a logical volume, each block herein being assumed by way of example to contain 512 bytes. For example, a 10 KB data record used in a data processing application on a host computer would require 20 blocks, which the host computer might specify as being stored at a logical address comprising blocks 1000 through 1019 of a logical volume. The storage subsystem 10 typically operates in, or as, a network attached storage (NAS) or a SAN system.
The storage subsystem 10 comprises a clustered storage controller 24 coupled between the
SAN 16 and a private network 36 using data connections 20 and 34, respectively, and incorporating adapters 22 and 32, again respectively. Clustered storage controller 24 implements clusters of storage modules 26, each of whom includes an interface 28 (in communication between adapters 22 and 32), and a cache 30. Each storage module 26 is responsible for a number of disks 40 by way of data connection 38 as shown.
As described previously, each storage module 26 further comprises a cache 30. However, it will be appreciated that the number of caches used in the storage subsystem 10 and in conjunction with clustered storage controller 24 may be any convenient number. While all caches 30 in the storage subsystem 10 may operate in substantially the same manner and to comprise substantially similar elements, this is not a requirement. Each of the caches 30 is typically, but not necessarily approximately equal in size and is assumed to be coupled, by way of example, in a one-to-one correspondence with a set of physical storage units, which are typically disks. In one embodiment, the disks 40 may comprise such disks. Those skilled in the art will be able to adapt the description herein to caches of different sizes, and to caches and storage devices in other correspondences, such as the many-to-many correspondence described in U.S. Patent Application Publication No. 2005/0015566, entitled
"Data Allocation in a Distributed Storage System."
Each set of physical storage comprises multiple slow and/or fast access time mass storage devices, herein below assumed to be multiple hard disks. Fig. 1 shows the caches 30 coupled to respective sets of physical storage. Typically, the sets of physical storage comprise one or more disks 40, which can have different performance characteristics. In response to an I/O command, the cache 30, by way of example, may read or write data at addressable physical locations of physical storage. In the embodiment of Fig. 1, the caches 30 are shown to exercise certain control functions over the physical storage. These control functions may alternatively be realized by hardware devices such as disk controllers, which are linked to the caches 30.
In an embodiment of the present invention, the routing of logical addresses is implemented according to methods described in the above-referenced U.S. Patent Application Publication No. 2005/0015566. Routing records, indicating the association of logical addresses of logical volumes with partitions and the association of the partitions with caches, are distributed by the SAN 16 to one or more generally similar network interfaces 28 of the storage modules 26. It will be understood that the storage subsystem 10, and thereby, the clustered storage controller 24, may comprise any convenient number of network interfaces 28. Subsequent to the formation of the disks 40, the network interfaces 28 receive I/O commands from the host computers 12 specifying logical addresses of the disks 40. The network interfaces use the routing records to break the commands into I/O instructions, or command subsets, that are then distributed among the caches 30.
Each storage module 26 is operative to monitor its state, including the states of associated caches 30, and to transmit configuration information to other components of the storage subsystem 10 for example, configuration changes that result in blocking intervals, or limit the rate at which I/O requests for the sets of physical storage are accepted, as explained in further detail herein below.
Routing of commands and data from the HBAs 18 to the clustered storage controller 24 to each cache 30 is typically performed over a network and/or a switch. Herein, by way of example, the HBAs 18 may be coupled to the storage modules 26 by at least one switch (not shown) of the SAN 16 which can be of any known type having a digital cross-connect function. In additional implementations, the HBAs 18 may be directly connected to the storage modules 26.
Data having contiguous logical addresses are generally distributed among the disks 40. This can be accomplished using the techniques disclosed in the above-referenced U.S. Patent Application Publication No. 2005/0015566. Alternatively, the data can be distributed using other algorithms, e.g., byte or block interleaving. In general, this increases bandwidth, for instance, by allowing a volume in a SAN or a file in network attached storage to be read from or written to more than one disk at a time. However, this technique requires coordination among the various disks, and in practice may require complex provisions for disk failure, and a strategy for dealing with error checking information, e.g., a technique for storing parity information relating to distributed data. Indeed, when logical unit partitions are distributed in sufficiently small granularity, data associated with a single logical unit may span all of the disks 40. While not explicitly shown for purposes of illustrative simplicity, the skilled artisan will appreciate that in some embodiments, the clustered storage controller 24 may be adapted for implementation in conjunction with certain hardware, such as a rack mount system, a midplane, and/or a backplane. Indeed, the private network 36 in one embodiment may be implemented using a backplane. Additional hardware such as the aforementioned switches, processors, controllers, memory devices, and the like may also be incorporated into the clustered storage controller 24 and elsewhere within the storage subsystem 10, again as the skilled artisan will appreciate. Further, a variety of software components, operating systems, firmware, and the like may be integrated.
Each storage module 26 in the clustered storage controller 24 includes a sidefile 42. As previously mentioned, the sidefile 42 may include such storage devices as a solid-state drive (SSD) storage device or a flash memory device such as a Compact Flash (CF) storage device. The storage capacity of the sidefile 42 is not required to be nearly as large as that of the nonvolatile storage disks 40 as the checksums associated with stored write data are correspondingly small in comparison (typically a few bytes). As a result, a small, high- performance device may be implemented in conjunction with each storage module in a cost effective manner.
While the illustrated embodiment shows sidefiles 42 associated with each storage module
26, the skilled artisan will appreciate that other embodiments may implement sidefiles 42 in differing ways. For example, a single sidefile device may store checksum information for data stored in a number of volumes associated with a number of storage modules.
Figs. 2A-2C, and 3, following depict exemplary methods for implementing sidefile mechanisms to improve data verification. As one skilled in the art will appreciate, various steps in the methods may be implemented in differing ways to suit a particular application. In addition, the described methods may be implemented by various means, such as hardware, software, firmware, or a combination thereof operational on or otherwise associated with the computing environment. For example, the methods may be implemented at least partially as a computer program product including a computer-readable storage medium having computer-readable program code portions stored therein. The computer- readable storage medium may include disk drives, flash memory, digital versatile disks (DVDs), compact disks (CDs), and other types of storage mediums.
Turning to Fig. 2A, reference is made to an exemplary method 50 for performing data writes implementing the sidefϊle device illustrated in Fig. 1, previously. Method 50 begins (step
52) with a write being received for a certain logical address (step 54). A checksum signature is calculated by the system for the write (step 56). The write is asynchronous Iy submitted to nonvolatile storage media, mappable by the logical address (step 58). In addition, the checksum is asynchronously submitted to the sidefϊle to be recorded (step 60). Both steps 58 and 60 occur asynchronously with each other so as to allow for increased system performance. The checksum signature is also mappable by logical address. Method 50 queries whether the write of the data and the checksum signature have been acknowledged (step 62). If no, the system waits (step 64) until this is the case. The method 50 then ends (step 66).
Turning now to Figs. 2B and 2C, reference is made to an exemplary methods for writing data in which a data error occurs. In both exemplary methods, the data errors may be not discoverable but for the mechanisms of the present invention implementing the side file device previously described. Turning first to Fig. 2B, method 100 begins (step 102) with a write received for a logical address (step 104). The applicable checksum is calculated for the write (step 106), and the write is asynchronously submitted to the nonvolatile storage media, mappable by the logical address (step 108). In the present example however, the data is not written, yet an acknowledgement is received (step 110). Asynchronous with the write of the data, the checksum signature is submitted to the sidefϊle for storage (again mappable by the logical address) (step 112). The system waits until the writes of both data and checksum are acknowledged (steps 114, 116), and then the method 100 ends.
Turning now to Fig. 2C, method 150 begins (step 152) with a write received for a logical address (step 154). The applicable checksum is calculated for the write (step 156), and the write is asynchronously submitted to the nonvolatile storage media, mappable by the logical address (step 158). Asynchronous with the write of the data, the checksum signature is submitted to the sidefϊle for storage (again mappable by the logical address) (step 160). Subsequent to the submittal of the checksum signature, and in similar fashion to the previous example, the data is not written, yet an acknowledgement is received that the data was written (step 162). The system waits until the writes of both data and checksum are acknowledged (steps 164, 166), and then the method 150 ends.
Turning now to Fig. 3, an exemplary method 200 for data verification using the sidefϊle mechanisms previously described is now shown. Method 200 allows for the detection of data errors resulting from either of the previous examples set forth in Figs. 2B and 2C, where write errors prevent data from being written, yet an acknowledgement is received that the data was written. Method 200 begins (step 202) with the receipt of a read/verify instruction for a logical address (step 204). The read is asynchronously submitted to the nonvolatile storage media, mappable by the logical address (step 206) while the read of the stored checksum, also mappable by the logical address, is asynchronously submitted to the sidefϊle location (step 208).
As a next step, the method 200 queries whether the read of data and checksum signature information is acknowledged (step 210), and waits (step 212) until this is the case. Next, an additional checksum signature is calculated for the read of data (step 214). The stored checksum is then compared against the checksum calculated for the read (step 216). If the two checksums match, then the data is verified and the method 200 ends (step 218). If not, then a critical event that system data has been corrupted is reported (step 220). The corrupted data is locked (step 222), and a read/verify error is reported (step 224). The method 200 ends (again, step 218).
Use of a sidefile location in conjunction with a storage controller to store checksum signature information provides an efficient and effective mechanism to improve data reliability in storage subsystems.
Some of the functional units described in this specification have been labeled as modules in order to more particularly emphasize their implementation independence. For example, a module may be implemented as a hardware circuit comprising custom VLSI circuits or gate arrays, off-the-shelf semiconductors such as logic chips, transistors, or other discrete components. A module may also be implemented in programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, or the like.
Modules may also be implemented in software for storage for execution by various types of processors. An identified module of executable code may, for instance, comprise one or more physical or logical blocks of computer instructions, which may, for instance, be organized as an object, procedure, or function. Nevertheless, the executables of an identified module need not be physically located together, but may comprise disparate instructions stored in different locations which, when joined logically together, comprise the module and achieve the stated purpose for the module.
Indeed, a module of executable code may be a single instruction, or many instructions, and may even be distributed over several different code segments, among different programs, and across several memory devices. Similarly, operational data may be identified and illustrated herein within modules, and may be embodied in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed over different locations including over different storage devices, and may exist, at least partially, as electronic signals on a system or network.
While one or more embodiments of the present invention have been illustrated in detail, the skilled artisan will appreciate that modifications and adaptations to those embodiments may be made without departing from the scope of the present invention as set forth in the following claims.

Claims

1. A method for data verification in a storage subsystem by at least one processor device in communication with at least one memory device, the method comprising: asynchronously submitting a read of data to nonvolatile storage media; asynchronously submitting a read of a first checksum signature to a solid state, side file memory location of a storage controller in the storage subsystem, wherein the first checksum signature is representative of the data previously written to the nonvolatile storage media; calculating a second checksum signature from the read of the data; and comparing the first and second checksum signatures, wherein if a match is not determined, reporting a critical event.
2. The method of claim 1, wherein asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location includes submitting the read to at least a portion of a solid state disk (SSD) device in communication with the storage controller.
3. The method of claim 1, wherein asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location includes submitting the read to at least a portion of a flash memory device in communication with the storage controller.
4. The method of claim 1, wherein asynchronously submitting the read of the first checksum signature to the solid state, sidefile memory location includes submitting the read to a storage module of the storage controller responsible for the nonvolatile storage media, wherein the solid state sidefile memory location is one of an available plurality of solid state sidefile memory locations associated with each of an available plurality of storage modules in the storage controller.
5. The method of any preceding claim, further including, previous to asynchronously submitting the read of the data to the nonvolatile storage media: calculating the first checksum signature representative of the data, asynchronously submitting a write of the data to the nonvolatile storage media, and asynchronously submitting the first checksum signature to the solid state, sidefile memory location.
6. The method of any preceding claim, further including, previous to asynchronously submitting the read of the data to the nonvolatile storage media, receiving one of a read and a verify instruction for a logical address.
7. A system for data verification in a storage subsystem having nonvolatile storage media, comprising: a solid state, sidefile device of a storage controller operable in the storage subsystem, the sidefile device providing a memory location in addition to the nonvolatile storage media, wherein the sidefile device is adapted for storing a checksum signature calculated for data written to the nonvolatile storage media.
8. The system of claim 7, further including a storage module operable in the storage controller, wherein: the sidefile device is further adapted for providing the checksum signature to the storage module for data verification, the storage module is adapted for calculating an additional checksum signature for a subsequent read of the data from the nonvolatile storage media, and the storage module is further adapted for comparing the checksum signature to the additional checksum signature.
9. The system of claim 8, wherein the storage module is further adapted for, pursuant to comparing the checksum signature to the additional checksum signature, determining if the checksum signature and the additional checksum signature match, wherein if a match is not determined, reporting a critical event.
10. The system of claim 8 or claim 9, wherein the storage module is further adapted for receiving one of a read and a verify instruction for a logical address.
11. The system of any of claims 7 to 10, wherein the data written to the nonvolatile storage media and the checksum signature calculated for the data are mappable by logical address.
12. The system of any of claims 7 to 11, wherein the sidefile device is one of an available plurality of sidefile devices, each associated with one storage module of an available plurality of storage modules of the storage controller.
13. The system of any of claims 7 to 12, wherein the sidefile device comprises one of a solid state disk (SSD) device or a flash memory device.
14. The system of any of claims 7 to 13, wherein the checksum signature comprises a cyclic redundancy check (CRC).
15. A computer program comprising computer program code to, when loaded into a computer system and executed thereon, cause said computer system to perform all the steps of the method of any of claims 1 to 6.
PCT/EP2010/057904 2009-06-10 2010-06-07 Data verification using checksum sidefile Ceased WO2010142634A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US12/481,953 2009-06-10
US12/481,953 US8352835B2 (en) 2009-06-10 2009-06-10 Data verification using checksum sidefile

Publications (1)

Publication Number Publication Date
WO2010142634A1 true WO2010142634A1 (en) 2010-12-16

Family

ID=42335252

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2010/057904 Ceased WO2010142634A1 (en) 2009-06-10 2010-06-07 Data verification using checksum sidefile

Country Status (3)

Country Link
US (1) US8352835B2 (en)
TW (1) TW201115326A (en)
WO (1) WO2010142634A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8468423B2 (en) 2011-09-01 2013-06-18 International Business Machines Corporation Data verification using checksum sidefile

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010541100A (en) * 2007-10-03 2010-12-24 スケールアウト ソフトウェア インコーポレイテッド How to implement highly available data parallel operations on a computational grid
US8566689B2 (en) * 2009-10-22 2013-10-22 Microsoft Corporation Data integrity units in nonvolatile memory
US8769188B2 (en) * 2009-11-18 2014-07-01 Mediatek Inc. Nonvolatile memory controller and method for writing data to nonvolatile memory
JP5780067B2 (en) * 2011-09-01 2015-09-16 富士通株式会社 Storage system, storage control device, and storage control method
US9128862B2 (en) 2012-02-23 2015-09-08 International Business Machines Corporation Efficient checksums for shared nothing clustered filesystems
JP6169892B2 (en) * 2013-05-21 2017-07-26 ルネサスエレクトロニクス株式会社 Semiconductor integrated circuit and operation method thereof
JP6666540B2 (en) * 2015-06-15 2020-03-18 富士通株式会社 Storage control device and program
US10162537B2 (en) * 2015-09-10 2018-12-25 Samsung Electronics Co., Ltd. Methods and systems to detect silent corruption of data
US11036596B1 (en) * 2018-02-18 2021-06-15 Pure Storage, Inc. System for delaying acknowledgements on open NAND locations until durability has been confirmed
CN110795441B (en) * 2019-09-18 2023-06-16 平安科技(深圳)有限公司 Report data processing method, device, equipment and storage medium
CN112182584B (en) * 2020-09-28 2025-02-25 广东小天才科技有限公司 Security verification method and device, electronic device, and storage medium
US12541621B2 (en) * 2023-07-26 2026-02-03 SanDisk Technologies, Inc. Enhanced end to end protection in key value storage devices
US20250272189A1 (en) * 2024-02-23 2025-08-28 Pure Storage, Inc. End-to-End Data Integrity in a Storage System

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030028723A1 (en) * 2001-08-01 2003-02-06 International Business Machines Corporation Efficient data backup using a single side file
US20070226588A1 (en) * 2005-10-24 2007-09-27 Lee Shea-Yun Memory Device and Bit Error Detection Method Thereof

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6029186A (en) 1998-01-20 2000-02-22 3Com Corporation High speed calculation of cyclical redundancy check sums
JP2000151609A (en) 1998-11-10 2000-05-30 Fujitsu Ltd ATM adaptation layer termination device
US6757832B1 (en) 2000-02-15 2004-06-29 Silverbrook Research Pty Ltd Unauthorized modification of values in flash memory
EP1148650A1 (en) 2000-04-14 2001-10-24 Matsushita Electric Industrial Co., Ltd. Crc operation unit and crc operation method
JP2002185438A (en) 2000-12-11 2002-06-28 Matsushita Electric Ind Co Ltd CRC arithmetic unit
US20020138804A1 (en) 2001-01-25 2002-09-26 Sangha Onkar S. Computation of checksums and other functions with the aid of software instructions
US6510488B2 (en) 2001-02-05 2003-01-21 M-Systems Flash Disk Pioneers Ltd. Method for fast wake-up of a flash memory system
US6868517B1 (en) 2001-05-15 2005-03-15 Marvell International Ltd. Method and apparatus for checking read errors with two cyclic redundancy check stages
KR100971320B1 (en) 2003-03-25 2010-07-20 트랜스퍼시픽 소닉, 엘엘씨 How to save / run application of FlashROM
US7191382B2 (en) 2003-06-02 2007-03-13 Fujitsu Limited Methods and apparatus for correcting data and error detection codes on the fly
US7149946B2 (en) * 2003-06-13 2006-12-12 Microsoft Corporation Systems and methods for enhanced stored data verification utilizing pageable pool memory
JP2005085121A (en) 2003-09-10 2005-03-31 Seiko Epson Corp Flash memory data update method, data update program, information processing apparatus, and information processing system
US7526686B2 (en) * 2004-08-04 2009-04-28 International Business Machines Corporation Apparatus, system, and method for active data verification in a storage system
JP2007183844A (en) 2006-01-10 2007-07-19 Hitachi Global Storage Technologies Netherlands Bv Auxiliary storage device and recording / reproducing method
US7761657B2 (en) * 2006-07-10 2010-07-20 Hitachi, Ltd. Storage control system, control method for storage control system, port selector, and controller
JP5032290B2 (en) * 2007-12-14 2012-09-26 株式会社東芝 Nonvolatile semiconductor memory device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030028723A1 (en) * 2001-08-01 2003-02-06 International Business Machines Corporation Efficient data backup using a single side file
US20070226588A1 (en) * 2005-10-24 2007-09-27 Lee Shea-Yun Memory Device and Bit Error Detection Method Thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8468423B2 (en) 2011-09-01 2013-06-18 International Business Machines Corporation Data verification using checksum sidefile
US8473816B2 (en) 2011-09-01 2013-06-25 International Business Machines Corporation Data verification using checksum sidefile

Also Published As

Publication number Publication date
US20100318887A1 (en) 2010-12-16
TW201115326A (en) 2011-05-01
US8352835B2 (en) 2013-01-08

Similar Documents

Publication Publication Date Title
US8352835B2 (en) Data verification using checksum sidefile
US8473816B2 (en) Data verification using checksum sidefile
US6981171B2 (en) Data storage array employing block verification information to invoke initialization procedures
US7647526B1 (en) Reducing reconstruct input/output operations in storage systems
US8156282B1 (en) System and method for optimizing write operations in storage systems
US7017107B2 (en) Storage array employing scrubbing operations at the disk-controller level
US9269376B1 (en) Efficient burst data verify in shingled data storage drives
US7062704B2 (en) Storage array employing scrubbing operations using multiple levels of checksums
US6687791B2 (en) Shared cache for data integrity operations
US9535840B2 (en) Parallel destaging with replicated cache pinning
US20090006904A1 (en) Apparatus and method to check data integrity when handling data
US7895465B2 (en) Memory preserved cache failsafe reboot mechanism
US9417964B2 (en) Destaging cache data using a distributed freezer
US9543988B2 (en) Adaptively strengthening ECC for solid state cache
US9389960B2 (en) Recovering from a defective boot image
EP2297741A1 (en) Memory efficient check of raid information
US8468517B2 (en) Concurrent upgrade of all components in storage subsystems
US8370688B2 (en) Identifying a storage device as faulty for a first storage volume without identifying the storage device as faulty for a second storage volume
GB2402770A (en) Writing version checking data for a data file onto two data storage systems.
US7526714B2 (en) Apparatus for checking data coherence, raid controller and storage system having the same, and method therefor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10725661

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10725661

Country of ref document: EP

Kind code of ref document: A1