How To Install rbd-nbd on Ubuntu 20.04
Introduction
In this tutorial we learn how to install rbd-nbd
on Ubuntu 20.04.
What is rbd-nbd
rbd-nbd is:
Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage. This is a NBD-based client that allows one to map Ceph rbd images as local block device.
NBD base client that allows one to map Ceph rbd images as local block device.
Package: rbd-nbd Architecture: amd64 Version: 15.2.12-0ubuntu0.20.04.1 Priority: optional Section: universe/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: 483 Depends: libc6 (>= 2.28), libgcc-s1 (>= 3.0), libnl-3-200 (>= 3.2.7), libnl-genl-3-200 (>= 3.2.21), librados2 (>= 14.2.0), librbd1 (>= 0.87), libstdc++6 (>= 9) Filename: pool/universe/c/ceph/rbd-nbd_15.2.12-0ubuntu0.20.04.1_amd64.deb Size: 135136 MD5sum: 311e734b5149e8290f3bbd6eb5b7a303 SHA1: 0a4fad747be9857e8a96828b6abb62c041ed3c61 SHA256: 934cf87a76a0aef35b96805e27e7b8685e482e94a00271024f560311fab632a2 SHA512: 21336d827076555af04c65cca7b595426ad6c6ed6847f4e1bc66165f7a4e21416cb515471c7a7354d9aa596b9f76da270ba3d2c8a10ebf78e7214df2e2504404 Homepage: http://ceph.com/ Description-en: NBD-based rbd client for the Ceph distributed file system Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage. This is a NBD-based client that allows one to map Ceph rbd images as local block device.
NBD base client that allows one to map Ceph rbd images as local block device.
Package: rbd-nbd Architecture: amd64 Version: 15.2.1-0ubuntu1 Priority: optional Section: universe/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: 482 Depends: libc6 (>= 2.28), libgcc-s1 (>= 3.0), libnl-3-200 (>= 3.2.7), libnl-genl-3-200 (>= 3.2.21), librados2 (>= 14.2.0), librbd1 (>= 0.87), libstdc++6 (>= 9) Filename: pool/universe/c/ceph/rbd-nbd_15.2.1-0ubuntu1_amd64.deb Size: 135284 MD5sum: d8181eebc60dcce0d9942bdb0e92b841 SHA1: cc4c467eb103bf33dc3a38bd4ada5fbd42fa8059 SHA256: a2aec8fd20aa6b3b976c2b8094a4d0b2746522d4ff575386ebeb6607d26e247b Homepage: http://ceph.com/ Description-en: NBD-based rbd client for the Ceph distributed file system Ceph is a massively scalable, open-source, distributed storage system that runs on commodity hardware and delivers object, block and file system storage. This is a NBD-based client that allows one to map Ceph rbd images as local block device.
NBD base client that allows one to map Ceph rbd images as local block device.
There are three methods to install rbd-nbd
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 rbd-nbd Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install rbd-nbd
using apt-get
by running the following command:
sudo apt-get -y install rbd-nbd
Install rbd-nbd Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install rbd-nbd
using apt
by running the following command:
sudo apt -y install rbd-nbd
Install rbd-nbd 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 rbd-nbd
using aptitude
by running the following command:
sudo aptitude -y install rbd-nbd
How To Uninstall rbd-nbd on Ubuntu 20.04
To uninstall only the rbd-nbd
package we can use the following command:
sudo apt-get remove rbd-nbd
Uninstall rbd-nbd And Its Dependencies
To uninstall rbd-nbd
and its dependencies that are no longer needed by Ubuntu 20.04, we can use the command below:
sudo apt-get -y autoremove rbd-nbd
Remove rbd-nbd Configurations and Data
To remove rbd-nbd
configuration and data from Ubuntu 20.04 we can use the following command:
sudo apt-get -y purge rbd-nbd
Remove rbd-nbd configuration, data, and all of its dependencies
We can use the following command to remove rbd-nbd
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge rbd-nbd
References
Summary
In this tutorial we learn how to install rbd-nbd
package on Ubuntu 20.04 using different package management tools: apt
, apt-get
and aptitude
.