Managing Storage Using LVM on VDO on RHEL 8

30 minutes
  • 2 Learning Objectives

About this Hands-on Lab

Virtual Data Optimizer (VDO) optimizes storage resource utilization via deduplication, compression, and thin provisioning. In this hands-on lab, we will work with LVM on top of VDO, in order to enable the deduplication of data, that is largely similar or identical in nature. We’ll also be working with some easy scripting options to create a handy log and to test our deduplication options.

*This course is not approved or sponsored by Red Hat.*

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Setting Up an XFS Filesystem via LVM on a VDO Volume
  1. Verify VDO is installed.
  2. Create a VDO volume.
  3. Configure the VDO volume as an LVM physical volume.
  4. Create a Volume Group.
  5. Create an XFS filesystem.
  6. Mount the filesystem persistently.
  7. View VDO and filesystem statistics.
Investigate Space Savings on a VDO-based Filesystem
  1. Create a script to test the space savings.
  2. Use the script to copy 100 instances of data.
  3. View the space savings on the Filesystem.

Additional Resources

In this lab, you are a sysadmin who has been told to go check out "that VDO thing" that everyone is talking about, and find out how to set it up, how it works with disks and LVM, and what happens when you copy data to a VDO-based filesystem.

You'll be verifying VDO is working, creating a VDO volume, and then using that VDO volume as the basis for an LVM volume, which will contain an XFS filesystem and eventually some test data. You're looking to see what happens when multiple copies of the same or similar data is put on the disk, and from there, get an idea of how good the compression and deduplication works.

As an added bonus, you'll be using a script that automates the copying of multiple similar data sets, and you'll also be building a quick log file that will help you keep track of the statistics you are getting from your experiment.

Red Hat Exam Requirements Covered:

  • Configure disk compression

What are Hands-on Labs

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?