VMware

Is there a way to resize the esxi partitions

I’m on the free esxi… I need to update to U3 because of the security vulnerabilities. I am getting the out of disk space error when updating via SSH.

The error seems to be widely known and I tried the known remedies (enable swap, enable scratch, diagnose the file systems). There are >100G free on the data drive the scratch is on.

On the boot, there are a couple partitions 256MB (!) in size which are like 35% full but it’s conceivable a larger download would not fit onto one of those.

The question here is, can I resize the partitions? My ESXI runs off a 32GB USB3 stick, there is plenty of unused room. However, there were two partitions gparted didn’t recognize and I don’t know if they can be safely moved.



View Reddit by SkelshyView Source

 

To see the full content, share this page by clicking one of the buttons below

Related Articles

4 Comments

  1. Out of disk space some times is about file/folder permissions (some process think that if they can’t copy/move file is because there is no room in filesystem).

    I suggest you don’t touch partitions, you can break the whole system.

    Did you tried in another esxi? is there an option that file (update) you downloaded is corrupted? Can you post command line executed and error?

  2. Make sure your /bootbank isn’t pointing at /tmp. If it is then you’ll not have much luck fixing this and your USB stick is likely on the way out. Replace and reinstall.

    Also, rather than using the standard image, have you tried the no-tools version?

    I.e. esxcli software profile update -p ESXi-6.7.0-20190802001-no-tools -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

    I sort of went through this over the weekend with two of my hosts. My USB sticks were dying (hence the bootbank -> tmp issue preventing any initial upgrade), and even after a fresh install of 6.7U2 I could not upgrade to U3 with the standard image due to an out of space error for the tools vib. A bit silly but… it is what it is.

Leave a Reply