Use the following procedure to migrate a VxVM disk group from a non-logical domain environment to a Oracle VM Server for SPARC environment.
In the following example control domain is named primary
and the guest domain is named ldom1
. The prompts in each step show in which domain to run the command.
To create virtual disks on top of the Veritas Volume Manager data volumes using the ldm command
See the Veritas Storage Foundation Administrator's Guide to move disk groups between systems.
primary# ldm add-vdiskserverdevice options=slice \ /dev/vx/dsk/dg-name/volume_name \ volume_name volume_name@primary-vds0
primary# ldm add-vdisk vdisk1 volume_name volume_name@primary-vds0 ldom1
primary# ldm bind ldom1
primary# ldm start ldom1
/dev/[r]dsk
directories, then run the devfsadm command in the guest domain:ldom1# devfsadm -C
In this example, the new disk appears as /dev/[r]dsk/c0d1s0.
ldom1# ls -l /dev/dsk/c0d1s0
lrwxrwxrwx 1 root root 62 Sep 11 13:30 /dev/dsk/c0d1s0 -> ../../devices/virtual-devices@100/channel-devices@200/disk@1:a
ldom1# mount -F vxfs /dev/dsk/c0d1s0 /mnt
ldom1# mount -F ufs /dev/dsk/c0d1s0 /mnt