Skip to content

esxcli

Installation or Removal of VIB Packages in ESXi 7.0 fails with Error: Failed to query file system stats:

While installing ESXi updates, I noticed that on one of my hosts, the installation or removal of VIB packages fails with the following error message

# esxcli software vib install -d [package]
# esxcli software vib remove -n [package]
[InstallationError]
Failed to query file system stats: Errors:
Error getting data for filesystem on '/vmfs/volumes/59a83d9c-628c6ae0-7b35-f44d306ec05a': Cannot open volume: /vmfs/volumes/59a83d9c-628c6ae0-7b35-f44d306ec05a, skipping.
cause = Errors:
Error getting data for filesystem on '/vmfs/volumes/59a83d9c-628c6ae0-7b35-f44d306ec05a': Cannot open volume: /vmfs/volumes/59a83d9c-628c6ae0-7b35-f44d306ec05a, skipping.
Please refer to the log file for more details.

The device 59a83d9c-628c6ae0-7b35-f44d306ec05a was a non existing volume, referenced by a vffs mount. VFFS (Virtual Flash File System) was used in earlier ESXi releases by vSphere Flash Read Cache. I'm not sure where that comes from but this is how you can remove the stale mount:

Read More »Installation or Removal of VIB Packages in ESXi 7.0 fails with Error: Failed to query file system stats:

ESXi 6.7 - ESXCLI Command Mindmap

In vSphere 6.7 the command line interface esxcli has 62 new commands. Esxcli is a complete set of commands that you can use for troubleshooting, configuration or kickstart files. I have created and printed a mindmap to navigate through the namespaces more quickly. This post covers only basic namespaces, available on all ESXi 6.7 hosts. If you've installed additional software you might see more namespaces. I've also created mindmaps for ESXi 5.1ESXi 5.5ESXi 6.0 and ESXi 6.5.

ESXCLI in version 6.7 has 15 namespaces:Read More »ESXi 6.7 - ESXCLI Command Mindmap

VMware ESXi 6.7 - ESXCLI Command Reference

ESXCLI is a powerful command line tool on an ESXi host. You may need it for troubleshooting, configuration or for automated ESXi installations by using a kickstart file. I'm having an esxcli command line reference on my desktop since vSphere 5.x and I am using it quite often. Here is the command line reference for the latest release of vSphere ESXi 6.7.

Download: esxi67-esxcli-command-reference.txtRead More »VMware ESXi 6.7 - ESXCLI Command Reference

How to use ESXCLI v2 Commands in PowerCLI

PowerCLI, a set of PowerShell extensions for vSphere, is a great tool for automating VMware configuration and management tasks. It allows you to change a lot of ESXi host and vCenter settings. A powerful cmdlet is Get-EsxCli which allows you to run ESXCLI tasks from your PowerCLI console. ESXCLI is the main configuration command on an ESXi host.

This post explains how to use the Get-EsxCli cmdlet with the new V2 interface, which is much more intuitive than the old method.

get-esxcli

Read More »How to use ESXCLI v2 Commands in PowerCLI

ESXi 6.5 - ESXCLI Command Mindmap

esxcli-splashIn vSphere 6.5 the command line interface esxcli has a new namespaces and 93 new commands. Esxcli is a complete set of commands that you can use for troubleshooting, configuration or kickstart files. I have created and printed a mindmap to navigate through the namespaces more quickly. This post covers only basic namespaces, available on all ESXi 6.5 hosts. If you've installed additional software you might see more namespaces. I've also created mindmaps for ESXi 5ESXi 5.5 and ESXi 6.0.

ESXCLI in version 6.5 has 16 namespaces:Read More »ESXi 6.5 - ESXCLI Command Mindmap

New ESXCLI Commands in vSphere 6.5

esxcli-65In vSphere 6.5 the command line interface esxcli has been extended with new features. This post introduces the new and extended namespaces. Remarkable changes in esxcli version 6.5 are:

  • USB passthrough configuration
  • NVMe device status and configuration
  • VIB signature verification
  • Storage adapter capabilities
  • Device capacity information
  • VMFS6 reclaim configuration
  • vSAN iSCSI configuration
  • Physical nic coalesce queue configuration
  • WBEM configuration

 

Read More »New ESXCLI Commands in vSphere 6.5