Dynamic Root Disk: Quick Start & Best Practices
20
This section describes how a system administrator can use an inactive system image created by a drd
clone command to expand /stand with a single reboot. The most typical use of Dynamic Root
Disk (DRD) is to patch an inactive system image. If desired, the administrator can use the reboot
required to boot the patched image to also resize the /stand file system, thus accomplishing both
tasks with a single reboot.
Notes
• The following steps assume that the system has a “standard” configuration with lvol2 used for
swap. After the change below has been made, the assumption is no longer valid. Because the
solution described below is a one-time change, care should be taken to make /stand sufficiently
large for some period in the future.
• The procedure described below restricts all changes to the inactive system image. However, as a
failsafe (in case, for example, you enter a command with vg00 instead of drd00), you should
make sure you have a current recovery image of your system.
Procedure
1. Create a DRD clone. For further information on creating a clone, see the Creating a Clone section
of this document, the manpage drd-clone(1M), or the Dynamic Root Disk Administrator’s
Guide which can be found at:
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c01918754/c01918754.pdf
2. Mount the clone by executing the following command:
# /opt/drd/bin/drd mount
This command imports the cloned disk as the volume group drd00.
3. Execute the following command to see the current logical volumes used for swap, dump and
boot. You should see lvol2 being used for swap on both the booted system and the clone:
4. On 11iv2 Integrity:
/usr/sbin/lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c3t15d0 (0/0/2/1.15.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c3t15d0
Root: lvol3 on: /dev/dsk/c3t15d0
Swap: lvol2 on: /dev/dsk/c3t15d0
Dump: lvol2 on: /dev/dsk/c3t15d0, 0
Boot Definitions for Volume Group /dev/drd00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t15d0 (0/0/1/1.15.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t15d0
Root: lvol3 on: /dev/dsk/c1t15d0
Swap: lvol2 on: /dev/dsk/c1t15d0
Dump: lvol2 on: /dev/dsk/c1t15d0, 0
5.
On 11iv3:
/usr/sbin/lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/disk/disk6_p2 -- Boot Disk
Boot: lvol1 on: /dev/disk/disk6_p2