HP-UX Reference (11i v2 03/08) - 1M System Administration Commands N-Z (vol 4)

v
volcopy_hfs(1M) volcopy_hfs(1M)
NAME
volcopy_hfs: volcopy, labelit - copy an HFS file system with label checking
SYNOPSIS
/usr/sbin/volcopy
[options ] fsname special1 volname1 special2 volname2
/usr/sbin/labelit
[options ] special [fsname volume [
-n]]
DESCRIPTION
The
volcopy command makes a literal copy of an HFS file system using a block size matched to the dev-
ice.
Options
volcopy recognizes the following options:
-F hfs Specifies the HFS file system type.
-a Invoke a verification sequence requiring a positive operator response instead of the
standard delay before the copy is made.
-s (default) Invoke the DEL-if-wrong verification sequence.
-y Assume a yes response to all questions
-V Echo the completed command line, but perform no other actions. The command line
is generated by incorporating the user-specified options and arguments with other
information derived from /etc/fstab. This option allows the user to verify the
command line.
Other options are used with 9-track magnetic tapes:
-bpi density Bits per inch.
-feet size Size of reel in feet.
-reel num Beginning reel number for a restarted copy.
-buf Use double buffered I/O.
The
volcopy command requests length and density information if they are not given on the command
line and they are not recorded on an input tape label. If the file system is too large to fit on one reel, the
volcopy command prompts for additional reels. Labels of all reels are checked. Tapes can be mounted
alternately on two or more drives. If the volcopy command is interrupted, it asks if the user wants to
quit or wants to escape to the command interpreter. In the latter case, other operations (such as execut-
ing the labelit command) can be performed before returning to the volcopy command by exiting the
command interpreter.
fsname The file system name on the device (e.g.,
root) being copied.
special The physical disk section or tape (e.g.,
/dev/rdsk/1s3 or /dev/rmt/c0t0d0BEST
).
volname The physical volume name; it should match the external sticker. Such label names are limited
to six or fewer characters. The argument volname can be
- to use the existing volume name.
special1 The device from which the copy of the file system is being extracted.
volname1 The volume from which the copy of the file system is being extracted.
special2 The target device.
volname2 The target volume.
The
labelit command can be used to provide initial labels for unmounted disk or tape file systems.
With the optional arguments omitted, the labelit command prints current label values. The -n option
provides for initial labeling of new tapes only (this destroys previous contents). The -F and -V options
can be specified for the labelit command. The behavior of the -F and -V options is similar to their
behavior in the volcopy command.
SEE ALSO
fstyp(1M), volcopy(1M), fs_wrapper(5).
Section 1M882 Hewlett-Packard Company 1 HP-UX 11i Version 2: August 2003