VMware Cloud Community
Sinorama
Enthusiast
Enthusiast

esxupdate OSError: [Errno 28] No space left on device

Error when updating from esxi 6.5d (Build 5310538) to (Build 5969303). esxupdate OSError: [Errno 28] No space left on device. this has not been a problem in the past. Install is on a 1GB sdcard. Lots of space of local storage. What to do?

esxcli software profile update -p ESXi-6.5.0-20170701001s-standard -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

vdf

-----

Ramdisk              1k-blocks      Used Available Use% Mounted on

root                     32768        24     32744   0% --

etc                      28672       268     28404   0% --

opt                      32768         0     32768   0% --

var                      49152       372     48780   0% --

tmp                     262144         4    262140   0% --

iofilters                32768         0     32768   0% --

hostdstats              162816      3104    159712   1% --

stagebootbank           256000    151692    104308  59% --

df -h

Filesystem   Size   Used Available Use% Mounted on

VMFS-6     698.5G 337.1G    361.4G  48% /vmfs/volumes/local1

VMFS-5     447.0G 333.8G    113.2G  75% /vmfs/volumes/local2

vfat       249.7M 147.8M    102.0M  59% /vmfs/volumes/b340d8e9-f5ff12fd-6a08-35fb7d4426dd

vfat       249.7M 147.7M    102.0M  59% /vmfs/volumes/8b7a3fe2-6231da38-b1db-38bc9c00a5fc

vfat       285.8M 144.0K    285.7M   0% /vmfs/volumes/555e9441-1c0f26fa-b696-10c37b456f5b

2017-07-28T02:51:30Z esxupdate: 383474: HostImage: DEBUG: Payload mbr.bin from vib VMware_bootbank_esx-base_6.5.0-0.23.5969300 skipped by BootBankInstaller

2017-07-28T02:51:30Z esxupdate: 383474: BootBankInstaller.pyc: DEBUG: Payload upgrade of type 'mcopy' in VIB 'VMware_bootbank_esx-base_6.5.0-0.23.5969300' is not supported by BootbankInstaller.

2017-07-28T02:51:30Z esxupdate: 383474: HostImage: DEBUG: Payload mcopy from vib VMware_bootbank_esx-base_6.5.0-0.23.5969300 skipped by BootBankInstaller

2017-07-28T02:51:30Z esxupdate: 383474: BootBankInstaller.pyc: DEBUG: Payload boot_com32_bios of type 'menu.c32' in VIB 'VMware_bootbank_esx-base_6.5.0-0.23.5969300' is not supported by BootbankInstaller.

2017-07-28T02:51:30Z esxupdate: 383474: HostImage: DEBUG: Payload menu.c32 from vib VMware_bootbank_esx-base_6.5.0-0.23.5969300 skipped by BootBankInstaller

2017-07-28T02:51:30Z esxupdate: 383474: BootBankInstaller.pyc: DEBUG: Payload upgrade of type 'metadata.xml' in VIB 'VMware_bootbank_esx-base_6.5.0-0.23.5969300' is not supported by BootbankInstaller.

2017-07-28T02:51:30Z esxupdate: 383474: HostImage: DEBUG: Payload metadata.xml from vib VMware_bootbank_esx-base_6.5.0-0.23.5969300 skipped by BootBankInstaller

2017-07-28T02:51:30Z esxupdate: 383474: BootBankInstaller.pyc: DEBUG: Payload text of type 'osl.txt' in VIB 'VMware_bootbank_esx-base_6.5.0-0.23.5969300' is not supported by BootbankInstaller.

2017-07-28T02:51:30Z esxupdate: 383474: HostImage: DEBUG: Payload osl.txt from vib VMware_bootbank_esx-base_6.5.0-0.23.5969300 skipped by BootBankInstaller

2017-07-28T02:51:30Z esxupdate: 383474: BootBankInstaller.pyc: DEBUG: Payload upgrade of type 'precheck.py' in VIB 'VMware_bootbank_esx-base_6.5.0-0.23.5969300' is not supported by BootbankInstaller.

2017-07-28T02:51:30Z esxupdate: 383474: HostImage: DEBUG: Payload precheck.py from vib VMware_bootbank_esx-base_6.5.0-0.23.5969300 skipped by BootBankInstaller

2017-07-28T02:51:30Z esxupdate: 383474: BootBankInstaller.pyc: DEBUG: Payload upgrade of type 'prep.py' in VIB 'VMware_bootbank_esx-base_6.5.0-0.23.5969300' is not supported by BootbankInstaller.

2017-07-28T02:51:30Z esxupdate: 383474: HostImage: DEBUG: Payload prep.py from vib VMware_bootbank_esx-base_6.5.0-0.23.5969300 skipped by BootBankInstaller

2017-07-28T02:51:30Z esxupdate: 383474: BootBankInstaller.pyc: DEBUG: Payload boot_com32_bios of type 'safeboot.c32' in VIB 'VMware_bootbank_esx-base_6.5.0-0.23.5969300' is not supported by BootbankInstaller.

2017-07-28T02:51:30Z esxupdate: 383474: HostImage: DEBUG: Payload safeboot.c32 from vib VMware_bootbank_esx-base_6.5.0-0.23.5969300 skipped by BootBankInstaller

2017-07-28T02:51:31Z esxupdate: 383474: HostImage: INFO: Attempting to download VIB esx-xserver

