Dynamic Root Disk A.3.13* Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (766142-001, March 2014)

The drd runcmd command returns the following error codes:
0 Success
1 Error
2 Warning
The drd runcmd operation involves two commands: drd runcmd and the HP-UX command that
is its argument, but it returns only a single error code. The code reflects the worst result of the two
commands. If both commands are successful, the error code is 0. If either command has an error
or warning result, the error code is 1 or 2. To determine which command issued the error or
warning, examine the messages.
For additional information, see the drd-runcmd(1M) manpage (man drd-runcmd)
The drd runcmd command syntax is:
drd runcmd [-?] [-q] [-v] [-x extended option=value] [-x -?] [-X
option_file] command <args>
Options
-? Displays the usage message for a DRD command. This
option cannot be used with other options.
-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.)
-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.
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
HA_alternate_bootdisk=block_device_special_file
This is the High Availability alternate boot disk. The High
Availability alternate boot disk must be specified as a block
device special file. High Availability alternate boot disk is
supported only on Itanium-based architecture and for
PA-RISC systems that support hardware partitions.
-x
ignore_unmounted_fs={true|false}
(Default is false) Controls whether a clone fails when an
unmounted file system in the root volume group is detected.
-x
logfile=/var/opt/drd/drd.log
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 (Default.) Specifies the level of log verboseness. Replace 4
with the following values:
0 Only ERRORS and the starting/ending BANNER
messages.
54 DRD commands