?
Solved

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

Posted on 2016-08-15
3
Medium Priority
?
54 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:Axel
[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 2000 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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
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…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Suggested Courses

752 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