Vmware - vmotion error with RDM

Hi all,

Vcenter 5.5 esxi 5.1

Trying to migrate a VM that has a RDM disk but i get the following error:

Virtual disk 'hard disk 3' is a mapped direct-access LUN that is not accesible. In order to proceed with the operation, the targets disk's datastore and format must be different than that of the source disk. Unable to access file ds:///vfms.......vmdk

I have tried detaching - migrating to other host and then reattching but I can initialise the disk.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Was this RDM working correctly before, and was it formatted with NTFS, if Windows ?
MattAuthor Commented:
Correct - server 2012 NTFS
Hi Matt,

Target host does not have this Lun  zoned , you can use esxcli to confirm / Or goto vsphere client and confirm the device is visible from target host .
Click devices as it’s not a vmfs datastore  , check that the correct naa. Or eui. Is there .

If you are unsure on how to get the original .naa / eui . run this in powercli .

Get-VM -Name $VM | Get-HardDisk -DiskType "RawPhysical","RawVirtual" | Select Parent,Name,DiskType,ScsiCanonicalName,DeviceName


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.