VMware Cloud Community
nsherin
Contributor
Contributor

Applying 6,7U2 build 13644319 patch - [Errno 28] No space left on device

Hi,

I've just this afternoon built a new test ESXI 6.7U2 host using the latest ISO file which is 6.7U2 build 13006603.

The host has 16GB RAM. I have two disks - one 40GB for the installation - ESXI has allocated some of this to a datastore, plus an additional 80GB allocated as a datastore.

I have told ESXI to use the second (80GB) data store for the swap/cache files as recommended.

I'd like to apply the 13644319 patch, but am getting  [Errno 28] No space left on device erros when trying to apply it.

I've placed the following in a script:

esxcli network firewall ruleset set -e true -r httpClient

esxcli software profile update -p ESXi-6.7.0-20190504001-standard \

-d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

esxcli network firewall ruleset set -e false -r httpClient

The output displays the following:

[OSError]

[Errno 28] No space left on device

Please refer to the log file for more details.

So I tried the guide here:

https://nullsec.us/esxi-update-fails-with/

But have had no success:

[root@esxitest:/tmp] esxcli software vib install -f -v /tmp/VMware_locker_tools-

light_10.3.5.10430147-12986307.vib

Installation Result

   Message: Host is not changed.

   Reboot Required: false

   VIBs Installed:

   VIBs Removed:

   VIBs Skipped: VMware_locker_tools-light_10.3.5.10430147-12986307

Any ideas would be much appreciated. It has suggested removing old log files, but I wouldn't know what to remove, plus this being a new installation, there should not be much in the way of old unused files.

The main reason for wanting to apply  6,7U2 build 13644319 patch is to fix the issue where the web interface crashes when trying to create a VM from an OVF/OVA.

Many thanks again for your help.

Reply
0 Kudos
14 Replies
Chann1905
Enthusiast
Enthusiast

Can you verify there is no space issue by running command :

vdf -h

Reply
0 Kudos
nsherin
Contributor
Contributor

Thanks - the output is as follows:

[root@esxitest:/tmp] vdf -h

Tardisk                  Space      Used

vmx.v00                   102M      102M

vim.v00                   112M      112M

sb.v00                    187M      187M

s.v00                      58M       58M

ata_liba.v00              296K      294K

ata_pata.v00               48K       44K

ata_pata.v01               36K       35K

ata_pata.v02               40K       36K

ata_pata.v03               40K       37K

ata_pata.v04               44K       41K

ata_pata.v05               40K       38K

ata_pata.v06               36K       35K

ata_pata.v07               40K       39K

block_cc.v00               88K       84K

bnxtnet.v00               556K      555K

bnxtroce.v00              304K      303K

brcmfcoe.v00                2M        2M

char_ran.v00               52K       51K

ehci_ehc.v00               96K       95K

elxiscsi.v00              516K      514K

elxnet.v00                644K      641K

hid_hid.v00                64K       60K

i40en.v00                 540K      537K

iavmd.v00                 180K      176K

igbn.v00                  332K      329K

ima_qla4.v00                1M        1M

ipmi_ipm.v00               44K       40K

ipmi_ipm.v01               84K       82K

ipmi_ipm.v02              104K      102K

iser.v00                  236K      234K

ixgben.v00                492K      490K

lpfc.v00                    2M        2M

lpnic.v00                 644K      641K

lsi_mr3.v00               368K      365K

lsi_msgp.v00              508K      506K

lsi_msgp.v01              556K      552K

lsi_msgp.v02              536K      533K

misc_cni.v00               24K       22K

misc_dri.v00                1M        1M

mtip32xx.v00              256K      254K

ne1000.v00                640K      639K

nenic.v00                 268K      267K

net_bnx2.v00              288K      286K

net_bnx2.v01                2M        2M

net_cdc_.v00               28K       25K

net_cnic.v00              148K      145K

net_e100.v00              312K      311K

net_e100.v01              356K      353K

net_enic.v00              176K      175K

net_fcoe.v00               80K       79K

net_forc.v00              128K      125K

net_igb.v00               324K      321K

