
Chapter 1: HP Clustered File System Commands 34
Copyright © 1999-2005 PolyServe, Inc. All rights reserved.
Description
The psfsck utility looks for a PSFS filesystem on a device, replays
transactions that are to be replayed, and either checks or repairs the
filesystem.
device is a psd or psv device and is specified as follows:
• For a psd device partition, the device is specified as
/dev/psd/psdXXXpYY, where XXX is the drive number and YY is the
partition number. For example, /dev/psd/psd6p4 specifies partition 4
on disk psd6.
• For a non-partitioned psd device, the device is specified as
/dev/psd/psdXXX, where XXX is the drive number. For example,
/dev/psd/psd5.
• For a psv device, the device is specified as /dev/psv/psvXXX, where
XXX is the volume number. For example, /dev/psv/psv1.
When psfsck is running in check mode (the default action), it will attempt
to fix any corruptions that can be repaired without --rebuild-tree. The
types of corruption that can be fixed include: bad pointers to data blocks,
incorrect st_size and st_blocks in a directory, directory entries pointing to
nowhere, incorrect file sizes and modes, and objectid sharing.
NOTE: The psfsck utility requires exclusive access to the device. If it
cannot obtain exclusive access, it will exit with an “ebusy”
message.
The options are:
--check
Check filesystem consistency. This is the default action.
--rebuild-tree
Rebuild the filesystem tree using leaf nodes found on the device.
Normally you only need this option if check mode (without the
-no-modify flag) reports errors that can be fixed only by
--rebuild-tree. You are strongly encouraged to make a backup copy of
the whole partition before attempting to rebuild.
Comentarios a estos manuales