The preparation phase uses the data collected during the collection phase to create a logical domain that is comparable to the source system.
You can use the ldmp2v prepare command in one of the following ways:
Automatic mode. Automatically creates virtual disks and restores file system data.
Creates the logical domain and the required virtual disks of the same size as on the source system.
Partitions the disks and restores the file systems.
If the combined size of the /, /usr, and /var file systems is less than 10 Gbytes, the sizes of these file systems are automatically adjusted to allow for the larger disk space requirements of the Solaris 10 OS. Automatic resize can be disabled by using the -x no-auto-adjust-fs option or by using the -m option to manually resize a file system.
Modifies the OS image of the logical domain to replace all references to physical hardware with versions that are appropriate for a logical domain. This enables you to upgrade the system to the Solaris 10 OS by using the normal Solaris upgrade process. Modifications include updating the /etc/vfstab file to account for new disk names. Any SVM mirrored disks are automatically unencapsulated during this process.
Non-automatic mode. You must create the virtual disks and restore the file system data. This enables you to change the size and number of disks, the partitioning, and the file system layout. The preparation phase in this mode only runs the logical domain creation and the OS image modification steps on the file system rooted at guest-root.
Cleanup mode. Removes a logical domain and all of the underlying backend devices that are created by ldmp2v.