gluster-setgfid2path command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
gluster-setgfid2path: command not found
or when using sudo you get the following error message
sudo: gluster-setgfid2path: command not found
Solutions to gluster-setgfid2path: command not found
How To Fix gluster-setgfid2path: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu gluster-setgfid2path is provided by glusterfs-common package.
glusterfs-common is:
GlusterFS is a clustered file-system capable of scaling to several petabytes. It aggregates various storage bricks over Infiniband RDMA or TCP/IP interconnect into one large parallel network file system. GlusterFS is one of the most sophisticated file system in terms of features and extensibility. It borrows a powerful concept called Translators from GNU Hurd kernel. Much of the code in GlusterFS is in userspace and easily manageable.
This package includes libglusterfs and glusterfs translator modules common to both GlusterFS server and client framework.
To fix this problem, we can install more using the command below.
sudo apt-get -y install glusterfs-common
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install glusterfs-common.
sudo apt -y install glusterfs-common
Or if you have aptitude installed you can use the following command.
sudo aptitude install glusterfs-common
Summary
In this tutorial we learn how to fix gluster-setgfid2path command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.