# US 2015/0149819 A1 · Parity chunk operating method and data server apparatus for supporting the same in distributed raid system

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

- Number: US 2015/0149819 A1
- Document ID: US20150149819A1
- Status: Published application
- Kind: A1
- Application number: 14/244,388
- Filed: 2014-04-03
- Published: 2015-05-28
- Earliest claimed: 2013-11-27
- Assignees: Electronics and Telecommunications Research Institute
- Applicants: Electronics and Telecommunications Research Institute
- Inventors: Sang Min LEE
- Web page: https://patentgrep.com/patent/US20150149819A1

## CPC

- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 2211/1028: Distributed, i.e. distributed RAID systems with parity
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention relates to operating a parity chunk, and a parity chunk operating method, in an environment dividing data of a file by a chunk unit, constituting a stripe by calculating a parity for a failure recovery, dispersely storing a data chunk and a parity chunk included in the stripe in multiple data servers, comprising the steps of: storing a data chunk and a parity chunk of a stripe structure in data servers; generating a partial parity using a previous data chunk in the storing step of a update data chunk by the data server storing the data chunk; and transmitting a partial parity to the data server storing the parity chunk, and a data server apparatus for supporting the same are disclosed.

## Claims

### Claim 1

A data server apparatus in an environment dividing data of a file by a chunk unit, constituting a stripe by calculating a parity for a failure recovery, dispersely storing a data chunk and a parity chunk included in the stripe in multiple data servers, the apparatus comprising:
a communication unit for receiving the data chunk constituting the stripe;
a storage for storing the data chunk; and
a control unit for calculating a partial parity by performing a operation between a previous data chunk and a update data chunk if the update chunk is received, and transmitting the calculated partial parity to a server apparatus which manages the parity chunk constituting the stripe.

### Claim 2 (depends on 1)

An data server apparatus of claim 1, wherein the control unit controls allocating a buffer for storing the update data chunk and a buffer for storing the previous data chunk.

### Claim 3 (depends on 2)

An data server apparatus of claim 2, wherein the control unit calculates the resulting value of a XOR operation between the update data chunk and the previous data chunk as the partial parity.

### Claim 4 (depends on 3)

An data server apparatus of claim 3, wherein the control unit controls return of the allocated buffers after calculating the partial parity.

### Claim 5 (depends on 1)

An data server apparatus of claim 1, wherein the control unit defines a data chunk identifier as a name of the partial parity.

### Claim 6

A data server apparatus in an environment dividing data of a file by a chunk unit, constituting a stripe by calculating a parity for a failure recovery, dispersely storing a data chunk and a parity chunk included in the stripe in multiple data servers, the apparatus comprising:
a communication unit for receiving the parity chunk constituting the stripe;
a storage for storing the parity chunk; and
to a control unit for receiving a partial parity calculated by performing a operation between a update data chunk and a previous data chunk, and storing and managing it.

### Claim 7 (depends on 6)

An data server apparatus of claim 6, wherein the control unit controls storing the partial parity by allocating a buffer for receiving the partial parity, locking an access to a corresponding partial parity chunk file, and releasing an access restriction for the partial parity chunk file after storing the partial parity stored in the buffer in a corresponding segment region of a chunk data region.

### Claim 8 (depends on 7)

An data server apparatus of claim 7, wherein the control unit controls returning the allocated buffers to a memory and returning a response to a corresponding partial parity transmitting request.

### Claim 9 (depends on 7)

An data server apparatus of claim 7, wherein the control unit performs adjusting a segment information array by extending a segment region, inserting a segment, adding a new segment, or merging with a previous segment in storing the partial parity in the segment region.

### Claim 10 (depends on 6)

An data server apparatus of claim 6, wherein the control unit updates the parity chunk using the partial parity.

### Claim 11 (depends on 10)

An data server apparatus of claim 10, wherein the control unit locks access to a parity chunk file when receiving a data read failure processing request from a client, transmits a recovered data for the remotely received data chunk after performing a parity update to the client, and releases the access restriction to the parity chunk file.

### Claim 12 (depends on 10)

An data server apparatus of claim 10, wherein the control unit performs updating the parity when receiving a data write failure recovering request, and after recovering the previous data based on a update parity chunk, stores a new parity calculated by an operation of the previous data, update data and a current parity data.

### Claim 13

A parity chunk operating method in an environment dividing data of a file by a chunk unit, constituting a stripe by calculating a parity for a failure recovery, dispersely storing a data chunk and a parity chunk included in the stripe in multiple data servers, the method comprising the steps of:
storing a data chunk and a parity chunk of a stripe structure in data servers;
generating a partial parity using a previous data and a update data chunk in the storing process of the update data chunk by the data server storing the data chunk; and
transmitting a partial parity to the data server storing the parity chunk.

### Claim 14 (depends on 13)

A parity chunk operating method of claim 13, wherein the generating step of a partial parity further comprises performing allocation of a buffer for storing the update data chunk and a buffer for storing the previous data chunk by the data server storing the data chunk.

### Claim 15 (depends on 14)

A parity chunk operating method of claim 14, wherein the method further comprising the steps of:
calculating a XOR operation result value between the update data chunk and the previous data chunk as a partial parity; and
returning the buffer after calculating the partial parity.

### Claim 16 (depends on 13)

A parity chunk operating method of claim 13, wherein the method further comprising the steps of:
allocating and storing a buffer for receiving the partial parity by the data server storing the parity chunk;
locking an access to a corresponding partial parity chunk file;
storing the partial parity stored in the buffer in a segment region corresponding to a chunk data region;
releasing a access restriction to the partial parity chunk file; and
returning the allocated buffers to a memory and returning a response to a corresponding partial parity transmitting request.

### Claim 17 (depends on 16)

A parity chunk operating method of claim 16, wherein the method further comprises the step of adjusting a segment information array including at least one of the steps of extending a segment region, inserting a segment, adding a new segment, and merging with a previous segment in the step of storing the partial parity in the segment region.

### Claim 18 (depends on 13)

A parity chunk operating method of claim 13, wherein the method further comprises the step of updating the parity chunk using the partial parity.

### Claim 19 (depends on 18)

A parity chunk operating method of claim 18, wherein the method further comprising the steps of:
receiving a data read failure processing request from a client;
locking access to a parity chunk file;
recovering data for remotely received data chunks after updating the parity; and
transmitting the recovered data to a client and releasing the access restriction to the parity chunk file.

### Claim 20 (depends on 19)

A parity chunk operating method of claim 19, wherein the method further comprising the steps of:
receiving a data write failure recovering request;
performing the parity update;
recovering the previous data based on the updated parity chunk; and
storing a new parity calculated by operation of the previous data, update data, and current parity data.
