3.7.0 HP StorageWorks HP Scalable NAS File Serving Software command reference guide HP Scalable NAS for Linux (AG513-96003, October 2009)
• For a psv device, the device is specified as /dev/psv/psvXXX, where XXX is
the volume number. For example, /dev/psv/psv1.
You do not need to specify the full path name. A name such as psd6p4 or psv1 will
work.
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 for checking a filesystem 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
need this option only 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.
If --rebuild-tree encounters any files that had been open and unlinked,
psfsck will move the files into the lost+found directory.
--rebuild-sb
Rebuild the superblock.
--rebuild-quotas
Repair any errors in the quota metadata and recalculate user and group quota
allocations.
--interactive, -i
Stop psfsck after each pass is completed.
--quiet, -q
Prevent psfsck from reflecting its progress.
--logfile filename, -l logfilename
HP Scalable NAS File Serving Software command reference guide 59