VOLCOPY(1M)
NAME
volcopy, labelit − copy file systems with label checking
SYNOPSIS
/etc/volcopy [options] fsname special1 vol1 special2 vol2
/etc/labelit special [ fsname volume [ −n ] ]
DESCRIPTION
Volcopy makes a literal copy of the file system using a blocksize matched to the device.
Options are:
−a invoke a verification sequence requiring a positive operator response. (This is the default.)
−n do not ask before copying file systems.
Other options are used only with tapes:
−bpidensity density in bits-per-inch
(i.e., 800/1600/6250),
−feetsize size of reel in feet (i.e., 1200/2400),
−reelnum beginning reel number num 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.
The fsname argument represents the mounted name (e.g.: ’root’, ’usr’, etc.) of the filsystem being copied.
The special is the physical disk section or tape (e.g.: /dev/rdsk15, /dev/rmt0, etc.).
The vol 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. Vol may be − to use the existing volume name.
Special1 and vol1 are the device and volume from which the copy of the file system is being extracted. Special2 and vol2 are the target device and volume.
Fsname and vol are recorded in the last 12 characters of the superblock (char fsname[6], volname[6];).
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).
FILES
/etc/log/filesave.log a record of file systems/volumes copied
RESTRICTIONS
Tape record sizes are determined both by density and by drive type. On DEC systems, records are 5,120 bytes long at 800 and 1600 bits-per-inch, and 25,600 bytes long at 6250 bits-per-inch.