US8812460B2 - File deduplication in a file system - Google Patents

File deduplication in a file system Download PDF

Info

Publication number
US8812460B2
US8812460B2 US13/240,042 US201113240042A US8812460B2 US 8812460 B2 US8812460 B2 US 8812460B2 US 201113240042 A US201113240042 A US 201113240042A US 8812460 B2 US8812460 B2 US 8812460B2
Authority
US
United States
Prior art keywords
file
identification information
information
wwuid
management information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related, expires
Application number
US13/240,042
Other versions
US20120102000A1 (en
Inventor
Eiji Tosaka
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
International Business Machines Corp
Original Assignee
International Business Machines Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by International Business Machines Corp filed Critical International Business Machines Corp
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION reassignment INTERNATIONAL BUSINESS MACHINES CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: TOSAKA, EIJI
Publication of US20120102000A1 publication Critical patent/US20120102000A1/en
Priority to US13/534,735 priority Critical patent/US9256610B2/en
Application granted granted Critical
Publication of US8812460B2 publication Critical patent/US8812460B2/en
Priority to US15/007,322 priority patent/US9710336B2/en
Expired - Fee Related legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • G06F11/1453Management of the data involved in backup or backup restore using de-duplication of the data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1748De-duplication implemented within the file system, e.g. based on file segments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/84Using snapshots, i.e. a logical point-in-time copy of the data

Definitions

  • the present invention relates generally to computers, and more particularly to mechanisms for file deduplication in a computing storage environment.
  • an ideal backup in view of data reproduction is a full backup in which all the target data are backed up periodically (e.g., every day).
  • data saved by a full backup can be reproduced by a single restoration.
  • Another reason is the simplicity of backup management because the generations (old or new) of backups are so clear that the backup of the necessary generation can be kept while the backup of the older generation can be deleted.
  • a full backup however, has a disadvantage of requiring wasteful amounts of storage capacity and backup time.
  • the biggest reason why the full backup requires such amounts of storage capacity and backup time is nothing but duplicate backup of data that is not changed every day.
  • Duplicate data backups occur also due to the backup of the same file that is possessed by multiple users.
  • the system files of the OS and the files of some application programs are included duplicately in the backup data of all the PCs, despite that these files do not differ from one machine to another.
  • an electronic mail document, or a large attachment file in particular is possessed by multiple users and is included duplicately in backup data. There are various other possible situations where data duplication occurs.
  • a directory identifier is generated for each of directories included in a reference file system and a target file system. If the directory identifier of a directory in the reference file system does not match the directory identifier of a directory in the target file system, a file identifier is generated for each file in these directories of the reference file system and the target file system. The file identifiers are then compared. Then, a file data comparison is made between a pair of files with matched file identifiers. If there is a match in the file data, the data duplication is eliminated.
  • a method for generating the directory identifiers there is a method in which hashing is performed on character strings of file names and sizes outputted by executing the du command for a target directory on for example the Linux (registered trademark) OS.
  • a method for generating the file identifiers there is a method in which a hash value is acquired based on file data of each file.
  • the generation and comparison of file identifiers (hash values of file data), which require a longer time than the generation and comparison of directory identifiers, are omitted for files included in pairs of directories with matched directory identifiers.
  • the time required for data deduplication can be considered shortened as compared to the case where hashing is performed for every single file data in the reference file system and the target file system.
  • file identifiers (hash values of file data) are performed for files included in pairs of directories without matched directory identifiers. That is, duplication is eliminated by utilizing file data. So, the time required for file deduplication cannot be expected to be shortened remarkably. Moreover, with the method using the hash value of file data as in the aforementioned technique, it is difficult to eliminate deduplication of multiple duplicate files without utilizing the file data thereof if at least one of the duplicate files is compressed or encrypted.
  • the present invention in one embodiment, includes mechanisms for shortening the time required for deduplication of a file without utilizing file data thereof. Additionally, these mechanisms allow deduplication of multiple duplicate files without utilizing file data thereof even when at least one of the duplicate files is compressed or encrypted.
  • the present invention provides an apparatus for file deduplication in a file system, comprising: an acquisition unit configured to acquire identification information which is newly assigned to a file upon creation or update of the file and is inherited by the file from a different file if the file is a copy of the different file, to thereby make a content of the file identifiable; a determination unit configured to determine whether or not first identification information and second identification information match each other, the first identification information being the identification information acquired by the acquisition unit and assigned to a first file, the second identification information being the identification information acquired by the acquisition unit and assigned to a second file; and a control unit configured to perform such control that the first file and the second file are prevented from being stored as duplicate files in the file system, if the determination unit determines that the first identification information and the second identification information match each other.
  • the acquisition unit may include: a first acquisition unit configured to acquire the first identification information assigned to the first file backed up to the file system at a first time point, from first management information for managing each file backed up to the first system at the first time point; and a second acquisition unit configured to acquire the second identification information assigned to the second file to be backed up to the file system at a second time point subsequent to the first time point. If the determination unit determines that the first identification information and the second identification information match each other, the control unit may perform such control that the second file is prevented from being copied to the file system at the second time point and that the second identification information is included in second management information and associated with the first file, the second management information for managing each file backed up at the second time point.
  • the present invention may further comprise: a first registration unit configured to register, in count information, an increase in the number of pieces of identification information associated with the first file, when the second identification information becomes associated with the first file, the count information indicating the number of pieces of identification information associated with the first file; a second registration unit configured to register, in the count information, a decrease in the number of pieces of identification information associated with the first file, in response to an instruction to delete the first management information; and a deletion unit configured to delete the first management information in response to the instruction to delete the first management information, and to also delete the first file if the count information after the registration by the second registration unit indicates that no identification information is associated with the first file.
  • a first registration unit configured to register, in count information, an increase in the number of pieces of identification information associated with the first file, when the second identification information becomes associated with the first file, the count information indicating the number of pieces of identification information associated with the first file
  • a second registration unit configured to register, in the count information, a decrease in the number of pieces of identification information associated with
  • the acquisition unit may include: a first acquisition unit configured to acquire the first identification information assigned to the first file stored in a server computer, from first management information for managing each file stored in the server computer; and a second acquisition unit configured to acquire the second identification information assigned to the second file stored in a client computer, from second management information for managing each file stored in the client computer.
  • the control unit may perform such control that the second file is deleted from the client computer, if the determination unit determines that the first identification information and the second identification information match each other.
  • the acquisition unit may include: first acquisition unit configured to acquire the first identification information assigned to the first file stored in a server computer, from management information for managing each file stored in the server computer; and a second acquisition unit configured to acquire the second identification information from data in an electronic mail received by a client computer, the second identification information being assigned to the second file attached to the electronic mail, and the control unit performs such control that the second file is prevented from being saved in the client computer, if the determination unit determines that the first identification information and the second identification information match each other.
  • FIG. 1 is a diagram showing an example of a preexisting file system
  • FIG. 2 is a diagram showing an example of a file system in an embodiment of the present invention.
  • FIG. 3 is a diagram showing integration of application data and extended directory in the embodiment of the present invention.
  • FIG. 4 is a block diagram showing an example of the functional configuration of a file management apparatus in the embodiment of the present invention.
  • FIG. 5 is a flowchart showing an example of operations of the file management apparatus in creating a file in the embodiment of the present invention
  • FIG. 6 is a flowchart showing an example of operations of the file management apparatus in copying a file in the embodiment of the present invention
  • FIG. 7 is a flowchart showing an example of operations of the file management apparatus in updating a file in the embodiment of the present invention.
  • FIG. 8 is a diagram showing elimination of duplication between a backup file of the current day and a backup file of the previous day in the embodiment of the present invention.
  • FIG. 9 is a diagram showing elimination of duplication between backup files from multiple clients in the embodiment of the present invention.
  • FIG. 10 is a diagram showing deletion of a backup of the previous day in the embodiment of the present invention.
  • FIG. 11 is a block diagram showing an example of the functional configuration of a backup apparatus in the embodiment of the present invention.
  • FIG. 12 is a flowchart showing an example of operations of the backup apparatus in performing backup in the embodiment of the present invention.
  • FIG. 13 is a flowchart showing an example of operations of the backup apparatus in deleting backup management information in the embodiment of the present invention.
  • FIG. 14 is a diagram for describing a case where one of two files to be subjected duplication determination is compressed and/or encrypted in the embodiment of the present invention
  • FIG. 15 is a diagram showing deduplication of a file on a distributed file system in the embodiment of the present invention.
  • FIG. 16 is a block diagram showing an example of the functional configuration of a distributed file processing apparatus in the embodiment of the present invention.
  • FIG. 17 is a flowchart showing an example of operations of the distributed file processing apparatus in deleting a file in the embodiment of the present invention.
  • FIG. 18 is a diagram showing deduplication of an attachment file in an electronic mail in the embodiment of the present invention.
  • FIG. 19 is a block diagram showing an example of the functional configuration of an electronic mail processing apparatus in the embodiment of the present invention.
  • FIG. 20 is a flowchart showing an example of operations of the electronic mail processing apparatus in deleting an attachment file in the embodiment of the present invention.
  • FIGS. 21A and 21B are diagrams for describing elimination of duplication between an original document and a changed document including the original document.
  • file system here may cause some complications as it can indicate both a system program for managing files and a file group existing on a given storage.
  • file system program the former will be referred to as a “file system program.”
  • the preexisting file system program has secured an area called an inode area on an apparatus forming a file system.
  • an inode area on an apparatus forming a file system.
  • Each inode holds the following information (inode information):
  • each directory serving as a main component of a tree structure is a file having a special attribute with which the file name and inode number of a file under the directory is held as paired information.
  • the attribute allows the directory to hold multiple sets of such paired information in a list.
  • the file system program searches the file system starting from the root directory and locates the file of interest on the basis of the file name and the inode number. Note that in the preexisting file system program, a file obtained by copying an already-backed-up file has the same last file update time as that of the already-backed-up file but the inode number is different, and therefore the file is backed up duplicately.
  • FIG. 1 is a diagram showing a preexisting file system managed by the preexisting file system program.
  • the preexisting file system stores a file 51 a and a file 51 b therein.
  • the entity of the data in the file 51 a is denoted as “DataA” while the entity of the data in the file 51 b is denoted as “DataB.”
  • the preexisting file system stores therein inode information 52 a including block numbers indicating the locations of data blocks forming the file 51 a , and the like, as well as inode information 52 b including block numbers indicating the locations of data blocks forming the file 51 b , and the like.
  • the preexisting file system stores a directory 53 therein.
  • the directory 53 stores therein the file name of the file 51 a “fileA” in association with the inode number in the inode information 52 a , and the file 51 a is reachable from the directory 53 through the inode information 52 a by use of the inode number.
  • the directory 53 also stores therein the file name of the file 51 b “fileB” in association with the inode number in the inode information 52 b , and the file 51 b is reachable from the directory 53 through the inode information 52 b by use of the inode number.
  • this embodiment proposes an extended file system program that allows easy deduplication in not only backup applications but also general applications.
  • the deduplication can be achieved by the two following methods, i.e., “the assignment of a unique ID for each file entity” and “the extension of the directory structure for application use.”
  • the system is able to recognize that a given file has remained unchanged for a certain period of time and that a given file is a copy of some other file.
  • the system should be able to avoid data duplication as mentioned above.
  • the aforementioned inode information is merely information that only indicates where a file exists on the storage device. That is, whether files are the same or not cannot be determined solely by the inode information. While it is possible to determine that two files do not match each other on the basis of the lengths and types of the files, it is necessary to entirely compare the entities of the files with each other in order to determine whether they are the same or not.
  • this embodiment proposes the assignment of a unique ID for each file at the time of creating or updating the file.
  • This ID is a storage wide, unique ID managed by the file system program.
  • This ID will be hereinafter referred to as WWUID (World Wide Unique ID).
  • the extended file system program and backup application in this embodiment manage the data entity by using this WWUID, and also move the WWUID along with the copying and moving of the data entity. By this, the storage system can recognize that the data has already been backed up (copied) without having to perform comparison of the whole data.
  • 128 bits which is the size of the WWUID
  • 0.0061% of a single file 2 4 bytes/2 18 bytes.
  • 2 128 files can be expressed with 128 bits, which is the size of the WWUID.
  • the IDs will not be exhausted even when all the files are updated 2 128-42 times. Accordingly, around 128 bits is considered large enough for the WWUID.
  • FIG. 2 is a diagram showing an example of implementation of an extended file system managed by the extended file system program.
  • the extended file system stores a file 51 a and a file 51 b therein.
  • the entity of the data in the file 51 a is denoted as “DataA” while the entity of the data in the file 51 b is denoted as “DataB.”
  • the extended file system stores therein inode information 52 a including block numbers indicating the locations of data blocks forming the file 51 a , and the like, as well as inode information 52 b including block numbers indicating the locations of data blocks forming the file 51 b , and the like.
  • the extended file system stores a directory 54 therein.
  • the directory 54 stores therein the WWUID of the file 51 a “wwuidA” in association with the inode number in the inode information 52 a , and the file 51 a is reachable from the directory 54 by use of the inode number in the inode information 52 a .
  • the directory 54 stores therein the WWUID of the file 51 b “wwuidB” in association with the inode number in the inode information 52 b , and the file 51 b is reachable from the directory 54 by use of the inode number in the inode information 52 b.
  • the extended file system stores an extended directory 55 therein.
  • the extended directory 55 stores therein the file name of the file 51 a “fileA” in association with the WWUID of the file 51 a “wwuidA.”
  • the inode number associated with the WWUID “wwuidA” may be acquired by referring to the directory 54 , and the file 51 a may be reached from the extended directory 55 through the inode information 52 a by use of the inode number.
  • the directory 55 also stores therein the file name of the file 51 b “fileB” in association with the WWUID of the file 51 b “wwuidB.”
  • the inode number associated with the WWUID “wwuidB” may be acquired by referring to the directory 54 , and the file 51 b may be reached from the extended directory 55 through the inode information 52 b by use of the inode number.
  • the files 51 a and 51 b are reachable through the directory 54 as described above. Note, however, that the diagram uses simplified illustration in which the WWUIDs in the extended directory 55 directly point the files 51 a and 51 b as shown by bold arrows. Such simplified illustration will be used in the following description as well.
  • this embodiment allows application data to include a file in the same way as data of the extended directory. This facilitates the deduplication of the same file that is included by application data of different types.
  • the data of the extended directory and the application data share each WWUID's reference count (hereinafter, also referred to as “Rcnt”). This allows the application to handle whether or not the file entity is deleted, in the same way as the extended file system program.
  • FIG. 3 is a diagram schematically showing integration of application data and extended directory as mentioned above.
  • the extended file system stores a file 61 a and a file 61 b therein.
  • the entity of the data in the file 61 a is denoted as “DataA” while the entity of the data in the file 61 b is denoted as “DataB.”
  • the extended file system stores an extended directory 65 therein.
  • the extended directory 65 stores therein the file name of the file 61 a “fileA” in association with the WWUID of the file 61 a “wwuidA”, and the file 61 a is reachable from the extended directory 65 by use of the WWUID “wwuidA.”
  • the extended directory 65 also stores therein the file name of the file 61 b “fileB” in association with the WWUID of the file 61 b “wwuidB,” and the file 61 b is reachable from the extended directory 65 by use of the WWUID “wwuidB.”
  • the extended directory 65 stores therein “fileB’” as the file name of some other file having the same content as the file 61 b in association with the WWUID of the file 61 b “wwuidB,” and the file 61 b is reachable from the extended directory 65 by use of the WWUID “wwuidB.”
  • the file name of the extended directory 65 is set to “dirC.”
  • the extended file system stores therein an extended directory 66 as a parent directory (extended parent directory).
  • the extended parent directory 66 stores therein the file name of the extended directory 65 “dirC” in association with the WWUID of the extended directory 65 “wwuidC,” and the extended directory 65 is reachable from the extended parent directory 66 by use of the WWUID “wwuidC.”
  • the extended directory 65 stores therein “ . . . ” indicating the parent directory in association with the WWUID of the extended parent directory 66 “wwuidP,” and the extended parent directory 66 is reachable from the extended directory 65 by use of the WWUID “wwuidP.”
  • the extended file system also stores application data 67 a therein.
  • the application data 67 a includes the WWUID of the file 61 a “wwuidA,” and the file 61 a is reachable from the application data 67 a by use of the WWUID “wwuidA.”
  • the extended file system further stores application data 67 b therein.
  • the application data 67 b includes the WWUID of the file 61 a “wwuidA and the WWUID of the file 61 b “wwuidB,” and the files 61 a and 61 b are reachable from the application data 67 b by use of the WWUIDs “wwuidA” and “wwuidB.”
  • the file 61 a is reachable by use of one WWUID in each of the extended directory 65 , the application data 67 a , and the application data 67 b , and therefore the Rcnt in inode information associated with the file 61 a is “3.”
  • the file 61 b is reachable by use of two WWUIDs in the extended directory 65 and one WWUID in the application data 67 b , and therefore the Rcnt in inode information associated with the file 61 b is “3.”
  • FIG. 4 is a diagram showing an example of the functional configuration of the file management apparatus 10 .
  • the file management apparatus 10 includes a WWUID management unit 11 , a file storage unit 12 , a management information storage unit 13 , a file creation unit 14 , a file copy unit 15 , and a file update unit 16 .
  • the WWUID management unit 11 is configured to manage 2 128 WWUIDs mentioned above together with usage information on the WWUIDs.
  • each WWUID is used as an example of identification information which is newly assigned to a file upon creation or update of the file and is inherited by the file from a different file if the file is a copy of the different file, to thereby make a content of the file identifiable.
  • the file storage unit 12 is configured to store files therein.
  • the management information storage unit 13 is configured to store therein inode information, directories, and extended directories.
  • the file creation unit 14 is configured to, in response to a file creation instruction specifying a directory and a file name from a user or application, create a new file with the specified file name under the specified directory. In this event, the file creation unit 14 assigns an unused WWUID to the new file.
  • the file creation unit 14 is provided as an example of a first assignment unit configured to assign the identification information to a new file.
  • the file copy unit 15 is configured to, in response to a file copy instruction specifying a copy source directory, a copy destination directory, and a file name from the user or application, copy a file (copy source file) of the specified name under the specified copy source directory to thereby create a file (copy destination file) with the same file name under the specified copy destination directory. In this event, the file copy unit 15 makes the copy destination file take over the WWUID assigned to the copy source file.
  • the file copy unit 15 is provided as an example of a second assignment unit configured to assign the same, original identification information to a copied file.
  • the file update unit 16 is configured to, in response to a file update instruction specifying a directory and a file name from the user or application, update a file of the specified file name under the specified directory. In this event, the file update unit 16 assigns an unused WWUID to the updated file.
  • the file update unit 16 is provided as an example of a third assignment unit configured to assign different identification information to an updated file.
  • FIG. 5 shows operations of the file creation unit 14 in creating a file.
  • the file creation unit 14 first receives a file creation instruction specifying a directory and a file name (step 101 ). In response to this, the file creation unit 14 creates a new file and stores it in the file storage unit 12 (step 102 ) and then stores the inode information of the file in the management information storage unit 13 (step 103 ). Thereafter, the file creation unit 14 acquires an unused WWUID from the WWUID management unit 11 (step 104 ).
  • the file creation unit 14 then adds the association of the WWUID acquired in step 104 with the inode number in the inode information stored in step 103 to a directory stored in the management information storage unit 13 (step 105 ). In addition, the file creation unit 14 adds the association of the file name specified in step 101 with the WWUID acquired in step 104 to an extended directory stored in the management information storage unit 13 (step 106 ).
  • FIG. 6 shows operations of the file copy unit 15 in copying a file.
  • the file copy unit 15 first receives a file copy instruction specifying a copy source directory, a copy destination directory, and a file name (step 121 ).
  • the file copy unit 15 reads, from the file storage unit 12 , a copy source file of the specified name under the specified copy source directory, copies the copy source file to obtain a copy destination file, and stores the copy destination file in the file storage unit 12 as a file of the same file name under the copy destination directory (step 122 ).
  • the file copy unit 15 stores the inode information of the copy destination file in the management information storage unit 13 (step 123 ).
  • the file copy unit 15 searches, by the file name specified in step 121 , an extended directory corresponding to the copy source directory stored in the management information unit 13 , and acquires the WWUID of the copy source file (step 124 ).
  • the file copy unit 15 then adds the association of the WWUID acquired in step 124 with the inode number in the inode information stored in step 123 to the copy destination directory stored in the management information storage unit 13 (step 125 ).
  • the file copy unit 15 adds the association of the file name specified in step 121 with the WWUID acquired in step 124 to an extended directory corresponding to the copy destination directory stored in the management information storage unit 13 (step 126 ).
  • FIG. 7 shows operations of the file update unit 16 in updating a file.
  • the file update unit 16 first receives a file update instruction specifying a directory and a file name (step 141 ). In response to this, the file update unit 16 stores, in the file storage unit 12 , a file obtained by updating a file of the specified name under the specified directory (step 142 ), and updates the file's inode information (the last update time, etc.) stored in the management information storage unit 13 (step 143 ). Thereafter, the file update unit 16 acquires an unused WWUID from the WWUID management unit 11 (step 144 ).
  • the file update unit 16 then replaces the association between the WWUID and inode number of the pre-update file included in the directory stored in the management information storage unit 13 , with the association between the WWUID acquired in step 144 and the same inode number (step 145 ). In addition, the file update unit 16 replaces the association between the file name and WWUID of the pre-update file included in an extended directory stored in the management information storage unit 13 , with the association between the same file name and the WWUID acquired in step 144 (step 146 ).
  • FIG. 8 shows an example where a D-to-D (Disk to Disk) backup application (hereinafter, simply referred to as “backup application”) eliminates duplication by comparing a backup of the current day and a backup of the previous day. Backup operations of the previous day will be described first.
  • a client file system 71 x of the previous day (hereinafter, referred to as “previous-day client file system 71 x ”) stores a file 72 x and a file 73 therein.
  • the entity of the data in the file 72 x is denoted as “DataA” while the entity of the data in the file 73 is denoted as “DataB.”
  • the previous-day client file system 71 x also stores an extended directory 75 x therein.
  • the extended directory 75 x stores therein the file name of the file 72 x “fileA” in association with the WWUID of the file 72 x “wwuidA,” and the file 72 x is reachable from the extended directory 75 x by use of the WWUID “wwuidA.”
  • the extended directory 75 x also stores therein the file name of the file 73 “fileB” in association with the WWUID of the file 73 “wwuidB,” and the file 73 is reachable from the extended directory 75 x by use of the WWUID “wwuidB.”
  • a backup application 76 x that has operated on the previous day copies the file 72 x and the file 73 from the previous-day client file system 71 x to a server file system 77 as indicated by bold dotted arrows.
  • the previous-day backup application 76 x also creates backup management information 78 x of the previous day (hereinafter, referred to as “previous-day backup management information 78 x ”) within the server file system 77 as indicated by a similar bold dotted arrow.
  • the previous-day backup management information 78 x indicates a list of previous-day backup files and has a data structure similar to the data structure of the extended directory.
  • a client file system 71 y of the current day (hereinafter, referred to as “current-day client file system 71 y ”) stores a file 72 y and a file 74 therein.
  • the entity of the data in the file 72 y is denoted as “DataA” while the entity of the data in the file 74 is denoted as “DataC.”
  • the current-day client file system 71 y also stores an extended directory 75 y therein.
  • the extended directory 75 y stores therein the file name of the file 72 y “fileA” in association with the WWUID of the file 72 y “wwuidA,” and the file 72 y is reachable from the extended directory 75 y by use of the WWUID “wwuidA.”
  • the extended directory 75 y also stores therein the file name of the file 74 “fileC” in association with the WWUID of the file 74 “wwuidC,” and the file 74 is reachable from the extended directory 75 y by use of the WWUID “wwuidC.”
  • a backup application 76 y that operates on the current day refers to the previous-day backup management information 78 x and locates the file 72 y that does not need to be copied to the server file system 77 , without comparing the file entities, and copies only the file 74 that needs to be copied to the server file system 77 .
  • the current-day backup application 76 y stores backup management information 78 y of the current day (hereinafter, referred to as “current-day backup management information 78 y ”) as indicated by a similar bold solid arrow.
  • the current-day backup management information 78 y indicates a list of current-day backup files and has a data structure similar to the data structure of the extended directory. What is important here is that the backup files managed by the previous-day backup management information 78 x and the backup files managed by the current-day backup management information 78 y are restorable independently.
  • the current day and the previous day are shown as exemplary two time points for comparing backups. Any two time points can be employed as long as the two time points include a first time point and a second time point that is subsequent to the first time point.
  • a given file entity has already been copied or not can be determined by referring to backup management information as in the case of the periodical full backup.
  • example of the multiple clients include a client used by a user X (hereinafter, referred to as “user-X client”) and a client used by a user Y (hereinafter, referred to as “user-Y client”) are available.
  • FIG. 9 shows an example where the backup application eliminates duplication by comparing a backup from the user-X client and a backup from the user-Y client.
  • a user-X client file system 71 x a user-Y client file system 71 y , a user-X backup application 76 x , a user-Y backup application 76 y , a user-X backup management information 78 x , and a user-Y backup management information 78 y , respectively, and therefore detailed description thereof is omitted.
  • a file system in the user-X client is denoted as “user-X client file system;” a file system in the user-Y client is denoted as “user-Y client file system;” a backup application performing backup from the user-X client is denoted as “user-X backup application;” a backup application performing backup from the user-Y client is denoted as “user-Y backup application;” backup management information for managing a backup from the user-X client is denoted as “user-X backup management information;” backup management information for managing a backup from the user-Y client is denoted as “user-Y backup management information.” Moreover, in FIG. 9 , a time point at which the backup from the user-X client is performed corresponds to the aforementioned first time point, and a time point at which the backup from the user-Y client is performed corresponds to the aforementioned second time point.
  • FIG. 10 shows how only the previous-day backup management information 78 x is deleted in a state where the previous-day backup management information 78 x and the current-day backup management information 78 y are present in the server file system 77 .
  • the file system program decrements the Rcnt of every related file by “1.” Specifically, the Rcnt of a file 72 having a WWUID of “wwuidA” is changed from “2” to “1,” and the Rcnt of a file 73 having a WWUID of “wwuidB” is changed from “1” to “0.”
  • the WWUID of a file 74 is not included in the previous-day backup management information 78 x , and therefore the Rcnt of the file 74 is not changed.
  • the file system program cuts the link between the file 72 and the previous-day backup management information 78 x but keeps the entity of the file 72 unerased.
  • the file system program erases the file 73 .
  • the backup apparatus 20 that performs backup and deletion of a particular backup as mentioned above will be described specifically.
  • the previous-day/user-X client file system 71 x , the current-day/user-Y client file system 71 y , the previous-day/user-X backup management information 78 x , and the current-day/user-Y backup management information 78 y will be simply referred to as client file system 71 x , client file system 71 y , first management information 78 x , and second management information 78 y , respectively.
  • the backup apparatus 20 is assumed to be an apparatus independent of any of a computer including the client file system 71 y and a computer including the server file system 77 .
  • FIG. 11 is a diagram showing an example of the functional configuration of the backup apparatus 20 .
  • the backup apparatus 20 includes a file name reception unit 21 , a WWUID reception unit 22 , a WWUID search unit 23 , an Rcnt update instruction unit 24 , a second management information update instruction unit 25 , a file operation instruction unit 26 , and a first management information deletion instruction unit 27 .
  • the file name reception unit 21 configured to receive the file name of a backup target file.
  • the WWUID reception unit 22 configured to receive the WWUID of the backup target file from the client file system 71 y . Specifically, the WWUID reception unit 22 receives a WWUID that is associated, in the extended directory 75 y in the client file system 71 y , with the file name received by the file name reception unit 21 .
  • the backup target file is used as an example of a second file to be backed up to a file system at the second time point.
  • the WWUID reception unit 22 is provided as an example of a second acquisition unit configured to acquire second identification information assigned to the second file.
  • the WWUID reception unit 22 is also provided as an example of a second acquisition unit configured to acquire backup target file identification information.
  • the WWUID search unit 23 is configured to search the first management information 78 x in the server file system 77 for the WWUID received by the WWUID reception unit 22 . Specifically, the WWUID search unit 23 acquires the first management information 78 x in the server file system 77 , extracts the WWUID of each already-backed-up file from the first management information 78 x , and determines whether the WWUID is the same as the WWUID received by the WWUID reception unit 22 . In this embodiment, the already-backed-up file is used as an example of a first file backed up to the file system at the first time point.
  • the WWUID search unit 23 is provided as an example of a first acquisition unit configured to acquire first identification information assigned to the first file.
  • the WWUID search unit 23 is also provided as an example of a first acquisition configured to acquire first management information.
  • the WWUID search unit 23 is further provided as an example of a determination unit configured to determine whether or not the first identification information and the second identification information match each other, and also as an example of a determination unit configured to determine whether or not the first management information includes the backup target file identification information.
  • the Rcnt update instruction unit 24 is configured to instruct the server file system 77 to perform an update process to increment the Rcnt in inode information corresponding to the WWUID by “1,” if the WWUID search unit 23 finds the WWUID from the first management information 78 x .
  • the Rcnt update instruction unit 24 is configured to instruct the server file system 77 to perform an update process to newly store the inode information corresponding the WWUID and set “1” to the Rcnt in the inode information, if the WWUID search unit 23 fails to find the WWUID from the first management information 78 x .
  • the Rcnt update instruction unit 24 instructs the server file system 77 to perform an update process to decrement the Rcnt in the inode information corresponding to the WWUID included in the first management information 78 x by “1.”
  • the Rcnt is used as an example of count information indicating the number of pieces of identification information.
  • the Rcnt update instruction unit 24 is provided as an example of a first registration unit configured to register an increase in the number of pieces of identification information, and of a second registration unit configured to register a decrease in the number of pieces identification information.
  • the second management information update instruction unit 25 is configured to instruct the server file system 77 to perform an update process to add path names and WWUIDs in the first management information 78 x to the second management information 78 y .
  • the second management information update instruction unit 25 is provided as an example of a control unit configured to perform such control that the second identification information can be included in second management information and associated with the first file.
  • the second management information update instruction unit 25 is also provided as an example of a storage unit configured to store the backup target file identification information into the second management information.
  • the file operation instruction unit 26 is configured to instruct the server file system 77 to store the backup target file therein, if the WWUID search unit 23 fails to find the aforementioned WWUID from the first management information 78 x . Additionally, at the time of deleting the first management information 78 x , the file operation instruction unit 26 instructs the server file system 77 to delete each file managed by the first management information 78 x if conditions are not met.
  • the file operation instruction unit 26 is provided as an example of a control unit configured to perform such control that the second file can be prevented from being copied to the file system, and of a deletion unit configured to delete the first file.
  • the file operation instruction unit 26 is also provided as an example a copy unit configured to copy the backup target file to the file system, and of a deletion unit configured to delete the already-backed-up file.
  • the first management information deletion instruction unit 27 is configured to instruct the server file system 77 to delete the first management information 78 x .
  • the first management information deletion instruction unit 27 is provided as an example of a deletion unit configured to delete the first identification information, and of a deletion unit configured to delete the already-backed-up file identification information.
  • FIG. 12 shows operations of the backup apparatus 20 in performing backup.
  • the file name reception unit 21 first receives the file name of a backup target file (step 201 ).
  • the WWUID reception unit 22 receives a WWUID that is associated, in the extended directory 75 y in the client file system 71 y , with the file name received in step 201 (step 202 ).
  • the WWUID search unit 23 acquires the WWUID received by the WWUID reception unit 22 and searches the first management information 78 x in the server file system 77 for the WWUID (step 203 ). The WWUID search unit 23 then determines whether or not the WWUID is found from the first management information 78 x (step 204 ). If the determination result shows that the WWUID is found from the first management information 78 x , the WWUID is handed over from the WWUID search unit 23 to the Rcnt update instruction unit 24 . The Rcnt update instruction unit 24 in turn instructs the server file system 77 to increment the Rcnt in inode information corresponding to the WWUID by “1” (step 205 ). Note that in this event, the WWUID search unit 23 keeps a path name corresponding to the found WWUID.
  • the WWUID search unit 23 acquires the backup target file from the client file system 71 y (step 206 ). The backup target file is then handed over from the WWUID search unit 23 to the file operation instruction unit 26 . The file operation instruction unit 26 in turn instructs the server file system 77 to store the backup target file therein (step 207 ). The WWUID acquired from the client file system 71 y and held by the WWUID search unit 23 is handed over to the Rcnt update instruction unit 24 .
  • the Rcnt update instruction unit 24 in turn instructs the server file system 77 to newly create inode information corresponding to the WWUID and set “1” to the Rcnt in the inode information (step 208 ). Thereafter, the path name and the WWUID are handed over from the WWUID search unit 23 to the second management information update instruction unit 25 .
  • the second management information update instruction unit 25 in turn instructs the server file system 77 to register the path name and the WWUID in the second management information 78 y (step 209 ).
  • FIG. 13 shows operations of the backup apparatus 20 in deleting the first management information 78 x .
  • the first management information deletion instruction unit 27 first focuses on a pair of a path name and a WWUID in the first management information 78 x (step 251 ). Then, the WWUID is handed over from the first management information deletion instruction unit 27 to the Rcnt update instruction unit 24 .
  • the Rcnt update instruction unit 24 in turn instructs the server file system 77 to decrement the Rcnt in inode information corresponding to the WWUID by “1” (step 252 ).
  • the first management information deletion instruction unit 27 refers to the value of the decremented Rcnt returned from the Rcnt update instruction unit 24 and determines whether or not the Rcnt has reached “0” (step 253 ).
  • the path name of interest is handed over from the first management information deletion instruction unit 27 to the file operation instruction unit 26 .
  • the file operation instruction unit 26 in turn instructs the server file system 77 to delete the file specified by the path name (step 254 ).
  • the Rcnt has not reached “0,” this means that the file specified by the path name of interest is being referred to by the other backup management information.
  • the file operation instruction unit 26 does not instruct the server file system 77 to delete the file.
  • the first management information deletion instruction unit 27 determines whether or not all the pairs of path names and WWUIDs in the first management information 78 x have been checked (step 255 ).
  • the backup apparatus 20 is assumed to be an apparatus independent of any of the computer including the client file system 71 y and the computer including the server file system 77 . Note, however, that the backup apparatus 20 may be implemented in any of these computers.
  • FIG. 14 is a diagram for describing this feature.
  • a client file system 71 stores a file 72 therein.
  • the client file system 71 also stores an extended directory 75 therein.
  • the extended directory 75 stores therein the file name of the file 72 “fileA” in association with the WWUID of the file 72 “wwuidA,” and the file 72 is reachable from the extended directory 75 by use of the WWUID “wwuidA.”
  • a server file system 77 stores a file 73 therein.
  • the file 73 is a file obtained by compressing and/or encrypting the file 72 .
  • the server file system 77 also stores an extended directory 78 therein.
  • the extended directory 78 stores therein the file name of the file 73 “fileA” in association with the WWUID of the file 73 “wwuidA,” and the file 73 is reachable from the extended directory 78 by use of the WWUID “wwuidA.”
  • a file system program 79 detects that the WWUIDs stored respectively in the extended directories 75 and 78 in the client and server file systems 71 and 77 are the same. Accordingly, it is possible to recognize that the files 72 and 73 are the same without having to compare the data between the files 72 and 73 .
  • FIG. 15 shows an example of applying this embodiment to a distributed file system.
  • a client file system 71 and a server file system 77 are sub file systems of one file system. Therefore, coherent WWUIDs are assigned by a file system program 79 to files in the client and server file systems 71 and 77 .
  • a file 72 will be described first.
  • the entity of the data in the file 72 is denoted as “DataA.”
  • DataA the entity of the data in the file 72
  • an extended directory 75 in the client file system 71 stores therein the file name of the file 72 “fileA” in association with the WWUID of the file 72 “wwuidA,” but the file 72 specifiable by the WWUID does not exist in the client file system 71 .
  • an extended directory 78 in the server file system 77 stores therein the file name of the file 72 “fileA” in association with the WWUID of the file 72 “wwuidA,” and the file 72 specifiable by the WWUID exists in the server file system 77 .
  • the file system program 79 can easily locate and call the entity of the file 72 from the server file system 77 by using the WWUID.
  • the file 73 will be described next.
  • the entity of the data in the file 73 is denoted as “DataB.”
  • the entity of the file 73 exists in both of the client and server file systems 71 and 77 . That is, the extended directory 75 in the client file system 71 stores therein the file name of the file 73 “fileB” in association with the WWUID of the file 73 “wwuidB,” and the file 73 specifiable by the WWUID exists in the client file system 71 .
  • the extended directory 78 in the server file system 77 stores therein the file name of the file 73 “fileB” in association with the WWUID of the file 73 “wwuidB,” and the file 73 specifiable by the WWUID exists in the server file system 77 . Accordingly, the file system program 79 can recognize file duplication by using the WWUID, as a result, making it easier to determine whether or not the file 73 can be deleted from the client file system 71 .
  • this distributed file processing apparatus 30 that deletes a file in a distributed file system as mentioned above will be described specifically. Note that this distributed file processing apparatus 30 is assumed to be an apparatus independent of any of a computer including the client file system 71 and a computer including the server file system 77 .
  • FIG. 16 is a diagram showing an example of the functional configuration of the distributed file processing apparatus 30 .
  • the distributed file processing apparatus 30 includes a file name reception unit 31 , a WWUID reception unit 32 , a WWUID search unit 33 , an Rcnt update instruction unit 34 , and a file deletion instruction unit 35 .
  • the file name reception unit 31 is configured to receive the file name of a deletion target file.
  • the WWUID reception unit 32 is configured to receive the WWUID of the deletion target file. Specifically, the WWUID reception unit 32 receives a WWUID that is associated, in the extended directory 75 in the client file system 71 , with the file name received by the file name reception unit 31 .
  • the deletion target file is used as an example of a second file stored in a client computer.
  • the WWUID reception unit 32 is provided as an example of a second acquisition unit configured to acquire second identification information assigned to the second file.
  • the WWUID search unit 33 is configured to search the extended directory 78 in the server file system 77 for the WWUID received by the WWUID reception unit 32 . Specifically, the WWUID search unit 33 acquires the WWUID of each saving target file from the extended directory 78 in the server file system 77 and determines whether or not the WWUID matches the WWUID received by the WWUID reception unit 32 .
  • the saving target file is used as an example of a first file stored in a server computer.
  • the WWUID search unit 33 is provided as an example of a first acquisition unit configured to acquire first identification information assigned to the first file.
  • the WWUID search unit 33 is also provided as an example of a determination unit configured to determine whether or not the first identification information and the second identification information match each other.
  • the Rcnt update instruction unit 34 is configured to instruct the server file system 77 to perform an update process to increment the Rcnt in inode information corresponding to the WWUID by “1,” if the WWUID search unit 33 finds the WWUID from the extended directory 78 .
  • the file deletion instruction unit 35 is configured to instruct the client file system 71 to delete a file specifiable by an inode number corresponding to the WWUID, if the WWUID search unit 33 finds the WWUID from the extended directory 78 .
  • the file deletion instruction unit 35 is provided as an example of a control unit configured to perform such control that the second file can be deleted from the client computer.
  • FIG. 17 shows operations of the distributed file processing apparatus 30 in deleting a file in the distributed file system. Note that the operations are performed on condition that the capacity of the client file system 71 reaches or falls below a threshold, for example.
  • the file name reception unit 31 first receives the file name of a deletion target file (step 301 ).
  • the WWUID reception unit 32 receives a WWUID that is associated, in the extended directory 75 in the client file system 71 , with the file name received in step 301 (step 302 ).
  • the WWUID search unit 33 acquires the WWUID received by the WWUID reception unit 32 and searches the extended directory 78 in the server file system 77 for the WWUID (step 303 ). The WWUID search unit 33 then determines whether or not the WWUID is found from the extended directory 78 (step 304 ).
  • the WWUID is handed over from the WWUID search unit 33 to the Rcnt update instruction unit 34 .
  • the Rcnt update instruction unit 34 in turn instructs the server file system 77 to increment the Rcnt in inode information corresponding to the WWUID by “1” (step 305 ).
  • the WWUID is also handed over from the WWUID search unit 33 to the file deletion instruction unit 35 .
  • the file deletion instruction unit 35 instructs the client file system 71 to delete a file specifiable by an inode number corresponding to the WWUID (step 306 ). Note that this deletion instruction includes a deletion instruction for management information such as the inode information corresponding to the WWUID.
  • the distributed file processing apparatus 30 is assumed to be an apparatus independent of any of the computer including the client file system 71 and the computer including the server file system 77 . Note, however, that the distributed file processing apparatus 30 may be implemented in any of these computers. Also, here, a file in the client file system 71 is treated as a deletion target, and a file in the server file system 77 is treated as a saving target. However, it is possible to employ a configuration where a file in the client file system 71 is a saving target, and a file in the server file system 77 is a deletion target.
  • FIG. 18 shows an example of applying this embodiment to a case where an electronic mail is sent to distribute an attachment file.
  • an electronic mail is sent after an attachment file is attached thereto at the sending side, and then a text document is separated from the electronic mail by a mailer program at the receiving side to be visible.
  • the body of the electronic mail and the attachment file may be associated with each other via a WWUID and saved as two separate files.
  • the sending side and the receiving side both refer to the same server file system. If there exists in the server file system the same file entity as that entity of the attachment file, the receiving side can easily recognize the received attachment file as a duplicate file.
  • a server file system 77 stores therein a file 72 .
  • the entity of the data in the file 72 is denoted as “DataA.”
  • DataA the entity of the data in the file 72
  • electronic mail data 81 including the file 72 and the WWUID of the file 72 “wwuidA” is created in the client file system 71 x .
  • the electronic mail data 81 is then sent to the client file system 71 y as indicated by a hollow arrow.
  • the file 72 is, in usual cases, saved in the client file system 71 y while being separated from the electronic mail data 81 .
  • the mailer program at the sending side extracts the WWUID from the electronic mail data 81 and determines whether or not the WWUID exists in an unillustrated extended directory in the server file system 77 . The determination result will show that the WWUID exists, i.e., the file 72 exists duplicate, and therefore the mail program determines that the file 72 can be deleted from the client file system 71 y.
  • FIG. 19 is a diagram showing an example of the functional configuration of the electronic mail processing apparatus 40 .
  • the electronic mail processing apparatus 40 includes an electronic mail reception unit 41 , a WWUID extraction unit 42 , a WWUID search unit 43 , an Rcnt update instruction unit 44 , and a file deletion instruction unit 45 .
  • the electronic mail reception unit 41 is configured to receive an electronic mail from a separate computer.
  • the WWUID extraction unit 42 is configured to receive the WWUID of an attachment file from data in the electronic mail received by the electronic mail reception unit 41 .
  • the attachment file is used as an example of a second file attached to an electronic mail.
  • the WWUID extraction unit 42 is provided as an example of a second acquisition unit configured to acquire second identification information assigned to the second file.
  • the WWUID search unit 43 is configured to search the extended directory (unillustrated) in the server file system 77 for the WWUID extracted by the WWUID extraction unit 42 . Specifically, from the extended directory in the server file system 77 , the WWUID search unit 43 acquires the WWUID of a file which is the original version of the attachment file. The WWUID search unit 43 then determines whether or not the WWUID is the same as the WWUID extracted by the WWUID extraction unit 42 . In this embodiment, the file being the original version of the attachment file is used as an example of a first file stored in a server computer.
  • the WWUID search unit 43 is provided as an example of a first acquisition unit configured to acquire first identification information assigned to the first file.
  • the WWUID search unit 43 is also provided as an example of a determination unit configured to determine whether or not the first identification information and the second identification information match each other.
  • the Rcnt update instruction unit 44 is configured to instruct the server file system 77 to perform an update process to increment the Rcnt in inode information corresponding to the WWUID by “1,” if the WWUID search unit 43 finds the WWUID from the extended directory.
  • the file deletion instruction unit 45 is configured to instruct the client file system 71 y to delete the attachment file, if the WWUID search unit 43 finds the WWUID from the extended directory.
  • the file deletion instruction unit 45 is provided as an example of a control unit configured to perform such control that the second file can be prevented from being saved in a client computer.
  • FIG. 20 shows operations of the electronic mail processing apparatus 40 in deleting an attachment file.
  • the electronic mail reception unit 41 first receives an electronic mail from the client file system 71 x , for example (step 401 ).
  • the WWUID extraction unit 42 extracts a WWUID from data in the electronic mail received in step 401 (step 402 ).
  • an attachment file in the electronic mail is temporarily stored under a predetermined directory in the client file system 71 y ; inode information corresponding to the WWUID of the attachment file is newly created; and “1” is set to the Rcnt in the inode information.
  • the WWUID search unit 43 acquires the WWUID extracted by the WWUID extraction unit 42 , and searches the extended directory in the server file system 77 for the WWUID (step 403 ). The WWUID search unit 43 then determines whether or not the WWUID is found from the extended directory (step 404 ). If the determination result shows that the WWUID is found from the extended directory, the WWUID is handed over from the WWUID search unit 43 to the Rcnt update instruction unit 44 . The Rcnt update instruction unit 44 in turn instructs the server file system 77 to increment the Rcnt in the inode information corresponding to the WWUID by “1” (step 405 ).
  • the WWUID is also handed over from the WWUID search unit 43 to the file deletion instruction unit 45 .
  • the file deletion instruction unit 45 instructs the client file system 71 y to delete a file specifiable by an inode number corresponding to the WWUID, i.e., the temporarily stored attachment file (step 406 ).
  • this deletion instruction includes a deletion instruction for management information such as the inode information corresponding to the WWUID.
  • the electronic mail processing apparatus 40 is assumed to be implemented by the mailer program in the client file system 71 y . Note, however, that the electronic mail processing apparatus 40 may be an apparatus independent of any of a computer including the client file system 71 y and a computer including the server file system 77 .
  • FIGS. 21A and 21B show an example of applying this embodiment to a DTP application.
  • FIG. 21A shows a preexisting DTP application.
  • the preexisting DTP application newly outputs a changed document file 83 including both of information in the original document file 82 and the changed version of the information.
  • FIG. 21B shows a DTP application of this embodiment.
  • the DTP application of this embodiment uses the file system program of this embodiment to hold the original document file 82 and a changed document file 84 in a linked state by use of a WWUID, thereby making it possible to avoid duplication of the information in the original document file 82 .
  • a base WWUID in the changed document file 84 is the WWUID of the original document file 82 , and is added to the changed document file 84 by an addition unit implemented by the DTP application.
  • the original document file 82 uses an Rcnt to manage the number of pieces of data referring to the original document file 82 .
  • the diagram shows a change from a state where the original document file 82 is referred to by one piece of data to a state where it is referred to by two pieces of data.
  • file deduplication is performed through an operation such as “not saving one of two files” or “deleting one of two files,” but the deduplication is not limited thereto.
  • the deduplication may be performed through any operation that prevents two files from being stored as duplicate files.
  • a function to perform this operation may be said to be an example of the control unit configured to perform such control that a first file and a second file can be prevented from being stored as duplicate files in a file system.
  • aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
  • the computer readable medium may be a computer readable signal medium or a computer readable storage medium.
  • a computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.
  • a computer readable storage medium may be any tangible medium that may contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
  • LAN local area network
  • WAN wide area network
  • Internet Service Provider an Internet Service Provider
  • These computer program instructions may also be stored in a computer readable medium that may direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
  • the computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s).
  • the functions noted in the block might occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.

