Solved

How to make VMDK files smaller

Posted on 2012-03-09
4
575 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
4 Comments
 
LVL 19

Expert Comment

by:vmwarun - Arun
Comment Utility
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
Comment Utility
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 23

Expert Comment

by:Nagendra Pratap Singh
Comment Utility
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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 500 total points
Comment Utility
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
David VarnumĀ recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to use vSphere Update Manager to update the VMware Tools and virtual machine hardware version Open vSphere Client: Review manual processes for updating VMware Tools and virtual hardware versions: Create a new baseline group in vSpā€¦

762 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

6 Experts available now in Live!

Get 1:1 Help Now