2017-07-28T02:51:31Z esxupdate: 383474: downloader: DEBUG: Downloading https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/esx-xserver/VMware_bootbank... to /tmp/vibdownload/VMware_bootbank_esx-xserver_6.5.0-0.23.5969300.vib...

2017-07-28T02:51:31Z esxupdate: 383474: HostImage: INFO: Attempting to download VIB vsanhealth

2017-07-28T02:51:31Z esxupdate: 383474: downloader: DEBUG: Downloading https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/vsanhealth/VMware_bootbank_... to /tmp/vibdownload/VMware_bootbank_vsanhealth_6.5.0-0.23.5633214.vib...

2017-07-28T02:51:33Z esxupdate: 383474: vmware.runcommand: INFO: runcommand called with: args = 'localcli system visorfs ramdisk list | grep /vibdownload && localcli system visorfs ramdisk remove -t /tmp/vibdownload', outfile = 'None', returnoutput = 'True', timeout = '0.0'.

2017-07-28T02:51:33Z esxupdate: 383474: BootBankInstaller.pyc: INFO: /tmp/stagebootbank/boot.cfg: bootstate changed from 3 to 4

2017-07-28T02:51:33Z esxupdate: 383474: HostImage: DEBUG:  --- Stage: LockerInstaller adding [VMware_locker_tools-light_6.5.0-0.23.5969300], removing []

2017-07-28T02:51:33Z esxupdate: 383474: vmware.runcommand: INFO: runcommand called with: args = 'localcli system visorfs ramdisk add -m 0 -M 185 -n vibdownload -p 755 -t /tmp/vibdownload', outfile = 'None', returnoutput = 'True', timeout = '0.0'.

2017-07-28T02:51:33Z esxupdate: 383474: HostImage: INFO: Attempting to download VIB tools-light

2017-07-28T02:51:33Z esxupdate: 383474: downloader: DEBUG: Downloading https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/esx/vmw/vib20/tools-light/VMware_locker_t... to /tmp/vibdownload/VMware_locker_tools-light_6.5.0-0.23.5969300.vib...

2017-07-28T02:52:55Z esxupdate: 383474: vmware.runcommand: INFO: runcommand called with: args = 'localcli system visorfs ramdisk list | grep /vibdownload && localcli system visorfs ramdisk remove -t /tmp/vibdownload', outfile = 'None', returnoutput = 'True', timeout = '0.0'.

2017-07-28T02:52:55Z esxupdate: 383474: HostImage: ERROR: Failed to send vob install.stage.error: [Errno 28] No space left on device

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR: Traceback (most recent call last):

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/build/mts/release/bora-5310538/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/HostImage.py", line 527, in _download_and_stage

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/build/mts/release/bora-5310538/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Installer/LockerInstaller.py", line 189, in OpenPayloadFile

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/build/mts/release/bora-5310538/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Installer/LockerInstaller.py", line 35, in __init__

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/build/mts/release/bora-5310538/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py", line 676, in __init__

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/build/mts/release/bora-5310538/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/subprocess.py", line 1221, in _execute_child

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR: OSError: [Errno 28] No space left on device

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR: During handling of the above exception, another exception occurred:

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR: Traceback (most recent call last):

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 468, in <module>

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:     main()

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 459, in main

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:     ret = CMDTABLE[command](options)

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/usr/lib/vmware/esxcli-software", line 214, in ProfileUpdateCmd

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:     allowDowngrades=opts.downgrade)

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/build/mts/release/bora-5310538/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 675, in InstallVibsFromProfile

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/build/mts/release/bora-5310538/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 382, in _installVibs

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/build/mts/release/bora-5310538/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/Transaction.py", line 442, in _validateAndInstallProfile

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/build/mts/release/bora-5310538/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/HostImage.py", line 801, in Stage

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR:   File "/build/mts/release/bora-5310538/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/vmware/esximage/HostImage.py", line 547, in _download_and_stage

2017-07-28T02:52:55Z esxupdate: 383474: root: ERROR: vmware.esximage.Errors.InstallationError: ('VMware_locker_tools-light_6.5.0-0.23.5969300', '[Errno 28] No space left on device')

0 Kudos
4 Replies
continuum
Immortal
Immortal

> Install is on a 1GB sdcard
Really ?
I highly recommend to use at least 4Gb + x.
I would not expect that you can update if the boot media is so small.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
Sinorama
Enthusiast
Enthusiast

Thanks for your help with my upgrade of esxi.

So the error is indicating that there is no space left on the sdcard?

If that is so then I will

1. backup current config

2. shutdown esxi

3. new esxi installation with 8GB sdcard on same host

4. update to same esxi release as config backup

5. restore config backup

Comments?

0 Kudos
continuum
Immortal
Immortal

IMHO that is a good decision.
If you do not have a very complicated configuration I always would recommend a fresh install over an upgrade.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
Sinorama
Enthusiast
Enthusiast

Seems like downloading update from online depot fills up your tmp storage resulting in above error. Just needed to enable the use of datastore for SWAP. Another workaround is to download the zip package to a datastore and install.

Running esxi 6.5 u1 on a 1 GB sdcard not a problem.

How to easily update your VMware Hypervisor from 6.5.x to 6.5 Update 1 (ESXi 6.5 U1) | TinkerTry IT ...

0 Kudos