Patent ID: 7769719
Filing Date: 2010-08-03
Classification: G06F

Abstract:
1. A method for replicating a file system comprising: creating an empty temporary inode table at a target file system; scanning a source file system organized as a data structure in inode order, including for each object in a directory recording a pairlist with a second field associated with an object name and a first field associated with an object inode number in the source file system; identifying an inode number of each directory in the source file system and entering each directory inode number in the temporary table; creating a new entry order of directory entries in the temporary table, including sorting the temporary table entries according to the pairlist for each table entry, wherein a directory entry in the sorted temporary table precedes an entry for an object in said directory; creating directories in the target system according to the new order, each directory created at a same inode number as in the source file system; and copying all objects in a directory from the source file system to the target file system, wherein each object is copied at an inode number identified in the first field of a pairlist associated with said object, and wherein the directories are created before contents of the directories are copied.