gluster-mountbroker command not found

In this troubleshooting guide we learn how to fix gluster-mountbroker command not found error message

Introduction

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

gluster-mountbroker: command not found

or when using sudo you get the following error message

sudo: gluster-mountbroker: command not found

Solutions to gluster-mountbroker: command not found

How To Fix gluster-mountbroker: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gluster-mountbroker 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-mountbroker command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.