VmWare

From indicium
Revision as of 17:56, 23 September 2021 by Stefan (talk | contribs)
Jump to navigation Jump to search

For updates: https://esxi-patches.v-front.de/

Solve installation errors

If you get errors during installation such as:

[root@boss:/tmp] esxcli software profile update -p ESXi-6.7.0-20191204001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
 [InstallationError]
 [Errno 28] No space left on device
       vibs = VMware_locker_tools-light_11.0.1.14773994-15160134
 Please refer to the log file for more details.

Then you can try to manually install the VIB by doing:

esxcli software vib install -v https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/<vibname from above>.vib

for example:

esxcli software vib install -v https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light_11.0.1.14773994-15160134.vib

And then resume the full update

List installed VIB:s

To list VIB:s for the current installation:

esxcli software vib list

To list VIB:s that will be active after a reboot:

esxcli software vib list --rebooting-image

List remote VIB:s

esxcli software sources vib list -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

Fix "Failed - Object type requires hosted I/O

SSH into the ESXI host. Locate the vmdk file, example:

# cd /vmfs/volumes/BigAndSlow/HomeAssistant/
# vmkfstools -x check hass.io.vmdk
Disk needs repair.
# vmkfstools -x repair hass.io.vmdk
Disk was successfully repaired.