Solved

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

Posted on 2016-08-15
3
33 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

#Citrix #Citrix Netscaler #HTTP Compression #Load Balance
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
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…

758 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