1.32 COMPFIX

Purpose

Use the Compfix utility to repair compressed volumes. Load compfix.nlm on your server, then enter the Compfix command at the server console.

Syntax


compfix -[attribute] [-noheader] path [log_volume]

Parameter

Use to

path

Specify the compressed volume or the individual file that has compression errors you want to repair. For example, volume or volume:\path, where path includes the file name and is in the Long name space.

log_volume

If log_volume is specified, log data is written to log_volume:\compfix.txt.

If log_volume is not specified, log data is written to volume:\compfix.txt.

-noheader

If -nheader is specified, no compression header will be validated. Use this on scanned volumes.

-fs

Fix compression statistics.

-lc

List all corrupted compressed files.

-df

Diagnose an individual compressed file.

-ff

Fix an individual compressed file.

-fc

Fix all fixable corrupted compressed files on the volume.

-bg

Diagnose the background compression effect for an individual file.

-cc

Clears the Cannot Compress (Cc) attribute for files in the specified volume. or for a specified file.

Using COMPFIX to Repair Compressed Volumes

The following table illustrates typical uses of the Compfix utility.

Command

Use to

compfix -fs volume

Fix compression statistics for the specified volume. The specified volume should be in maintenance mode in order for statistics to be computed correctly.

compfix -lc [-noheader] volume [log_volume]

List all corrupted compressed files on the specified volume.

compfix -df [-noheader] volume:\path [log_volume]

Diagnose an individual compressed file.

compfix -ff volume:\path

Fix an individual compressed file.

compfix -fc [-noheader] volume [log_volume]

Fix all fixable corrupted compressed files on the specified volume.

compfix -bg volume:\path [log_volume]

Diagnose the background compression effect for an individual file.

compfix -cc volume [log_volume]

Clears the Cannot Compress (Cc) attribute for files in the specified volume.