Restoring an rdm

I have a san that has been replicating offsite and attempting to perform a restore. I build a similar esx host to that of my production environment and I managed to mount the datastore to the esx host and I am able to see the vdmk files and inventory the vms. One of the vms has a rdm and while I can see the rdm file in the datastore when I tried to add it to the VM, the Raw Device Mapping is greyed out.

I have tried everything but I am not successful in mapping the rdm. Any assistance will be appreciated. I am running esx 5.x
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:
Is the RAW Mapped LUN available ?

Just re-attach the RDM ?
the vdmk files you see in your vm's datastore is only a pointer file to the raw disk mount.  

Just add a disk via the VM and choose new disk, then the raw disk should show up,  create a new pointer and store it with the VM.  

Hope this helps.
MaquinalocaAuthor Commented:
Maybe I am not clear. When I add a hardware to the vm I have three options

1) create a new v disk
2) use an existing v disk
3) Raw device mappings (grey out)

How else can I add this rdm if option 3 is greyed out?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
there is no LUN available or presented to the host!
MaquinalocaAuthor Commented:
As I mentioned the lun is presented to the host. I was able to inventory the vm in question and add it to the new host. The vm has two disks of which one is an rdm. All the files associated with the vms are visible and can be browsed via the datastore.

The only thing I cannot add to the vm is the rdm because the Raw Device Mapping option  is greyed out.
MaquinalocaAuthor Commented:
Ok I understand. Map the lun again. Will I need to first dissociate the pointer from the vm?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
I would remove the existing RDM from the VM.

and then re-add.

This will not affect the data on the LUN!
MaquinalocaAuthor Commented:
To be clear when you say remove, you mean delete the ***.rdmp.vdmk file that exist in the datastore?
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
is it already listed in the VM properties ?
MaquinalocaAuthor Commented:
No it is not
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
okay remove the pointers.

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
Did you rescan storage from the host level?  Also check the paths to the strorage.. Is anything greyed out?  If so remove the disks from the VM and shut it down.. rescan the storage and then re-add.
MaquinalocaAuthor Commented:
Discovered that the RDM was mapped from another san not mapped to the sandbox environment. SAN was attached and the lun is now visible.
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
Storage Software

From novice to tech pro — start learning today.