cephfs-snap command not found
In this troubleshooting guide we learn how to fix cephfs-snap command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
cephfs-snap: command not found
or when using sudo you get the following error message
sudo: cephfs-snap: command not found
Solutions to cephfs-snap: command not found
How To Fix cephfs-snap: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu cephfs-snap is provided by open-infrastructure-ceph-tools package.
open-infrastructure-ceph-tools is:
ceph-tools contains the following tools:
- ceph-log: store Ceph cluster log as a logfile
- ceph-info: show Ceph cluster information as a HTML page
- cephfs-snap: create CephFS snapshots periodically
- cephfs-remove-osd: remove a Ceph OSD instance completely
To fix this problem, we can install more using the command below.
sudo apt-get -y install open-infrastructure-ceph-tools
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install open-infrastructure-ceph-tools.
sudo apt -y install open-infrastructure-ceph-tools
Or if you have aptitude installed you can use the following command.
sudo aptitude install open-infrastructure-ceph-tools
Summary
In this tutorial we learn how to fix cephfs-snap command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.