主权项 |
1. A method of synchronizing hard link files on a master server with hard link files on a replica server, wherein the master server and the replica server are coupled over a data network, the method comprising:
providing a master server hard link file snapshot including a listing of hard link file names from a root directory of the master server, wherein for each hard link file name in the master server hard link file snapshot, the master server hard link file snapshot includes a respective group identification for a physical data file corresponding to the hard link file name, wherein the listing includes first and second hard link file names from the root directory of the master server, wherein master server hard link file snapshot includes a first group identification for a first physical data file corresponding to the first hard link file name, wherein the master server hard link file snapshot includes a second group identification for a second physical data file corresponding to the second hard link file name, wherein the first and second group identifications are different, and wherein the first and second physical data files are different; receiving a replica server hard link file snapshot including a listing of hard link file names from a root directory of the replica server, wherein the replica server hard link file snapshot is received over the data network from the replica server, wherein for each hard link file name in the replica server hard link file snapshot, the replica server hard link file snapshot includes a respective group identification for a physical data file corresponding to the hard link file name; comparing the master server hard link file snapshot and the replica server hard link file snapshot; and responsive to comparing the master server hard link file snapshot and the replica server hard link file snapshot, generating a synchronized hash map linked list wherein the synchronized hash map linked list includes a listing of the group identifications corresponding to physical data files at the master server, wherein the listing of group identifications of the synchronized hash map linked list includes the first and second group identifications, and wherein for each group identification in the synchronized hash map linked list, the synchronized hash map linked list includes at least one of the hard link file names from the root directory of the master server. |