- Lab
- A Cloud Guru
Working with Essential Red Hat Linux System Administration Tools - Extending Storage (LVM/VDO)
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. *This course is not approved or sponsored by Red Hat.*
Path Info
Table of Contents
-
Challenge
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.
pvcreate /dev/nvme3n1
(Give this command time to run).vgextend vdoDev /dev/nvme3n1
lvextend -l +100%FREE /dev/vdoDev/vdoLV
-
Challenge
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
-
Challenge
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
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.