Method and apparatus for splitting and merging file systems
First Claim
Patent Images
1. A method for merging file systems, the method comprising:
- including a first storage object in a set of storage objects, whereineach storage object in the set of storage objects is a device used to store data,the first storage object comprises a portion of a first file system stored in the first storage object, andthe set of storage objects comprisesa second storage object, anda second file system stored in the set of storage objects;
integrating metadata from the first file system with metadata from the second file system, such that the first and second file systems are merged into a single file system, whereinthe metadata from the first file system comprises a listing of inode identifiers corresponding to files in the first file system,the first file system is a multi-volume file system,the first storage object is an extracted member of multiple volumes of the first file system, andthe second file system is a multi-volume file system;
selecting a selected directory file in the second file system to be linked to the first file system;
associating a root node of the first file system with the selected directory file; and
including a two-dimensional identification of inodes of the single file system in an inode identification scheme, whereinthe two-dimensional identification of inodes includes one dimension that is an identifier for an inode list to which an inode belongs and a second dimension which is an inode number itself,wherein an inode identifier comprises the inode number and the inode list identifier, wherein the inode list identifier identifies the first file system, and the inode list identifier uniquely identifies a file in the first file system over any file in the second file system.
8 Assignments
0 Petitions
Accused Products
Abstract
Methods and computer program products that provide for extracting a portion of a file system for use as an independent file system and merging a file system into another file system are presented. One or more storage objects containing data from a multi-volume file system can be extracted from the multi-volume file system. One or more storage objects containing a first file system can be merged with one or more other storage objects containing a second file system, thus forming a merged file system.
88 Citations
7 Claims
-
1. A method for merging file systems, the method comprising:
-
including a first storage object in a set of storage objects, wherein each storage object in the set of storage objects is a device used to store data, the first storage object comprises a portion of a first file system stored in the first storage object, and the set of storage objects comprises a second storage object, and a second file system stored in the set of storage objects; integrating metadata from the first file system with metadata from the second file system, such that the first and second file systems are merged into a single file system, wherein the metadata from the first file system comprises a listing of inode identifiers corresponding to files in the first file system, the first file system is a multi-volume file system, the first storage object is an extracted member of multiple volumes of the first file system, and the second file system is a multi-volume file system; selecting a selected directory file in the second file system to be linked to the first file system; associating a root node of the first file system with the selected directory file; and including a two-dimensional identification of inodes of the single file system in an inode identification scheme, wherein the two-dimensional identification of inodes includes one dimension that is an identifier for an inode list to which an inode belongs and a second dimension which is an inode number itself, wherein an inode identifier comprises the inode number and the inode list identifier, wherein the inode list identifier identifies the first file system, and the inode list identifier uniquely identifies a file in the first file system over any file in the second file system. - View Dependent Claims (2, 3, 4)
-
-
5. A computer-readable storage medium comprising:
-
a first set of instructions, executable on a computer system, configured to include a first storage object in a set of storage objects, wherein each storage object of the plurality of storage objects is a device used to store data, the first storage object comprises a first file system stored in the first storage object, and the set of storage objects comprises a second storage object, and a second file system stored in the set of storage objects; and a second set of instructions, executable on the computer system, configured to; integrate metadata from the first file system with metadata from the second file system, such that the first and second file systems are merged into a single file system, wherein the metadata from the first file system comprises a listing of inode identifiers corresponding to files in the first file system, the first file system is a multi-volume file system, the first storage object is an extracted member of multiple volumes of the first file system, and the second file system is a multi-volume file system; select a selected directory file in the second file system to be linked to the first file system; associate a root node of the first file system with the selected directory file; and include a two-dimensional identification of inodes of the single file system in an inode identification scheme, wherein the two-dimensional identification of inodes includes one dimension that is an identifier for an inode list to which an inode belongs and a second dimension which is an inode number itself, wherein an inode identifier comprises the inode number and the inode list identifier, wherein the inode list identifier identifies the first file system, and the inode list identifier uniquely identifies a file in the first file system over any file in the second file system. - View Dependent Claims (6, 7)
-
Specification