Use the COMPFIX utility to repair compression information for compressed NSS volumes or to clear the Cannot Compress attribute for files in the compressed NSS volume. This tool can help identify which compressed files are corrupted and can be fixed; however, not all corrupted compressed files are fixable.
Before using the COMPFIX utility to compute compression statistics, make sure to put the volume in maintenance mode in order for statistics to be computed accurately.
On the server, open a terminal console, then log in as the root user by entering the su command and providing the root user’s password when prompted.
At the terminal console prompt, start the NSS Console (NSSCON) utility by entering
nsscon
In the NSS console, enter
nss /PoolMaintenance=poolname
On Linux, run the COMPFIX utility ( /opt/novell/nss/sbin/compfix) from the terminal console prompt.
compfix [HOPTION]
compfix [GOPTION]... [VOPTION] VOLUMENAME
compfix [GOPTION]... [FOPTION] FILENAME
Mandatory arguments to long options are also mandatory for short options.
Option |
Description |
---|---|
-h, --help |
Displays help information and exits. |
-v, --version |
Displays version information and exits. |
Multiple general options can be selected.
Only one volume-level option can be selected.
Only one file-level option can be selected.
The following table illustrates typical uses of the COMPFIX utility. The commands in the left column should be written all on the same line, of course.
Before using the COMPFIX utility to compute compression statistics, make sure to put the volume in maintenance mode in order for statistics to be computed accurately.
At the server console, enter
nss /PoolMaintenance=poolname
Load compfix.nlm on your NetWare server, then enter the command at the server console. Compfix.nlm runs on processor 0 only.
compfix -[attribute] [-noheader] path [log_volume]
Multiple attributes can optionally be used for a single command.
The following table illustrates typical uses of the Compfix utility. The commands in the left column should be written all on the same line, of course.