How To Install ceph-mds on Ubuntu 20.04

In this tutorial we learn how to install ceph-mds on Ubuntu 20.04. ceph-mds is metadata server for the ceph distributed file system metadata server for the ceph distributed file system metadata server for the ceph distributed file system

Introduction

In this tutorial we learn how to install ceph-mds on Ubuntu 20.04.

What is ceph-mds

ceph-mds is:

Ceph is a distributed storage and network file system designed to provide excellent performance, reliability, and scalability.

This package contains the metadata server daemon, which is used to create a distributed file system on top of the ceph storage cluster.

Package: ceph-mds Architecture: amd64 Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: admin Source: ceph Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ceph Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 6454 Depends: ceph-base (= 15.2.12-0ubuntu0.20.04.1), librados2 (= 15.2.12-0ubuntu0.20.04.1), libc6 (>= 2.29), libgcc-s1 (>= 3.0), libgoogle-perftools4, libstdc++6 (>= 9) Recommends: libcephfs2 (= 15.2.12-0ubuntu0.20.04.1) Suggests: ceph-fuse Breaks: ceph (« 0.67.3-1) Replaces: ceph (« 0.67.3-1) Filename: pool/main/c/ceph/ceph-mds_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 1983840 MD5sum: f6e16851022d08570cb00da70a44ea12 SHA1: fd37af74fa12852cc140471677b100c80542502f SHA256: afaed3f34ad220b6ef145ce633d2dcabfbf459431a8b06e43af8e905636b7e42 SHA512: 2ddf0a53f55a9caa339e7766a27c94962776c72bcd35d466b63a44908cda1f16e206163763f92cbb26327b05fb6831e7c29e6dd589b9038638b9a8cff44a9f2c Homepage: http://ceph.com/ Description-en: metadata server for the ceph distributed file system Ceph is a distributed storage and network file system designed to provide excellent performance, reliability, and scalability.

This package contains the metadata server daemon, which is used to create a distributed file system on top of the ceph storage cluster.

Package: ceph-mds Architecture: amd64 Version: 15.2.1-0ubuntu1 Priority: optional Section: admin Source: ceph Origin: Ubuntu Maintainer: Ubuntu Developers [email protected] Original-Maintainer: Ceph Packaging Team [email protected] Bugs: https://bugs.launchpad.net/ubuntu/+filebug Installed-Size: 6513 Depends: ceph-base (= 15.2.1-0ubuntu1), librados2 (= 15.2.1-0ubuntu1), libc6 (>= 2.29), libgcc-s1 (>= 3.0), libgoogle-perftools4, libstdc++6 (>= 9) Recommends: libcephfs2 (= 15.2.1-0ubuntu1) Suggests: ceph-fuse Breaks: ceph (« 0.67.3-1) Replaces: ceph (« 0.67.3-1) Filename: pool/main/c/ceph/ceph-mds_15.2.1-0ubuntu1_amd64.deb Size: 1998912 MD5sum: 359317b4e00691dd2839ef65eeec9306 SHA1: 450e8b40e3c1a64e824dabf99ed3958cd19bfbcc SHA256: 1a89401ce73cf30fa2a15a221b58d6a7902186d1d481ea781b78e57bdd1e0dc8 Homepage: http://ceph.com/ Description-en: metadata server for the ceph distributed file system Ceph is a distributed storage and network file system designed to provide excellent performance, reliability, and scalability.

This package contains the metadata server daemon, which is used to create a distributed file system on top of the ceph storage cluster.

There are three methods to install ceph-mds on Ubuntu 20.04. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install ceph-mds Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install ceph-mds using apt-get by running the following command:

sudo apt-get -y install ceph-mds

Install ceph-mds Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install ceph-mds using apt by running the following command:

sudo apt -y install ceph-mds

Install ceph-mds Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Ubuntu. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install ceph-mds using aptitude by running the following command:

sudo aptitude -y install ceph-mds

How To Uninstall ceph-mds on Ubuntu 20.04

To uninstall only the ceph-mds package we can use the following command:

sudo apt-get remove ceph-mds

Uninstall ceph-mds And Its Dependencies

To uninstall ceph-mds and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:

sudo apt-get -y autoremove ceph-mds

Remove ceph-mds Configurations and Data

To remove ceph-mds configuration and data from Ubuntu 20.04 we can use the following command:

sudo apt-get -y purge ceph-mds

Remove ceph-mds configuration, data, and all of its dependencies

We can use the following command to remove ceph-mds configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge ceph-mds

References

Summary

In this tutorial we learn how to install ceph-mds package on Ubuntu 20.04 using different package management tools: apt, apt-get and aptitude.