Move existing lun to HyperV server without losing data

We currently have existing LUNS on our Axiom Pillar 300 SAN. The LUNS are mapped to physical servers. We are now implementing a HyperV cluster. The physical servers will be converted to virtual servers. Once the servers have been converted to virtual, we would like to move the lun over to the VM as a pass through disk. My question is this. When I map the luns to the HyperV Host servers (3 of them) and I have to initialize the LUN will I lose any data?

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.

Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:

You will use the LUNs on the host, or just want to add this LUNs into a Virtual Server?

stever1884Author Commented:
The plan is to use a HyperV pass through disk. According to
The LUN will be added to the Host and then passed to the VM. The goal is to have the LUN directly added to the VM but I am scared of losing data.
You don't need to do the part of initialize disk and format the disk in the hyper-v server, because the LUN already have format and information. You only need to make the disk offline in Hyper-V server and then add the disk in Hyper-v configuration. This should be enought to view the information in the VM.

Therefore always is a good practiced to have a backup of your information before any movements.
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:

Yes you can.

You can add in your VM as RAW disk. You just need to present the LUN into the host(IP), do not add the Storage in the Hyper-V, but only add this as RAW disk in the VM.

Check the above link how to do this.


Also you link have a good example how to do this.

Hope this can help

stever1884Author Commented:
I would prefer to not pass it through as a raw disk because then I would have to setup the ISCSI initiator in each VM (26 to start with).  I think that I have a good idea on how to accomplish this now but my concern is the part in the link that says to bring the disk online, initialize it and then bring it offline. Just worried that the initialize part will mess up existing data on the LUNS since this will be the first time this specific host has touched the LUN. I did some more research and it sounds like initialize just "tags" the disk with a number so the Host can reference it, but not touch the data. Can anyone confirm this?
Luciano PatrãoICT Senior Infraestructure  Engineer  Commented:

Honestly never used this like that in Hyper-V only in VMware. But is the same basics.

But yes you should not change anything on the host side, only add into the VM. And yes you need to use as physical Disk option in the VM.

When I have my doughs I always do tests. So create a new LUN(with 1 or 2Gb, doesn't matter) and test with this.
Just copy some information into that LUN. De-attach again from the server,  reattach again and resent to the VM directly.

With this you will test the data security.


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.