volcopy(1M) volcopy(1M)
NAME
volcopy, labelit - copy file systems with label checking
SYNOPSIS
/etc/volcopy [-a] [-bpidensity] [-buf] [-feetsize]
[-reelnum] [-s] fsname special1 volname1 special2 volname2
/etc/labelit special [fsname volume [-n]]
DESCRIPTION
volcopy makes a literal copy of the file system using a
blocksize matched to the device. Flag options are:
-a invoke a verification sequence requiring a positive
operator response instead of the standard 10-second
delay before the copy is made,
-s (default) invoke the DEL if wrong verification
sequence.
Other flag options are used only with tapes:
-bpidensity bits-per-inch (i.e., 800/1600/6250),
-feetsize size of reel in feet (i.e., 1200/2400),
-reelnum beginning reel number for a restarted copy,
-buf use double buffered I/O.
The program 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, volcopy 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 (e.g., labelit)
and return to volcopy by exiting the new shell.
The fsname argument represents the mounted name (e.g., root,
u1, etc.) of the filsystem being copied.
The special should be the physical disk section or tape
(e.g., /dev/rdsk/1s5, /dev/rmt/0m, etc.).
The volname is the physical volume name (e.g., pk3, t0122,
etc.) and should match the external label sticker. Such
label names are limited to six or fewer characters. volname
may be - to use the existing volume name.
special1 and volname1 are the device and volume from which
the copy of the file system is being extracted. special2
and volname2 are the target device and volume.
fsname and volname are recorded in the last 12 characters of
the superblock (char fsname[6], volname[6];).
Page 1 (last mod. 1/15/87)
volcopy(1M) volcopy(1M)
labelit can be used to provide initial labels for unmounted
disk or tape file systems. With the optional arguments
omitted, labelit prints current label values. The -n option
provides for initial labeling of new tapes only (this
destroys previous contents).
EXAMPLE
volcopy newsys /dev/rrp15 1 /dev/rfd0 1
copies volume 1 of the file system labeled newsys mounted on
/dev/rrp15 onto volume 1 of /dev/rfd0.
labelit /dev/rfd0 oldsys save
relabels the file system mounted on /dev/rfd0 with a new
fsname of oldsys and a new volname of save.
FILES
/etc/volcopy
/etc/labelit
/etc/log/filesave.log a record of file systems/volumes
copied
SEE ALSO
sh(1), fs(4).
BUGS
Only device names beginning /dev/rmt are treated as tapes.
Page 2 (last mod. 1/15/87)