net_ixgb.v00              412K      409K

net_libf.v00               76K       75K

net_mlx4.v00              356K      355K

net_mlx4.v01              240K      236K

net_nx_n.v00                1M        1M

net_tg3.v00               316K      312K

net_usbn.v00               56K       53K

net_vmxn.v00              112K      108K

nfnic.v00                 508K      504K

nhpsa.v00                 568K      565K

nmlx4_co.v00              728K      726K

nmlx4_en.v00              756K      755K

nmlx4_rd.v00              328K      326K

nmlx5_co.v00                1M        1M

nmlx5_rd.v00              260K      257K

ntg3.v00                  116K      115K

nvme.v00                  292K      290K

nvmxnet3.v00              172K      171K

nvmxnet3.v01              172K      170K

ohci_usb.v00               64K       63K

pvscsi.v00                120K      118K

qcnic.v00                 284K      281K

qedentv.v00                 2M        2M

qfle3.v00                   2M        2M

qfle3f.v00                  1M        1M

qfle3i.v00                336K      332K

qflge.v00                 504K      500K

sata_ahc.v00               88K       87K

sata_ata.v00               60K       56K

sata_sat.v00               68K       66K

sata_sat.v01               48K       46K

sata_sat.v02               52K       48K

sata_sat.v03               40K       39K

sata_sat.v04               36K       34K

scsi_aac.v00              180K      178K

scsi_adp.v00              452K      450K

scsi_aic.v00              296K      292K

scsi_bnx.v00              284K      280K

scsi_bnx.v01              204K      203K

scsi_fni.v00              244K      242K

scsi_hps.v00              212K      211K

scsi_ips.v00              108K      106K

scsi_isc.v00               44K       42K

scsi_lib.v00              212K      211K

scsi_meg.v00              100K       99K

scsi_meg.v01              176K      173K

scsi_meg.v02               96K       93K

scsi_mpt.v00              460K      459K

scsi_mpt.v01              504K      501K

scsi_mpt.v02              432K      429K

scsi_qla.v00              292K      289K

sfvmk.v00                 604K      602K

shim_isc.v00               16K       15K

shim_isc.v01               16K       15K

shim_lib.v00               44K       43K

shim_lib.v01               44K       43K

shim_lib.v02               24K       20K

shim_lib.v03               24K       20K

shim_lib.v04               12K        9K

shim_lib.v05               12K        9K

shim_vmk.v00              220K      217K

shim_vmk.v01              232K      228K

shim_vmk.v02              236K      232K

smartpqi.v00              268K      265K

uhci_usb.v00               64K       63K

usb_stor.v00              164K      162K

usbcore_.v00              320K      318K

vmkata.v00                204K      201K

vmkfcoe.v00               936K      935K

vmkplexe.v00               48K       46K

vmkusb.v00                984K      981K

vmw_ahci.v00              280K      276K

xhci_xhc.v00              236K      235K

elx_esx_.v00                4M        4M

btldr.t00                 588K      584K

esx_dvfi.v00              492K      488K

esx_ui.v00                 14M       14M

esxupdt.v00               576K      572K

weaselin.t00                4M        4M

lsu_hp_h.v00              152K      149K

lsu_inte.v00               44K       41K

lsu_lsi_.v00              420K      417K

lsu_lsi_.v01              240K      237K

lsu_lsi_.v02              496K      493K

lsu_lsi_.v03              264K      260K

lsu_lsi_.v04              560K      557K

lsu_smar.v00               96K       93K

native_m.v00              820K      817K

qlnative.v00                2M        2M

rste.v00                  828K      825K

vmware_e.v00              188K      186K

vsan.v00                   41M       41M

vsanheal.v00                7M        7M

vsanmgmt.v00               23M       23M

xorg.v00                    3M        3M

imgdb.tgz                   1M        1M

state.tgz                  16K       13K

-----

Ramdisk                   Size      Used Available Use% Mounted on

root                       32M       32M        0B 100% --

etc                        28M      164K       27M   0% --

opt                        32M        0B       32M   0% --

var                        48M      360K       47M   0% --

