Score:0

Shrinking ESXi volume to reclaim unallocated space

il flag

We have a number of VMs (VMware ESXi) running Ubuntu. As a result of the installation time 'feature' which only allocates half the amount of the requested space, we have a lot of wasted/unallocated space. For example, a 100Gb volume as seen by the OS is taking 200Gb in ESXi.

There are lots of articles describing how to correct this by extending the OS volume to take the full 200Gb - but I'd like to do the opposite: keep the OS volume as 100Gb but shrink the space consumed in ESXi down to 100Gb too.

I'm confused regarding the LVMs, logical volumes, physical volumes, the use of parted, fdisk, editing the VMDK file etc. What are the steps to complete this safely?

Thanks,

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.