Windows OS Hub
  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows Server 2022
    • Windows 10
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
  • PowerShell
  • Linux

 Windows OS Hub / Virtualization / VMware / VMWare ESXi: Errno 28 — No space left on device

February 1, 2022

VMWare ESXi: Errno 28 — No space left on device

I saw a strange error: Errno 28 “No space left on device” when trying to manually update a VMWare ESXi version on a standalone host:

# esxcli software profile update -p ESXi-7.0.0-xxxx-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

[InstallationError]
[Errno 28] No space left on device
vibs = VMware_bootbank_esx-base_7.0.0-xxxx
Please refer to the log file for more details.

vmware error : No space left on device

The error clearly indicates a lack of free space. However, the check of free disk space showed that there is enough free space left on the storage device:

df -h

VMWare has a separate KB 1007638 “ESXi/ESX error: No free space left on device”. In the article, they say that you cannot create new files because you have reached the maximum number of inodes on the file system. Check it using this command:

stat -f / | grep Inodes | awk '{ print $NF }'

In my case, the Free value is quite large, so it should not be the cause of the problem.

Another possible issue is a lack of free memory on the host to perform the upgrade. You need to allow the ESXi host to place its swap file on any of the available VMFS datastores.

You can set another swap file location via the graphical interface of your vSphere Client: Host -> Configure -> System Swap -> Edit -> Can use datastore (select an available datastore).

Make sure that the following options are enabled:

  • Can use host cache
  • Can use datastore specified by host for wasp files

VMware ESXi: Configuring Host Swap Cache on VMFS datastore

You can also enable the use of VMFS datastores for the swap file from the ESXi CLI:

# esxcli sched swap system set -n VMFSDataStoreName1 -d y

Save the changes and try to run the host update again.

After adding the swap file, I got another error indicating that vmware tools light could not be updated:

[InstallationError]
[Errno 28] No space left on device
vibs = VMware_locker_tools_light_11.2.5.xxxxxxxxxxxx

Try to download and install the VIB file manually:
cd /tmp
wget http://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools_light_11.2.5.xxxxxxxxxxxx.vib
esxcli software vib install -f -v /tmp/ VMware_locker_tools_light_11.2.5.xxxxxxxxxxxx
rm /tmp/VMware_locker_tools_light_11.2.5.xxxxxxxxxxxx

Use the name of the VIB file containing VMware_locker_tools_light version from your error in the commands.
You can display a full list of available versions as follows:
# esxcli software sources vib list --depot=https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml | grep tools-light | sort

Run the ESXi build update:
# esxcli software profile update .....

If manual VMware tools light update fails, try to update your ESXi image and skip the update of vmtools VIB file:

# esxcli software profile update -p ESXi-version-build -no-tools -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vm-depot -index.xml

Restart your host and update Vmware_locker_tools:

# esxcli software vib install -v https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_tools-light-version-build.vib

If nothing helps, download a ZIP file with a new ESXi version and upload it to any connected datastore.

Update your host from a local ZIP file:

# esxcli software vib update -d /vmfs/volumes/YourVMFSDatastore/ESXi700-xxxxxx.zip

0 comment
2
Facebook Twitter Google + Pinterest
VirtualizationVMware
previous post
Can’t Access Shared Folders or Map Network Drives from Windows 10 and 11
next post
The Sign-in Method Isn’t Allowed to Logon Windows

Related Reading

Adding External USB Storage Drive to VMware ESXi

December 18, 2024

Configuring iSCSI Datastore (LUN) on VMware ESXi

March 15, 2024

Adding Drivers into VMWare ESXi Installation Image

March 13, 2024

Adding a Sound Card to a Virtual Machine...

March 15, 2024

How to Install Free VMware Hypervisor (ESXi)

March 17, 2024

Windows Cannot Find the Microsoft Software License Terms

April 19, 2023

Using iPerf to Test Network Speed and Bandwidth

March 12, 2024

How to Access VMFS Datastore from Linux, Windows,...

March 11, 2024

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Configuring Windows Protected Print Mode (WPP)

    May 19, 2025
  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025
  • Load Drivers from WinPE or Recovery CMD

    March 26, 2025
  • How to Block Common (Weak) Passwords in Active Directory

    March 25, 2025
  • Fix: The referenced assembly could not be found error (0x80073701) on Windows

    March 17, 2025
  • Exclude a Specific User or Computer from Group Policy

    March 12, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • Adding Drivers into VMWare ESXi Installation Image
  • How to Fix ‘An Operating System Wasn’t Found’ Error on Windows
  • Reduce Virtual Machine Disk Size (VMDK) on VMWare ESXi
  • How to Access VMFS Datastore from Linux, Windows, or ESXi
  • Hyper-V Virtual Machine Stuck in Stopping/Starting State
  • Recovering a Deleted VMFS Datastore on VMware ESXi/vSphere
  • How to Install and Configure Free Hyper-V Server 2019/2016
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top