Avatar of Dan
Dan
Flag for United States of America asked on

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?
Hyper-VWindows Server 2012Virtualization

Avatar of undefined
Last Comment
Dan

8/22/2022 - Mon
SOLUTION
Richardson Porto

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Dan

ASKER
I tried that, but it failed as well.
*** Hopeleonie ***

So you have a cluster?
Can you add permissions for the computer account of hyper-v host on the share folder and try again?
Dan

ASKER
Yes, I have a cluster.
I have never had to do that, how exactly do I give my 4 VMS host servers access?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
SOLUTION
*** Hopeleonie ***

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Philip Elder

What is the cluster setup?

How is shared storage configured and hooked into the Hyper-V nodes?
Dan

ASKER
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.
Philip Elder

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?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Dan

ASKER
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.
Dan

ASKER
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?
Dan

ASKER
Is this some type of permissions issue? Where would it be at?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
Philip Elder

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Dan

ASKER
I'll try that tomorrow morning, have. Have not tried that yet.
Dan

ASKER
Thanks guys for your help.   After I created a new folder on the new storage, it allowed me to move the VMs over.