Solved

Shrink virtual HDD vmware Vsphere 5.0

Posted on 2012-03-14
3
761 Views
Last Modified: 2012-05-28
Hi all
I've a Vmware Vsphere Server 5.0. An employee has a year ago created a vm with 200gb space for a debian vm. A week ago he has extend the disk to 300gb. He hasn't modified the disk in the debian os. I do not want to use 300gb. How could I shrink the vmdk Disk to 200gb again without problem?

Thanks
0
Comment
Question by:kistenstein
  • 2
3 Comments
 
LVL 119

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 334 total points
ID: 37722458
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 334 total points
ID: 37722463
or create a new 200GB disk, attached to the VM, clone the contents using G4L, and then remove and delete the original 300GB disk.

http://sourceforge.net/projects/g4l/
0
 
LVL 1

Assisted Solution

by:securitythreat
securitythreat earned 166 total points
ID: 37723407
If you are worried about actual disk space usage, you can always convert it to use thin provisioning.  You can do this with a vMotion.  The OS doesn't know the difference and still things it has 300GB.  However, you are only using the disk space that the OS actually needs.  

If you attempt to convert or use Quest's tool, you run the risk of loosing or corrupting data.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

803 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