volcopy(8)
NAME
volcopy, labelit − copy file systems with label checking
SYNTAX
/etc/volcopy [options] fsname special1 vol1 ispecial2 vol2
/etc/labelit special [ fsname volume [ −n ] ]
DESCRIPTION
The volcopy command makes a literal copy of the file system using a blocksize matched to the device.
−a Invoke a verification sequence requiring a positive operator response. (This is the default.)
−n Do not ask before labeling/copying file systems.
Other options are used only with tapes:
−bpidensity density in bits-per-inch
(that is, 800/1600/6250),
−feetsize size of reel in feet (that is, 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 (for example, root, usr, and so on) of the filsystem being copied.
The special is the physical disk section or tape (for example, /dev/rdsk15, /dev/rmt0, and so on).
The vol 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. The vol argument may be − to use the existing volume name.
The special1 option and the vol1 option are the device and volume from which the copy of the file system is being extracted. The special2 and the vol2 options are the target device and volume.
The fsname and vol options are recorded in the last 12 characters of the superblock. For further information, see char fsname(6), volname(6).
The labelit command 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). When used with disks, the -n option suppresses the fsname and volume name confirmation questions.
RESTRICTIONS
Tape record sizes are determined both by density and by drive type. Records are 5,120 bytes long at 800 and 1600 bits-per-inch, and 25,600 bytes long at 6250 bits-per-inch.
FILES
/etc/log/filesave.log a record of file systems/volumes copied