Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

VHD failed to attach to VM

Posted on 2011-02-23
5
Medium Priority
?
6,101 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 24

Assisted Solution

by:Luciano Patrão
Luciano Patrão earned 200 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 200 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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
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…

609 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