Solved

VHD failed to attach to VM

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

705 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now