tmp                       256M      153M      102M  59% --

iofilters                  32M        0B       32M   0% --

shm                      1024M        0B     1024M   0% --

hostdstats                178M        1M      176M   0% --

Reply
0 Kudos
Chann1905
Enthusiast
Enthusiast

Great!!

Do a "ls -l" on the root and check there for unnecessary file, may be a log bundle would be there. Ping the output here as well.

Reply
0 Kudos
nsherin
Contributor
Contributor

Here's the output of root

[root@esxitest:~] pwd

/

[root@esxitest:~] ls -l

total 31257

-rw-r--r--    1 root     root      31203328 May 21 16:07 VMware_locker_tools-light_10.3.5.10430147-12986307.vib

lrwxrwxrwx    1 root     root            49 May 21 16:06 altbootbank -> /vmfs/volumes/b8ab5a72-a0c2efc7-d351-7b65303bdf66

drwxr-xr-x    1 root     root           512 May 21 16:06 bin

lrwxrwxrwx    1 root     root            49 May 21 16:06 bootbank -> /vmfs/volumes/2d5fea76-f0014a6b-1e7d-636fe7ef1424

-r--r--r--    1 root     root        340570 Mar 26 20:39 bootpart.gz

-r--r--r--    1 root     root        225445 Mar 26 20:39 bootpart4kn.gz

drwxr-xr-x   16 root     root           512 May 21 20:23 dev

drwxr-xr-x    1 root     root           512 May 21 16:06 etc

drwxr-xr-x    1 root     root           512 May 21 16:06 lib

drwxr-xr-x    1 root     root           512 May 21 16:06 lib64

-r-x------    1 root     root         11918 May 21 16:05 local.tgz

lrwxrwxrwx    1 root     root             6 May 21 16:06 locker -> /store

drwxr-xr-x    1 root     root           512 May 21 16:06 mbr

drwxr-xr-x    1 root     root           512 May 21 16:06 opt

drwxr-xr-x    1 root     root        131072 May 21 20:23 proc

lrwxrwxrwx    1 root     root            29 May 21 16:06 productLocker -> /locker/packages/vmtoolsRepo/

lrwxrwxrwx    1 root     root             4 Mar 26 20:21 sbin -> /bin

lrwxrwxrwx    1 root     root            49 May 21 16:06 scratch -> /vmfs/volumes/5ce41e62-c0ea6dfa-e983-000c2960ad26

lrwxrwxrwx    1 root     root            49 May 21 16:06 store -> /vmfs/volumes/5ce41e5c-b2cd1ee0-7b68-000c2960ad26

drwxr-xr-x    1 root     root           512 May 21 16:06 tardisks

drwxr-xr-x    1 root     root           512 May 21 17:34 tardisks.noauto

drwxrwxrwt    1 root     root           512 May 21 20:01 tmp

drwxr-xr-x    1 root     root           512 May 21 16:06 usr

drwxr-xr-x    1 root     root           512 May 21 16:06 var

drwxr-xr-x    1 root     root           512 May 21 16:06 vmfs

drwxr-xr-x    1 root     root           512 May 21 16:06 vmimages

lrwxrwxrwx    1 root     root            18 Mar 26 20:21 vmupgrade -> /locker/vmupgrade/

Reply
0 Kudos
Chann1905
Enthusiast
Enthusiast

Move this vib to some other datastore. If you don't need it remove it with "rm name_of_file" otherwise move it :

mv VMware_locker_tools-light_10.3.5.10430147-12986307.vib /vmfs/volumes/name_of_datastore

After doing that run vdf -h again and see if that reflects the free space, if it does not, still try the upgrade.

Still if it fails with the same error, then reboot so that changes get reflected and then upgrade.

I hope this helps.

Reply
0 Kudos
nsherin
Contributor
Contributor

[root@esxitest:~] mv VMware_locker_tools-light_10.3.5.10430147-12986307.vib /vmf

s/volumes/ds2/

[root@esxitest:~] vdf -h

Tardisk                  Space      Used

vmx.v00                   102M      102M

vim.v00                   112M      112M

