| CPC G06F 11/1076 (2013.01) [G06F 11/1435 (2013.01)] | 20 Claims |

|
1. A method of data recovery of a storage system comprising a plurality of storage devices and a host device controlling the plurality of storage devices, the method comprising:
setting a plurality of erasure coding schemes that are different from each other;
determining a target erasure coding scheme among the plurality of erasure coding schemes, based on device characteristics of the plurality of storage devices, the target erasure coding scheme being corresponding to original data to be stored in the plurality of storage devices;
dividing the original data into a plurality of data blocks corresponding to the target erasure coding scheme;
generating parity blocks by encoding the plurality of data blocks, the parity blocks being corresponding to the target erasure coding scheme;
storing a data stripe comprising the plurality of data blocks and the parity blocks in the plurality of storage devices; and
based on a loss occurring in the plurality of data blocks stored in the plurality of storage devices, restoring the original data based on the parity blocks stored in the plurality of storage devices,
wherein the device characteristics comprise a data bit number stored in a memory cell of a storage device or a degeneration degree of the storage device.
|