How To Install vdo on CentOS 8
Introduction
In this tutorial we learn how to install vdo
on CentOS 8.
What is vdo
Virtual Data Optimizer (VDO) is a device mapper target that delivers block-level deduplication, compression, and thin provisioning. This package provides the user-space management tools for VDO.
We can use yum
or dnf
to install vdo
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install vdo.
Install vdo on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install vdo
using dnf
by running the following command:
sudo dnf -y install vdo
Install vdo on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install vdo
using yum
by running the following command:
sudo yum -y install vdo
How To Uninstall vdo on CentOS 8
To uninstall only the vdo
package we can use the following command:
sudo dnf remove vdo
vdo Package Contents on CentOS 8
/etc/bash_completion.d
/etc/bash_completion.d/vdo
/etc/bash_completion.d/vdostats
/etc/udev/rules.d/69-vdo-start-by-dev.rules
/usr/bin/vdo
/usr/bin/vdo-by-dev
/usr/bin/vdodmeventd
/usr/bin/vdodumpconfig
/usr/bin/vdoforcerebuild
/usr/bin/vdoformat
/usr/bin/vdosetuuid
/usr/bin/vdostats
/usr/lib/.build-id
/usr/lib/.build-id/61
/usr/lib/.build-id/61/2ec1f4aac543cf9ca19f7d209dfa730600d725
/usr/lib/.build-id/88
/usr/lib/.build-id/88/29ef79bb25e921eeb6fd2224be9966700c2a52
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/833621135d8f600899ea0bf4d73a604c72d8aa
/usr/lib/.build-id/de
/usr/lib/.build-id/de/aaf05ff04e387cd5d4fc95e1593e6194c6a7d4
/usr/lib/.build-id/eb
/usr/lib/.build-id/eb/1638d3086af6e9b04dd8ac82904f580c28fa94
/usr/lib/python3.6/site-packages/vdo
/usr/lib/python3.6/site-packages/vdo/__init__.py
/usr/lib/python3.6/site-packages/vdo/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/statistics
/usr/lib/python3.6/site-packages/vdo/statistics/Command.py
/usr/lib/python3.6/site-packages/vdo/statistics/Field.py
/usr/lib/python3.6/site-packages/vdo/statistics/KernelStatistics.py
/usr/lib/python3.6/site-packages/vdo/statistics/LabeledValue.py
/usr/lib/python3.6/site-packages/vdo/statistics/StatFormatter.py
/usr/lib/python3.6/site-packages/vdo/statistics/StatStruct.py
/usr/lib/python3.6/site-packages/vdo/statistics/VDOReleaseVersions.py
/usr/lib/python3.6/site-packages/vdo/statistics/VDOStatistics.py
/usr/lib/python3.6/site-packages/vdo/statistics/__init__.py
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/Command.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/Command.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/Field.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/Field.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/KernelStatistics.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/KernelStatistics.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/LabeledValue.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/LabeledValue.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/StatFormatter.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/StatFormatter.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/StatStruct.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/StatStruct.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/VDOReleaseVersions.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/VDOReleaseVersions.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/VDOStatistics.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/VDOStatistics.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/statistics/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/utils
/usr/lib/python3.6/site-packages/vdo/utils/Command.py
/usr/lib/python3.6/site-packages/vdo/utils/FileUtils.py
/usr/lib/python3.6/site-packages/vdo/utils/Timeout.py
/usr/lib/python3.6/site-packages/vdo/utils/Transaction.py
/usr/lib/python3.6/site-packages/vdo/utils/YAMLObject.py
/usr/lib/python3.6/site-packages/vdo/utils/__init__.py
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/Command.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/Command.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/FileUtils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/FileUtils.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/Timeout.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/Timeout.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/Transaction.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/Transaction.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/YAMLObject.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/YAMLObject.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/utils/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/CommandLock.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/Configuration.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/Constants.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/Defaults.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/ExitStatusMixins.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/KernelModuleService.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/MgmntUtils.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/Service.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/SizeString.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/Utils.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/VDOArgumentParser.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/VDOKernelModuleService.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/VDOOperation.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/VDOService.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__init__.py
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/CommandLock.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/CommandLock.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Configuration.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Configuration.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Constants.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Constants.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Defaults.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Defaults.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/ExitStatusMixins.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/ExitStatusMixins.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/KernelModuleService.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/KernelModuleService.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/MgmntUtils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/MgmntUtils.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Service.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Service.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/SizeString.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/SizeString.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Utils.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/Utils.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/VDOArgumentParser.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/VDOArgumentParser.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/VDOKernelModuleService.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/VDOKernelModuleService.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/VDOOperation.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/VDOOperation.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/VDOService.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/VDOService.cpython-36.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/vdo/vdomgmnt/__pycache__/__init__.cpython-36.pyc
/usr/lib/systemd/system-preset/97-vdo.preset
/usr/lib/systemd/system/[email protected]
/usr/lib/systemd/system/vdo.service
/usr/share/doc/vdo
/usr/share/doc/vdo/COPYING
/usr/share/doc/vdo/examples
/usr/share/doc/vdo/examples/ansible
/usr/share/doc/vdo/examples/ansible/README.txt
/usr/share/doc/vdo/examples/ansible/test_vdocreate.yml
/usr/share/doc/vdo/examples/ansible/test_vdocreate_alloptions.yml
/usr/share/doc/vdo/examples/ansible/test_vdoremove.yml
/usr/share/doc/vdo/examples/monitor
/usr/share/doc/vdo/examples/monitor/monitor_check_vdostats_logicalSpace.pl
/usr/share/doc/vdo/examples/monitor/monitor_check_vdostats_physicalSpace.pl
/usr/share/doc/vdo/examples/monitor/monitor_check_vdostats_savingPercent.pl
/usr/share/doc/vdo/examples/systemd
/usr/share/doc/vdo/examples/systemd/VDO.mount.example
/usr/share/man/man8/vdo.8.gz
/usr/share/man/man8/vdodmeventd.8.gz
/usr/share/man/man8/vdodumpconfig.8.gz
/usr/share/man/man8/vdoforcerebuild.8.gz
/usr/share/man/man8/vdoformat.8.gz
/usr/share/man/man8/vdosetuuid.8.gz
/usr/share/man/man8/vdostats.8.gz
References
Summary
In this tutorial we learn how to install vdo
on CentOS 8 using yum and dnf.