HP-UX Reference (11i v2 07/12) - 1M System Administration Commands A-M (vol 3)

d
drd-clone(1M) drd-clone(1M)
4 Adds verbose INFO messages.
5 Adds very-verbose INFO messages.
-x mirror_disk= mirrordisk
Usage: Basic
The block device special file of the mirror disk of the target. The device special file mirror-
disk, should refer to an entire disk, not to a partition. This option requires that LVM mir-
roring be installed. The block device file specified will be used to mirror each logical volume
in the target of the clone operation.
-x overwrite=false
Usage: Basic
Controls whether or not a disk containing boot, LVM, or VxVM records can be overwritten.
Note that DRD will not overwrite a disk associated with an active LVM volume group or
VxVM disk group, regardless of the setting of the
overwrite option. If a previously
created clone is mounted, use the
drd umount
command to unmount it before attempt-
ing to create a new clone on the disk.
true Allow a disk to be overwritten, even if it contains boot, LVM, or VxVM records.
false Prevent a disk that contains boot, LVM, or VxVM records from being overwrit-
ten.
-x preview=false
Usage: Basic
If true, run this command in preview mode only (that is, complete the analysis phase and
exit; do not commit changes to disk). Setting this option to true has the same effect as
specifying -p on the command line.
-x verbosity=3
Usage: Basic
Specifies the level of standard error verboseness. Legal values are:
0 Display 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).
4 Adds verbose INFO messages.
5 Adds very-verbose INFO messages.
See also the -v and -q options in the Options section above. The -v
option increases the
verbosity by 1 (for example, from 3 to 4) and the
-q option decreases the verbosity by 1.
The -v and -q options can be given more than once. Multiples can be merged, as in
-qq.
For example, if both
-x verbosity=5 and -qqq are included on the command line,
the effective verbosity is 2. The minimum combined verbosity level is 0.
For example, if both
-x verbosity=1 and -vv are included on the command line, the
effective verbosity is 3. The maximum combined verbosity level is 5.
The Source
The source for the drd clone command the group that is copied is the group containing the root
file system (/).
Choosing a Target Disk
The target disk must be specified as a block device file. An appropriate target disk should be writeable by
the system, not currently in use by other applications, and large enough to hold a copy of each logical
volume in the root group.
The physical disk need not be as large as the disk allocated for the root group as long as there is sufficient
space for a copy of each volume in the root group. However, the disk will need to be bigger than the used
space in each volume, since each volume will be created with the number of physical extents currently allo-
cated to the corresponding root volume.
202 Hewlett-Packard Company 2 HP-UX 11i Version 2: December 2007 Update