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
MaquinalocaAsked:
Who is Participating?
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 ?
0
JeffMatthiasCommented:
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.
0
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?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
there is no LUN available or presented to the host!
0
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.
0
MaquinalocaAuthor Commented:
Ok I understand. Map the lun again. Will I need to first dissociate the pointer from the vm?
0
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!
0
MaquinalocaAuthor Commented:
To be clear when you say remove, you mean delete the ***.rdmp.vdmk file that exist in the datastore?
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
is it already listed in the VM properties ?
0
MaquinalocaAuthor Commented:
No it is not
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
okay remove the pointers.
0

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
JeffMatthiasCommented:
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.
0
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.
0
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.