Dynamic Root Disk: Quick Start & Best Practices

5
Checking the Size of the Target Disk
A simple mechanism for determining if you have chosen a sufficiently large disk is to run a preview of
the drd clone command:
# /opt/drd/bin/drd clone -p -v -t /dev/dsk/cxtxdx (legacy device file)
# /opt/drd/bin/drd clone -p -v -t /dev/disk/diskx (agile device file)
(For further information about options available with the drd clone command, see the manpage
drd-clone(1M).)
The preview operation includes the disk space analysis needed to determine if the target disk is
sufficiently large. If you prefer to investigate disk sizes before previewing the clone, the diskinfo,
vgdisplay, and vxprint commands might be useful.
Performing the Clone Operation
The clone operation is initiated with the drd clone command:
# /opt/drd/bin/drd clone -v -t /dev/dsk/cxtxdx
Where /dev/dsk/cxtxdx is a block device special file for the target disk you have chosen. For
HP-UX 11iv3, either a legacy or persistent block device special file may be specified. In either case,
the device file must refer to the entire disk, not the HP-UX partition on an Integrity system. HP
recommends designating a period of time for creating the clone when the root group is not
undergoing many changes. Running applications which modify data on other volumes is not an issue
for clone validity. However, you might want to choose a location for the clone so that writing the
clone data does not compete for performance with writes of application data.
See drd-clone(1M) for options available with this command.
Viewing and Accessing the Clone
To determine whether or not a clone has been created, the disk that was used for the clone, when the
clone was created, and to view many other details about the clone, use the drd status command:
# /opt/drd/bin/drd status
======= 04/13/09 11:49:43 MDT BEGIN Displaying DRD Clone Image
Information
(user=root) (jobid=mesa)
* Clone Disk: /dev/dsk/c1t4d0
* Clone EFI Partition: AUTO file present, Boot loader present
* Clone Rehost Status: SYSINFO.TXT not present
* Clone Creation Date: 04/08/09 13:00:57 MDT
* Clone Mirror Disk: None
* Mirror EFI Partition: None
* Original Disk: /dev/dsk/c1t3d0
* Original EFI Partition: AUTO file present, Boot loader present
* Original Rehost Status: SYSINFO.TXT not present
* Booted Disk: Original Disk (/dev/disk/disk10)
* Activated Disk: Original Disk (/dev/disk/disk10)
======= 04/13/09 11:49:52 MDT END Displaying DRD Clone Image
Information