Abstract

Each file is assigned in advance with a WWUID which is newly assigned to a file upon the creation or update of the file and is inherited from a file to a copied file when the file is copied. In a backup apparatus, a file name reception unit receives the file name of a backup target file. A WWUID reception unit receives a WWUID corresponding to the file name. A WWUID search unit searches for the same WWUID in backup management information of a previous day stored in a backup destination. Only if the search is failed, a file operation instruction unit instructs the storing of the backup target file into the backup destination. Then, an Rcnt update instruction unit instructs the updating of the number of references made to the WWUID within the backup destination. A second management information update instruction unit then instructs the updating of backup management information of the current day.

Description

PRIORITY CLAIM
This application claims priority to Japanese Patent Application No. 2010-238487, filed Oct. 25, 2010, which is hereby incorporated by reference in its entirety.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates generally to computers, and more particularly to mechanisms for file deduplication in a computing storage environment.
2. Description of the Related Art
As for backup of data in a computer system, an ideal backup in view of data reproduction (restoration) is a full backup in which all the target data are backed up periodically (e.g., every day). One of the reasons is that data saved by a full backup can be reproduced by a single restoration. Another reason is the simplicity of backup management because the generations (old or new) of backups are so clear that the backup of the necessary generation can be kept while the backup of the older generation can be deleted.
A full backup, however, has a disadvantage of requiring wasteful amounts of storage capacity and backup time. The biggest reason why the full backup requires such amounts of storage capacity and backup time is nothing but duplicate backup of data that is not changed every day.
Duplicate data backups occur also due to the backup of the same file that is possessed by multiple users. In an exemplary case of backing up data in multiple PCs (personal computers), the system files of the OS and the files of some application programs are included duplicately in the backup data of all the PCs, despite that these files do not differ from one machine to another. Further, in another exemplary case, an electronic mail document, or a large attachment file in particular, is possessed by multiple users and is included duplicately in backup data. There are various other possible situations where data duplication occurs.
To address these disadvantages, techniques for data deduplication have been proposed. In one conventional technique, a directory identifier is generated for each of directories included in a reference file system and a target file system. If the directory identifier of a directory in the reference file system does not match the directory identifier of a directory in the target file system, a file identifier is generated for each file in these directories of the reference file system and the target file system. The file identifiers are then compared. Then, a file data comparison is made between a pair of files with matched file identifiers. If there is a match in the file data, the data duplication is eliminated. Here, as a method for generating the directory identifiers, there is a method in which hashing is performed on character strings of file names and sizes outputted by executing the du command for a target directory on for example the Linux (registered trademark) OS. In addition, as an exemplar method for generating the file identifiers, there is a method in which a hash value is acquired based on file data of each file.
As described in the conventional technique above, the generation and comparison of file identifiers (hash values of file data), which require a longer time than the generation and comparison of directory identifiers, are omitted for files included in pairs of directories with matched directory identifiers. Thus, the time required for data deduplication can be considered shortened as compared to the case where hashing is performed for every single file data in the reference file system and the target file system.
Nonetheless, the generation and comparison of file identifiers (hash values of file data) are performed for files included in pairs of directories without matched directory identifiers. That is, duplication is eliminated by utilizing file data. So, the time required for file deduplication cannot be expected to be shortened remarkably. Moreover, with the method using the hash value of file data as in the aforementioned technique, it is difficult to eliminate deduplication of multiple duplicate files without utilizing the file data thereof if at least one of the duplicate files is compressed or encrypted.
SUMMARY OF THE DESCRIBED EMBODIMENTS
The present invention, in one embodiment, includes mechanisms for shortening the time required for deduplication of a file without utilizing file data thereof. Additionally, these mechanisms allow deduplication of multiple duplicate files without utilizing file data thereof even when at least one of the duplicate files is compressed or encrypted.
Accordingly, in one embodiment, the present invention provides an apparatus for file deduplication in a file system, comprising: an acquisition unit configured to acquire identification information which is newly assigned to a file upon creation or update of the file and is inherited by the file from a different file if the file is a copy of the different file, to thereby make a content of the file identifiable; a determination unit configured to determine whether or not first identification information and second identification information match each other, the first identification information being the identification information acquired by the acquisition unit and assigned to a first file, the second identification information being the identification information acquired by the acquisition unit and assigned to a second file; and a control unit configured to perform such control that the first file and the second file are prevented from being stored as duplicate files in the file system, if the determination unit determines that the first identification information and the second identification information match each other.
In this apparatus, the acquisition unit may include: a first acquisition unit configured to acquire the first identification information assigned to the first file backed up to the file system at a first time point, from first management information for managing each file backed up to the first system at the first time point; and a second acquisition unit configured to acquire the second identification information assigned to the second file to be backed up to the file system at a second time point subsequent to the first time point. If the determination unit determines that the first identification information and the second identification information match each other, the control unit may perform such control that the second file is prevented from being copied to the file system at the second time point and that the second identification information is included in second management information and associated with the first file, the second management information for managing each file backed up at the second time point. In that case, the present invention may further comprise: a first registration unit configured to register, in count information, an increase in the number of pieces of identification information associated with the first file, when the second identification information becomes associated with the first file, the count information indicating the number of pieces of identification information associated with the first file; a second registration unit configured to register, in the count information, a decrease in the number of pieces of identification information associated with the first file, in response to an instruction to delete the first management information; and a deletion unit configured to delete the first management information in response to the instruction to delete the first management information, and to also delete the first file if the count information after the registration by the second registration unit indicates that no identification information is associated with the first file.
Further, the acquisition unit may include: a first acquisition unit configured to acquire the first identification information assigned to the first file stored in a server computer, from first management information for managing each file stored in the server computer; and a second acquisition unit configured to acquire the second identification information assigned to the second file stored in a client computer, from second management information for managing each file stored in the client computer. The control unit may perform such control that the second file is deleted from the client computer, if the determination unit determines that the first identification information and the second identification information match each other.
Furthermore, the acquisition unit may include: first acquisition unit configured to acquire the first identification information assigned to the first file stored in a server computer, from management information for managing each file stored in the server computer; and a second acquisition unit configured to acquire the second identification information from data in an electronic mail received by a client computer, the second identification information being assigned to the second file attached to the electronic mail, and the control unit performs such control that the second file is prevented from being saved in the client computer, if the determination unit determines that the first identification information and the second identification information match each other.
Additional embodiments are disclosed and provide related advantages.
BRIEF DESCRIPTION OF THE DRAWINGS
In order that the advantages of the invention will be readily understood, a more particular description of the invention briefly described above will be rendered by reference to specific embodiments that are illustrated in the appended drawings. Understanding that these drawings depict embodiments of the invention and are not therefore to be considered to be limiting of its scope, the invention will be described and explained with additional specificity and detail through the use of the accompanying drawings, in which:
FIG. 1 is a diagram showing an example of a preexisting file system;
FIG. 2 is a diagram showing an example of a file system in an embodiment of the present invention;
FIG. 3 is a diagram showing integration of application data and extended directory in the embodiment of the present invention;
FIG. 4 is a block diagram showing an example of the functional configuration of a file management apparatus in the embodiment of the present invention;
FIG. 5 is a flowchart showing an example of operations of the file management apparatus in creating a file in the embodiment of the present invention;
FIG. 6 is a flowchart showing an example of operations of the file management apparatus in copying a file in the embodiment of the present invention;
FIG. 7 is a flowchart showing an example of operations of the file management apparatus in updating a file in the embodiment of the present invention;
FIG. 8 is a diagram showing elimination of duplication between a backup file of the current day and a backup file of the previous day in the embodiment of the present invention;
FIG. 9 is a diagram showing elimination of duplication between backup files from multiple clients in the embodiment of the present invention;
FIG. 10 is a diagram showing deletion of a backup of the previous day in the embodiment of the present invention;
FIG. 11 is a block diagram showing an example of the functional configuration of a backup apparatus in the embodiment of the present invention;
FIG. 12 is a flowchart showing an example of operations of the backup apparatus in performing backup in the embodiment of the present invention;
FIG. 13 is a flowchart showing an example of operations of the backup apparatus in deleting backup management information in the embodiment of the present invention;
FIG. 14 is a diagram for describing a case where one of two files to be subjected duplication determination is compressed and/or encrypted in the embodiment of the present invention;
FIG. 15 is a diagram showing deduplication of a file on a distributed file system in the embodiment of the present invention;
FIG. 16 is a block diagram showing an example of the functional configuration of a distributed file processing apparatus in the embodiment of the present invention;
FIG. 17 is a flowchart showing an example of operations of the distributed file processing apparatus in deleting a file in the embodiment of the present invention;
FIG. 18 is a diagram showing deduplication of an attachment file in an electronic mail in the embodiment of the present invention;
FIG. 19 is a block diagram showing an example of the functional configuration of an electronic mail processing apparatus in the embodiment of the present invention;
FIG. 20 is a flowchart showing an example of operations of the electronic mail processing apparatus in deleting an attachment file in the embodiment of the present invention; and
FIGS. 21A and 21B are diagrams for describing elimination of duplication between an original document and a changed document including the original document.
DETAILED DESCRIPTION OF CERTAIN EMBODIMENTS
Herein below, embodiments of the present invention will be described in detail by referring to the accompanying drawings.
First of all, as a premise of the following embodiment of the present invention, a preexisting UNIX (registered trademark)-based file system program will be described. A term “file system” here may cause some complications as it can indicate both a system program for managing files and a file group existing on a given storage. Thus, in the following, the former will be referred to as a “file system program.”
The preexisting file system program has secured an area called an inode area on an apparatus forming a file system. In this area, there exist multiple but finite number of data structures called inodes. Each inode holds the following information (inode information):
    • a device ID (information for identifying a device in which a file is stored)
    • an inode number for identifying the file in the file system
    • a time stamp group indicating the last inode update time (ctime), the last file update time (mtime), and the last reference time (atime)
    • the length of the file
    • a user ID of an owner of the file
    • a group ID and a file permission of the file
    • the type of the file (file/directory, etc.)
    • a reference count indicating the number of hard links referring to the inode.
