Join Scott Simpson for an in-depth discussion in this video Extending a volume group and logical volume, part of Linux Foundation Cert Prep: Storage Management (Ubuntu).
- [Instructor] Let's take a look…at extending a logical volume and its file system.…We'll add a new disk and create a new partition.…And, in that partition, I'll create a new physical volume.…Then we'll extend the volume group…to include the new physical volume.…And we'll extend the logical volume…to take up the space that's available.…Then we'll extend the file system…to be able to take advantage of this new space.…Here, I've got my file system that's about 114 gigabytes.…And I want to effectively double that space.…
Right now, if I take a look…at the volume group with vgdisplay,…I can see that I currently have one PV…and that one is active.…And the volume group size is about 115 gigabytes.…Taking a look at my phsyical volumes with pvdisplay,…I can see I have one,…the one that we just added, called sdb1.…In order to add my other disk,…I'll need to make sure that there's a partition,…so I'll do that with fdisk /dev/sdc.…
And I'll create a partition.…I'll save the changes,…and then I'll use pvcreate…and the path to that partition, /dev/sdc1…
Join instructor Scott Simpson, as he shows how to manage and optimize file storage on Ubuntu Linux. First, learn how to create, modify, and mount partitions and filesystems, and manage swap space. Scott then combines these basics into more sophisticated solutions using volume management, and shows how to secure Linux storage and configure disk quotas and backup policies.
- Creating and modifying partitions
- Creating, modifying, and mounting filesystems
- Mounting encrypted partitions
- Creating redundant storage with RAID
- Working with physical volumes, volume groups, and logical volumes
- Securing filesystems with ACLs
- Backing up data