Solved

VHD failed to attach to VM

Posted on 2011-02-23
5
4,929 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 22

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
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.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

821 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