VMware Cloud Community
Mustibh
Contributor
Contributor
Jump to solution

Vmware Esxi Update No Space Left On Device Error

Hello,

I'm trying to install updates from a zip file but always gives the same error. "No Space Left On Device"

But there is a plenty of space on Device.

When i try to run

esxcli software vib update -d /vmfs/volumes/datastore1/ESXi600-201703001.zip

it gives that error:

[InstallationError]

[Errno 28] No space left on device

       vibs = VMware_bootbank_misc-drivers_6.0.0-3.57.5050593

Please refer to the log file for more details.

And in the log file:

2017-04-02T00:13:50Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = 'localcli system visorfs ramdisk list |            grep /stagebootbank &&            localcli system visorfs ramdisk remove -t /tmp/stagebootbank', outfile = 'None', returnoutput = 'True', timeout = '0.0'.

2017-04-02T00:13:50Z esxupdate: BootBankInstaller.pyc: WARNING: Cannot remove staging directory: [Errno 16] Device or resource busy: '/tmp/stagebootbank'

2017-04-02T00:13:50Z esxupdate: vmware.runcommand: INFO: runcommand called with: args = 'localcli system visorfs ramdisk list |            grep /stagebootbank &&            localcli system visorfs ramdisk remove -t /tmp/stagebootbank', outfile = 'None', returnoutput = 'True', timeout = '0.0'.

2017-04-02T00:13:51Z esxupdate: root: ERROR: Traceback (most recent call last):

2017-04-02T00:13:51Z esxupdate: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 462, in <module>

2017-04-02T00:13:51Z esxupdate: root: ERROR:     main()

2017-04-02T00:13:51Z esxupdate: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 453, in main

2017-04-02T00:13:51Z esxupdate: root: ERROR:     ret = CMDTABLE[command](options)

2017-04-02T00:13:51Z esxupdate: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 362, in VibInstallCmd

2017-04-02T00:13:51Z esxupdate: root: ERROR:     checkacceptance=checkacceptance)

2017-04-02T00:13:51Z esxupdate: root: ERROR:   File "/build/mts/release/bora-3620759/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/site-packages/vmware/esximage/Transaction.py", line 250, in InstallVibsFromSources

2017-04-02T00:13:51Z esxupdate: root: ERROR:   File "/build/mts/release/bora-3620759/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/site-packages/vmware/esximage/Transaction.py", line 356, in _installVibs

2017-04-02T00:13:51Z esxupdate: root: ERROR:   File "/build/mts/release/bora-3620759/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/site-packages/vmware/esximage/Transaction.py", line 399, in _validateAndInstallProfile

2017-04-02T00:13:51Z esxupdate: root: ERROR:   File "/build/mts/release/bora-3620759/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/site-packages/vmware/esximage/HostImage.py", line 710, in Stage

2017-04-02T00:13:51Z esxupdate: root: ERROR:   File "/build/mts/release/bora-3620759/bora/build/esx/release/vmvisor/sys-boot/lib/python2.7/site-packages/vmware/esximage/HostImage.py", line 483, in _download_and_stage

2017-04-02T00:13:51Z esxupdate: root: ERROR: InstallationError: ('VMware_bootbank_vsanhealth_6.0.0-3000000.3.0.3.58.5224738', '[Errno 28] No space left on device')

"vdf -h" Output

Ramdisk                   Size      Used Available Use% Mounted on

root                       32M      244K       31M   0% --

etc                        28M      204K       27M   0% --

opt                        32M        0B       32M   0% --

var                        48M      428K       47M   0% --

tmp                       256M       20K      255M   0% --

iofilters                  32M        0B       32M   0% --

hostdstats                303M        2M      300M   0% --

As you can see %0 is used on /tmp i dont know why gives that error.

How can i fix this problem ? I cant update my esxi 3620759 to 5224934.

Tags (1)
47 Replies
Luca61
Contributor
Contributor
Jump to solution

The swap "correct solution" did not help in my case (also swap was alrerady assigned to a datastore).  Downloading the tools .vib and manually installing, as originally suggested by FirstS0ul did the trick.  Thank you so much!

Reply
0 Kudos
strouja
Contributor
Contributor
Jump to solution

Hi, enabling the swap did not solve this for me.  After I enabled the swap I found this link

https://ganon.club/index.php/2019/04/16/no-space-left-on-device-vmware_locker_tools-error-when-upgra...

which explained

The solution is simple. The “no space left” is kind of a default “stopper” that shows up — you’re not actually out of space. However, there’s a VIB file that is a prerequisite prior to upgrading to whatever version of ESXI you’re trying to get to.

In this case, that item is VMware Locker Tools Light.

Run the following 3 lines individually to get it installed:

So I followed his instructions and ran

cd /tmp

wget http://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_to...

esxcli software vib install -f -v /tmp/VMware_locker_tools-light_11.0.1.14773994-15160134.vib

This allowed met to install the updated VMware_locker_tool
then I ran the latest update successfully via
esxcli software profile update -p ESXi-6.7.0-20191204001-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

reboot

This brought me to

[root@stroud-esxi:~] vmware -l
VMware ESXi 6.7.0 Update 3
[root@stroud-esxi:~] vmware -v
VMware ESXi 6.7.0 build-15160138

prior to this I was on
[root@stroud-esxi:~] vmware -l
VMware ESXi 6.7.0 Update 3
[root@stroud-esxi:~] vmware -v
VMware ESXi 6.7.0 build-14320388

tmack8080
Contributor
Contributor
Jump to solution

First place I always go to get the latest on upgrading/patching, Paul's site.

Thx

Reply
0 Kudos
Aldo_Abril
Contributor
Contributor
Jump to solution

Hi,

How can i download the file VMware_locker_tools-light_6.5.0-0.23.5969300.vib?

I've tried the command but get this error:

wget: bad address 'hostupdate.vmware.com'

Is there another way to obtain that vib file?

Greetings

Reply
0 Kudos
IRIX201110141
Champion
Champion
Jump to solution

You have to open the firewall first. Try

esxcli network firewall ruleset set -e true -r httpClient

first.

Reply
0 Kudos
GreggHudson
Contributor
Contributor
Jump to solution

Helpful! Thanks!

Reply
0 Kudos
mfirth
Enthusiast
Enthusiast
Jump to solution

Thanks - this is what I needed for an update on V6.7.0. Just enabling swapping to the datastore didn't work, but manually downloading and installing the tools VIB did.

Reply
0 Kudos
Scott_1
Contributor
Contributor
Jump to solution

Worked on ESXi 8.  Thanks.

Reply
0 Kudos