发明名称 File system consistency check on part of a file system
摘要 A file system that includes multiple logical devices can be subdivided into multiple containers. The containers each include respective non-overlapping sets of the logical devices. An amount of memory allocated to a container is dynamic. A set of the containers can be selected for a file system consistency check. The file system consistency check is performed on only the set of the containers instead of on the entire file system.
申请公布号 US9223788(B2) 申请公布日期 2015.12.29
申请号 US201012942753 申请日期 2010.11.09
申请人 Symantec Corporation 发明人 Ranade Dilip Madhusudan;Patwardhan Kedar Shrikrishna
分类号 G06F17/00;G06F17/30;G06F11/07;G06F7/00 主分类号 G06F17/00
代理机构 Wilmer Cutler Pickering Hale and Dorr LLP 代理人 Wilmer Cutler Pickering Hale and Dorr LLP
主权项 1. A non-transitory computer-readable storage medium having computer-executable instructions for causing a computer system to perform a method comprising: accessing a file system comprising a plurality of logical devices, wherein said file system comprises a multi-tier file system that includes a first tier having a first hardware configuration and a second tier having a second hardware configuration different from the first hardware configuration, the second hardware configuration having a performance different from the first hardware configuration; subdividing said logical devices into a plurality of containers, wherein said containers comprise respective non-overlapping sets of said logical devices, wherein an amount of memory allocated to each container is dynamic, wherein a first of the plurality of containers includes a logical device entirely arranged in the first tier and a second of the plurality of containers includes logical devices spanning the first tier and the second tier; wherein said logical devices comprise devices identified by LUNs (logical unit numbers), and wherein said LUNs are used to define members of said containers; dynamically reducing an amount of memory allocated to one of said containers when a measure of free memory in said one container exceeds a threshold amount due to file activity within said one container, wherein dynamically reducing comprises reorganizing free blocks of said one container to an end of said one container; selecting a set of said containers for a file system consistency check; and performing said file system consistency check on only said set of said containers such that a remainder of containers within said file system are not checked, wherein said set of containers is offline and inaccessible to applications and said remainder of containers is online and accessible to applications during said file system consistency check, and wherein said file system consistency check comprises reading and checking a list of inodes, reading a block map associated with each inode in said list of inodes, generating an inode list for each container within said set of containers, and constraining said file system consistency check to inodes associated with said set of containers, wherein a plurality of operations are performed during said file system consistency check, the plurality of operations including a check of file names associated with each of the containers within the set of containers, a check of inodes associated with each of the containers within the set of containers, a check of back pointers associated with the inodes, and a determination of a number of free inodes, and wherein one of a plurality of corrective measures are performed when an error is detected during one of the plurality of operations, the corrective measure performed depending upon the error detected.
地址 Mountain View CA US