vmfs6-lvm command not found

In this troubleshooting guide we learn how to fix vmfs6-lvm command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

vmfs6-lvm: command not found

or when using sudo you get the following error message

sudo: vmfs6-lvm: command not found

Solutions to vmfs6-lvm: command not found

How To Fix vmfs6-lvm: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu vmfs6-lvm is provided by vmfs6-tools package.

vmfs6-tools is:

VMFS6 is a clustered filesystem designed to store virtual machine disks for VMware ESX or ESXi Server hosts. This set of tools allows to access these filesystems from some other non ESX/ESXi host for e.g. maintenance tasks.

Only read access is available at the moment, but write access is under works. Multiple extents are supported.

The VMFS can be accessed with a command line tool or mounted through a userspace filesystem (FUSE-based).

This version of VMFS Tools is designed to work with VMFS6, it is not guaranteed to support VMFS5; if you need VMFS5 support, then use the vmfs-tools package instead.

To fix this problem, we can install more using the command below.

sudo apt-get -y install vmfs6-tools

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install vmfs6-tools.

sudo apt -y install vmfs6-tools

Or if you have aptitude installed you can use the following command.

sudo aptitude install vmfs6-tools

Summary

In this tutorial we learn how to fix vmfs6-lvm command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.