Method for reliable and efficient filesystem metadata conversion
AssigneeQuantum Corporation
InventorTim LaBerge
Life of this patent
Estimating the term…
Abstract
A method for converting metadata in a hierarchical configuration within a filesystem from a first format to a second format includes reading metadata in the first format within the hierarchical configuration; writing the metadata from the hierarchical configuration into a flat file; and writing the metadata back into the hierarchical configuration, the metadata being in the second format. The method can also include increasing the size of each of a first inode and a second inode within a first inode chunk in the filesystem, assigning the first inode to the first inode chunk, and assigning the second inode to a second inode chunk.
Claims17
A method for converting metadata in a hierarchical configuration within a filesystem from a first format to a second format, the method comprising the steps of:
- reading metadata that is in the first format within the hierarchical configuration;
- increasing the size of each of a first inode and a second inode within a first inode chunk in the filesystem, the first inode including an original first inode number and the second inode including an original second inode number;
- assigning the first inode to the first inode chunk and retaining the original first inode number for the first inode;
- assigning the second inode to a second inode chunk and assigning a new second inode number for the second inode;
- writing the metadata into a flat file;
- and
- writing the metadata back into the hierarchical configuration, the metadata being in the second format.
A method for converting metadata in a filesystem from a first format to a second format, the method comprising the steps of:
- increasing the size of each of a first inode and a second inode within a first inode chunk in the filesystem, the first inode having an original first inode number and the second inode having an original second inode number:
- assigning the first inode to the first inode chunk;
- assigning the second inode to a second inode chunk;
- and
- constructing a global mapping system that relates the physical location of the first inode chunk to the physical location of the second inode chunk, the constructing including retaining the original first inode number for the first inode and assigning a new second inode number for the second inode.
A method for converting metadata in a hierarchical configuration within a filesystem from a first format to a second format, the method comprising the steps of:
- increasing the size of each of a first inode and a second inode within a first inode chunk in the filesystem, the first inode including an original first inode number and the second inode including an original second inode number;
- assigning the first inode to the first inode chunk and retaining the original first inode number for the first inode;
- assigning the second inode to a second inode chunk and assigning a new second inode number for the second inode;
- writing a plurality of directory extents from a first location within the filesystem to a second location, each directory extent identifying a physical location and a length of a contiguous range of directory blocks;
- and
- arranging the directory extents so that the contiguous ranges of directory blocks are listed in substantially the same order as the directory extents were listed at the first location within the filesystem.
Dependencies are inferred from the claim text.