Installing the Lightbits NVMe Command Line Interface
The NVMe command line interface (CLI) is a standard command line interface to run NVMe over fabrics commands from the client. Lightbits provides a customized NVMe CLI for Lightbits that will be available in future versions of the public/upstream NVMe CLI version.
The nvme
CLI program is provided by the nvme-cli
package. Typically this is already installed; however, if it is missing or you are unsure, you can install using apt-get install nvme-cli
.
How To Replace With Latest Version From Lightbits
- Make sure the Lightbits repository is configured on the client. Refer to Connecting to the Cluster Client DEB Repository.
- (Optional) If a public NVMe CLI version is installed on your system, you can replace it with the NVMe CLI version supplied by Lightbits. Before installing the supplied NVMe CLI from the Lightbits repository, you'll need to remove the public NVMe CLI from your system.
To check if you have an NVMe CLI package installed, enter the following in the system’s command shell:
$ apt list --installed | grep nvme-cli
apt does not have a stable CLI interface. Use it with caution in scripts.
- (Optional) If the command returns this value, you need to delete the NVMe CLI package from your system with the following command:
$ apt-get remove nvme-cli
- With the public NVMe CLI version deleted from the system, you can install the NVMe CLI from the Lightbits RPM repository by entering the following in the system’s command shell:
$ apt-get install nvme-cli
- Enter the following command to verify that the NVMe CLI version is v1.9.1.
$ apt list --installed | grep nvme-cli
apt does not have a stable CLI interface. Use it with caution in scripts.
Was this page helpful?