VMware vSphere

 View Only
  • 1.  [OSError] [Errno 28] No space left on device even SWAP is enabled

    Posted Nov 08, 2020 12:37 AM

    Hello,

    I have 6.7.0 Update 3 (Build 14320388) ESXi without vSphere which I want to update to the newest version. The problem is I get the below error:

     

    I have swap enabled.

    I've tried manual VMware_locker_tools-light_11.1.1.16303738-16701467.vib extracted from the newest update and uploaded to /tmp instalation with

    but it says it's skipped.

    df -h

    esxupdate.log

     

    All VMs are stopped, host in maintenance mode.

     

    vdf -h

     

    Thank you for any help



  • 2.  RE: [OSError] [Errno 28] No space left on device even SWAP is enabled

    Posted Nov 08, 2020 05:43 PM

    Hey,

    Oh yes this problem also caused me to go nuts before!

    Even if you enable swap the ESXi busybox space which is used for cli is limited to around 200MB space, which is not enough for running the update.

    The solution is simple:

    Manually download the update package from https://my.vmware.com/group/vmware/patch#search on your computer then upload it on your server datastore, let's say in /datastore1/update/ESXi670-202011001.zip for example

    Then on the SSH cli use these commands:

    esxcli software profile update --dry-run -p ESXi-6.7.0-20201103001-standard -d /vmfs/volumes/datastore1/update/ESXi670-202011001.zip

    If the dry run is successful, do the update with

    esxcli software profile update -p ESXi-6.7.0-20201103001-standard -d /vmfs/volumes/datastore1/update/ESXi670-202011001.zip

    Reboot and the update is done