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 -poption, 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, -qqwill reduce the verbosity from the default value of 4 to 2. If both -x verbosity=5 and -qqqare 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, -vwill increase the effective verbosity from the default value of 4 to 5. If both -x verbosity=1 and -vvare included on the command line, the effective verbosity is 3. The maximum verbosity level is 5. (See also the -x verbosity option.)

-ttarget_device_file

The -ttarget_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.)

-xextended_option= value

Sets the extended option to a value.

-x -?

Displays the list of possible -x(extended) options.

-Xoption_file

Gets the extended options from a file.

Extended options

The following extended options are available:

-x alternate_bootdisk=block_device_special_file

This is the alternate boot disk. The alternate boot disk must be specified as a block device special file.

-x copy_autofile={truefalse}block_device_special_file

(Default is true) Controls whether to copy the EFI/HPUX/AUTO file from the active to the inactive system image.

52 DRD commands

Page 52
Image 52
HP Dynamic Root Disk (DRD) manual Ttargetdevicefile, Copyautofile=truefalseblockdevicespecialfile