Patent ID: 11874741
Assignee: DAPUSTOR CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method for data recovery of a storage medium, comprising writing data into the storage medium;
in response to determining that a write failure occurs during writing the data into the storage medium, extracting original data, corresponding to the data failed to be written, from a memory and extracting original verification data from an original RAID stripe, the original RAID stripe comprising the data faded to be written and the original verification data corresponding to the data failed to be written;
obtaining new verification data by performing a calculation on the original data extracted from the memory and the original verification data by using a preset verification algorithm;
forming a new RAID stripe by using valid data other than the original data in the original RAID stripe and the new verification data based on the original data extracted from the memory, the new RAID stripe comprising the new verification data based on the calculation on the original data from the memory and the valid data other than the original data corresponding to the data failed to be written, and recording data relations in the new RAID stripe; and
recovering, when a reading failure occurs during reading the data in the new RAID stripe, according to the data relations in the new RAD stripe, the data failed to be read.