Patent ID: 6907504

Claim:
A method for updating control instructions in an electronic storage device of a distributed data storage system including a storage system controller, a primary electronic storage device, and a temporary electronic storage device, the method comprising: diverting write operation data originally directed to the primary electronic storage device; generating at least a partial mapping file of the write operation data diverted from the primary electronic storage device; updating control instructions in the primary electronic storage device while the write operation data is being diverted; and rebuilding at least the diverted write operation data on the primary electronic storage device, comprising: copying data written to a mirror electronic storage device from the mirror electronic storage device to the primary electronic storage device; copying data written to a logging file on the temporary electronic storage device from the logging file to the corresponding primary electronic storage device sectors mapped in the mapping file, if the mirror electronic storage device is not available; and regenerating write data on the primary electronic storage device at the primary electronic storage device sectors mapped in the mapping file, if the mirror electronic storage device and the logging file are not available.