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

Hyper-V VM migration fails

I am running hyper-v, win 2012 R2.
This is the first time I'm trying to do a storage migration, but it keeps on failing.  Trying to move one VM to another storage volume.
I have included the error message.

error
Any ideas how to fix this?
0
afacts
Asked:
afacts
  • 8
  • 3
  • 2
  • +1
3 Solutions
 
Richardson PortoSenior Infrastructure SpecialistCommented:
Try to move to C:\ClusterStorage\Volume2\win7test\ folder instead of the C:\ClusterStorage\Volume2\.
0
 
afactsNetwork EngineerAuthor Commented:
I tried that, but it failed as well.
0
 
*** Hopeleonie ***IT ManagerCommented:
So you have a cluster?
Can you add permissions for the computer account of hyper-v host on the share folder and try again?
0
Technology Partners: 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!

 
afactsNetwork EngineerAuthor Commented:
Yes, I have a cluster.
I have never had to do that, how exactly do I give my 4 VMS host servers access?
0
 
*** Hopeleonie ***IT ManagerCommented:
Try to give the computer account full NTFS access on the share folder. Check also the sharing permissions as well.
0
 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
What is the cluster setup?

How is shared storage configured and hooked into the Hyper-V nodes?
0
 
afactsNetwork EngineerAuthor Commented:
I have an HP San, msa2312i
I have different vdisk and volumes.
The San is connected to 2 Cisco switches via iscsi (cat6).  
Then I have 4 HP DL360 G7 proliant servers with 4 Nic ports. Two of the ports are connected to the Cisco switches where my San is connected and the other two nics are connected to a Dell LAN switch.
Thw Cisco switches are private, reserved only for the San, nothing else is plugged into them.
The storage is on the San.

I can move the VMs around the different host servers just fine, but I have never tried to move a VM to another storage group, which I need to do now.  I have tried the move via the migration assistant in the failover cluster manager.

Where exactly should I check for permissions?
How do I give the servers full access to the ntfs shares, I want to make sure I do it right.

I'm pretty sure it's some kind of permissions, just not sure where to look.
0
 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
How are the LUNs hooked into the nodes?
iSCSI Target on the nodes?
Is LUN Sharing set up correctly?
Does storage fail over to the other controller if running a planned failover test on the SAN?

EDIT:
Simple test: Create a folder on the existing LUN. Use the migration wizard to move the VM's storage from the one folder on the LUN to the other. Does that work?
Run the test from both nodes. Does it work on both?
0
 
afactsNetwork EngineerAuthor Commented:
The Luns are the volumes on the San I believe,
As when I look at the config, it says Lun # for each volume.  They are connected via iscsi.
Yes, iscsi on the nodes as well.
I don't know if the Lun sharing is setup properly,
How can I check?
I have never done a failover test from one controller to another, so I don't know if that works.
So far, I have only moved VMs from one node to another, but never moved VMs to different storage, which is on the same SAN, just on a different volume or Lun.

I'll do your test here in a few minutes.
0
 
afactsNetwork EngineerAuthor Commented:
I did the test, created a new folder on the same LUN, and i was able to move the storage using the virtual machine storage option just fine.  I looks like it fails when I try to move the VM storage to another volume.
Any ideas why it's failing or what I can do to resolve?
0
 
afactsNetwork EngineerAuthor Commented:
Is this some type of permissions issue? Where would it be at?
0
 
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Are you able to create a folder on the destination LUN? If yes, try the storage migration to that newly created folder.
0
 
afactsNetwork EngineerAuthor Commented:
I'll try that tomorrow morning, have. Have not tried that yet.
0
 
afactsNetwork EngineerAuthor Commented:
Thanks guys for your help.   After I created a new folder on the new storage, it allowed me to move the VMs over.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

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