|
|
The s5, sfs, and ufs filesystems rely on the full structural verification of the fsck(1M) command as the only means to recover from a system failure. The fsck command for s5, sfs, and ufs checks the entire structure and verifies that the filesystem is intact and corrects any inconsistencies that are found. For large disk configurations, this process can be time-consuming. See ``Solving filesystem problems'' for more information.
The vxfs filesystem provides recovery only seconds after a system failure by using a tracking feature called ``intent logging''. Intent logging is a circular logging scheme that records pending changes to the filesystem structure. These changes are recorded in an ``intent log.''
Upon recovery from a system failure, the vxfs fsck command scans the intent log, nullifying or completing filesystem operations that were active when the system failed. The filesystem can then be mounted without completing a structural check of the entire filesystem. Except for the fact that vxfs filesystem recovery is completed in a few seconds, the intent log recovery feature is not readily apparent to either the user or the system administrator.