# US 2006/0136777 A1 · Unit, method and program for detecting imprecise data

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2006/0136777 A1
- Document ID: US20060136777A1
- Status: Published application
- Kind: A1
- Application number: 11/292,563
- Filed: 2005-12-02
- Published: 2006-06-22
- Earliest claimed: 2004-12-02
- Assignees: International Business Machines Corporation
- Inventors: Yoshihiko Terashita; Tohru Sumiyoshi; Hiroyuki Miyoshi
- Web page: https://patentgrep.com/patent/US20060136777A1

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 2211/1007: Addressing errors, i.e. silent errors in RAID, e.g. sector slipping and addressing errors
- G06F 2211/104: Metadata, i.e. metadata associated with RAID systems with parity
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

When data are transferred to a cache from disk drives, through a back end I/F unit, a redundant code verifier of a data path controller compares write-history information (a Destaging Counter (DC) value) embedded in a redundant code of the data with a DC value embedded in a redundant code of a corresponding parity, thereby verifying whether the data are imprecise. In addition, in a case where the data are updated, the redundant code verifier makes a similar verification when old data to be used for creating a parity are read. When the data are not imprecise, a redundant code generator of the data path controller adds to new data and the parity a redundant code into which a new DC value has been embedded. When the data are imprecise, a controller informs a host of an occurrence of a problem through a front end I/F unit.

## Claims

### Claim 1

A device for detecting a data error in a memory, comprising:
an addition unit for adding history information to the data, which is updated in accordance with updating of data to be stored in a first sector in the memory, and to data to be stored in a second sector in the memory; and
a verification unit for verifying the data stored in the first sector and the data stored in the second sector by making a comparison between the history information which has been added to the data stored in the first sector and the history information which has been added to the data stored in the second sector.

### Claim 2 (depends on 1)

The device according to claim 1, where the addition unit embeds the history information, which is updated in accordance with updating of the data to be stored in the first sector, in a redundant code to detect an error of the data and in a redundant code to detect an error of the data to be stored in the second sector.

### Claim 3 (depends on 1)

The device according to claim 1, where an access is performed to the second sector in accordance with the access to the first sector.

### Claim 4 (depends on 1)

The device according to claim 1, wherein parity information to detect an error of the data to be stored in the first sector is stored in the second sector.

### Claim 5 (depends on 1)

The device according to claim 1, where the addition unit adds the history information, which is updated in accordance with updating of the data to be stored in the first sector, to the data to be stored in a third sector in the memory;
and the verification unit verifies the data, which are stored respectively in the first sector, the second sector and the third sector, by comparing each history information added to the data stored respectively in the first sector, the second sector and the third sector.

### Claim 6 (depends on 5)

The device according to claim 5, further comprising a specification unit for specifying as imprecise data that data to which only one history information different from the other history information is added, among the history information added to the data respectively stored in the first sector, the second sector and the third sector.

### Claim 7

A method to detect imprecise data, comprising:
adding history information, which is updated in accordance with updating of one data among the plurality of data, to the one data and to another data among the plurality of data;
writing the one data to a first sector in a memory and writing the another data to a second sector in the memory;
reading data stored in the first sector and data stored in the second sector; and
verifying the two data by comparing the history data added respectively to the two read-out data.

### Claim 8 (depends on 7)

The method according to claim 7, where the history information is updated in accordance with updating of the one data and is embedded in a redundant code to detect an error of the one data as well as in a redundant code to detect an error of the another data.

### Claim 9 (depends on 7)

The method according to claim 7, where parity information to detect an error of the data to be stored in the first sector is stored in the second sector.

### Claim 10 (depends on 7)

The method according to claim 7, wherein:
the history information is added to a further data among the plurality of data in the adding step;
the further data is written into a third sector of the memory in the writing step;
data which is stored in the third sector is read out in the reading step; and
when history information added to data stored in the first sector does not coincide with history information added to data stored in the second sector data, stored respectively in the first sector, the second sector and the third sector, are verified by comparing any one of the history information added to the data stored in the first and second sectors with history information added to the data stored in the third sector.

### Claim 11

A computer program product comprising a computer useable medium including a computer readable program, wherein the computer readable program when executed on the computer causes the computer to perform operations comprising:
obtaining first history information that is updated in accordance with updating of first data stored in first sector of a memory;
obtaining second history information that is updated in accordance with updating of second data stored in second sector of the memory; and
verifying the first data or the second data by comparing the first history information with the second history information.

### Claim 12 (depends on 11)

The computer program product according to claim 11, responsive to the first history information coinciding with the second history information when the first data or the second data are updated, further comprising operations of updating the first history information and adding it to the first data, and updating the second history information and adding it to the second data.

### Claim 13 (depends on 11)

The computer program product according to claim 11, where the first history information is obtained from redundant code to detect an error of the first data by obtaining the first history information; and
the second history information is obtained from redundant code to detect an error of the second data by obtaining the second history information.

### Claim 14 (depends on 11)

The computer program product according to claim 11, where the second data comprises parity data to detect an error of the first data.

### Claim 15 (depends on 11)

The computer program product according to claim 11, further comprising operations of:
obtaining third history information that is updated in accordance with updating of third data stored in third sector of the memory; and
when the first history information does not coincide with the second history information, verifying the first data, the second data and the third data by comparing the first history information or the second history information with the third history information.

### Claim 16

A controller for a data storage system that comprises a plurality of data storage disks comprising a data storage memory and a cache, said controller comprising a first interface for coupling to the data storage memory and a second interface for coupling to a host, said controller comprising redundant code verifier circuitry, responsive to data being transferred to the cache from the data storage memory to compare a first Destaging Counter (DC) value, indicative of write-history information, that is contained in a redundant code of the data with a second DC value that is contained in a redundant code of corresponding data integrity data to thereby verify whether the data being transferred is in error.

### Claim 17 (depends on 16)

A controller according to claim 16, said circuitry being responsive to an error being detected, when reading previous data to be used for creating data integrity data, to operate a redundant code generator to include with new data and the data integrity data a redundant code that contains a new DC value.

### Claim 18 (depends on 17)

The controller according to claim 17, where the data integrity data comprises parity data.

### Claim 19 (depends on 16)

The controller according to claim 16, where said controller informs the host via said second interface of an occurrence of a data error.

### Claim 20 (depends on 16)

The controller according to claim 16, where the plurality of data storage disks are organized in a RAID configuration.
