nwvm(1Mnws)
nwvm --
search/modify voltab file, repair/optimize inodes file
Synopsis
nwvm [-q] [[-D | -O | -R] volname]
nwvm [-q] -A volname -p path -c path [-s ns -o option]
nwvm [-q] -M volname [-p path -c path -s ns -o option]
Description
The nwvm utility is used for modifying or obtaining information
from the voltab file, and for repairing and optimizing the NetWare
inodes file. The server must be down for nwvm to be used.
If nwvm is used without options, it displays information about all
volumes. To obtain information about a particular volume, run nwvm
specifying the volume's name.
Options
The options in the following list are supported. The upper-case options
are exclusive, and only one may be entered on the command line. They also
vary in the lower-case options that they accept.
- -q
-
Prevents nwvm-generated messages from printing to the console.
- volname
-
Specifies the volume to be modified or created. Volume names must be
unique, and contain between two and 15 characters.
- -D
-
Deletes the specified volume be deleting the entry in the voltab
file. This option does not delete the volume's control directory, nor
does it delete any of the volume's resource forks or data files.
- -O
-
Optimizes the NetWare inodes file for the specified volume. After many
files have been added and deleted from a NetWare volume, the inodes
file becomes fragmented. This option reduces the fragmentation, and in
most cases, speeds up access to the files in that volume.
- -R
-
Repairs the NetWare inodes file for the specified volume. The validation
process checks all resource and data fork links:
-
if the data fork is found but its corresponding resource fork is
missing, the repair option clears the resource flag bit
-
if the resource fork is found but its corresponding data fork is missing,
the repair option removes the resource fork entry from the inodes file
Both conditions are logged. If you restore the missing files and then
repair the volume a second time, the repair option will relink the files.
- -A
-
Creates a volume with the specified parameters. Requires a name, a control
path and a mount point.
- -M
-
Modifies the volume information for the item specified. If either the
control path (-c) or the mount point (-p) are
modified, the information is changed only in the voltab file.
nwvm does not move the files in the old directories into the
new directories. You must manually move the files to the new locations.
If the files in the control directory are not moved to the new location,
new control files will be created.
- -p path
-
Specifies the mount point for the volume. Replace path with
the complete pathname from root.
- -c path
-
Specifies the path of the volume control directory. Replace
path with the complete pathname from root. The volume control
directory must be outside the volume.
- -s ns
-
Sets the volume's name space. Replace ns with one or more
of the following:
Use commas as delimiters between options.
- -o opt
-
Sets the volume options. Replace opt with one or more of
the following. Use commas as delimiters between options.
- ro
-
Permits read-only access to the volume.
- max_open_files=value
-
Specifies the maximum number of open files. Replace value
with an integer between 0 and 49000. If this option is set to zero, an
internal formula, based on the maximum number of connections, is used
to calculate the value.
- file_access_control=value
-
Specifies the type of file security. Replace value with one
of the following:
- cdrom
-
Makes the volume a CD-ROM volume, and forces the volume to
be ro and to use UNIX for file access control.
- npfs_directory_min_sync_interval=value
-
Specifies the minimum interval for synchronization in seconds. Replace
value with an integer in the range 0 to 900. The default
is 10.
- npfs_directory_mandatory_sync_interval=value
-
Forces synchronization on directories that still appear to be
synchronized. After the specified time (in seconds) elapses since the
last synchronization of a directory, synchronization will be performed
even though the directory appears to be unchanged.
Replace value with an integer in the range 0 to 3600. The
default is 900.
- npfs_directory_purge_threshold=value
-
Controls how often purges of deleted entries are performed by specifying
how many deleted entries must exist before a purge takes place. Replace
value with an integer in the range 0 to FFFFFFFE. The default
is 32.
- npfs_no_sync_at_mount=value
-
Determines whether the NetWare volume is synchronized with the UNIX
filesystem when the NetWare volume is mounted. This controls only
mount-time synchronization; the periodic synchronizations take place
according to the volume's configuration.
This option is designed to be used with remotely mounted volumes or
with volumes which include files from remotely mounted systems.
- nfiles=value
-
Controls the size of the NetWare inodes file. When a volume is created,
this value determines the initial size of the NetWare inodes file.
It should be large enough to include all of the files that currently
exist in the volume's path.
Replace value with the maximum number of files you expect to
support in the volume. The default is 10000.
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.