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

d
drd(1M) drd(1M)
NAME
drd - manage an inactive system image
SYNOPSIS
drd [-?][-x -?
]
Command Modes
drd activate
[-?][-p][-v][-x
option=value][-x -?][-X option_file]
drd clone
[-?][-p][-v] -t target_device_file [
-x option
=value][-x -?][-X option_file]
drd deactivate
[-?][-p][-v][
-x option=value][-x -?][-X option_file]
drd mount
[-?][-p][-v][-x option=
value][-x -?][-X option_file]
drd runcmd
[-?][-v][-x option=value][
-x -?][-X option_file] cmd [args]
drd umount
[-?][-p][-v][-x option
=value][-x -?][-X option_file]
DESCRIPTION
The
drd command provides a command line interface to Dynamic Root Disk (DRD) tools. The drd com-
mand has five major modes of operation:
clone Clones a booted system to an inactive system image. The drd clone mode copies the
LVM volume group or VxVM disk group containing the volume on which the root file sys-
tem (/) is mounted. See drd-clone(1M).
mount Mounts all file systems in an inactive system image. See drd-mount(1M). The mount point
of the root file system is:
/var/opt/drd/mnts/sysimage_000
If the inactive system image was created by the most recent drd clone
command.
/var/opt/drd/mnts/sysimage_001
If the inactive system image was the booted system when the most recent
drd clone command was run.
umount Unmounts all file systems in the inactive system image previously mounted by a drd
mount
command. See drd-umount(1M).
runcmd Runs a command on an inactive system image. See drd-runcmd(1M). Only a select group
of commands may be run by the runcmd mode. These are commands that have been
verified to have no affect on the booted system when executed by drd runcmd
. Such
commands are referred to as DRD-Safe. The commands
kctune, swinstall , swjob,
swlist, swmodify, swremove, swverify, and view are currently certified DRD-
Safe. An attempt to execute any other command will result in a runcmd error. In addi-
tion, not every software package may safely be processed by sw* commands. The DRD-
Safe SW-DIST commands are aware of running in a DRD session and will reject any unsafe
packages. For more information about DRD-Safe packages, see drd-runcmd(1M).
activate Sets the inactive system image to be the primary boot disk the next time the system is
booted. See drd-activate(1M).
deactivate Sets the active system image (that is, the booted image) to be the primary boot disk the
next time the system is booted. See drd-deactivate(1M).
Options
drd without a command mode recognizes the following options:
-? Displays the usage message.
-x -? Displays the list of possible -x (extended) options.
In command mode, the -X option_file can be used to get the extended options from a file. See the EXAM-
PLES section for an example option_file. The option_file can have one or more lines as follows:
extended_option=value For example: log_verbosity=3
Refer to the Extended -x Options section of each DRD man-
page.
194 Hewlett-Packard Company 1 HP-UX 11i Version 2: December 2007 Update