Managing filesystem types

Fast filesystem recovery for vxfs

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.

NOTE: A full structural mode of the fsck utility is still provided and must be run to recover from a disk hardware failure. Invoke fsck with the -ofull option.

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004