ql-hba-snapshot command not found

In this troubleshooting guide we learn how to fix ql-hba-snapshot command not found error message

Introduction

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

ql-hba-snapshot: command not found

or when using sudo you get the following error message

sudo: ql-hba-snapshot: command not found

Solutions to ql-hba-snapshot: command not found

How To Fix ql-hba-snapshot: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu ql-hba-snapshot is provided by qla-tools package.

qla-tools is:

QLogic provides some tools that makes LUN handling (add / remove) and administration of QLogic HBAs much easier. You can scan for newly added LUNs, display details about the QLogic HBA attached to the system, change the state of LUNs from offline to online/running and set the timeout on the devices connected to the QLogic FC HBA.

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

sudo apt-get -y install qla-tools

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

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

sudo apt -y install qla-tools

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

sudo aptitude install qla-tools

Summary

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