Here, each directory serving as a main component of a tree structure is a file having a special attribute with which the file name and inode number of a file under the directory is held as paired information. The attribute allows the directory to hold multiple sets of such paired information in a list. When given a path name, the file system program searches the file system starting from the root directory and locates the file of interest on the basis of the file name and the inode number. Note that in the preexisting file system program, a file obtained by copying an already-backed-up file has the same last file update time as that of the already-backed-up file but the inode number is different, and therefore the file is backed up duplicately.
FIG. 1 is a diagram showing a preexisting file system managed by the preexisting file system program. In the diagram, the preexisting file system stores a file 51 a and a file 51 b therein. Here, the entity of the data in the file 51 a is denoted as “DataA” while the entity of the data in the file 51 b is denoted as “DataB.” Moreover, the preexisting file system stores therein inode information 52 a including block numbers indicating the locations of data blocks forming the file 51 a, and the like, as well as inode information 52 b including block numbers indicating the locations of data blocks forming the file 51 b, and the like.
Further, the preexisting file system stores a directory 53 therein. The directory 53 stores therein the file name of the file 51 a “fileA” in association with the inode number in the inode information 52 a, and the file 51 a is reachable from the directory 53 through the inode information 52 a by use of the inode number. The directory 53 also stores therein the file name of the file 51 b “fileB” in association with the inode number in the inode information 52 b, and the file 51 b is reachable from the directory 53 through the inode information 52 b by use of the inode number.
Meanwhile, this embodiment proposes an extended file system program that allows easy deduplication in not only backup applications but also general applications. In this case, the deduplication can be achieved by the two following methods, i.e., “the assignment of a unique ID for each file entity” and “the extension of the directory structure for application use.”
[Assignment of Unique ID for Each File Entity]
Theoretically, the system is able to recognize that a given file has remained unchanged for a certain period of time and that a given file is a copy of some other file. Hence, the system should be able to avoid data duplication as mentioned above. There is, however, a problem in the preexisting file system program which makes such avoidance difficult. Specifically, the aforementioned inode information is merely information that only indicates where a file exists on the storage device. That is, whether files are the same or not cannot be determined solely by the inode information. While it is possible to determine that two files do not match each other on the basis of the lengths and types of the files, it is necessary to entirely compare the entities of the files with each other in order to determine whether they are the same or not.
In this regard, this embodiment proposes the assignment of a unique ID for each file at the time of creating or updating the file. This ID is a storage wide, unique ID managed by the file system program. This ID will be hereinafter referred to as WWUID (World Wide Unique ID). The extended file system program and backup application in this embodiment manage the data entity by using this WWUID, and also move the WWUID along with the copying and moving of the data entity. By this, the storage system can recognize that the data has already been backed up (copied) without having to perform comparison of the whole data.
Here, whether the above technique is implementable or not depends on whether the size of the WWUID falls within an adequate range. As described below, around 128 bits (16 bytes) is large enough as the size of the WWUID, which we assume is about 0.006% of a single file. Now, assume that the whole data amount in the file system is 1 exabytes (260 bytes). This is a size far larger than the sizes of existing storage devices. Assume also that the average file size is 256 KB (218 bytes). This is slightly smaller than the average file sizes in general PCs.
When the above conditions are assumed, 128 bits, which is the size of the WWUID, is equal to 0.0061% of a single file (=24 bytes/218 bytes). Moreover, while the average number of files in the file system is 242, 2128 files can be expressed with 128 bits, which is the size of the WWUID. Thus, the IDs will not be exhausted even when all the files are updated 2128-42 times. Accordingly, around 128 bits is considered large enough for the WWUID.
FIG. 2 is a diagram showing an example of implementation of an extended file system managed by the extended file system program.
In the diagram, the extended file system stores a file 51 a and a file 51 b therein. Here, the entity of the data in the file 51 a is denoted as “DataA” while the entity of the data in the file 51 b is denoted as “DataB.” Moreover, the extended file system stores therein inode information 52 a including block numbers indicating the locations of data blocks forming the file 51 a, and the like, as well as inode information 52 b including block numbers indicating the locations of data blocks forming the file 51 b, and the like.
Further, the extended file system stores a directory 54 therein. Instead of the file name of the file 51 a “fileA,” the directory 54 stores therein the WWUID of the file 51 a “wwuidA” in association with the inode number in the inode information 52 a, and the file 51 a is reachable from the directory 54 by use of the inode number in the inode information 52 a. Moreover, instead of the file name of the file 51 b “fileB,” the directory 54 stores therein the WWUID of the file 51 b “wwuidB” in association with the inode number in the inode information 52 b, and the file 51 b is reachable from the directory 54 by use of the inode number in the inode information 52 b.
Furthermore, the extended file system stores an extended directory 55 therein. The extended directory 55 stores therein the file name of the file 51 a “fileA” in association with the WWUID of the file 51 a “wwuidA.” The inode number associated with the WWUID “wwuidA” may be acquired by referring to the directory 54, and the file 51 a may be reached from the extended directory 55 through the inode information 52 a by use of the inode number. The directory 55 also stores therein the file name of the file 51 b “fileB” in association with the WWUID of the file 51 b “wwuidB.” The inode number associated with the WWUID “wwuidB” may be acquired by referring to the directory 54, and the file 51 b may be reached from the extended directory 55 through the inode information 52 b by use of the inode number.
From the extended directory 55, the files 51 a and 51 b are reachable through the directory 54 as described above. Note, however, that the diagram uses simplified illustration in which the WWUIDs in the extended directory 55 directly point the files 51 a and 51 b as shown by bold arrows. Such simplified illustration will be used in the following description as well.
[Extension of Directory Structure for Application Use]
In the preexisting file system, only data whose file type is directory is allowed to have a pointer to a file entity. In this embodiment, in contrast, WWUIDs are used to permit application data to utilize the tree structure (directory structure) of the file system. Meanwhile, there are preexisting applications such as one for processing a document with a review comment in DTP (DeskTop Publishing) and one for sending and receiving an electronic mail with an attachment file. Such preexisting applications use their own unique schemes to include a data stream such as the original document to which the review comment is to be attached, or the attachment file. For this reason, when there are multiple files containing the same data stream, the application is the only one that can recognize such a fact. To solve this, this embodiment allows application data to include a file in the same way as data of the extended directory. This facilitates the deduplication of the same file that is included by application data of different types. In addition, the data of the extended directory and the application data share each WWUID's reference count (hereinafter, also referred to as “Rcnt”). This allows the application to handle whether or not the file entity is deleted, in the same way as the extended file system program.
FIG. 3 is a diagram schematically showing integration of application data and extended directory as mentioned above. In the diagram, the extended file system stores a file 61 a and a file 61 b therein. Here, the entity of the data in the file 61 a is denoted as “DataA” while the entity of the data in the file 61 b is denoted as “DataB.” Moreover, the extended file system stores an extended directory 65 therein. The extended directory 65 stores therein the file name of the file 61 a “fileA” in association with the WWUID of the file 61 a “wwuidA”, and the file 61 a is reachable from the extended directory 65 by use of the WWUID “wwuidA.” The extended directory 65 also stores therein the file name of the file 61 b “fileB” in association with the WWUID of the file 61 b “wwuidB,” and the file 61 b is reachable from the extended directory 65 by use of the WWUID “wwuidB.” Further, the extended directory 65 stores therein “fileB’” as the file name of some other file having the same content as the file 61 b in association with the WWUID of the file 61 b “wwuidB,” and the file 61 b is reachable from the extended directory 65 by use of the WWUID “wwuidB.” Here, the file name of the extended directory 65 is set to “dirC.”
Furthermore, the extended file system stores therein an extended directory 66 as a parent directory (extended parent directory). The extended parent directory 66 stores therein the file name of the extended directory 65 “dirC” in association with the WWUID of the extended directory 65 “wwuidC,” and the extended directory 65 is reachable from the extended parent directory 66 by use of the WWUID “wwuidC.” The extended directory 65 stores therein “ . . . ” indicating the parent directory in association with the WWUID of the extended parent directory 66 “wwuidP,” and the extended parent directory 66 is reachable from the extended directory 65 by use of the WWUID “wwuidP.”
The extended file system also stores application data 67 a therein. The application data 67 a includes the WWUID of the file 61 a “wwuidA,” and the file 61 a is reachable from the application data 67 a by use of the WWUID “wwuidA.” The extended file system further stores application data 67 b therein. The application data 67 b includes the WWUID of the file 61 a “wwuidA and the WWUID of the file 61 b “wwuidB,” and the files 61 a and 61 b are reachable from the application data 67 b by use of the WWUIDs “wwuidA” and “wwuidB.” Note that in this example, the file 61 a is reachable by use of one WWUID in each of the extended directory 65, the application data 67 a, and the application data 67 b, and therefore the Rcnt in inode information associated with the file 61 a is “3.” Moreover, the file 61 b is reachable by use of two WWUIDs in the extended directory 65 and one WWUID in the application data 67 b, and therefore the Rcnt in inode information associated with the file 61 b is “3.”
[File Management Apparatus]
Next, a file management apparatus 10 implemented by the aforementioned extended file system program will be described specifically. Note that the description will be given while assuming the implementation example shown in FIG. 2.
FIG. 4 is a diagram showing an example of the functional configuration of the file management apparatus 10. As shown in the diagram, the file management apparatus 10 includes a WWUID management unit 11, a file storage unit 12, a management information storage unit 13, a file creation unit 14, a file copy unit 15, and a file update unit 16.
The WWUID management unit 11 is configured to manage 2128 WWUIDs mentioned above together with usage information on the WWUIDs. In this embodiment, each WWUID is used as an example of identification information which is newly assigned to a file upon creation or update of the file and is inherited by the file from a different file if the file is a copy of the different file, to thereby make a content of the file identifiable.
The file storage unit 12 is configured to store files therein. The management information storage unit 13 is configured to store therein inode information, directories, and extended directories. The file creation unit 14 is configured to, in response to a file creation instruction specifying a directory and a file name from a user or application, create a new file with the specified file name under the specified directory. In this event, the file creation unit 14 assigns an unused WWUID to the new file. In this embodiment, the file creation unit 14 is provided as an example of a first assignment unit configured to assign the identification information to a new file.
The file copy unit 15 is configured to, in response to a file copy instruction specifying a copy source directory, a copy destination directory, and a file name from the user or application, copy a file (copy source file) of the specified name under the specified copy source directory to thereby create a file (copy destination file) with the same file name under the specified copy destination directory. In this event, the file copy unit 15 makes the copy destination file take over the WWUID assigned to the copy source file. In this embodiment, the file copy unit 15 is provided as an example of a second assignment unit configured to assign the same, original identification information to a copied file.
The file update unit 16 is configured to, in response to a file update instruction specifying a directory and a file name from the user or application, update a file of the specified file name under the specified directory. In this event, the file update unit 16 assigns an unused WWUID to the updated file. In this embodiment, the file update unit 16 is provided as an example of a third assignment unit configured to assign different identification information to an updated file.
Next, operations of the file management apparatus 10 will be described. FIG. 5 shows operations of the file creation unit 14 in creating a file. The file creation unit 14 first receives a file creation instruction specifying a directory and a file name (step 101). In response to this, the file creation unit 14 creates a new file and stores it in the file storage unit 12 (step 102) and then stores the inode information of the file in the management information storage unit 13 (step 103). Thereafter, the file creation unit 14 acquires an unused WWUID from the WWUID management unit 11 (step 104). The file creation unit 14 then adds the association of the WWUID acquired in step 104 with the inode number in the inode information stored in step 103 to a directory stored in the management information storage unit 13 (step 105). In addition, the file creation unit 14 adds the association of the file name specified in step 101 with the WWUID acquired in step 104 to an extended directory stored in the management information storage unit 13 (step 106).
FIG. 6 shows operations of the file copy unit 15 in copying a file. The file copy unit 15 first receives a file copy instruction specifying a copy source directory, a copy destination directory, and a file name (step 121). In response to this, the file copy unit 15 reads, from the file storage unit 12, a copy source file of the specified name under the specified copy source directory, copies the copy source file to obtain a copy destination file, and stores the copy destination file in the file storage unit 12 as a file of the same file name under the copy destination directory (step 122). Thereafter, the file copy unit 15 stores the inode information of the copy destination file in the management information storage unit 13 (step 123).
Subsequently, the file copy unit 15 searches, by the file name specified in step 121, an extended directory corresponding to the copy source directory stored in the management information unit 13, and acquires the WWUID of the copy source file (step 124). The file copy unit 15 then adds the association of the WWUID acquired in step 124 with the inode number in the inode information stored in step 123 to the copy destination directory stored in the management information storage unit 13 (step 125). In addition, the file copy unit 15 adds the association of the file name specified in step 121 with the WWUID acquired in step 124 to an extended directory corresponding to the copy destination directory stored in the management information storage unit 13 (step 126).
FIG. 7 shows operations of the file update unit 16 in updating a file. The file update unit 16 first receives a file update instruction specifying a directory and a file name (step 141). In response to this, the file update unit 16 stores, in the file storage unit 12, a file obtained by updating a file of the specified name under the specified directory (step 142), and updates the file's inode information (the last update time, etc.) stored in the management information storage unit 13 (step 143). Thereafter, the file update unit 16 acquires an unused WWUID from the WWUID management unit 11 (step 144). The file update unit 16 then replaces the association between the WWUID and inode number of the pre-update file included in the directory stored in the management information storage unit 13, with the association between the WWUID acquired in step 144 and the same inode number (step 145). In addition, the file update unit 16 replaces the association between the file name and WWUID of the pre-update file included in an extended directory stored in the management information storage unit 13, with the association between the same file name and the WWUID acquired in step 144 (step 146).
[File Deduplication]
The following provides some scenarios for file deduplication in this embodiment.
[Deduplication in Periodical Full Backup]
FIG. 8 shows an example where a D-to-D (Disk to Disk) backup application (hereinafter, simply referred to as “backup application”) eliminates duplication by comparing a backup of the current day and a backup of the previous day. Backup operations of the previous day will be described first. A client file system 71 x of the previous day (hereinafter, referred to as “previous-day client file system 71 x”) stores a file 72 x and a file 73 therein. Here, the entity of the data in the file 72 x is denoted as “DataA” while the entity of the data in the file 73 is denoted as “DataB.”
The previous-day client file system 71 x also stores an extended directory 75 x therein. The extended directory 75 x stores therein the file name of the file 72 x “fileA” in association with the WWUID of the file 72 x “wwuidA,” and the file 72 x is reachable from the extended directory 75 x by use of the WWUID “wwuidA.” The extended directory 75 x also stores therein the file name of the file 73 “fileB” in association with the WWUID of the file 73 “wwuidB,” and the file 73 is reachable from the extended directory 75 x by use of the WWUID “wwuidB.”
A backup application 76 x that has operated on the previous day (hereinafter, referred to as “previous-day backup application 76 x”) copies the file 72 x and the file 73 from the previous-day client file system 71 x to a server file system 77 as indicated by bold dotted arrows. In this event, the previous-day backup application 76 x also creates backup management information 78 x of the previous day (hereinafter, referred to as “previous-day backup management information 78 x”) within the server file system 77 as indicated by a similar bold dotted arrow. The previous-day backup management information 78 x indicates a list of previous-day backup files and has a data structure similar to the data structure of the extended directory.
Backup operations of the current day will be described next. A client file system 71 y of the current day (hereinafter, referred to as “current-day client file system 71 y”) stores a file 72 y and a file 74 therein. Here, the entity of the data in the file 72 y is denoted as “DataA” while the entity of the data in the file 74 is denoted as “DataC.” The current-day client file system 71 y also stores an extended directory 75 y therein. The extended directory 75 y stores therein the file name of the file 72 y “fileA” in association with the WWUID of the file 72 y “wwuidA,” and the file 72 y is reachable from the extended directory 75 y by use of the WWUID “wwuidA.” The extended directory 75 y also stores therein the file name of the file 74 “fileC” in association with the WWUID of the file 74 “wwuidC,” and the file 74 is reachable from the extended directory 75 y by use of the WWUID “wwuidC.”
As indicated by bold solid arrows, a backup application 76 y that operates on the current day (hereinafter, referred to as “current-day backup application 76 y”) refers to the previous-day backup management information 78 x and locates the file 72 y that does not need to be copied to the server file system 77, without comparing the file entities, and copies only the file 74 that needs to be copied to the server file system 77. Finally, the current-day backup application 76 y stores backup management information 78 y of the current day (hereinafter, referred to as “current-day backup management information 78 y”) as indicated by a similar bold solid arrow. Note that the current-day backup management information 78 y indicates a list of current-day backup files and has a data structure similar to the data structure of the extended directory. What is important here is that the backup files managed by the previous-day backup management information 78 x and the backup files managed by the current-day backup management information 78 y are restorable independently.
Note that in FIG. 8, the current day and the previous day are shown as exemplary two time points for comparing backups. Any two time points can be employed as long as the two time points include a first time point and a second time point that is subsequent to the first time point.
[Deduplication in Backup from Multiple Systems]
In a case of backup from multiple clients too, whether a given file entity has already been copied or not can be determined by referring to backup management information as in the case of the periodical full backup. Here, example of the multiple clients include a client used by a user X (hereinafter, referred to as “user-X client”) and a client used by a user Y (hereinafter, referred to as “user-Y client”) are available.
FIG. 9 shows an example where the backup application eliminates duplication by comparing a backup from the user-X client and a backup from the user-Y client. In this example, the previous-day client file system 71 x, the current-day client file system 71 y, the previous-day backup application 76 x, the current-day backup application 76 y, the previous-day backup management information 78 x, and the current-day backup management information 78 y in FIG. 8 are simply replaced with a user-X client file system 71 x, a user-Y client file system 71 y, a user-X backup application 76 x, a user-Y backup application 76 y, a user-X backup management information 78 x, and a user-Y backup management information 78 y, respectively, and therefore detailed description thereof is omitted.
Note that in FIG. 9, a file system in the user-X client is denoted as “user-X client file system;” a file system in the user-Y client is denoted as “user-Y client file system;” a backup application performing backup from the user-X client is denoted as “user-X backup application;” a backup application performing backup from the user-Y client is denoted as “user-Y backup application;” backup management information for managing a backup from the user-X client is denoted as “user-X backup management information;” backup management information for managing a backup from the user-Y client is denoted as “user-Y backup management information.” Moreover, in FIG. 9, a time point at which the backup from the user-X client is performed corresponds to the aforementioned first time point, and a time point at which the backup from the user-Y client is performed corresponds to the aforementioned second time point.
[Easy Deletion of Older-Generation Backup]
FIG. 10 shows how only the previous-day backup management information 78 x is deleted in a state where the previous-day backup management information 78 x and the current-day backup management information 78 y are present in the server file system 77. Upon deletion of the previous-day backup management information 78 x, the file system program decrements the Rcnt of every related file by “1.” Specifically, the Rcnt of a file 72 having a WWUID of “wwuidA” is changed from “2” to “1,” and the Rcnt of a file 73 having a WWUID of “wwuidB” is changed from “1” to “0.” On the other hand, the WWUID of a file 74 is not included in the previous-day backup management information 78 x, and therefore the Rcnt of the file 74 is not changed. As a result of such decrement of the Rcnts, the Rcnt of the file 72 has not yet reached “0,” and thus the file system program cuts the link between the file 72 and the previous-day backup management information 78 x but keeps the entity of the file 72 unerased. In contrast, since the Rcnt of the file 73 has reached “0,” the file system program erases the file 73.
What is important here is that a backup of a newer generation can maintain its consistency with backups of older generations even if these older-generation backups are deleted sequentially. Note that this example of the deletion of an older-generation backup is applicable not only to the case of performing the periodical full backup shown in FIG. 8 but also to the case of performing the backup from multiple clients shown in FIG. 9. In the latter case, the deletion of an older-generation backup is equivalent to the deletion of a backup from a particular client.
[Backup Apparatus]
Next, a backup apparatus 20 that performs backup and deletion of a particular backup as mentioned above will be described specifically. Note that in this section, the previous-day/user-X client file system 71 x, the current-day/user-Y client file system 71 y, the previous-day/user-X backup management information 78 x, and the current-day/user-Y backup management information 78 y will be simply referred to as client file system 71 x, client file system 71 y, first management information 78 x, and second management information 78 y, respectively. In addition, the backup apparatus 20 is assumed to be an apparatus independent of any of a computer including the client file system 71 y and a computer including the server file system 77.
FIG. 11 is a diagram showing an example of the functional configuration of the backup apparatus 20. As shown in the diagram, the backup apparatus 20 includes a file name reception unit 21, a WWUID reception unit 22, a WWUID search unit 23, an Rcnt update instruction unit 24, a second management information update instruction unit 25, a file operation instruction unit 26, and a first management information deletion instruction unit 27. The file name reception unit 21 configured to receive the file name of a backup target file.
The WWUID reception unit 22 configured to receive the WWUID of the backup target file from the client file system 71 y. Specifically, the WWUID reception unit 22 receives a WWUID that is associated, in the extended directory 75 y in the client file system 71 y, with the file name received by the file name reception unit 21. In this embodiment, the backup target file is used as an example of a second file to be backed up to a file system at the second time point. The WWUID reception unit 22 is provided as an example of a second acquisition unit configured to acquire second identification information assigned to the second file. The WWUID reception unit 22 is also provided as an example of a second acquisition unit configured to acquire backup target file identification information.
The WWUID search unit 23 is configured to search the first management information 78 x in the server file system 77 for the WWUID received by the WWUID reception unit 22. Specifically, the WWUID search unit 23 acquires the first management information 78 x in the server file system 77, extracts the WWUID of each already-backed-up file from the first management information 78 x, and determines whether the WWUID is the same as the WWUID received by the WWUID reception unit 22. In this embodiment, the already-backed-up file is used as an example of a first file backed up to the file system at the first time point. The WWUID search unit 23 is provided as an example of a first acquisition unit configured to acquire first identification information assigned to the first file. The WWUID search unit 23 is also provided as an example of a first acquisition configured to acquire first management information. The WWUID search unit 23 is further provided as an example of a determination unit configured to determine whether or not the first identification information and the second identification information match each other, and also as an example of a determination unit configured to determine whether or not the first management information includes the backup target file identification information.
The Rcnt update instruction unit 24 is configured to instruct the server file system 77 to perform an update process to increment the Rcnt in inode information corresponding to the WWUID by “1,” if the WWUID search unit 23 finds the WWUID from the first management information 78 x. The Rcnt update instruction unit 24 is configured to instruct the server file system 77 to perform an update process to newly store the inode information corresponding the WWUID and set “1” to the Rcnt in the inode information, if the WWUID search unit 23 fails to find the WWUID from the first management information 78 x. Additionally, at the time of deleting the first management information 78 x, the Rcnt update instruction unit 24 instructs the server file system 77 to perform an update process to decrement the Rcnt in the inode information corresponding to the WWUID included in the first management information 78 x by “1.” In this embodiment, the Rcnt is used as an example of count information indicating the number of pieces of identification information. Moreover, the Rcnt update instruction unit 24 is provided as an example of a first registration unit configured to register an increase in the number of pieces of identification information, and of a second registration unit configured to register a decrease in the number of pieces identification information.
The second management information update instruction unit 25 is configured to instruct the server file system 77 to perform an update process to add path names and WWUIDs in the first management information 78 x to the second management information 78 y. In this embodiment, the second management information update instruction unit 25 is provided as an example of a control unit configured to perform such control that the second identification information can be included in second management information and associated with the first file. The second management information update instruction unit 25 is also provided as an example of a storage unit configured to store the backup target file identification information into the second management information.
The file operation instruction unit 26 is configured to instruct the server file system 77 to store the backup target file therein, if the WWUID search unit 23 fails to find the aforementioned WWUID from the first management information 78 x. Additionally, at the time of deleting the first management information 78 x, the file operation instruction unit 26 instructs the server file system 77 to delete each file managed by the first management information 78 x if conditions are not met. In this embodiment, the file operation instruction unit 26 is provided as an example of a control unit configured to perform such control that the second file can be prevented from being copied to the file system, and of a deletion unit configured to delete the first file. The file operation instruction unit 26 is also provided as an example a copy unit configured to copy the backup target file to the file system, and of a deletion unit configured to delete the already-backed-up file.
The first management information deletion instruction unit 27 is configured to instruct the server file system 77 to delete the first management information 78 x. In this embodiment, the first management information deletion instruction unit 27 is provided as an example of a deletion unit configured to delete the first identification information, and of a deletion unit configured to delete the already-backed-up file identification information.
Next, operations of the backup apparatus 20 will be described. FIG. 12 shows operations of the backup apparatus 20 in performing backup. In the backup apparatus 20, the file name reception unit 21 first receives the file name of a backup target file (step 201). In response, the WWUID reception unit 22 receives a WWUID that is associated, in the extended directory 75 y in the client file system 71 y, with the file name received in step 201 (step 202).
Thereafter, the WWUID search unit 23 acquires the WWUID received by the WWUID reception unit 22 and searches the first management information 78 x in the server file system 77 for the WWUID (step 203). The WWUID search unit 23 then determines whether or not the WWUID is found from the first management information 78 x (step 204). If the determination result shows that the WWUID is found from the first management information 78 x, the WWUID is handed over from the WWUID search unit 23 to the Rcnt update instruction unit 24. The Rcnt update instruction unit 24 in turn instructs the server file system 77 to increment the Rcnt in inode information corresponding to the WWUID by “1” (step 205). Note that in this event, the WWUID search unit 23 keeps a path name corresponding to the found WWUID.
On the other hand, if the WWUID is not found from the first management information 78 x, the WWUID search unit 23 acquires the backup target file from the client file system 71 y (step 206). The backup target file is then handed over from the WWUID search unit 23 to the file operation instruction unit 26. The file operation instruction unit 26 in turn instructs the server file system 77 to store the backup target file therein (step 207). The WWUID acquired from the client file system 71 y and held by the WWUID search unit 23 is handed over to the Rcnt update instruction unit 24. The Rcnt update instruction unit 24 in turn instructs the server file system 77 to newly create inode information corresponding to the WWUID and set “1” to the Rcnt in the inode information (step 208). Thereafter, the path name and the WWUID are handed over from the WWUID search unit 23 to the second management information update instruction unit 25. The second management information update instruction unit 25 in turn instructs the server file system 77 to register the path name and the WWUID in the second management information 78 y (step 209).
FIG. 13 shows operations of the backup apparatus 20 in deleting the first management information 78 x. In the backup apparatus 20, the first management information deletion instruction unit 27 first focuses on a pair of a path name and a WWUID in the first management information 78 x (step 251). Then, the WWUID is handed over from the first management information deletion instruction unit 27 to the Rcnt update instruction unit 24. The Rcnt update instruction unit 24 in turn instructs the server file system 77 to decrement the Rcnt in inode information corresponding to the WWUID by “1” (step 252). Thereafter, the first management information deletion instruction unit 27 refers to the value of the decremented Rcnt returned from the Rcnt update instruction unit 24 and determines whether or not the Rcnt has reached “0” (step 253).
If the determination result shows that the Rcnt has reached “0,” the path name of interest is handed over from the first management information deletion instruction unit 27 to the file operation instruction unit 26. The file operation instruction unit 26 in turn instructs the server file system 77 to delete the file specified by the path name (step 254). In contrast, if the Rcnt has not reached “0,” this means that the file specified by the path name of interest is being referred to by the other backup management information. Hence, the file operation instruction unit 26 does not instruct the server file system 77 to delete the file. Thereafter, the first management information deletion instruction unit 27 determines whether or not all the pairs of path names and WWUIDs in the first management information 78 x have been checked (step 255).
If all the pairs of path names and WWUIDs in the first management information 78 x have not yet been checked, the processes in steps 251 to 254 are iterated. If all the pairs of path names and WWUIDs in the first management information 78 x have been checked, the first management information deletion instruction unit 27 instructs the server file system 77 to delete the first management information 78 x (step 256). Here, the backup apparatus 20 is assumed to be an apparatus independent of any of the computer including the client file system 71 y and the computer including the server file system 77. Note, however, that the backup apparatus 20 may be implemented in any of these computers.
[Case where Compression or Encryption Makes it Difficult to Determine Presence of Duplication]
In a case of a method in which file data is referred to for determining the presence of duplication, it is difficult to deduplicate data that exists in a compressed or encrypted form on a storage because the data needs to be decompressed or decrypted. This embodiment, on the other hand, uses WWUIDs to assure the coincidence between data pieces, and therefore requires no data decompression or decryption.
FIG. 14 is a diagram for describing this feature. A client file system 71 stores a file 72 therein. Here, the entity of the data in the file 72 is denoted as “DataA.” The client file system 71 also stores an extended directory 75 therein. The extended directory 75 stores therein the file name of the file 72 “fileA” in association with the WWUID of the file 72 “wwuidA,” and the file 72 is reachable from the extended directory 75 by use of the WWUID “wwuidA.” Meanwhile, a server file system 77 stores a file 73 therein. Here, the file 73 is a file obtained by compressing and/or encrypting the file 72. The server file system 77 also stores an extended directory 78 therein. The extended directory 78 stores therein the file name of the file 73 “fileA” in association with the WWUID of the file 73 “wwuidA,” and the file 73 is reachable from the extended directory 78 by use of the WWUID “wwuidA.” In this state, a file system program 79 detects that the WWUIDs stored respectively in the extended directories 75 and 78 in the client and server file systems 71 and 77 are the same. Accordingly, it is possible to recognize that the files 72 and 73 are the same without having to compare the data between the files 72 and 73.
[Determination of Presence of File Duplication in Distributed File System]
FIG. 15 shows an example of applying this embodiment to a distributed file system. In this example, a client file system 71 and a server file system 77 are sub file systems of one file system. Therefore, coherent WWUIDs are assigned by a file system program 79 to files in the client and server file systems 71 and 77. A file 72 will be described first. Here, the entity of the data in the file 72 is denoted as “DataA.” In the diagram, it is assumed that the entity of the file 72 has been deleted from the client file system 71 for a capacity-related reason or some other reason. That is, an extended directory 75 in the client file system 71 stores therein the file name of the file 72 “fileA” in association with the WWUID of the file 72 “wwuidA,” but the file 72 specifiable by the WWUID does not exist in the client file system 71. In this state, an extended directory 78 in the server file system 77 stores therein the file name of the file 72 “fileA” in association with the WWUID of the file 72 “wwuidA,” and the file 72 specifiable by the WWUID exists in the server file system 77. Accordingly, the file system program 79 can easily locate and call the entity of the file 72 from the server file system 77 by using the WWUID.
The file 73 will be described next. Here, the entity of the data in the file 73 is denoted as “DataB.” In the diagram, the entity of the file 73 exists in both of the client and server file systems 71 and 77. That is, the extended directory 75 in the client file system 71 stores therein the file name of the file 73 “fileB” in association with the WWUID of the file 73 “wwuidB,” and the file 73 specifiable by the WWUID exists in the client file system 71. Likewise, the extended directory 78 in the server file system 77 stores therein the file name of the file 73 “fileB” in association with the WWUID of the file 73 “wwuidB,” and the file 73 specifiable by the WWUID exists in the server file system 77. Accordingly, the file system program 79 can recognize file duplication by using the WWUID, as a result, making it easier to determine whether or not the file 73 can be deleted from the client file system 71.
[Distributed File Processing Apparatus]
Next, a distributed file processing apparatus 30 that deletes a file in a distributed file system as mentioned above will be described specifically. Note that this distributed file processing apparatus 30 is assumed to be an apparatus independent of any of a computer including the client file system 71 and a computer including the server file system 77.
FIG. 16 is a diagram showing an example of the functional configuration of the distributed file processing apparatus 30. As shown in the diagram, the distributed file processing apparatus 30 includes a file name reception unit 31, a WWUID reception unit 32, a WWUID search unit 33, an Rcnt update instruction unit 34, and a file deletion instruction unit 35. The file name reception unit 31 is configured to receive the file name of a deletion target file.
The WWUID reception unit 32 is configured to receive the WWUID of the deletion target file. Specifically, the WWUID reception unit 32 receives a WWUID that is associated, in the extended directory 75 in the client file system 71, with the file name received by the file name reception unit 31. In this embodiment, the deletion target file is used as an example of a second file stored in a client computer. The WWUID reception unit 32 is provided as an example of a second acquisition unit configured to acquire second identification information assigned to the second file.
The WWUID search unit 33 is configured to search the extended directory 78 in the server file system 77 for the WWUID received by the WWUID reception unit 32. Specifically, the WWUID search unit 33 acquires the WWUID of each saving target file from the extended directory 78 in the server file system 77 and determines whether or not the WWUID matches the WWUID received by the WWUID reception unit 32. In this embodiment, the saving target file is used as an example of a first file stored in a server computer. The WWUID search unit 33 is provided as an example of a first acquisition unit configured to acquire first identification information assigned to the first file. The WWUID search unit 33 is also provided as an example of a determination unit configured to determine whether or not the first identification information and the second identification information match each other.
The Rcnt update instruction unit 34 is configured to instruct the server file system 77 to perform an update process to increment the Rcnt in inode information corresponding to the WWUID by “1,” if the WWUID search unit 33 finds the WWUID from the extended directory 78. The file deletion instruction unit 35 is configured to instruct the client file system 71 to delete a file specifiable by an inode number corresponding to the WWUID, if the WWUID search unit 33 finds the WWUID from the extended directory 78. In this embodiment, the file deletion instruction unit 35 is provided as an example of a control unit configured to perform such control that the second file can be deleted from the client computer.
Next, operations of the distributed file processing apparatus 30 will be described. FIG. 17 shows operations of the distributed file processing apparatus 30 in deleting a file in the distributed file system. Note that the operations are performed on condition that the capacity of the client file system 71 reaches or falls below a threshold, for example. In the distributed file processing apparatus 30, the file name reception unit 31 first receives the file name of a deletion target file (step 301). In response to this, the WWUID reception unit 32 receives a WWUID that is associated, in the extended directory 75 in the client file system 71, with the file name received in step 301 (step 302). Thereafter, the WWUID search unit 33 acquires the WWUID received by the WWUID reception unit 32 and searches the extended directory 78 in the server file system 77 for the WWUID (step 303). The WWUID search unit 33 then determines whether or not the WWUID is found from the extended directory 78 (step 304).
If the determination result shows that the WWUID is found from the extended directory 78, the WWUID is handed over from the WWUID search unit 33 to the Rcnt update instruction unit 34. The Rcnt update instruction unit 34 in turn instructs the server file system 77 to increment the Rcnt in inode information corresponding to the WWUID by “1” (step 305). The WWUID is also handed over from the WWUID search unit 33 to the file deletion instruction unit 35. The file deletion instruction unit 35 in turn instructs the client file system 71 to delete a file specifiable by an inode number corresponding to the WWUID (step 306). Note that this deletion instruction includes a deletion instruction for management information such as the inode information corresponding to the WWUID.
On the other hand, if the WWUID is not found from the extended directory 78, no file is deleted from the client file system 71, and the process terminates. Here, the distributed file processing apparatus 30 is assumed to be an apparatus independent of any of the computer including the client file system 71 and the computer including the server file system 77. Note, however, that the distributed file processing apparatus 30 may be implemented in any of these computers. Also, here, a file in the client file system 71 is treated as a deletion target, and a file in the server file system 77 is treated as a saving target. However, it is possible to employ a configuration where a file in the client file system 71 is a saving target, and a file in the server file system 77 is a deletion target.
[Determination of Presence of Duplication of Attachment File Possessed by Multiple Users Due to Distribution of Electronic Mail]
FIG. 18 shows an example of applying this embodiment to a case where an electronic mail is sent to distribute an attachment file. In this example, in general, an electronic mail is sent after an attachment file is attached thereto at the sending side, and then a text document is separated from the electronic mail by a mailer program at the receiving side to be visible. By allowing the mailer program to use the file system program of this embodiment, the body of the electronic mail and the attachment file may be associated with each other via a WWUID and saved as two separate files. Here, the sending side and the receiving side both refer to the same server file system. If there exists in the server file system the same file entity as that entity of the attachment file, the receiving side can easily recognize the received attachment file as a duplicate file.
This feature will be described below specifically by referring to FIG. 18. First of all, a server file system 77 stores therein a file 72. Here, the entity of the data in the file 72 is denoted as “DataA.” With this state taken into account, consider a case where the file 72 is sent as an attachment file in an electronic mail from a user-X client file system 71 x to a user-Y client file system 71 y. In this case, electronic mail data 81 including the file 72 and the WWUID of the file 72 “wwuidA” is created in the client file system 71 x. The electronic mail data 81 is then sent to the client file system 71 y as indicated by a hollow arrow. As a result, the file 72 is, in usual cases, saved in the client file system 71 y while being separated from the electronic mail data 81. In this embodiment, however, the mailer program at the sending side extracts the WWUID from the electronic mail data 81 and determines whether or not the WWUID exists in an unillustrated extended directory in the server file system 77. The determination result will show that the WWUID exists, i.e., the file 72 exists duplicate, and therefore the mail program determines that the file 72 can be deleted from the client file system 71 y.
[Electronic Mail Processing Apparatus]
Next, an electronic mail processing apparatus 40 that deletes an attachment file in an electronic mail as mentioned above will be described specifically. Note that the electronic mail processing apparatus 40 is assumed to be implemented by the mailer program in the client file system 71 y. FIG. 19 is a diagram showing an example of the functional configuration of the electronic mail processing apparatus 40. As shown in the diagram, the electronic mail processing apparatus 40 includes an electronic mail reception unit 41, a WWUID extraction unit 42, a WWUID search unit 43, an Rcnt update instruction unit 44, and a file deletion instruction unit 45. The electronic mail reception unit 41 is configured to receive an electronic mail from a separate computer.
The WWUID extraction unit 42 is configured to receive the WWUID of an attachment file from data in the electronic mail received by the electronic mail reception unit 41. In this embodiment, the attachment file is used as an example of a second file attached to an electronic mail. The WWUID extraction unit 42 is provided as an example of a second acquisition unit configured to acquire second identification information assigned to the second file.
The WWUID search unit 43 is configured to search the extended directory (unillustrated) in the server file system 77 for the WWUID extracted by the WWUID extraction unit 42. Specifically, from the extended directory in the server file system 77, the WWUID search unit 43 acquires the WWUID of a file which is the original version of the attachment file. The WWUID search unit 43 then determines whether or not the WWUID is the same as the WWUID extracted by the WWUID extraction unit 42. In this embodiment, the file being the original version of the attachment file is used as an example of a first file stored in a server computer. The WWUID search unit 43 is provided as an example of a first acquisition unit configured to acquire first identification information assigned to the first file. The WWUID search unit 43 is also provided as an example of a determination unit configured to determine whether or not the first identification information and the second identification information match each other.
The Rcnt update instruction unit 44 is configured to instruct the server file system 77 to perform an update process to increment the Rcnt in inode information corresponding to the WWUID by “1,” if the WWUID search unit 43 finds the WWUID from the extended directory. The file deletion instruction unit 45 is configured to instruct the client file system 71 y to delete the attachment file, if the WWUID search unit 43 finds the WWUID from the extended directory. In this embodiment, the file deletion instruction unit 45 is provided as an example of a control unit configured to perform such control that the second file can be prevented from being saved in a client computer.
Next, operations of the electronic mail processing apparatus 40 will be described. FIG. 20 shows operations of the electronic mail processing apparatus 40 in deleting an attachment file. In the electronic mail processing apparatus 40, the electronic mail reception unit 41 first receives an electronic mail from the client file system 71 x, for example (step 401). In response to this, the WWUID extraction unit 42 extracts a WWUID from data in the electronic mail received in step 401 (step 402). Note that at this point, an attachment file in the electronic mail is temporarily stored under a predetermined directory in the client file system 71 y; inode information corresponding to the WWUID of the attachment file is newly created; and “1” is set to the Rcnt in the inode information.
Thereafter, the WWUID search unit 43 acquires the WWUID extracted by the WWUID extraction unit 42, and searches the extended directory in the server file system 77 for the WWUID (step 403). The WWUID search unit 43 then determines whether or not the WWUID is found from the extended directory (step 404). If the determination result shows that the WWUID is found from the extended directory, the WWUID is handed over from the WWUID search unit 43 to the Rcnt update instruction unit 44. The Rcnt update instruction unit 44 in turn instructs the server file system 77 to increment the Rcnt in the inode information corresponding to the WWUID by “1” (step 405). The WWUID is also handed over from the WWUID search unit 43 to the file deletion instruction unit 45. The file deletion instruction unit 45 in turn instructs the client file system 71 y to delete a file specifiable by an inode number corresponding to the WWUID, i.e., the temporarily stored attachment file (step 406). Note that this deletion instruction includes a deletion instruction for management information such as the inode information corresponding to the WWUID. On the other hand, if the WWUID is not found from the extended directory, the attachment file is not deleted from the client file system 71 y, and the process terminates. Here, the electronic mail processing apparatus 40 is assumed to be implemented by the mailer program in the client file system 71 y. Note, however, that the electronic mail processing apparatus 40 may be an apparatus independent of any of a computer including the client file system 71 y and a computer including the server file system 77.
[Avoidance of Partial Duplication Between Original and Changed Documents]
FIGS. 21A and 21B show an example of applying this embodiment to a DTP application. FIG. 21A shows a preexisting DTP application. When an original document file 82 is changed (including adding a review comment, etc.), the preexisting DTP application newly outputs a changed document file 83 including both of information in the original document file 82 and the changed version of the information.
FIG. 21B shows a DTP application of this embodiment. The DTP application of this embodiment uses the file system program of this embodiment to hold the original document file 82 and a changed document file 84 in a linked state by use of a WWUID, thereby making it possible to avoid duplication of the information in the original document file 82. Here, a base WWUID in the changed document file 84 is the WWUID of the original document file 82, and is added to the changed document file 84 by an addition unit implemented by the DTP application. Additionally, the original document file 82 uses an Rcnt to manage the number of pieces of data referring to the original document file 82. The diagram shows a change from a state where the original document file 82 is referred to by one piece of data to a state where it is referred to by two pieces of data. Using an Rcnt to manage the number of pieces of data referring to the original document file 82 as above will prevent the file system program from deleting the entity of the original document file 82 even when the original document file 82 is to be accidentally deleted, as long as the Rcnt is not “0.”
In the aforementioned scenarios for deduplication, two files to be subjected to duplication determination are assumed to exist in separate file systems, respectively, and the WWUIDs of the two files are acquired by use of separate acquisition units, respectively. However, two files to be subjected to duplication determination may be assumed to exist in the same file system, and the WWUIDs of the two files may be acquired by use of one acquisition unit. Moreover, in the aforementioned scenarios for deduplication, file deduplication is performed through an operation such as “not saving one of two files” or “deleting one of two files,” but the deduplication is not limited thereto. In a broad sense, the deduplication may be performed through any operation that prevents two files from being stored as duplicate files. In that case, a function to perform this operation may be said to be an example of the control unit configured to perform such control that a first file and a second file can be prevented from being stored as duplicate files in a file system.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.
Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that may contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).
Aspects of the present invention are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, may be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer readable medium that may direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks. The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagram in the above figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block might occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, may be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
While one or more embodiments of the present invention have been illustrated in detail, one of ordinary skill in the art will appreciate that modifications and adaptations to those embodiments may be made without departing from the scope of the present invention as set forth in the following claims.

