Solved

How to make VMDK files smaller

Posted on 2012-03-09
4
582 Views
Last Modified: 2012-03-28
Let's say I have a VM that is Windows 2008 R2 with a 100 GB Hard disk and therefore the corresponding VMDK file is 100 GB in size.  Now let's say I want to move 30 GB of files in that VM to somewhere else and now only need a 70 GB hard drive.  Is there a way to make the VMDK file smaller?  I know I can make them bigger but can anything be done in the opposite direction?  I would be using ESXi v5 Enterprise edition.
0
Comment
Question by:damien1234
[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
4 Comments
 
LVL 19

Expert Comment

by:vmwarun - Arun
ID: 37703622
A VMDK can be thin or thick provisioned depending on your requirement. If you have deployed a VM with 100GB VMDK in thin format, let's say that you have installed an OS which has consumed only 20GB, then only 20GB would be used from a storage perspective.

From a Windows perspective, there is an option to shrink the disks although the ratio of shrinkage depends on how much data is currently occupied by the guest.
0
 
LVL 40

Expert Comment

by:coolsport00
ID: 37704011
The easiest and most 'supported' way to do so according to VMware is to use vCenter Converter Standalone to do a V2V. You run the very least potential of VM corruption. During the Conversion wizard, you have the option to choose the disk and shrink it to the size you want. it.

Here's the download:
http://downloads.vmware.com/d/info/infrastructure_operations_management/vmware_vcenter_converter_standalone/5_0

The User Guide:
http://www.vmware.com/pdf/convsa_50_guide.pdf

Best Practice KB:
http://kb.vmware.com/kb/1004588

Regards,
~coolsport00
0
 
LVL 24

Expert Comment

by:Nagendra Pratap Singh
ID: 37704743
You can do a Storage Vmotion and choose thin disk format. This way you will be using only what is used but there is a some performance hit.
0
 
LVL 121

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 37704813
0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to join ESXi hosts to Active Directory domains Open vSphere Client: Join ESXi host to AD domain: Verify ESXi computer account in AD: Configure permissions for domain user in ESXi: Test domain user login to ESXi host:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

695 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