METHOD AND APPARATUS FOR SPLITTING A REPLICATED VOLUME
First Claim
1. A system to move a subdirectory tree, comprising:
- a computer;
a first replicated instance of a source volume;
a directory tree on the first replicated instance of the source volume, the directory tree including a split path, the split path including a split directory;
a second replicated instance of the source volume, the second replicated instance including a copy of the directory tree, the copy of the directory tree including a copy of the split path, the copy of the split path including a split directory;
a target volume;
a means for redirecting a client from the second replicated instance of the source volume to the first replicated instance of the source volume;
a file verifier to verify that each file in the copy of the split path on the second replicated instance of the source volume is closed; and
a subdirectory mover to move each file in the split path on the first replicated instance of the source volume to the target volume while allowing the client to access each file in the split path on the first replicated instance of the source volume.
3 Assignments
0 Petitions
Accused Products
Abstract
At least two replicated instances of a source volume are split while allowing clients to access data moved during the split. Clients are redirected to the first replicated instance of the source volume. The first replicated instance is split by first moving files in a split path from the first replicated instance to the target volume. Then, after the files in the split path have been successfully moved to the target volume, a junction is inserted at the split directory to redirect clients to the target volume. After the first replicated instance is split, a second junction replaces the split path on the replicated instance of the first replicated instance.
49 Citations
24 Claims
-
1. A system to move a subdirectory tree, comprising:
-
a computer; a first replicated instance of a source volume; a directory tree on the first replicated instance of the source volume, the directory tree including a split path, the split path including a split directory; a second replicated instance of the source volume, the second replicated instance including a copy of the directory tree, the copy of the directory tree including a copy of the split path, the copy of the split path including a split directory; a target volume; a means for redirecting a client from the second replicated instance of the source volume to the first replicated instance of the source volume; a file verifier to verify that each file in the copy of the split path on the second replicated instance of the source volume is closed; and a subdirectory mover to move each file in the split path on the first replicated instance of the source volume to the target volume while allowing the client to access each file in the split path on the first replicated instance of the source volume. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer-implemented method to move a subdirectory tree on a first replicated instance of a source volume to a target volume, comprising:
-
assigning to the first replicated instance of the source volume a first distributed file system globally unique identifier (DFS GUID); inserting at a second replicated instance of the source volume a first junction pointing to the first DFS GUID; verifying each file in a split path on the second replicated instance of the source volume is closed, wherein the split path includes a split directory; copying each file in a corresponding split path on the first replicated instance of the source volume to the target volume; assigning to the target volume a second DFS GUIlD; inserting at the split directory on the first replicated instance of the source volume a second junction pointing to the second DFS GUID; deleting each file in the split path on the first replicated instance of the source volume; removing from the second replicated instance of the source volume the first junction to the first DFS GUID assigned to the first replicated instance of the source volume; and propagating in the second replicated instance of the source volume the move of the files in the split path from the first replicated instance of the source volume to the target volume. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer apparatus to move a subdirectory tree from a replicated volume to a target volume, comprising:
-
a volume locator database (VLDB) to store a first entry including a first assignment of a first distributed file system globally unique identifier (DFS GUID) to a first replicated instance of a source volume, a second entry including a second assignment of the first DFS GUID to a second replicated instance of the source volume, and a third entry including a third assignment of a second DFS GUID to the target volume; a DFS GUID creator to create a fourth entry in the VLDB including a fourth assignment of a temporary DFS GUID to the first replicated instance of the source volume; and a volume manager including a junction creator to insert a first junction at the second replicated instance of the source volume pointing to the temporary DFS GUID assigned to the first replicated instance of the source volume. - View Dependent Claims (14, 15, 16, 17, 18, 19)
-
-
20. An article, comprising a storage medium, said storage medium having stored thereon instructions, that, when executed by a machine, result in:
-
assigning to a first replicated instance of a source volume a first distributed file system globally unique identifier (DFS GUID); inserting at a split directory of a second replicated instance of the source volume a first junction pointing to the first DFS GUID; verifying each file in a split path on the second replicated instance of the source volume is closed; copying each file in the split path on the first replicated instance of the source volume to a target volume; assigning to the target volume a second DFS GUID; inserting at the split directory on the first replicated instance of the source volume a second junction pointing to the second DFS GUID; deleting each file in the split path on the first replicated instance of the source volume; removing from the second replicated instance of the source volume the first junction to the first DFS GUID assigned to the first replicated instance of the source volume; and propagating in the second replicated instance of the source volume the move of the files in the split path from the first replicated instance of the source volume to the target volume. - View Dependent Claims (21, 22, 23, 24)
-
Specification