Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Dynamic Root Disk Administrator's Guide: HP-UX 11i v2, HP-UX 11i v3 > Chapter 1 About Dynamic Root Disk

Commands Overview

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

The drd command provides a command line interface to Dynamic Root Disk (DRD) tools. The drd command has six major modes of operation:

  • clone. Clones a booted system to an inactive system image. The drd clone mode copies the volume group containing the logical volume on which the root file system (“/”) is mounted to the target disk specified in the command.

  • 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 cloned 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.

  • umount. Unmounts all file systems in the inactive system image previously mounted by a drd mount command.

  • 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. For this release of DRD, only swinstall, swremove, swlist, swmodify, swverify, swjob, kctune, and view are 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 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 runcmd(1M).

  • activate. Sets the inactive system image to be the primary boot disk the next time the system is booted.

  • deactivate. Sets the active system image (that is, the booted image) to be the primary boot disk the next time the system is booted.

  • status. Displays system-specific information about the clone (the inactive system image) and the original disk (the active system image).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.