VOLCOPY(1M) — Silicon Graphics
NAME
volcopy, labelit − copy file systems with label checking
SYNOPSIS
/etc/volcopy [options] 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. 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 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.
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/rdsk15, /dev/rmt0, 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];).
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/log/filesave.loga record of file systems/volumes copied
SEE ALSO
BUGS
Only device names beginning /dev/rmt are treated as tapes. 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.
Version 2.1 — January 02, 1985