HP-UX Reference (11i v2 03/08) - 1M System Administration Commands A-M (vol 3)
f
fsck_vxfs(1M) fsck_vxfs(1M)
If fsck encounters a large file on an older OS version, the command stops without completing the file sys-
tem check.
RETURN VALUES
Structural errors discovered during a full check are displayed on standard output. Responses required
during a full check are read from standard input.
The following return codes are used for the
-m option for all devices other than the one used by the root
file system:
0 The file system is unmounted and clean.
32 The file system is unmounted and needs checking.
33 The file system is mounted.
34 The stat of the device failed.
Other The state could not be determined because of an error.
The following return codes are used for the
-m option for the device used by the root file system:
0 The root file system is mounted read-only and is clean, or the root file system is mounted
read/write and therefore is clean.
32 The root file system is mounted read-only and needs checking.
34 The stat of the device failed.
Other The state could not be determined because of an error.
In most cases,
fsck prints the following messages:
log replay in progress
replay complete - marking super-block as CLEAN
If the file system is already clean, fsck prints the following message instead:
file system is clean - log replay is not required
If fsck prints any other messages, a full structural check is needed. If the -y
option is specified, fsck
performs (if necessary) a full check after running the intent log replay. If the -y
option is not used, fsck
must be invoked with the -o full option to perform a full structural check.
If
-o p or -P is specified, fsck prints the following messages for a device, for example
/dev/rdsk/c0t0d0:
/dev/rdsk/c0t0d0:log replay in progress
/dev/rdsk/c0t0d0:replay complete - marking super-block as CLEAN
DIAGNOSTICS
All error messages that relate to the contents of a file system produced during a log replay are displayed
on standard output. All I/O failures and exit messages are displayed on standard error output.
WARNINGS
-o mounted allows a full check of a mounted file system. -o mounted is only used internally as
part of the primary cluster node recovery process after the primary fails. Never enter this option from the
command line as it can destroy a file system if not used correctly.
SEE ALSO
fsck(1M), fsck_hfs(1M), mkfs(1M), mkfs_vxfs(1M), ncheck_vxfs(1M), fs_vxfs(4).
Section 1M−−224 Hewlett-Packard Company − 3 − HP-UX 11i Version 2: August 2003