gfs2_grow command not found

In this troubleshooting guide we learn how to fix gfs2_grow command not found error message

Introduction

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

gfs2_grow: command not found

or when using sudo you get the following error message

sudo: gfs2_grow: command not found

Solutions to gfs2_grow: command not found

How To Fix gfs2_grow: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu gfs2_grow is provided by gfs2-utils package.

gfs2-utils is:

The Global File System allows a cluster of machines to concurrently access shared storage hardware like SANs or iSCSI and network block devices. GFS can be deployed to build high-availability services without the single point of failure of a file server.

This package contains tools for creating and managing global file systems. GFS itself is a set of kernel modules.

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

sudo apt-get -y install gfs2-utils

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

You can also use apt command to install gfs2-utils.

sudo apt -y install gfs2-utils

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

sudo aptitude install gfs2-utils

Summary

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