Hyper-V error - failed to add device 'Microsoft Virtual Hard Disk'
-
Monday, May 07, 2012 5:51 PM
Hi,
I'm getting the error below when creating a new VM in Hyper-V. I'm using Windows Server Enterprise 2008 R2.
"failed to add device 'Microsoft Virtual Hard Disk'. (Virtual machine ID 7CB6EAA3-7610-4256-A83A-26FBC7A2C364)'VivHV_5_3Ciro2_VivHvbla': Attachment 'H:\VSE_VirtualMachines\VivHV_5_3Ciro2_VivHvbla\VivHV_5_3Ciro2_VivHvbla_0_0_1.vhd' not found. Error: 'The system cannot find the file specified.' (0x80070002). (Virtual machine ID 7CB6EAA3-7610-4256-A83A-26FBC7A2C364)."
Any idea?
Thanks,
Ciro
All Replies
-
Monday, May 07, 2012 6:32 PM
Hello Ciro,
Are you trying to move a VM? (Becuse of (Virtual machine ID 7CB6EAA3-7610-4256-A83A-26FBC7A2C364) saying move)
You said a new VM ,
Did you check the folder of H:\VSE_VirtualMachines\VivHV_5_3Ciro2_VivHvbla\VivHV_5_3Ciro2_VivHvbla_0_0_1.vhd'?
Sincerely,
Murat Demirkiran
If the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. www.scvmm2012.com (TR Language) Please note that I'm not a Microsoft Representative or SpokesPerson.
-
Monday, May 07, 2012 7:21 PM
Hi Murat,
It's actually a create, and it's being called through API. How do you know it's a move?
I've just checked and that file is there.
Thanks,
Ciro
-
Monday, May 07, 2012 7:50 PM
Hi!
From your post I take it that you're not using Hyper-V manager.
Is the API being called from a remote computer? If so, have you checked that it's not looking for the folder locally and that the account making the call has read permissions to the folder?
If not, please provide more details on how the API call is made and what's making it.
- Edited by Mike_Andrews Monday, May 07, 2012 7:50 PM
-
Monday, May 07, 2012 7:50 PM
Hi Ciro,
Please disable if there is an antivirus installed ( Just for test)
Can you try to shorten the folder and VHD name?
VHD is a blank VHD or Syspreped Image VHD?
Sincerely,
Murat Demirkiran
If the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. www.scvmm2012.com (TR Language) Please note that I'm not a Microsoft Representative or SpokesPerson.
-
Monday, May 07, 2012 8:20 PM
Hi Mike,
Yes, I'm calling the API remotely. Actually it's another layer of the application which wraps the Hyper-V API calls. But basically it creates a new config with network and storage, saves it and closes it.
I did a test with a 2MB disk and it failed, after I created another with 3MB and it worked. Reading the documentation, I saw that Hyper-V VHD has a limit of 3MB. Maybe this is the issue but the message doesn't seem to be very informative.
Thanks,
Ciro- Proposed As Answer by Mike_Andrews Tuesday, May 08, 2012 8:45 AM
- Marked As Answer by Jeff RenModerator Monday, May 14, 2012 6:45 AM
-
Tuesday, May 08, 2012 12:59 AM
You were below the minimum size for a VHD, so it didn't create.- Proposed As Answer by Mike_Andrews Tuesday, May 08, 2012 8:45 AM
- Marked As Answer by Jeff RenModerator Monday, May 14, 2012 6:46 AM
- Unmarked As Answer by Jeff RenModerator Monday, May 14, 2012 6:46 AM
- Marked As Answer by Jeff RenModerator Monday, May 14, 2012 6:46 AM