Claims (11)

What is claimed is:
1. An apparatus for file deduplication in a file system, comprising:
an acquisition unit configured to acquire identification information which is newly assigned to a file upon creation or update of the file and is inherited by the file from a different file if the file is a copy of the different file, to thereby make a content of the file identifiable;
a determination unit configured to determine whether or not first identification information and second identification information match each other, the first identification information being the identification information acquired by the acquisition unit and assigned to a first file, the second identification information being the identification information acquired by the acquisition unit and assigned to a second file;
a control unit configured to perform such control that the first file and the second file are prevented from being stored as duplicate files in the file system, if the determination unit determines that the first identification information and the second identification information match each other;
a first registration unit configured to register, in count information, an increase in the number of pieces of identification information associated with the first file, when the second identification information becomes associated with the first file, the count information indicating the number of pieces of identification information associated with the first file;
a second registration unit configured to register, in the count information, a decrease in the number of pieces of identification information associated with the first file, in response to an instruction to delete the first management information for managing each file backed up to the file system at the first time point; and
a deletion unit configured to delete the first management information in response to the instruction to delete the first management information, and to also delete the first file if the count information after the registration by the second registration unit indicates that no identification information is associated with the first file.
2. The apparatus according to claim 1, wherein
the acquisition unit includes:
a first acquisition unit configured to acquire the first identification information assigned to the first file backed up to the file system at a first time point, from the first management information for managing each file backed up to the file system at the first time point; and
a second acquisition unit configured to acquire the second identification information assigned to the second file to be backed up to the file system at a second time point subsequent to the first time point, and
if the determination unit determines that the first identification information and the second identification information match each other, the control unit performs such control that the second file is prevented from being copied to the file system at the second time point and that the second identification information is included in second management information and associated with the first file, the second management information for managing each file backed up at the second time point.
3. The apparatus according to claim 1, wherein
the acquisition unit includes:
a first acquisition unit configured to acquire the first identification information assigned to the first file stored in a server computer, from first management information for managing each file stored in the server computer; and
a second acquisition unit configured to acquire the second identification information assigned to the second file stored in a client computer, from second management information for managing each file stored in the client computer, and
the control unit performs such control that the second file is deleted from the client computer, if the determination unit determines that the first identification information and the second identification information match each other.
4. The apparatus according to claim 1, wherein
the acquisition unit includes:
a first acquisition unit configured to acquire the first identification information assigned to the first file stored in a server computer, from management information for managing each file stored in the server computer; and
a second acquisition unit configured to acquire the second identification information from data in an electronic mail received by a client computer, the second identification information being assigned to the second file attached to the electronic mail, and
the control unit performs such control that the second file is prevented from being saved in the client computer, if the determination unit determines that the first identification information and the second identification information match each other.
5. An apparatus for backing up a file to a file system, comprising:
a first acquisition unit configured to acquire first management information for managing each file backed up to the file system at a first time point;
a second acquisition unit configured to acquire backup target file identification information as identification information which is newly assigned to a file upon creation or update of the file and is inherited by the file from a different file if the file is a copy of the different file, to thereby make a content of the file identifiable, and which is assigned to a backup target file to be backed up to the file system at a second time point subsequent to the first time point;
a determination unit configured to determine whether or not the first management information acquired by the first acquisition unit includes the backup target file identification information acquired by the second acquisition unit as already-backed-up file identification information that is the identification information assigned to an already-backed-up file backed up to the file system at the first time point;
a copy unit configured to prevent the backup target file from being copied to the file system at the second time point if the determination unit determines that the first management information includes the backup target file identification information, and configured to copy the backup target file to the file system at the second time point if the determination unit determines that the first management information does not include the backup target file identification information;
a storage unit configured to store the backup target file identification information in association with the already-backed-up file into second management information for managing each file backed up at the second time point;
a first registration unit configured to register, in count information, an increase in the number of pieces of identification information associated with the already-backed-up file, when the backup target file identification information becomes associated with the already-backed-up file, the count information indicating the number of pieces of identification information associated with the already-backed-up file;
a second registration unit configured to register, in the count information, a decrease in the number of pieces of identification information associated with the already-backed-up file, in response to an instruction to delete the first management information; and
a deletion unit configured to delete the backup target file identification information in response to the instruction to delete the first management information, and to also delete the already-backed-up file if the count information after the registration by the second registration unit indicates that no identification information is associated with the already-backed-up file.
6. An apparatus for managing a file in a file system, comprising:
a first assignment unit configured to assign identification information to a new file when the new file is crated in the file system;
a second assignment unit configured to assign identification information same as the identification information to a copied file when the new file is copied to generate the copied file in the file system;
a third assignment unit configured to assign identification information different from the identification information to an updated file when any one of the new file and the copied file is updated to generate the updated file;
a first registration unit configured to register, in count information, an increase in the number of pieces of identification information associated with the first file, when the second identification information becomes associated with the first file, the count information indicating the number of pieces of identification information associated with the first file;
a second registration unit configured to register, in the count information, a decrease in the number of pieces of identification information associated with the first file, in response to an instruction to delete the first management information; and
a deletion unit configured to delete the first management information in response to the instruction to delete the first management information, and to also delete the first file if the count information after the registration by the second registration unit indicates that no identification information is associated with the first file.
7. The apparatus according to claim 6, further comprising an addition unit configured to, when a given file is changed in the file system, add the identification information assigned to the given file to a file that is different from the given file and indicative of a content of the change.
8. A computer program product for file deduplication in a file system by a processor, the computer program product comprising a non-transitory computer-readable storage medium having computer-readable program code portions stored therein, the computer-readable program code portions comprising:
a first executable portion for acquiring identification information which is newly assigned to a file upon creation or update of the file and is inherited by the file from a different file if the file is a copy of the different file, to thereby make a content of the file identifiable;
a second executable portion for determining whether or not first identification information and second identification information match each other, the first identification information being the identification information acquired by the acquisition unit and assigned to a first file, the second identification information being the identification information acquired by the acquisition unit and assigned to a second file;
a third executable portion for, if the first identification information is determined to match the second identification information, preventing the first file and the second file from being stored as duplicate files in the file system;
a third executable portion for registering, in count information, an increase in the number of pieces of identification information associated with the first file, when the second identification information becomes associated with the first file, the count information indicating the number of pieces of identification information associated with the first file;
a fourth executable portion for registering, in count information, an decrease in the number of pieces of identification information associated with the first file, in response to an instruction to delete first management information for managing each file backed up to the file system at the first time point; and
a fifth executable portion for deleting the first management information in response to the instruction to delete the first management information, and to also delete the first file if the count information after the registration by the second registration unit indicates that no identification information is associated with the first file.
9. The computer program product according to claim 8, further comprising:
a sixth executable portion for acquiring the first identification information assigned to the first file backed up to the file system at a first time point, from the first management information for managing each file backed up to the file system at the first time point; and
a seventh executable portion for acquiring the second identification information assigned to the second file to be backed up to the file system at a second time point subsequent to the first time point, and
an eighth executable portion for, if the first identification information and the second identification information match each other, preventing the first and second identification information from being copied to the file system at the second time point and that the second identification information is included in second management information and associated with the first file, the second management information for managing each file backed up at the second time point.
10. The computer program product according to claim 8, further comprising
a sixth executable portion for acquiring the first identification information assigned to the first file stored in a server computer, from first management information for managing each file stored in the server computer,
a seventh executable portion for acquiring the second identification information assigned to the second file stored in a client computer, from second management information for managing each file stored in the client computer, and
an eighth executable portion for, if the first identification information and the second identification information match each other, deleting the second file from the client computer.
11. The computer program product according to claim 8, further comprising:
a sixth executable portion for acquiring the first identification information assigned to the first file stored in a server computer, from management information for managing each file stored in the server computer; and
a seventh executable portion for acquiring the second identification information from data in an electronic mail received by a client computer, the second identification information being assigned to the second file attached to the electronic mail, and
an eighth executable portion for, if the first identification and the second identification match each other, preventing the second file from being saved in the client computer.
US13/240,042 2010-10-25 2011-09-22 File deduplication in a file system Expired - Fee Related US8812460B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US13/534,735 US9256610B2 (en) 2010-10-25 2012-06-27 File deduplication in a file system
US15/007,322 US9710336B2 (en) 2010-10-25 2016-01-27 File deduplication in a file system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2010238487A JP5650982B2 (en) 2010-10-25 2010-10-25 Apparatus and method for eliminating file duplication
JP2010-238487 2010-10-25
JP20100238487 2010-10-25

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/534,735 Continuation US9256610B2 (en) 2010-10-25 2012-06-27 File deduplication in a file system

