IPC분류정보
국가/구분 |
United States(US) Patent
등록
|
국제특허분류(IPC7판) |
|
출원번호 |
US-0776129
(2007-07-11)
|
등록번호 |
US-8171000
(2012-05-01)
|
발명자
/ 주소 |
- Seeger, James J.
- Clark, Thomas K.
- Moran, Andreas J.
- Young, Jason C.
|
출원인 / 주소 |
- International Business Machines Corporation
|
대리인 / 주소 |
Lieberman & Brandsdorfer, LLC
|
인용정보 |
피인용 횟수 :
2 인용 특허 :
14 |
초록
▼
A method and system for conducting an integrity check of system and user metadata when the metadata is mounted. A filesystem reviewer is embedded within software of a server node. A mutual exclusion lock is obtained on the selected metadata. An automated verification of the locked metadata is conduc
A method and system for conducting an integrity check of system and user metadata when the metadata is mounted. A filesystem reviewer is embedded within software of a server node. A mutual exclusion lock is obtained on the selected metadata. An automated verification of the locked metadata is conducted while the filesystem is mounted. In addition, an automated salvage of the locked metadata may be conducted while the filesystem is mounted. The verification and/or salvage of the locked metadata can be applied to system, user, and/or a portion of the user metadata.
대표청구항
▼
1. A method for reviewing a data storage system, comprising: providing a file system supporting locks on metadata of local storage media of a node;a file system reviewer obtaining a mutual exclusion lock on select metadata, including user metadata, said file system reviewer embedded within a server
1. A method for reviewing a data storage system, comprising: providing a file system supporting locks on metadata of local storage media of a node;a file system reviewer obtaining a mutual exclusion lock on select metadata, including user metadata, said file system reviewer embedded within a server in communication with the file system;the file system reviewer performing an automated consistency check on said locked metadata to determine validity of data within a locked data structure, wherein the file system is mounted during the consistency check and data referred to by the locked metadata is available, said consistency check including: for each data object identified as a file verifying: a file attribute, a valid parent directory, recording of used space in an associated free map space, an absence of a duplicate block, a link count with a shadow data structure, and a security attribute;for each data object identified as a directory verifying: a directory attribute, a valid parent directory, a directory entry attribute, validity of an object in a container, a link count with a shadow data structure, and a security attribute; andfor each data object identified as a symbolic link verifying a symbolic link attribute; andreporting corruption of inconsistent locked metadata to an operator. 2. The method of claim 1, further comprising performing an automated salvage of inconsistent locked metadata, wherein said salvage includes attempting to make said inconsistent data valid. 3. The method of claim 1, further comprising creating a temporary shadow copy of specified data structures referred to by said metadata and said consistency check detecting orphaned objects in data provided by said shadow copy and blocks in a free space map from data provided by said shadow copy. 4. The method of claim 3, further comprising detecting blocks in said free space map from data provided by said shadow copy, wherein said blocks are selected from the group consisting of: duplicate blocks and orphaned blocks. 5. The method of claim 1, wherein said metadata is selected from the group consisting of: system metadata, a portion of said user metadata, and combinations thereof. 6. A computer system comprising: memory and a processor in communication with storage media;a file system reviewer adapted to obtain a mutual exclusion lock on select metadata, including user metadata, of local storage media of a node, said file system reviewer embedded within a server in communication with the file system;a review manager adapted to conduct an automated consistency check on said locked metadata to determine validity of data within a locked data structure, wherein the file system is mounted during the consistency check and data referred to by the locked metadata is available, said consistency check including: for each data object identified as a file verifying: a file attribute, a valid parent directory, recording of used space in an associated free map space, an absence of a duplicate block, a link count with a shadow data structure, and a security attribute;for each data object identified as a directory verifying: a directory attribute, a valid parent directory, a directory entry attribute, validity of an object in a container, a link count with a shadow data structure, and a security attribute; andfor each data object identified as a symbolic link verifying a symbolic link attribute;a report to communicate corruption of inconsistent locked metadata to an operator. 7. The system of claim 6, further comprising a salvage manager to conduct an automated salvage of inconsistent locked metadata, wherein said salvage includes attempting to make said inconsistent data valid. 8. The system of claim 7, further comprising a shadow copy of specified data structures referred to by said metadata created to prepare for said consistency check, and said review manager to detecting orphaned objects in data provided by said shadow copy and blocks in a free space map from data provided by said shadow copy. 9. The system of claim 8, further comprising said review manager to detect blocks in said free space map from data provided by said shadow copy, wherein said blocks are selected from the group consisting of: duplicate blocks and orphaned blocks. 10. The system of claim 8, wherein said metadata is selected from the group consisting of: system metadata, a portion of said user metadata, and combinations thereof. 11. An article comprising: a computer readable non-transitory carrier including computer program instructions configured to review a data storage system, said instructions comprising: instructions for a file system reviewer to obtain a mutual exclusion lock on select metadata, including user metadata, said file system reviewer embedded within a server in communication with the file system;instructions for a file system reviewer to perform an automated consistency check on said locked metadata to determine validity of data within a locked data structure, wherein the file system is mounted during the consistency check and data referred to by the locked metadata is available, said consistency check including: for each data object identified as a file verifying: a file attribute, a valid parent directory, recording of used space in an associated free map space, an absence of a duplicate block, a link count with a shadow data structure, and a security attribute;for each data object identified as a directory verifying: a directory attribute, a valid parent directory, a directory entry attribute, validity of an object in a container, a link count with a shadow data structure, and a security attribute; andfor each data object identified as a symbolic link verifying a symbolic link attribute;instructions to report corruption of inconsistent locked metadata to an operator. 12. The article of claim 11, further comprising instructions to perform an automated salvage of inconsistent locked metadata, wherein said salvage includes attempting to make said inconsistent data valid. 13. The article of claim 11, further comprising instructions to create a temporary shadow copy of specified data structures referred to by said metadata and said consistency check detecting orphaned objects in data provided by said shadow copy and blocks in a free space map from data provided by said shadow copy. 14. The article of claim 13, further comprising instructions to detect blocks in said free space map from data provided by said shadow copy, wherein said blocks are selected from the group consisting of: duplicate blocks and orphaned blocks. 15. The article of claim 11, wherein said metadata is selected from the group consisting of: system metadata, a portion of said user metadata, and combinations thereof.
※ AI-Helper는 부적절한 답변을 할 수 있습니다.