Dynamic Root Disk A.3.13* Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (766142-001, March 2014)
When run with the -x overwrite extended option set to true, the drd clone command
overwrites any existing data on the target disk. If the target disk contains a mounted inactive system
image, run the drd umount command before attempting another clone operation with -x
overwrite=true. If other volume groups (not related to DRD) reside on the target disk and you
want to overwrite them, use the vgexport(1M) command first to remove any knowledge of them
from the booted system.
When run with the -x mirror_disk=block_device_special_file, you must specify the
target's block device special file of the mirror disk. The block device special file should refer to an
entire disk, not to a partition. For a system with an LVM root, this option requires that LVM mirroring
is installed. The block device special file specified will be used to mirror each logical volume in
the target of the clone operation.
A log of the cloning operation is available at /var/opt/drd/drd.log. This log is written to
the booted system. Because it is located in the /var file system, it is copied during the clone
operation to the /var file system on the clone. However, because the clone file systems must be
unmounted before the final ending banner message of the operation is written to the log, the record
of the clone operation in the log on the clone is truncated at the message indicating that file systems
are being copied. The next message in the log on the clone is issued by the next DRD command
run on the clone itself after it is booted. The log on the booted system is complete, ending with the
final banner message.
The drd clone command syntax is:
drd clone [-?] [-p] [-q] [-v] -t target_device_file [-x extended
option=value] [-x -?] [-X option_file]
Options
-? Displays the usage message for a DRD command. This
option cannot be used with other options.
-p Sets preview mode. When run with the -p option, a DRD
command performs analysis without running the command
and reports any errors.
-q Decreases the verbosity level by one each time it is specified.
For example, -qq will reduce the verbosity from the default
value of 4 to 2. If both -x verbosity=5 and -qqq are
included on the command line, the effective verbosity is 2.
The minimum verbosity level is 0. (See also the -x
verbosity option.)
-v Increases the verbosity level by one each time it is specified.
For example, -v will increase the effective verbosity from
the default value of 4 to 5. If both -x verbosity=1 and
-vv are included on the command line, the effective
verbosity is 3. The maximum verbosity level is 5. (See also
the -x verbosity option.)
-t target_device_file The -t target_device_file option and parameter are
required with the drd clone command. This option
specifies the block device special file (for example, /dev/
dsk/c2t0d0) 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 writeable. All data
previously on a disk will be unavailable after a clone
operation. (See the -x overwrite extended option.)
-x extended_option= value Sets the extended option to a value.
-x -? Displays the list of possible -x (extended) options.
-X option_file Gets the extended options from a file.
46 DRD commands