Managing redundant immutable files using deduplication in storage clouds
First Claim
1. A system for file deduplication implemented in hardware and comprising a computer infrastructure comprising at least one computer device operable to:
- receive, by the at least one computer device, a request to save a first file as immutable;
determine, by the at least one computer device, a plurality of second files that are redundant to the first file;
determine, by the at least one computer device, each one of the plurality of second files is immutable;
identify, by the at least one computer device, a file having a latest expiration date from a group comprising the first file and the plurality of second files;
save, by the at least one computer device, the file having the latest expiration date as a master copy; and
replace, by the at least one computer device, each file in the group, except for the file having the latest expiration date, with a respective data structure pointing to the master copy.
1 Assignment
0 Petitions
Accused Products
Abstract
A method includes receiving a request to save a first file as immutable. The method also includes searching for a second file that is saved and is redundant to the first file. The method further includes determining the second file is one of mutable and immutable. When the second file is mutable, the method includes saving the first file as a master copy, and replacing the second file with a soft link pointing to the master copy. When the second file is immutable, the method includes determining which of the first and second files has a later expiration date and an earlier expiration date, saving the one of the first and second files with the later expiration date as a master copy, and replacing the one of the first and second files with the earlier expiration date with a soft link pointing to the master copy.
23 Citations
10 Claims
-
1. A system for file deduplication implemented in hardware and comprising a computer infrastructure comprising at least one computer device operable to:
-
receive, by the at least one computer device, a request to save a first file as immutable; determine, by the at least one computer device, a plurality of second files that are redundant to the first file; determine, by the at least one computer device, each one of the plurality of second files is immutable; identify, by the at least one computer device, a file having a latest expiration date from a group comprising the first file and the plurality of second files; save, by the at least one computer device, the file having the latest expiration date as a master copy; and replace, by the at least one computer device, each file in the group, except for the file having the latest expiration date, with a respective data structure pointing to the master copy. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer program product comprising a computer readable hardware storage device having readable program code stored on the computer readable hardware storage device, the program code comprising:
-
program code to receive a request to save a first file as immutable in a shared storage, wherein the request is received from a local computing device remote from the shared storage; program code to identify at least one second file that is saved in the shared storage and is redundant to the first file; program code to determine the at least one second file is one of mutable and immutable; program code to, when the at least one second file is mutable, save the first file as a master copy, and replace each of the at least one second file with a respective soft link pointing to the master copy; and program code to, when the at least one second file is immutable;
identify a file having a latest expiration date from a group comprising the first file and the at least one second file;
save the file having the latest expiration date as a master copy; and
replace each file in the group, except for the file having the latest expiration date, with a respective data structure pointing to the master copy.
-
Specification