Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

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

February 1, 2022 VirtualizationVMWare

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
previous post
Grep in PowerShell Using the Select-String Cmdlet
next post
The Sign-in Method Isn’t Allowed to Logon Windows

Related Reading

Updating VMware ESXi Host from the Command Line

May 11, 2022

How to Change or Disable Session Timeout in...

April 13, 2022

Managing Hyper-V Virtual Machines with PowerShell

March 15, 2022

How to Upgrade VM Hardware Version in VMware...

March 4, 2022

VMware PowerCLI: How to Install and Manage vSphere...

February 28, 2022

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows 7
  • Windows Server 2019
  • Windows Server 2016
  • Windows Server 2012 R2
  • PowerShell
  • VMWare
  • Hyper-V
  • MS Office

Recent Posts

  • Create Organizational Units (OU) Structure in Active Directory with PowerShell

    May 17, 2022
  • Windows Security Won’t Open or Shows a Blank Screen on Windows 10/ 11

    May 17, 2022
  • How to Manually Install Windows Updates from CAB and MSU Files?

    May 16, 2022
  • RDS and RemoteApp Performance Issues on Windows Server 2019/2016

    May 16, 2022
  • Deploying Software (MSI Packages) Using Group Policy

    May 12, 2022
  • Updating VMware ESXi Host from the Command Line

    May 11, 2022
  • Enable or Disable MFA for Users in Azure/Microsoft 365

    April 27, 2022
  • Fix: You’ll Need a New App to Open This Windows Defender Link

    April 27, 2022
  • How to Reset an Active Directory User Password with PowerShell and ADUC?

    April 27, 2022
  • How to Completely Uninstall Previous Versions of Office with Removal Scripts?

    April 26, 2022

Follow us

woshub.com

ad

  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Shrinking VMDK Virtual Disk Size on VMWare ESXi
  • USB Device Passthrough (Redirect) to Hyper-V Virtual Machine
  • Poor Network Performance on Hyper-V VMs in Windows Server 2019
  • Accessing USB Flash Drive from VMWare ESXi
  • Windows Cannot Find the Microsoft Software License Terms
  • How to Install Windows 11 on a Hyper-V Virtual Machine?
  • VMware PowerCLI: How to Install and Manage vSphere and ESXi
Footer Logo

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


Back To Top