Veritas File System 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008
The current typed format is used on regular files and directories only when
indirection is needed. Typed records are longer than the previous format and
require less direct entries in the inode. Newly created files start out using the old
format, which allows for ten direct extents in the inode. The inode's block map is
converted to the typed format when indirection is needed to offer the advantages
of both formats.
Extent attributes
VxFS allocates disk space to files in groups of one or more extents. VxFS also
allows applications to control some aspects of the extent allocation. Extent
attributes are the extent allocation policies associated with a file.
The setext and getext commands allow the administrator to set or view extent
attributes associated with a file, as well as to preallocate space for a file.
See the setext(1M) and getext(1M) manual pages.
The vxtunefs command allows the administrator to set or view the default indirect
data extent size of a file system.
See the vxtunefs(1M) manual page.
Fast file system recovery
Most file systems rely on full structural verification by the fsck utility as the only
means to recover from a system failure. For large disk configurations, this involves
a time-consuming process of checking the entire structure, verifying that the file
system is intact, and correcting any inconsistencies. VxFS provides fast recovery
with the VxFS intent log and VxFS intent log resizing features.
VxFS intent log
VxFS reduces system failure recovery times by tracking file system activity in the
VxFS intent log. This feature records pending changes to the file system structure
in a circular intent log. The intent log recovery feature is not readily apparent to
users or a system administrator except during a system failure. During system
failure recovery, the VxFS fsck utility performs an intent log replay, which scans
the intent log and nullifies or completes file system operations that were active
when the system failed. The file system can then be mounted without completing
a full structural check of the entire file system. Replaying the intent log may not
completely recover the damaged file system structure if there was a disk hardware
failure; hardware problems may require a complete system check using the fsck
utility provided with VxFS.
See “The log option and data integrity” on page 18.
Introducing Veritas File System
Veritas File System features
16