sb.v00                    187M      187M

s.v00                      58M       58M

ata_liba.v00              296K      294K

ata_pata.v00               48K       44K

ata_pata.v01               36K       35K

ata_pata.v02               40K       36K

ata_pata.v03               40K       37K

ata_pata.v04               44K       41K

ata_pata.v05               40K       38K

ata_pata.v06               36K       35K

ata_pata.v07               40K       39K

block_cc.v00               88K       84K

bnxtnet.v00               556K      555K

bnxtroce.v00              304K      303K

brcmfcoe.v00                2M        2M

char_ran.v00               52K       51K

ehci_ehc.v00               96K       95K

elxiscsi.v00              516K      514K

elxnet.v00                644K      641K

hid_hid.v00                64K       60K

i40en.v00                 540K      537K

iavmd.v00                 180K      176K

igbn.v00                  332K      329K

ima_qla4.v00                1M        1M

ipmi_ipm.v00               44K       40K

ipmi_ipm.v01               84K       82K

ipmi_ipm.v02              104K      102K

iser.v00                  236K      234K

ixgben.v00                492K      490K

lpfc.v00                    2M        2M

lpnic.v00                 644K      641K

lsi_mr3.v00               368K      365K

lsi_msgp.v00              508K      506K

lsi_msgp.v01              556K      552K

lsi_msgp.v02              536K      533K

misc_cni.v00               24K       22K

misc_dri.v00                1M        1M

mtip32xx.v00              256K      254K

ne1000.v00                640K      639K

nenic.v00                 268K      267K

net_bnx2.v00              288K      286K

net_bnx2.v01                2M        2M

net_cdc_.v00               28K       25K

net_cnic.v00              148K      145K

net_e100.v00              312K      311K

net_e100.v01              356K      353K

net_enic.v00              176K      175K

net_fcoe.v00               80K       79K

net_forc.v00              128K      125K

net_igb.v00               324K      321K

net_ixgb.v00              412K      409K

net_libf.v00               76K       75K

net_mlx4.v00              356K      355K

net_mlx4.v01              240K      236K

net_nx_n.v00                1M        1M

net_tg3.v00               316K      312K

net_usbn.v00               56K       53K

net_vmxn.v00              112K      108K

nfnic.v00                 508K      504K

nhpsa.v00                 568K      565K

nmlx4_co.v00              728K      726K

nmlx4_en.v00              756K      755K

nmlx4_rd.v00              328K      326K

nmlx5_co.v00                1M        1M

nmlx5_rd.v00              260K      257K

ntg3.v00                  116K      115K

nvme.v00                  292K      290K

nvmxnet3.v00              172K      171K

nvmxnet3.v01              172K      170K

ohci_usb.v00               64K       63K

pvscsi.v00                120K      118K

qcnic.v00                 284K      281K

qedentv.v00                 2M        2M

qfle3.v00                   2M        2M

qfle3f.v00                  1M        1M

qfle3i.v00                336K      332K

qflge.v00                 504K      500K

sata_ahc.v00               88K       87K

sata_ata.v00               60K       56K

sata_sat.v00               68K       66K

sata_sat.v01               48K       46K

sata_sat.v02               52K       48K

sata_sat.v03               40K       39K

sata_sat.v04               36K       34K

scsi_aac.v00              180K      178K

scsi_adp.v00              452K      450K

scsi_aic.v00              296K      292K

scsi_bnx.v00              284K      280K

scsi_bnx.v01              204K      203K

scsi_fni.v00              244K      242K

scsi_hps.v00              212K      211K

scsi_ips.v00              108K      106K

scsi_isc.v00               44K       42K

scsi_lib.v00              212K      211K

scsi_meg.v00              100K       99K

scsi_meg.v01              176K      173K

scsi_meg.v02               96K       93K

scsi_mpt.v00              460K      459K

scsi_mpt.v01              504K      501K

scsi_mpt.v02              432K      429K

scsi_qla.v00              292K      289K

sfvmk.v00                 604K      602K

shim_isc.v00               16K       15K

