Solved

VHD failed to attach to VM

Posted on 2011-02-23
5
5,017 Views
Last Modified: 2012-05-11
I'm running Core Server 2008 R2, with several VM, managed by HyperV. I have a .vhd file (37Gig) that I want to attach to a VM. The free hard drive on Core is 90Gig. However, after I created a VM (2Gig of RAM) and attach that .vhd (37Gig) to the VM, the pop-up error warning came up:
------------------------------------------------------------------------
"Error Applying Hard Drive Changes

Failed to add device 'Microsoft Virtual Hard Disk'.

Cannot open attachment '\\Core2008R2\C$\Virtual Harddisks\TS2008.vhd'.
Error: 'The requested operation could not be completed due to a file system limitation'

Cannot get information for attachment '\\Core2008R2\C$\Virtual Harddisks\TS2008.vhd'

------------------------------- etc. 3 more paragraphs with the same messages-------

Any idea what went wrong?
0
Comment
Question by:lineonecorp
  • 3
5 Comments
 
LVL 23

Assisted Solution

by:Luciano Patrão
Luciano Patrão earned 50 total points
ID: 34963573
Hi

Check here how to bypass this issue

http://www.expta.com/2010/06/unable-to-compact-vhd-due-to-file.html

Hope this can help

Jail
0
 
LVL 9

Assisted Solution

by:meko72
meko72 earned 50 total points
ID: 34963637
0
 

Author Comment

by:lineonecorp
ID: 34964132
Thanks for the links, but I don't use any compression or compact folder/drive or whatever that is.

Other thing that I just tried:
I made an experiment on the VM that is already working and attached to a .vhd file. I detached it, and re-atached it, now it gives me the same message. I couldn't get it back to work.
0
 

Accepted Solution

by:
lineonecorp earned 0 total points
ID: 34994958
Resolved the issue.  VHD had to be referenced as a drive letter not a UNC path e.g.

wrong way: \\2008core\c$\Virtual Harddisks\XP02\XP02.vhd

correct way: C:\Virtual Harddisks\XP02\XP02.vhd



0
 

Author Closing Comment

by:lineonecorp
ID: 35034706
Solved issue myself.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question