VMware Cloud Community
madviz
Contributor
Contributor
Jump to solution

How to shrink VMDK file?

Hi all,

Today i have extended a hard disk to increase the disk size on one of the Vm. Later due to requirements no longer required the hard disk. so is it possible to delete the disk which i have extended?

Thanks in advance

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
AntonVZhbankov
Immortal
Immortal
Jump to solution

There is no way to shrink vmdk file.

Only create new, smaller size, replicate data and delete first.

If you need temporary space then create new disk and just delete it when it's no longer needed.


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda

View solution in original post

0 Kudos
4 Replies
depping
Leadership
Leadership
Jump to solution

Are we talking about VMFS extents or VM OS extents? If we are talking about vmfs extents the answer is most definitely NO. If we are talking about the VM OS, is would be nice to know how you extended it, which OS etc.

Duncan

VMware Communities User Moderator

-


Blogging:

Twitter:

If you find this information useful, please award points for "correct" or "helpful".

0 Kudos
madviz
Contributor
Contributor
Jump to solution

I am trying to increase virtual machine hard disk (vmdk file) from 70 gb to 120 gb. Please find the steps below.

through vc i edit the virtual machine hard disk size from 70 to 120.

later as i said ealier no longer required 50 gb of hard disk so i tried to remove which is unsuccessfull.

but still the 50gb hard disk is stick to the vm which is use less and we can't use the disk space.

Let me know if you want any further information.

Thanks

0 Kudos
AntonVZhbankov
Immortal
Immortal
Jump to solution

There is no way to shrink vmdk file.

Only create new, smaller size, replicate data and delete first.

If you need temporary space then create new disk and just delete it when it's no longer needed.


---

VMware vExpert '2009

http://blog.vadmin.ru

EMCCAe, HPE ASE, MCITP: SA+VA, VCP 3/4/5, VMware vExpert XO (14 stars)
VMUG Russia Leader
http://t.me/beerpanda
0 Kudos
depping
Leadership
Leadership
Jump to solution

Indeed, just add a second disk, this will solve your problem. Or you could use VMware Converter to shrink the disk during a V2V Smiley Happy

Duncan

VMware Communities User Moderator

-


Blogging:

Twitter:

If you find this information useful, please award points for "correct" or "helpful".