shim_isc.v01               16K       15K

shim_lib.v00               44K       43K

shim_lib.v01               44K       43K

shim_lib.v02               24K       20K

shim_lib.v03               24K       20K

shim_lib.v04               12K        9K

shim_lib.v05               12K        9K

shim_vmk.v00              220K      217K

shim_vmk.v01              232K      228K

shim_vmk.v02              236K      232K

smartpqi.v00              268K      265K

uhci_usb.v00               64K       63K

usb_stor.v00              164K      162K

usbcore_.v00              320K      318K

vmkata.v00                204K      201K

vmkfcoe.v00               936K      935K

vmkplexe.v00               48K       46K

vmkusb.v00                984K      981K

vmw_ahci.v00              280K      276K

xhci_xhc.v00              236K      235K

elx_esx_.v00                4M        4M

btldr.t00                 588K      584K

esx_dvfi.v00              492K      488K

esx_ui.v00                 14M       14M

esxupdt.v00               576K      572K

weaselin.t00                4M        4M

lsu_hp_h.v00              152K      149K

lsu_inte.v00               44K       41K

lsu_lsi_.v00              420K      417K

lsu_lsi_.v01              240K      237K

lsu_lsi_.v02              496K      493K

lsu_lsi_.v03              264K      260K

lsu_lsi_.v04              560K      557K

lsu_smar.v00               96K       93K

native_m.v00              820K      817K

qlnative.v00                2M        2M

rste.v00                  828K      825K

vmware_e.v00              188K      186K

vsan.v00                   41M       41M

vsanheal.v00                7M        7M

vsanmgmt.v00               23M       23M

xorg.v00                    3M        3M

imgdb.tgz                   1M        1M

state.tgz                  16K       13K

-----

Ramdisk                   Size      Used Available Use% Mounted on

root                       32M        2M       29M   7% --

etc                        28M      164K       27M   0% --

opt                        32M        0B       32M   0% --

var                        48M      360K       47M   0% --

tmp                       256M      153M      102M  59% --

iofilters                  32M        0B       32M   0% --

shm                      1024M        0B     1024M   0% --

hostdstats                178M        1M      176M   0% --

Then I ran:

[root@esxitest:/vmfs/volumes/5ce41fa7-20e15bad-1cc1-000c2960ad26]  esxcli softwa

re vib install -f -v /tmp/VMware_locker_tools-light_10.3.5.10430147-12986307.vib

Installation Result

   Message: Host is not changed.

   Reboot Required: false

   VIBs Installed:

   VIBs Removed:

   VIBs Skipped: VMware_locker_tools-light_10.3.5.10430147-12986307

Then I ran my script:

esxcli network firewall ruleset set -e true -r httpClient

esxcli software profile update -p ESXi-6.7.0-20190504001-standard \

-d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml

esxcli network firewall ruleset set -e false -r httpClient

The output was:

[OSError]

[Errno 28] No space left on device

Please refer to the log file for more details.

And arfter a reboot, the same error occurs.

Reply
0 Kudos
Chann1905
Enthusiast
Enthusiast

Why are we installing that vib first, I am sure now if you run vdf -h again that vib should again be present there.

If that is the case, please run the upgrade command first and check.

Reply
0 Kudos
nsherin
Contributor
Contributor

Sorry for the confusion.

After I reboot I have now run:

[root@esxitest:/tmp] vdf -h

Tardisk                  Space      Used

vmx.v00                   102M      102M

vim.v00                   112M      112M

sb.v00                    187M      187M

s.v00                      58M       58M

ata_liba.v00              296K      294K

ata_pata.v00               48K       44K

ata_pata.v01               36K       35K

ata_pata.v02               40K       36K

ata_pata.v03               40K       37K

ata_pata.v04               44K       41K

ata_pata.v05               40K       38K

ata_pata.v06               36K       35K

ata_pata.v07               40K       39K

block_cc.v00               88K       84K

bnxtnet.v00               556K      555K

bnxtroce.v00              304K      303K

brcmfcoe.v00                2M        2M

char_ran.v00               52K       51K

