Patent ID: 7464290

Claim:
A data storage system, comprising: a primary storage device comprising a plurality of sections for storing data; a spare storage device; a judging module for judging whether the primary storage device conforms to a first standard; a replacing module operated by the judging module, once the judging result of the judging module is NO, the replacing module replacing the primary storage device with the spare storage device; an examining module for scanning the primary storage device, checking which sections are failed in the primary storage device, and locating the failed sections; and a repairing module for checking whether the failed sections located by the examining module can be repaired, if any, the repairing module repairing the failed sections that can be repaired and then judging whether the primary storage device conforms to a second standard, if the primary storage device conforms to the second standard, the repairing module setting the primary storage device as a new spare storage device.