HPlogo HP-UX Reference > V

volcopy_vxfs(1M)

TO BE OBSOLETED
HP-UX 11i Version 2: December 2007 Update
» 

Technical documentation

 » Table of Contents

 » Index

NAME

volcopy_vxfs: volcopy, labelit — copy a VxFS file system with label checking

SYNOPSIS

/usr/sbin/volcopy [-F vxfs] [-V] [-a] [-s] [-y] fsname special1 volname1 special2 volname2

/usr/sbin/labelit [-F vxfs] [-V] [-n] special [fsname volume]

DESCRIPTION

volcopy makes a literal copy of a VxFS file system using a block size matched to the device.

Options

volcopy recognizes the following options and command-line arguments:

-F vxfs

Specify the file-system type (vxfs).

-V

Validate the command line options, but do not execute the command. If the options specified are valid, -V echoes the complete command line. If the options specified are not valid, -V prints an error message.

-a

Normally, before copying the file system, volcopy delays so that the user can interrupt the copying if needed. This option invokes a verification sequence requiring a positive operator response instead of the standard delay.

-s

(default) Before copying the file system, prints a message and allows the user to interrupt the copy if needed.

-y

Assume a yes response to all questions

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 it is not given on the command line or if it is not recorded on an input tape label. If the file system is too large to fit on one reel, volcopy prompts for additional reels. Labels of all reels are checked. Tapes can be mounted alternately on two or more drives. If volcopy is interrupted, it asks if the user wants to quit or to escape to the command interpreter. In the later case, other operations (such as labelit) can be performed before returning to volcopy by exiting the command interpreter.

The fsname argument represents the file system name on the device (e.g., root) being copied.

special should be the physical disk section or tape (e.g., /dev/rdsk/c0t4d0s0 or /dev/rmt/0mb).

volname is 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.

The arguments special1 and volname1 are the device and volume, respectively, from which the copy of the file system is being extracted. The arguments special2 and volname2 are the target device and volume, respectively.

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. -F and -V options can be specified for labelit. The behavior of -F and -V options are similar to the behavior of volcopy. The option -n of labelit provides for initial labeling of new tapes (this destroys previous contents).

WARNINGS

volcopy and labelit will be unsupported in a future release. Use vxdump(1M) and vxrestore(1M) for backup and restore, or use an application-specific utility. Use dd(1) to make a literal copy of the filesystem.