ehci_ehc.v00               96K       95K

elxiscsi.v00              516K      514K

elxnet.v00                644K      641K

hid_hid.v00                64K       60K

i40en.v00                 540K      537K

iavmd.v00                 180K      176K

igbn.v00                  332K      329K

ima_qla4.v00                1M        1M

ipmi_ipm.v00               44K       40K

ipmi_ipm.v01               84K       82K

ipmi_ipm.v02              104K      102K

iser.v00                  236K      234K

ixgben.v00                492K      490K

lpfc.v00                    2M        2M

lpnic.v00                 644K      641K

lsi_mr3.v00               368K      365K

lsi_msgp.v00              508K      506K

lsi_msgp.v01              556K      552K

lsi_msgp.v02              536K      533K

misc_cni.v00               24K       22K

misc_dri.v00                1M        1M

mtip32xx.v00              256K      254K

ne1000.v00                640K      639K

nenic.v00                 268K      267K

net_bnx2.v00              288K      286K

net_bnx2.v01                2M        2M

net_cdc_.v00               28K       25K

net_cnic.v00              148K      145K

net_e100.v00              312K      311K

net_e100.v01              356K      353K

net_enic.v00              176K      175K

net_fcoe.v00               80K       79K

net_forc.v00              128K      125K

net_igb.v00               324K      321K

net_ixgb.v00              412K      409K

net_libf.v00               76K       75K

net_mlx4.v00              356K      355K

net_mlx4.v01              240K      236K

net_nx_n.v00                1M        1M

net_tg3.v00               316K      312K

net_usbn.v00               56K       53K

net_vmxn.v00              112K      108K

nfnic.v00                 508K      504K

nhpsa.v00                 568K      565K

nmlx4_co.v00              728K      726K

nmlx4_en.v00              756K      755K

nmlx4_rd.v00              328K      326K

nmlx5_co.v00                1M        1M

nmlx5_rd.v00              260K      257K

ntg3.v00                  116K      115K

nvme.v00                  292K      290K

nvmxnet3.v00              172K      171K

nvmxnet3.v01              172K      170K

ohci_usb.v00               64K       63K

pvscsi.v00                120K      118K

qcnic.v00                 284K      281K

qedentv.v00                 2M        2M

qfle3.v00                   2M        2M

qfle3f.v00                  1M        1M

qfle3i.v00                336K      332K

qflge.v00                 504K      500K

sata_ahc.v00               88K       87K

sata_ata.v00               60K       56K

sata_sat.v00               68K       66K

sata_sat.v01               48K       46K

sata_sat.v02               52K       48K

sata_sat.v03               40K       39K

sata_sat.v04               36K       34K

scsi_aac.v00              180K      178K

scsi_adp.v00              452K      450K

scsi_aic.v00              296K      292K

scsi_bnx.v00              284K      280K

scsi_bnx.v01              204K      203K

scsi_fni.v00              244K      242K

scsi_hps.v00              212K      211K

scsi_ips.v00              108K      106K

scsi_isc.v00               44K       42K

scsi_lib.v00              212K      211K

scsi_meg.v00              100K       99K

scsi_meg.v01              176K      173K

scsi_meg.v02               96K       93K

scsi_mpt.v00              460K      459K

scsi_mpt.v01              504K      501K

scsi_mpt.v02              432K      429K

scsi_qla.v00              292K      289K

sfvmk.v00                 604K      602K

shim_isc.v00               16K       15K

shim_isc.v01               16K       15K

shim_lib.v00               44K       43K

shim_lib.v01               44K       43K

shim_lib.v02               24K       20K

shim_lib.v03               24K       20K

shim_lib.v04               12K        9K

shim_lib.v05               12K        9K

shim_vmk.v00              220K      217K

shim_vmk.v01              232K      228K

shim_vmk.v02              236K      232K

smartpqi.v00              268K      265K

uhci_usb.v00               64K       63K

usb_stor.v00              164K      162K

usbcore_.v00              320K      318K

vmkata.v00                204K      201K

vmkfcoe.v00               936K      935K

vmkplexe.v00               48K       46K

