HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)
d
drd-clone(1M) drd-clone(1M)
NAME
drd-clone: drd - clone mode clones the root volume group
SYNOPSIS
drd clone
[-?][-p][-q]... [-v]...
-t target_device_file [
-x option=value][
-x -?][-X option_file]
DESCRIPTION
The
drd clone command creates a copy of the LVM volume group or VxVM disk group containing the
root file system (/). In particular, it creates a new group, creates a volume in the new group for each
volume in the root group, configures swap and dump volumes, and copies the contents of each file system in
the root group to the corresponding file system in the new group.
Options
drd clone recognizes the following options:
-? Displays the usage message.
-p Sets preview mode. See also -x preview, in the Extended -x Options section below.
-q Decreases the verbosity level by one each time it is specified. For the interaction with
-x
verbosity
, see the Extended -x Options section below.
-t device_special_file
Specifies the block device special file of a single physical disk on which the cloned system
image is to be written. The block device special file must exist on the system and be write-
able. All data previously on the disk will be unavailable after a clone operation. See also
-x overwrite , in the Extended -x Options section below.
-v Increases the verbosity level by one each time it is specified. For the interaction with
-x
verbosity
, see the Extended -x Options section below.
-x -? Displays the list of possible -x (extended) options.
-x option=value
Sets the extended option to a value. See the Extended -x Options section below.
-X option_file
Gets the extended options from a file. See drd(1M) for an explanation of the format and an
example of an option file.
Extended -x Options
drd clone recognizes the following -x (extended) options. If a default value exists, it is shown in
bold.
-x ignore_unmounted_fs=false
Usage: Basic
Controls whether a clone fails when an unmounted file system in the root volume group is
detected.
-x logfile=/var/opt/drd/drd.log
Usage: Basic
This is the path to the log file for this command. Each time DRD is run, this file will grow
larger. This can be changed, for example, to a month-specific location for easier archiving,
off-host backup, and rotation.
-x log_verbosity=4
Usage: Basic
Specifies the level of message verbosity in the log file. (See also -x verbosity .) Legal
values are:
0 Saves only ERROR messages and the starting/ending BANNER messages.
1 Adds WARNING messages.
2 Adds NOTE messages.
3 Adds INFO messages (informational messages preceded by the * character).
HP-UX 11i Version 2: December 2007 Update − 1 − Hewlett-Packard Company 201