Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 769
  • Last Modified:

Shrink virtual HDD vmware Vsphere 5.0

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
kistenstein
Asked:
kistenstein
  • 2
3 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
 
securitythreatCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now