Working with Essential Red Hat Linux System Administration Tools - Extending Storage (LVM/VDO)

15 minutes
  • 3 Learning Objectives

About this Hands-on Lab

Storage requirements are only going up. Knowing how to grow a current mount point rather than just creating new ones is an important skill that we’ll practice here.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Add the /dev/nvme3n1 disk to the vdoLV Logical Volume.

Please wait a few minutes before connecting with ssh to allow the lab time to finish provisioning. After connecting with ssh, become root with:

sudo -i

This task has multiple steps.

  1. pvcreate /dev/nvme3n1 (Give this command time to run).
  2. vgextend vdoDev /dev/nvme3n1
  3. lvextend -l +100%FREE /dev/vdoDev/vdoLV
Extend the VDO Physical Disk to 60GB, and the Logical Size to 180GB

To extend the physical size, we’ll run:

vdo growPhysical --name=LA

And to extend the Logical size (Give this command time to run):

vdo growLogical --name=LA --vdoLogicalSize=180G

Grow the XFS filesystem to match the underlying VDO disk

All we have to do here, in order to grow the underlying filesystem, is this (Give this command time to run):

xfs_growfs /mnt/vdo

Additional Resources

Your VDO server has been allocated a new 20GB disk, and you've been tasked with integrating it into the current setup. The volume group being used is vdoDev, the logical volume is vdoLV, and the VDO device name is LA.

Add the disk to the volume group, extend the logical volume to fill the new disk, and then extend the physical space that the VDO disk can address to use this new space as well. After that, extend the logical space to 180GB and resize the filesystem that's mounted on /mnt/vdo.

Note: Please wait a few minutes to allow the provided server to get ready before connecting via ssh.

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.

Get Started
Who’s going to be learning?

How many seats do you need?

  • $499 USD per seat per year
  • Billed Annually
  • Renews in 12 months

Ready to accelerate learning?

For over 25 licenses, a member of our sales team will walk you through a custom tailored solution for your business.


$2,495.00

Checkout
Sign In
Welcome Back!

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