volcopy(8) CLIX volcopy(8)
NAME
volcopy - Makes a literal copy of a file system
SYNOPSIS
/etc/volcopy [flag ... ] fsname srcdevice volname1 destdevice volname2
FLAGS
-a This flag invokes a verification sequence requiring a positive
operator response instead of the standard 10 second delay before the
copy is made.
-s This is the default mode. This flag invokes the "DEL if wrong"
verification sequence.
DESCRIPTION
The volcopy command makes a literal copy of the file system using a
blocksize matched to the device. By utilizing various command flags,
users are able to further define the copy modes (name, time delay, and
device name for the copy).
This command requests length and density information if it is not given on
the command line or is not recorded on an input tape label. If the file
system is too large to fit on one reel, the volcopy command will prompt
for additional reels. Labels of all reels are checked. Tapes may be
mounted alternately on two or more drives. If volcopy is interrupted, it
will ask if the user wants to quit or wants a shell. In the latter case,
the user can perform other operations (for example, labelit) and return to
volcopy by exiting the new shell.
The fsname argument represents the mounted name (for example, root, u1,
and so on) of the filsystem being copied.
The srcdevice or destdevice argument should be the physical disk section
or tape (for example, /dev/dsk/cld0s8, /dev/rdsk/cld1s8, and so on).
The volname is the physical volume name (for example, pk3, t0122, and so
on) and should match the external label sticker. Such label names are
limited to six or fewer characters. Users can specify a - to indicate
that the existing volume name should be used.
The srcdevice and volname1 arguments are the device and volume from which
the copy of the file system is being extracted. The destdevice and
volname2 arguments are the target device and volume name.
The fsname and volname variables are recorded in the last 12 characters of
the superblock (char fsname[6], volname[6]).
2/94 - Intergraph Corporation 1
volcopy(8) CLIX volcopy(8)
EXAMPLES
The following copies the /usr file system to the SCSI device 6:
volcopy usr /dev/dsk/s0u0p7.3 usr /dev/rmt/mt6
FILES
/etc/log/filesave.log The record of file systems/volumes copied
NOTES
The volcopy command does not support tape-to-tape copying. Use the dd
command for tape-to-tape copying. Only device names beginning /dev/rmt/
are treated as tapes.
The volcopy command does not work with Fast File Systems (FFS).
EXIT VALUES
The volcopy command exits with a nonzero value if it fails.
RELATED INFORMATION
Commands: labelit(8), sh(1)
Files: fs(4)
2 Intergraph Corporation - 2/94