Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2016-08-15
3
Medium Priority
?
65 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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
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.
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

598 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