vmkusb.v00                984K      981K

vmw_ahci.v00              280K      276K

xhci_xhc.v00              236K      235K

elx_esx_.v00                4M        4M

btldr.t00                 588K      584K

esx_dvfi.v00              492K      488K

esx_ui.v00                 14M       14M

esxupdt.v00               576K      572K

weaselin.t00                4M        4M

lsu_hp_h.v00              152K      149K

lsu_inte.v00               44K       41K

lsu_lsi_.v00              420K      417K

lsu_lsi_.v01              240K      237K

lsu_lsi_.v02              496K      493K

lsu_lsi_.v03              264K      260K

lsu_lsi_.v04              560K      557K

lsu_smar.v00               96K       93K

native_m.v00              820K      817K

qlnative.v00                2M        2M

rste.v00                  828K      825K

vmware_e.v00              188K      186K

vsan.v00                   41M       41M

vsanheal.v00                7M        7M

vsanmgmt.v00               23M       23M

xorg.v00                    3M        3M

imgdb.tgz                   1M        1M

state.tgz                  16K       13K

-----

Ramdisk                   Size      Used Available Use% Mounted on

root                       32M        2M       29M   7% --

etc                        28M      164K       27M   0% --

opt                        32M        0B       32M   0% --

var                        48M      348K       47M   0% --

tmp                       256M       12K      255M   0% --

iofilters                  32M        0B       32M   0% --

shm                      1024M        0B     1024M   0% --

hostdstats                178M        1M      176M   0% --

Then my script:

esxcli network firewall ruleset set -e true -r httpClient

esxcli software profile update -p ESXi-6.7.0-20190504001-standard \

-d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xm

esxcli network firewall ruleset set -e false -r httpClient

With the output of:

[OSError]

[Errno 28] No space left on device

Please refer to the log file for more details.

Reply
0 Kudos
Chann1905
Enthusiast
Enthusiast

If that is the case, then we might need to check the logs further....Alternatively we can try with offline bundle but there is something wrong we need to check the logs....

Reply
0 Kudos
nsherin
Contributor
Contributor

Thanks - looking at /var/log/esxcli.log shows the following when I run my script:

[2019-05-21 21:09:12,561 root ERROR] update failed:  [OSError]

[Errno 28] No space left on device

Please refer to the log file for more details.

Which log files do I need to show output for?

Many thanks,

Reply
0 Kudos
SK90
Enthusiast
Enthusiast

I faced this issue in 6.5 . Support team suggested this is due to internal memory like ramdisk, vmkernel of said ESXi is going low. This was marked as a known issue & the fix was to update environment to 6.5 U3. Please check with support that is it same with 6.7 and do they have released any update for 6.7 if this is the same issue.

Reply
0 Kudos
Chann1905
Enthusiast
Enthusiast

Run df -h and check if any of the vfat partitions is consumed more than 80%.

Reply
0 Kudos
nsherin
Contributor
Contributor

[root@esxitest:/tmp] df -h

Filesystem   Size   Used Available Use% Mounted on

VMFS-6      32.5G   1.4G     31.1G   4% /vmfs/volumes/datastore1

VMFS-6      79.8G   2.4G     77.3G   3% /vmfs/volumes/ds2

vfat       285.8M 172.9M    112.9M  60% /vmfs/volumes/5ce41e5c-b2cd1ee0-7b68-000c2960ad26

vfat       249.7M 146.5M    103.2M  59% /vmfs/volumes/2d5fea76-f0014a6b-1e7d-636fe7ef1424

vfat         4.0G   6.5M      4.0G   0% /vmfs/volumes/5ce41e62-c0ea6dfa-e983-000c2960ad26

vfat       249.7M   4.0K    249.7M   0% /vmfs/volumes/b8ab5a72-a0c2efc7-d351-7b65303bdf66

Reply
0 Kudos
Dave000000001
Contributor
Contributor

To get around Errno 28

I burned the 6.7U3 ISO image to a USB stick

Booted the host on the USB stick

Upgraded the existing installation

Rebooted

Reply
0 Kudos