• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 989
  • Last Modified:

Move existing lun to HyperV server without losing data

 Hello,
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?

Thanks
0
stever1884
Asked:
stever1884
  • 3
  • 2
1 Solution
 
Luciano PatrãoICT Senior Infraestructure Engineer Commented:
Hi

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

Jail
0
 
stever1884Author Commented:
The plan is to use a HyperV pass through disk. According to http://blogs.technet.com/b/askcore/archive/2008/10/24/configuring-pass-through-disks-in-hyper-v.aspx
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.
0
 
serchlopCommented:
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.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Luciano PatrãoICT Senior Infraestructure Engineer Commented:
Hi

Yes you can.

http://blogs.technet.com/b/josebda/archive/2008/02/14/storage-options-for-windows-server-2008-s-hyper-v.aspx

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

http://www.servethehome.com/hyperv-disk-passthrough-quick-guide/

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

Hope this can help

Jail
0
 
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?
0
 
Luciano PatrãoICT Senior Infraestructure Engineer Commented:
Hi

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.

Jail
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now