Publications (2)

Publication Number Publication Date
US20120102000A1 US20120102000A1 (en) 2012-04-26
US8812460B2 true US8812460B2 (en) 2014-08-19

Family

ID=45973829

Family Applications (3)

Application Number Title Priority Date Filing Date
US13/240,042 Expired - Fee Related US8812460B2 (en) 2010-10-25 2011-09-22 File deduplication in a file system
US13/534,735 Expired - Fee Related US9256610B2 (en) 2010-10-25 2012-06-27 File deduplication in a file system
US15/007,322 Expired - Fee Related US9710336B2 (en) 2010-10-25 2016-01-27 File deduplication in a file system

Family Applications After (2)

Application Number Title Priority Date Filing Date
US13/534,735 Expired - Fee Related US9256610B2 (en) 2010-10-25 2012-06-27 File deduplication in a file system
US15/007,322 Expired - Fee Related US9710336B2 (en) 2010-10-25 2016-01-27 File deduplication in a file system

Country Status (2)

Country Link
US (3) US8812460B2 (en)
JP (1) JP5650982B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150212900A1 (en) * 2012-12-05 2015-07-30 Hitachi, Ltd. Storage system and method of controlling storage system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8468138B1 (en) * 2011-12-02 2013-06-18 International Business Machines Corporation Managing redundant immutable files using deduplication in storage clouds
US9262429B2 (en) 2012-08-13 2016-02-16 Microsoft Technology Licensing, Llc De-duplicating attachments on message delivery and automated repair of attachments
US9195736B2 (en) 2013-08-07 2015-11-24 Red Hat, Inc. System and method for content storage
KR102187127B1 (en) * 2013-12-03 2020-12-04 삼성전자주식회사 Deduplication method using data association and system thereof
US9003200B1 (en) * 2014-09-22 2015-04-07 Storagecraft Technology Corporation Avoiding encryption of certain blocks in a deduplication vault
US10853257B1 (en) * 2016-06-24 2020-12-01 EMC IP Holding Company LLC Zero detection within sub-track compression domains
CN108073355B (en) * 2016-11-15 2020-03-17 杭州海康威视数字技术股份有限公司 Data storage and deletion method and device
CN116594961B (en) * 2023-07-19 2023-09-22 安徽华云安科技有限公司 File processing method, device, equipment and storage medium

