×

DATA BACKUP METHOD OF DISTRIBUTED FILE SYSTEM

  • US 20150199243A1
  • Filed: 01/09/2015
  • Published: 07/16/2015
  • Est. Priority Date: 01/11/2014
  • Status: Abandoned Application
First Claim
Patent Images

1. A data backup method of a distributed file system, applied in a source file system and a target file system, comprising:

  • a metadata synchronization step of obtaining by a synchronization control node a copy list according to a source path in a data backup request input from a client, synchronizing target metadata of a target file in the target file system according to source metadata of a source file in the copy list, and generating a file checksum list corresponding to the source file;

    a file difference analysis step of comparing by the synchronization control node a checksum of a first source block in the source file with a checksum of a first target block in the target file, determining whether the first source block is consistent with the first target block to obtain a first determining result, and updating information of the first source block and a first source data node corresponding to the first source block in the file checksum list according to the first determining result to obtain a first updated file checksum list, and sending the first updated file checksum list to a first data node, wherein the first data node is the first source data node or a first target data node corresponding to the first target block, and the first data node corresponds to a first block which is the first source block or the first target block;

    a block difference analysis step of receiving by the first data node the first updated file checksum list, comparing a checksum of a first chunk in the first block with a checksum of a first target chunk in a first corresponding target block, determining whether the first chunk is consistent with the first target chunk to obtain a second determining result, generating a first difference list according to the second determining result, and sending the first difference list and the first updated file checksum list to a first corresponding target data node corresponding to the first corresponding target block; and

    a data backup step of creating a temporary block by the first corresponding target data node, and writing data in the temporary block according to the first difference list and replacing the first corresponding target block with the temporary block.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×