Tag Archives: esxi

Fix ‘No space left on device’ when install vsphere 6.7u3

fix “[Error28] No space left on device” when upgrade ESXi to 6.7 U2

To upgrade ESXi to 6.7U2, usually use below command is enough:

But this time I got error “[Error28] No space left on device”.

Someone said to enable the swap on SSD can fix the issue, but I tried, it doesn’t work.

The fix is to manually update a vib first

Then run the update again, you should be able to update your ESXi host now.

Upgrade ESXi from 6.5 to 6.7 via command line

Run this command to see the VMware online depot and list all profiles

Run the upgrade with this command:

Then reboot server

ESXi 5.x and 6.x firewall Management command

esxcli network firewall get Returns the enabled or disabled status of the firewall and lists default actions.
esxcli network firewall set –default-action Update default actions.
esxcli network firewall set –enabled Set to true to enable the firewall, set to false to disable the firewall.
esxcli network firewall load Load the firewall module and rule set configuration files.
esxcli network firewall refresh Refresh the firewall configuration by reading the rule set files if the firewall module is loaded.
esxcli network firewall unload Destroy filters and unload the firewall module.
esxcli network firewall ruleset list List rule sets information.
esxcli network firewall ruleset set –allowedall Set the allowedall flag.
esxcli network firewall ruleset set –enabled Enable or disable the specified rule set.
esxcli network firewall ruleset allowedip list List the allowed IP addresses of the specified rule set.
esxcli network firewall ruleset allowedip add Allow access to the rule set from the specified IP address or range of IP addresses.
esxcli network firewall ruleset allowedip remove Remove access to the rule set from the specified IP address or range of IP addresses

Update ESXi 6.5 to ESXi 6.5.0d

Put the host into maintenance mode, ssh to the host, and then run below command:

Then reboot the host after installation finished:)

Upgrade vCenter Server Appliance (VCSA) and ESXi

Upgrade vCenter

Vcenter

Best practices is always to upgrade vCenter before your ESXi hosts. Download the ISO and upload to your Datastore.

Attach the ISO to the vCenter VM.

Mount ISO

Mount ISO

Use Putty to connect to your VCSA and run the following command:

step 3

4

5
6

Update ESXi – Fast Method

This is the fastest way, but requires a decent internet connection.

Shut down all your running VM’s and enter Maintenance Mode.

Use Putty to connect to your ESXi host and run the following command:

updaet esxi