Solved

Windows 2008 Server Standart VM won't shrink D drive as available space

Posted on 2016-08-15
3
42 Views
Last Modified: 2016-09-07
Hi all !!

Here is my problem actually ! Hope I'm clear enought !

SETUP :
-HYPERV : Server 2012 R2
-2 ARRAYS : RAID5 10K 1.6TB  &  RAID10 15K 800GB
-CONTAINER : Controller IDE VHDX 830GB  located in the  RAID5 10K
-VM : Windows 2008 Server Standard with a 160GB C: drive  and a  830GB D: drive

PROBLEM :
- Moving a 830GB VHDX into a 800GB container
- In the VM Win2008 the D drive usage is 515GB free out of 830GB
- In HyperV Manager the VHDX file says 770GB used out of 830GB
- In the VM Win2008 the Disk Shrink won't let me shrink more than 990MB ???

ACTIONS TAKEN :
- Removed pagefile for the D drive
- Performed a Defrag
- Set Write Debugging Information to NONE
- Defrag again
- Installed Smart Defrag to see the map and no unmoveable file are at the end of the volume...

Any suggestions would be very appreciate !!!
0
Comment
Question by:Technointegra
  • 2
3 Comments
 
LVL 38

Expert Comment

by:Aaron Tomosky
ID: 41757403
In the VM Disable page file and hybernation and reboot.
0
 
LVL 36

Accepted Solution

by:
ArneLovius earned 500 total points (awarded by participants)
ID: 41757444
If you can cope wit the downtime, I would usually suggest doing an offline partition shrink using a tool such as gparted live, which the VM can boot from ISO.

http://gparted.org/livecd.php

After the partition shrink has finished, and the VM has been shut down, you can then shrink the .vhdx in Hyper-V manager.

If you have sufficient space, on your RAID5 volume, to test using gparted, you could test the gparted shrink on a copy of the .vhdx. To have minimal downtime when copying, shut down the VM and take a checkpoint in Hyper-V Manager, then you can copy the .vhdx file while all changes are written to its associated .avhdx, after the copy has finished, you can delete the checkpoint in Hyper-V Manager and it will merge the .avhdx with the .vhdx
0
 
LVL 36

Expert Comment

by:ArneLovius
ID: 41787468
only accurate answer
0

Featured Post

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.

Question has a verified solution.

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

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
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…
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…

930 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

19 Experts available now in Live!

Get 1:1 Help Now