Patent ID: 7778975

Claim:
A computer-readable recording medium that stores therein a computer program for data mirroring of a file, in response to a request from a data processing device, between data storage devices that are communicably connected to each other and include a first data storage device and a second data storage device, the computer program causing the computer to execute: retaining, for the file, ownership data indicating that the file is stored as a mirror source or a mirror destination, the file stored as the mirror destination being a replica of the file stored as the mirror source; changing the ownership data of the file from the mirror source to the mirror destination, or from the mirror destination to the mirror source; receiving a request to write data to the file in the first storage device from the data processing device; referring to the ownership data of the file; and mirroring including storing, when the ownership data indicates that the request is to write data to the file stored as the mirror destination, the file in the second data storage device storing the file as the mirror source, and then replicating the file in the first data storage device.