Method and device for processing data redundancy and distributed storage system

Embodiment of the present invention provides a redundancy data processing method, apparatus, and a distributed storage system. A method, comprising: redundant data to be written algorithm to generate the M and N redundant slice data slice data, of the M and N redundant slice data slice data corruption at most any of the N data, can be utilized data recovery undamaged corrupted data, where M is a natural number greater than 1, N is a natural number not less than 1; and the M and N redundant slice data are stored in the slice data is located on the at least two storage nodes objects, wherein each storage node includes at least one set of objects, each object set contains at least one object. Embodiments of the present invention can improve utilization of storage space and to reduce the storage load, may additionally support different redundancy algorithms, to meet different customer reliability requirements, high flexibility.