

Without this, I won’t be able to perform operations on the volume group.

Activate the Logical Volumesįirst, I need to activate the logical volumes (which may have already been done on boot). Also, if you’re not familiar with any command below, I encourage you to visit the man page to learn more about it. Although you may desire to keep your existing partitions, errors are always possible. Below, I’ll walk you through the necessary steps.Īs with most any operation, it is critical you back up any data that is important to you before beginning. As an exercise, I’ve sandboxed this in a virtual machine representative of my environment, before I modify my home server. I’ve chosen a Fedora Workstation 28 live CD, because that’s what I have available. To do so, I need to boot a live CD, as file systems that are in use cannot be resized. Instead of starting fresh, I would like to shrink the volume group, as I want to keep my existing data for a period of time. I’m ready to start with a clean OS installation, however, I’ve allocated my entire 2 TB hard drive to an LVM volume group. Hacking my way through the system and through several distribution upgrades, it’s no longer a very clean system, and I tend to run into issues when trying to do something new. I have a Fedora installation that has been running on a local machine acting as a home server for several years.
