Solved

Shrink virtual HDD vmware Vsphere 5.0

Posted on 2012-03-14
3
763 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
[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 120

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 120

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: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

734 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