iscsid command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
iscsid: command not found
or when using sudo you get the following error message
sudo: iscsid: command not found
Solutions to iscsid: command not found
How To Fix iscsid: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu iscsid is provided by open-iscsi package.
open-iscsi is:
The Open-iSCSI project is a high-performance, transport independent, multi-platform implementation of RFC3720 iSCSI.
Open-iSCSI is partitioned into user and kernel parts.
The kernel portion of Open-iSCSI is a from-scratch code licensed under GPL. The kernel part implements iSCSI data path (that is, iSCSI Read and iSCSI Write), and consists of three loadable modules: scsi_transport_iscsi.ko, libiscsi.ko and iscsi_tcp.ko.
User space contains the entire control plane: configuration manager, iSCSI Discovery, Login and Logout processing, connection-level error processing, Nop-In and Nop-Out handling, and (in the future:) Text processing, iSNS, SLP, Radius, etc.
The user space Open-iSCSI consists of a daemon process called iscsid, and a management utility iscsiadm.
This package includes a daemon, iscsid, and a management utility, iscsiadm.
To fix this problem, we can install more using the command below.
sudo apt-get -y install open-iscsi
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install open-iscsi.
sudo apt -y install open-iscsi
Or if you have aptitude installed you can use the following command.
sudo aptitude install open-iscsi
Summary
In this tutorial we learn how to fix iscsid command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.