Solved

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

Posted on 2016-08-15
3
51 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
[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
  • 2
3 Comments
 
LVL 39

Expert Comment

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

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 37

Expert Comment

by:ArneLovius
ID: 41787468
only accurate answer
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Optimized for private cloud infrastructures and datacenters, Nano Server is minimalistic, yet super-efficient, OS for services such as Hyper-V and Hyper-V cluster. Learn how you can easily deploy Nano Server and unlock its power!
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

688 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