Citations (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05135108A (en) 1990-03-27 1993-06-01 Sun Microsyst Inc Method and apparatus for organizing database
JP2001057564A (en) 1999-08-18 2001-02-27 Sony Corp Device and method for transmission, device and method for reception, transmission and reception system and medium
JP2003524243A (en) 2000-02-18 2003-08-12 アヴァマー テクノロジーズ インコーポレイテッド Hash file system and method used in commonality factoring system
JP2004280283A (en) 2003-03-13 2004-10-07 Hitachi Ltd Distributed file system, distributed file system server, and access method to distributed file system
JP2005050165A (en) 2003-07-29 2005-02-24 Hitachi Ltd Method for managing file of distributed storage device and distributed storage system
US6889297B2 (en) 2001-03-23 2005-05-03 Sun Microsystems, Inc. Methods and systems for eliminating data redundancies
US20060179037A1 (en) * 2005-02-07 2006-08-10 Turner Bryan C Arrangement for a distributed file system having data objects mapped independent of any data object attribute
US7149750B2 (en) * 2001-12-19 2006-12-12 International Business Machines Corporation Method, system and program product for extracting essence from a multimedia file received in a first format, creating a metadata file in a second file format and using a unique identifier assigned to the essence to access the essence and metadata file
US20090132619A1 (en) * 2007-11-20 2009-05-21 Hitachi, Ltd. Methods and apparatus for deduplication in storage system
JP2009116839A (en) 2007-10-19 2009-05-28 Hitachi Ltd Content transfer system, content transfer method and home server
US20090144343A1 (en) * 2005-06-21 2009-06-04 Apple Inc. Peer-to-peer n-way syncing in decentralized environment
US20090144300A1 (en) * 2007-08-29 2009-06-04 Chatley Scott P Coupling a user file name with a physical data file stored in a storage delivery network
US20090150477A1 (en) * 2007-12-07 2009-06-11 Brocade Communications Systems, Inc. Distributed file system optimization using native server functions
JP2009237979A (en) 2008-03-27 2009-10-15 Hitachi Software Eng Co Ltd Information processing device and method, and program
JP2009282604A (en) 2008-05-20 2009-12-03 Nec Corp Duplicated data exclusion system, duplicated data exclusion method, and duplicated data exclusion program
WO2010100733A1 (en) 2009-03-05 2010-09-10 日立ソフトウエアエンジニアリング株式会社 Integral double exclusion system, data storage device, and server device
US7797279B1 (en) 2007-12-31 2010-09-14 Emc Corporation Merging of incremental data streams with prior backed-up data
US20100306176A1 (en) * 2009-01-28 2010-12-02 Digitiliti, Inc. Deduplication of files
US20120036107A1 (en) * 2001-01-11 2012-02-09 F5 Networks, Inc. Rule based aggregation of files and transactions in a switched file system
US8131687B2 (en) 2008-11-13 2012-03-06 International Business Machines Corporation File system with internal deduplication and management of data blocks
US8468320B1 (en) * 2008-06-30 2013-06-18 Symantec Operating Corporation Scalability of data deduplication through the use of a locality table

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08328762A (en) * 1995-06-06 1996-12-13 Mitsubishi Electric Corp Semiconductor disk device and memory management method therefor

Patent Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05135108A (en) 1990-03-27 1993-06-01 Sun Microsyst Inc Method and apparatus for organizing database
JP2001057564A (en) 1999-08-18 2001-02-27 Sony Corp Device and method for transmission, device and method for reception, transmission and reception system and medium
JP2003524243A (en) 2000-02-18 2003-08-12 アヴァマー テクノロジーズ インコーポレイテッド Hash file system and method used in commonality factoring system
US20120036107A1 (en) * 2001-01-11 2012-02-09 F5 Networks, Inc. Rule based aggregation of files and transactions in a switched file system
US6889297B2 (en) 2001-03-23 2005-05-03 Sun Microsystems, Inc. Methods and systems for eliminating data redundancies
US7149750B2 (en) * 2001-12-19 2006-12-12 International Business Machines Corporation Method, system and program product for extracting essence from a multimedia file received in a first format, creating a metadata file in a second file format and using a unique identifier assigned to the essence to access the essence and metadata file
JP2004280283A (en) 2003-03-13 2004-10-07 Hitachi Ltd Distributed file system, distributed file system server, and access method to distributed file system
JP2005050165A (en) 2003-07-29 2005-02-24 Hitachi Ltd Method for managing file of distributed storage device and distributed storage system
US20060179037A1 (en) * 2005-02-07 2006-08-10 Turner Bryan C Arrangement for a distributed file system having data objects mapped independent of any data object attribute
US8229985B2 (en) * 2005-02-07 2012-07-24 Cisco Technology, Inc. Arrangement for a distributed file system having data objects mapped independent of any data object attribute
US20090144343A1 (en) * 2005-06-21 2009-06-04 Apple Inc. Peer-to-peer n-way syncing in decentralized environment
US8321374B2 (en) * 2005-06-21 2012-11-27 Apple Inc. Peer-to-peer N-way syncing in decentralized environment
US20090144300A1 (en) * 2007-08-29 2009-06-04 Chatley Scott P Coupling a user file name with a physical data file stored in a storage delivery network
JP2009116839A (en) 2007-10-19 2009-05-28 Hitachi Ltd Content transfer system, content transfer method and home server
US20090132619A1 (en) * 2007-11-20 2009-05-21 Hitachi, Ltd. Methods and apparatus for deduplication in storage system
US20090150477A1 (en) * 2007-12-07 2009-06-11 Brocade Communications Systems, Inc. Distributed file system optimization using native server functions
US7797279B1 (en) 2007-12-31 2010-09-14 Emc Corporation Merging of incremental data streams with prior backed-up data
JP2009237979A (en) 2008-03-27 2009-10-15 Hitachi Software Eng Co Ltd Information processing device and method, and program
JP2009282604A (en) 2008-05-20 2009-12-03 Nec Corp Duplicated data exclusion system, duplicated data exclusion method, and duplicated data exclusion program
US8468320B1 (en) * 2008-06-30 2013-06-18 Symantec Operating Corporation Scalability of data deduplication through the use of a locality table
US8131687B2 (en) 2008-11-13 2012-03-06 International Business Machines Corporation File system with internal deduplication and management of data blocks
US20100306176A1 (en) * 2009-01-28 2010-12-02 Digitiliti, Inc. Deduplication of files
WO2010100733A1 (en) 2009-03-05 2010-09-10 日立ソフトウエアエンジニアリング株式会社 Integral double exclusion system, data storage device, and server device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150212900A1 (en) * 2012-12-05 2015-07-30 Hitachi, Ltd. Storage system and method of controlling storage system
US9952936B2 (en) * 2012-12-05 2018-04-24 Hitachi, Ltd. Storage system and method of controlling storage system

Also Published As

Publication number Publication date
JP5650982B2 (en) 2015-01-07
US20120102000A1 (en) 2012-04-26
US9256610B2 (en) 2016-02-09
US9710336B2 (en) 2017-07-18
US20160246682A1 (en) 2016-08-25
US20120271800A1 (en) 2012-10-25
JP2012093827A (en) 2012-05-17

Similar Documents

Publication Publication Date Title
US9710336B2 (en) File deduplication in a file system
US10983868B2 (en) Epoch based snapshot summary
US9396073B2 (en) Optimizing restores of deduplicated data
US20170300550A1 (en) Data Cloning System and Process
US20170060924A1 (en) B-Tree Based Data Model for File Systems
KR102187127B1 (en) Deduplication method using data association and system thereof
US20180060348A1 (en) Method for Replication of Objects in a Cloud Object Store
US20170039107A1 (en) Space efficient cascading point in time copying
JP2014120160A (en) Data block backup system and method thereof
WO2015049747A1 (en) Data management system and method
US11500817B2 (en) Asynchronous deletion of large directories
CN111045857A (en) Method for data backup and recovery, electronic device and computer readable storage medium
US20230016352A1 (en) Methods for managing snapshots in a distributed de-duplication system and devices thereof
US20230058980A1 (en) Updating a virtual machine backup
US11580015B2 (en) Garbage collection for a deduplicated cloud tier using functions
US9875249B1 (en) Reducing database fragmentation
US10776321B1 (en) Scalable de-duplication (dedupe) file system
US11163748B1 (en) Fingerprint backward compatibility in deduplication backup systems
US10860212B1 (en) Method or an apparatus to move perfect de-duplicated unique data from a source to destination storage tier
US10949088B1 (en) Method or an apparatus for having perfect deduplication, adapted for saving space in a deduplication file system
US11016933B2 (en) Handling weakening of hash functions by using epochs
US11204893B2 (en) Methods for facilitating efficient storage operations using variable length encoded segment maps for deduplicated objects and devices thereof
WO2012053152A1 (en) Storage system, data management device, method and program
US10877945B1 (en) Optimized block storage for change block tracking systems
US20190034282A1 (en) Offline repopulation of cache

Legal Events

Date Code Title Description
AS Assignment

Owner name: INTERNATIONAL BUSINESS MACHINES CORPORATION, NEW Y

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:TOSAKA, EIJI;REEL/FRAME:027034/0463

Effective date: 20110921

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.)

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Expired due to failure to pay maintenance fee

Effective date: 20180819