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.*
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.
pvcreate /dev/nvme3n1
(Give this command time to run).vgextend vdoDev /dev/nvme3n1
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