Patent ID: 7680846
Filing Date: 2010-03-16
Classification: G06F,Y10S

Abstract:
1. A computer-readable medium having stored thereon a file management program causing computer connected to a plurality of file systems to execute a process comprising: acquiring file information events indicating file information of source files including names and attributes thereof on a source file system included in the plurality of file systems and recording the file information events, respectively, upon search of each of the source files; acquiring file operation events indicating information of each of file operations made for the source files and recording the file operation events, respectively, each time each of the file operations is made; generating, based on the file information events and the file operation events, a namespace replication database in which namespace of the source files has been replicated logically, in asynchrony with and after processing of the file operations in a collective manner; setting a directory on a destination file system included in the plurality of the file systems based on the namespace replication database and replicating data of the source files from the source file system to the destination file system independently of the processing of file operation requests made to the source file system; determining whether or not an acquisition time is set to each of the file information events and the file operation events by the source file system; determining a sequence of the file information events and the file operation events based on the acquisition time for each of the file information events and the file operation events when it is determined that an acquisition time is set to each of the file information events and the file operation events; determining whether or not the plurality of file systems are used by a single information processing apparatus when it is determined that an acquisition time is not set to each of the file information events and the file operation events; setting an acquisition time to each of the file information events in response to acquisition of the file information events when it is determined that the plurality of file systems are used by a single information processing apparatus; setting an acquisition time to each of the file operation events in response to acquisition of the file operation events when it is determined that the plurality of file systems are used by a single information processing apparatus; determining a sequence of the file information events and the file operation events based on the acquisition time to each of the file information events in response to acquisition of the file information events, the acquisition time to each of the file operation events in response to acquisition of the file operation events, and a predetermined time lag; reflecting contents of the file operation events on contents of the file information events in the namespace replication database, respectively, according to the sequence of the file information events and the file operation events; generating a candidate of one of a file and a directory in the namespace replication database when it is determined that the plurality of file systems are not used by a single information processing apparatus, the one of a file and a directory having possibility of generation in the file operation events; and confirming presence or absence of the candidate by referring to the file information events and the file operation events so as to reflect a result of confirmation of the candidate in the namespace replication database.