When migrating from one storage array to a new array, disks that are created as RDMs need to have the data transferred off of the current backing LUNs and onto new LUNs located on the new storage array.
VMware ESXi 6.x
VMware ESXi 7.x
VMware ESXi 8.x
When migrating data from RDM LUNs to a new storage array, there are two primary options:
This process involves:
vmkfstools –i srcfile -d rdm:/vmfs/devices/disks/identifier /vmfs/volumes/datastore/vmdir/vmname.vmdkvmkfstools -i olddisk.vmdk -d rdm:/vmfs/devices/disks/naa.############################# /vmfs/volumes/TestDatastore/TestVM/rdmdisk.vmdkvmkfstools –i srcfile -d rdmp:/vmfs/devices/disks/identifier /vmfs/volumes/datastore/vmdir/vmname.vmdk vmkfstools -i olddisk.vmdk -d rdmp:/vmfs/devices/disks/naa.############################# /vmfs/volumes/TestDatastore/TestVM/rdmdisk.vmdkThis process involves directly cloning the data from an existing RDM to a new RDM on the target array using vmkfstools.
To perform the clone of the RDM to a new RDM on the new storage array, collect the following information
/vmfs/volumes/olddatastore/vmname/vmname.vmdk
/vmfs/devices/disks/naa.#############################
/vmfs/volumes/newdatastore/vmname/vmname.vmdkRun the appropriate command for either the Virtual or Physical compatibility mode.
vmkfstools –i srcfile -d rdm:/vmfs/devices/disks/identifier /vmfs/volumes/datastore/vmdir/vmname.vmdkvmkfstools -i /vmfs/volumes/olddatastore/vmname/vmname.vmdk -d rdm:/vmfs/devices/disks/naa.############################# /vmfs/volumes/newdatastore/vmname/vmname.vmdk
vmkfstools –i srcfile -d rdmp:/vmfs/devices/disks/identifier /vmfs/volumes/datastore/vmdir/vmname.vmdkvmkfstools -i /vmfs/volumes/olddatastore/vmname/vmname.vmdk -d rdmp:/vmfs/devices/disks/naa.############################# /vmfs/volumes/newdatastore/vmname/vmname.vmdk