Solved

Microsoft Virtual Server Hard disk (VHD) size is increasing.

Posted on 2010-09-14
13
865 Views
Last Modified: 2013-11-23
Hi,
On one of my physical server's secondary drive which had 73 GB free space i had installed an instance of Microsoft Virtual server 2005 R2 and create a virtual machine with 50 GB hard disk. Today the size of VHD reached 72 GB and virtual machine getting dismounted again n again.
I have checked and found that my virtual machine has 40 GB free space so now i want to decrease and limit  the size of VHD from 50 to 20.
Please let me know how can i do it. My physical mahine is running on 2003 standard edition with SP2.
0
Comment
Question by:pdixit1977
  • 8
  • 5
13 Comments
 

Author Comment

by:pdixit1977
ID: 33674234
i forgot to mention that i had created dynamic disk not fixed disk.
0
 
LVL 15

Expert Comment

by:msmamji
ID: 33679303
So If I understood you right, you want to resize your VHD from 50 GB to 20 GB and change its type from dynamic to fixed.
You first have to shrink the volume from inside the VM and shrink it to the maximum size of the VHD you want. If you succeed in this, you can then use VHDResizer tool to resize the VHD and make it fixed.

Kindly look at my comments from another thread.
http://www.experts-exchange.com/Microsoft/Applications/Virtual_Server/Q_26398933.html

Let me know if you still have confusion.

Regards,
Shahid
0
 

Author Comment

by:pdixit1977
ID: 33683674
how to shrink the VHD inside the VM ?
0
 
LVL 15

Expert Comment

by:msmamji
ID: 33684518
You need to first open disk management (diskmgmt.msc) form inside the VM. Select the volume you wish to shrink, right click and select shrink. A wizard will be presented to you giving you the max amount the disk can be shrinked to.  
A few catches, the shrink option is available on disk management mmc on vista and above OSes, not on XP/2003. Hopefully you are not running xp or 2003, if not, then there are a few things that we can do but will let you know fi that is the case.
The other thing to keep in mind is that, the amount of space presented to you during the shrink option depends on the offset to which the data has been written in the disk. A better way would be to first defrag the volume and then try the shrink option.

0
 

Author Comment

by:pdixit1977
ID: 33684969
you mean defrag ??
if yes then i alredy did that.
0
 
LVL 15

Expert Comment

by:msmamji
ID: 33685088
Yes.
did you try shrink then?
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 

Author Comment

by:pdixit1977
ID: 33685697
yes, i already shrinked it. Let me run VHDResizer.
Do you have any good and free VHDResizer tool  ??
0
 
LVL 15

Expert Comment

by:msmamji
ID: 33687888
dear, the VHDResizer link was mentioned in my other post. Well, anyways you can download it from here.
http://vmtoolkit.com/files/folders/converters/entry87.aspx

Here is a post you can look at aswell.
http://www.windowsreference.com/free-utilities/vhd-resizer-resize-microsofts-vhd-hyper-v-files/

Regards,
Shahid
0
 

Author Comment

by:pdixit1977
ID: 33703594
I have tried vhdresizer but when i map my VHD, it says invalid VHD select other one.
Please help
0
 

Author Comment

by:pdixit1977
ID: 33703603
i think this tool is inteneded for vmware's VHD not for Microsoft VHD, thought ???
0
 
LVL 15

Accepted Solution

by:
msmamji earned 500 total points
ID: 33707242
VMware uses vmdk as there Virtual Hard Disk format. VHDResizer is for VHDs and they are used in Microsoft Virtualization.
Try another VHD, see if you get the same error.
0
 

Author Comment

by:pdixit1977
ID: 33788064
Sorry, i dont have any other VHD.
Now i m planning to mount this VHD on other server where i have space available but at the same time i want to change it from dynamic VHD to Fixed size VHD so that i wont face same issue again.

Please help me on this.
0
 

Author Closing Comment

by:pdixit1977
ID: 33842809
problem is still there but thanks for good articles, tools and help
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ABOUT FIREFOX BROWSER 6 38
MS Exchange (Office 365) VS iCloud 7 133
Wireless coverage 7 70
iPad Music not displaying playlists in iTunes on an iMac 2 41
Introduction Many people don't know about it - and it's almost like a huge secret, but Hyper-V is one of the most cost-effective Virtual solutions out there, and I'll tell you why. In a single word - Licensing. The Breakdown Microsoft gi…
Guide: Build a Hyper-V Cluster Introduction We all know that Hyper-V is a cost effective solution (see http://www.experts-exchange.com/A_7831.html), and now we want to take advantage of it, right?  Unfortunately, hardware fails, leading to dow…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…

937 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

11 Experts available now in Live!

Get 1:1 Help Now