Method and apparatus for splitting a replicated volume
First Claim
Patent Images
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 volume location database to store corresponding volume names and locations;
a volume manager to redirect a client from the second replicated instance of the source volume to the first replicated instance of the source volume using the volume location database;
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 to notify the volume manager when 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 responsive to verification that each file in the copy of the split path on the second replicated instance of the source volume is closed while allowing the client to access each file in the split path on the first replicated instance of the source volume, wherein the volume manager is operative to insert a junction in the second replicated instance of the source volume pointing to the target volume after the subdirectory mover moves each file in the split path on the first replicated instance of the source volume to the target volume and to delete 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.
-
Citations
23 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 volume location database to store corresponding volume names and locations; a volume manager to redirect a client from the second replicated instance of the source volume to the first replicated instance of the source volume using the volume location database; 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 to notify the volume manager when 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 responsive to verification that each file in the copy of the split path on the second replicated instance of the source volume is closed while allowing the client to access each file in the split path on the first replicated instance of the source volume, wherein the volume manager is operative to insert a junction in the second replicated instance of the source volume pointing to the target volume after the subdirectory mover moves each file in the split path on the first replicated instance of the source volume to the target volume and to delete 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 including verifying that each file in the split path on the second replicated instance of the source volume is not being currently accessed by a user, wherein the split path includes a split directory; notifying a volume manager that each file in the split path on the second replicated instance of the source volume is closed; copying each file in a corresponding split path on the first replicated instance of the source volume to the target volume responsive to the notifying that each file in the split path on the second replicated instance of the source volume is closed; 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 pointing to the first DFS GUID assigned to the first replicated instance of the source volume; and updating the second replicated instance of the source volume. - View Dependent Claims (9, 10, 11, 12)
-
-
13. A computer apparatus to move a subdirectory tree from a replicated storage volume to a target storage 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 storage volume, a second entry including a second assignment of the first DFS GUID to a second replicated instance of the source storage volume, and a third entry including a third assignment of a second DFS GUID to the target storage 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 storage volume; a volume manager including a junction creator to insert a first junction at the second replicated instance of the source storage volume pointing to the temporary DFS GUID assigned to the first replicated instance of the source storage volume; and a file verifier to verify that each file in a split path on the second replicated instance of the source storage volume is closed and to notify the volume manager when each file in the split path on the second replicated instance of the source storage volume is closed. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. 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 including verifying each file in the split path on the second replicated instance of the source volume is not being currently accessed by a user; notifying a volume manager that each file in the 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 responsive to the notifying that each file in the split path on the second replicated instance of the source volume is closed; 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 pointing to the first DFS GUID assigned to the first replicated instance of the source volume; and updating the second replicated instance of the source volume. - View Dependent Claims (20, 21, 22, 23)
-
Specification