Dynamic Root Disk A.3.12.* Administrator's Guide
image. The drd activate command always sets the primary boot path to the inactive (not
booted) system image.
• 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 system (“/”)
is mounted, to the target disk specified in the command.
• deactivate
If the drd activate command (which invokes setboot(1M)) has previously been utilized
and set the clone as the primary boot path, but the system has not yet been rebooted, the drd
deactivate command can be used to “undo” the drd activate command. That is, the
drd deactivate command will set the original system image to be the primary boot path.
The drd deactivate command always sets the primary boot path to the active (currently
booted) system image.
• mount
Mounts all file systems in an inactive system image. The mount point of the root file system is
either /var/opt/drd/mnts/sysimage_000 or /var/opt/drd/mnts/sysimage_001.
If the inactive system image was created by the most recent drd clone command, the mount
point of the root file system is /var/opt/drd/mnts/sysimage_001. If the inactive system
image was the booted system when the most recent drd clone command was run, the mount
point of the root file system is /var/opt/drd/mnts/sysimage_000.
• rehost
Copies the specified system information file—containing hostname, IP address, and other
system-specific information—to EFI/HPUX/SYSINFO.TXT on the disk to be rehosted.
• runcmd
Runs a command on an inactive system image. Only a select group of commands may be run
by the runcmd mode. These are commands that have been verified to have no effect 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,
update-ux, and view are currently certified DRD-safe. An attempt to execute any other
command will result in a runcmd error. In addition, not every software package may safely
be processed by the sw* and update-ux commands. The DRD-safe update-ux and 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).
NOTE: The drd runcmd command suppresses all reboots. The option -x autoreboot
is ignored when an swinstall, swremove, or update-ux command is executed by drd
runcmd.
• status
Displays (system-specific) status information about the original disk and the clone disk, including
which disk is currently booted and which disk is activated (that is, the disk that will be booted
when the system is restarted).
• sync
Propagates file system changes from the booted original system to the inactive clone image.
• unmount
6 About Dynamic Root Disk