Patent ID: 8612382

Claim:
A method for use in recovering files in data storage systems, the method comprising: identifying a subset of a set of file system blocks of a file of a file system, wherein the subset of the set of file system blocks are associated with a portion of an inode of the file of the file system, wherein the set of file system blocks of the file are organized in a file system block hierarchy, wherein a file system block includes a data block and an indirect block, wherein a mapping pointer associated with a file system block maps a logical offset of the file system block to a physical block address of the file system block, wherein metadata associated with a file system block includes a logical offset of the file system block and a reference to the inode, wherein mapping information associated with the portion of the inode is missing references to the subset of the set of file system blocks; evaluating metadata of each file system block of the subset of the set of file system blocks; and based on the evaluation, recovering the portion of the inode of the file by updating mapping information associated with the portion of the inode and updating mapping information for each file system block of the subset of the set of file system blocks.