Method of file system recovery logging
AssigneeSun Microsystems, Inc.
InventorMichael A. O'Connor
Life of this patent
Estimating the term…
Abstract
A recovery logging method wherein when a node in a computer network becomes unavailable, file systems which require verification and are locked are logged in a recovery log and checking of other file systems continues. In this manner, the host node effectively utilizes time which would otherwise be spent waiting for a file system to become available. Upon completing available file system verifications, those file systems which were logged are checked for availability via background processing. When a logged file system becomes available, it is then verified. During the time spent waiting for a logged file system to become available, the affected node is available for other processing.
Claims26
A method of file system recovery logging by a node, said method comprising:
- identifying a first file system for checking responsive to initiating a recovery procedure of said node, wherein said first file system corresponds to a file system which was or is attached to said node;
- determining if said first file system requires verification, wherein said determining comprises determining if said first file system corresponds to an unclean system interruption;
- logging said first file system, in response to detecting said first file system requires verification and is locked;
- verifying said first file system, in response to detecting said first file system requires verification and is unlocked;
- checking a log file, wherein said checking comprises a background process;
- determining if a logged file system is locked, wherein said determining comprises a background process;
- and
- verifying said logged file system, in response to detecting said logged file system is unlocked.
A method of file system recovery logging by a node, said method comprising:
- identifying a first file system for checking;
- determining if said first file system requires verification;
- logging said first file system, in response to detecting said first file system requires verification and is locked;
- verifying said first file system, in response to detecting said first file system requires verification and is unlocked, wherein said verifying said first file system includes using an fsck utility;
- checking a log file, wherein said checking comprises a background process;
- determining if a logged file system is locked, wherein said determining comprises a background process;
- and
- verifying said logged file system, in response to detecting said logged file system is unlocked.
A method of file system recovery logging by a node, said method comprising:
- identifying a first file system for checking;
- determining if said first file system requires verification;
- logging said first file system, in response to detecting said first file system requires verification and is locked;
- verifying said first file system, in response to detecting said first file system requires verification and is unlocked;
- checking a log file, wherein said checking comprises a first process which may run concurrently with a second process on said node, wherein said second process includes input and output via a terminal;
- determining if a logged file system is locked, wherein said determining comprises a third process which may run concurrently with a fourth process on said node, wherein said fourth process includes input and output via a terminal;
- and
- verifying said logged file system, in response to detecting said logged file system is unlocked.
A method of file system recovery logging by a node, said method comprising:
- performing a first phase of a recovery procedure of said node, wherein said first phase comprises:
- identifying one or more file systems which are or were attached to said node prior to initiation of said recovery procedure;
- logging a logged file system indication corresponding to a first file system of said file systems, in response to detecting said first file system is dirty and is locked;
- sequentially locking, verifying, and unlocking said first file system, in response to detecting said first file system is dirty and is unlocked;
- performing a second phase of said recovery procedure in response to determining no dirty and unlocked file system remains among said file systems, and in further response to determining a logged file system list is not empty, wherein said second phase comprises:
- periodically checking whether a logged file system is unlocked, wherein said checking is performed as a background process;
- sequentially locking, verifying, unlocking, and removing a second file system from said list of logged file systems, in response to detecting said second file system is a logged file system and is unlocked.
A method of file system recovery logging by a node, said method comprising:
- identifying a first file system for checking;
- determining if said first file system requires verification;
- logging said first file system, in response to detecting said first file system requires verification and is locked;
- verifying said first file system, in response to detecting said first file system requires verification and is unlocked, wherein said verifying said first file system includes verifying links, block, and other structures of said first file system;
- checking a log file, wherein said checking comprises a background process;
- determining if a logged file system is locked, wherein said determining comprises a background process;
- and
- verifying said logged file system, in response to detecting said logged file system is unlocked.
Dependencies are inferred from the claim text.