This page looks best with JavaScript enabled

Resize LVM Partition | Fedora 29 | Step by Step Guide

 ·  ☕ 2 min read  ·  ✍️ Chris Titus

In this guide, I show you how to Resize LVM Partition in Fedora 29. I recently ran out of space and had to clone my install from a 120SSD ssd to a 240 GB SSD.

I first had issues with boot timing out and causing the /dev/mapper/home, /dev/mapper/swap, and /dev/mapper/root not being found. To fix this, I simply rebooted to the rescue kernel and ran dracut --regenerate-all -f to resolve this in Single-User Mode.

Disclaimer: All these commands are done in Single-User Mode, therefore this will NOT work on a regular desktop.

Upon reboot, I found that I now can see all the space on the drive, but needed to resize the LVM Partition.

Resize LVM Partition

First, we need to identify the LVM Partition we need to expand. In my case, it was my home directory that was running low on space.

Command: df -h

lvm-selection8

Second, lets verify there is space to expand on the physical drive.

Command: vgdisplay

lvm-selection9

With all this verified, you can now expand the lvm partition.
Note: the command below will take up a 100% of the free space, see screenshot for precise extentsion.

Command: lvextend -l 100%FREE /dev/fedora/home

lvm-selection10

Finally, with the logical volume extended we simply reclaim the free space now.

Command: resize2fs /dev/fedora/home

lvm-selection11

Contact Me

I live stream on Chris Titus Tech YouTube Channel every Friday at 10 AM CST and archive clips to Titus Tech Talk. I also regularly publish to christitus.com, but if you’d like to contact me directly or want to contribute to help keep these articles and videos being made consider joining the CTT members.

Two Memberships exist:

  • ChrisTitus.com Members Section (CC Only)
    • Full Archive of All Unlisted Live Streams
    • Direct Members Only Email
    • Monthly Members Only Video
    • Starting at $2 Per Month (100% of Proceeds goes to Chris Titus Tech)
  • YouTube Chris Titus Tech Membership (All Payments Accepted)
    • YouTube Emojis for Comments and Live Chat
    • YouTube Badges that changes based on membership time for comments and chat.
    • All YouTube comments are highlighted when I review comments daily.
    • Immediate Access to Full Live Streams
    • $4.99 Per Month (70% of the Proceeds goes to Chris Titus Tech)
Share on

Chris Titus
WRITTEN BY
Chris Titus
Tech Content Creator