10.2;salvol (salvage_volume), revision 1.0, 89/01/30
salvol (salvage_volume) - verify and correct allocation of disk blocks.
usage: salvol [options] [lv_num]
DESCRIPTION
Each logical volume is divided into disk blocks. salvol verifies and, if
necessary, corrects the tables that describe the allocation of disk
blocks to the files stored on the disk. salvol also returns to the free
space pool all blocks that are no longer in use: those allocated to
temporary files or to deleted portions of permanent files.
salvol can usually restore a disk after a system crash or an improper
unmounting of a volume.
If no options are specified on the command line, then salvol prompts for
all required arguments and options.
lv_num (optional)
A decimal value for which logical volume number to salvage.
OPTIONS
-a Read all blocks in all files. This option will take longer to
run and is useful for finding block header errors or file
blocks that cannot be read. This option is not useful for
finding multiply allocated blocks or general disk problems.
-c c[cnum:[d_num]
controller type:
c = {w, s, f} (for winchester, storage module or floppy)
cnum = controller number, if specified, must be followed by a ':'
d_num = drive number
This flag must be specified if any command-line options are
used.
-f Fix error without prompting. (The default is to prompt.)
-h Print help text.
-n Check disk; only salvage if disk needs salvaging. This option
is useful in scripts that mount secondary disks at boot time.
-p Polite mode; pause before overflowing screen. (The default is
offline.)
-s Show some file statistics at completion.
-t Terminal mode, do not pause during output. (The default is
online.)
-v Verify only; do not write anything to disk.