| United States-English |
|
|
|
![]() |
Dynamic Root Disk Administrator's Guide: HP-UX 11i v2, HP-UX 11i v3 > Chapter 3 Cloning the Active System ImageCreating the Clone |
|
After determining that sufficient disk space exists and that the target disk contains no data you want to keep, you are ready to run the drd clone command. Preparing to Clone the Active System Image illustrates the content of the active system disk and the clone target disk before cloning happens. Use the following command to clone the system image, substituting your target disk identifier for the one shown in the command:
The -x option lets you choose whether to overwrite data on the target disk. The -x overwrite=true option tells the command to overwrite any data on the disk. The -x overwrite=false option tells the command not to write the cloned image if the disk appears to contain LVM, VxVM, or boot records. The default value is false. Cloning creates an inactive system image on the target disk at /dev/dsk/c1t2d0. Cloning the Active System Image shows the active system image being cloned to the target disk. The output you see as this command runs is similar to Example 3-3 The drd clone command output. When you see the message, Copying File Systems to New System Image, the active system image is being cloned. This operation can take quite a while, and you see no more messages until the file systems have been copied. Example 3-3 The drd clone command output
Disk Configurations After Cloning shows the two disks after cloning. Both disks contain the system image. The image on the target disk is the inactive system image. After running drd clone, you have identical system images on the system disk and the target disk. The image on the system disk is the active system image. The image on the target disk is the inactive system image. The drd clone command returns the following values: 0 Success 1 Error 2 Warning For more details, you can examine messages written to the log file at /var/opt/drd/drd.log. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||