Hi,
I tried to virtualize a server which has 2 physical disks to be integrated
into one virtual disk.
LDoms 1.2 Administration Guide says about non-automatic mode:
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
I created a virtual disk image file
mkfile -20g /ldoms/server.img
attached it to a loopback device (/dev/lofi/1) and created a new file
system
newfs /dev/rlofi/1
and mounted the the file system
mount /dev/lofi/1 /mnt1
Then I restored (ufsrestore) the file systems which were dumped to
/ldoms/p2v/server during the ldmp2v collect step to the file system mounted
at /mnt1.
When I issue the ldmp2v prepare command
ldmp2v prepare -R /mnt1 -d /ldoms/p2v/server -v server
I get an error:
Determining vdisks ...
Cannot determine vdisk configuration.
Does anyone have experience with the ldmp2v prepare -R option? How do I
have to prepare the (target) virtual disk, in particular partitions and
file system layout?
Martin