Solved

VHD failed to attach to VM

Posted on 2011-02-23
5
5,263 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Event ID 29 KDC Win 2008 R2 DC 6 36
Hyper-V: Exporting VM with only 1 of 2 VHDs? 1 66
i think i have the same error 16 80
data still on separate partition? 2 55
If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

739 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