For When You Can't Have The Real Thing
[ start | index | login ]
start > Fedora > 31 > Grow A LVM Partition

Grow A LVM Partition

Created by dave. Last edited by dave, 313 days ago. Viewed 1,358 times. #2
[diff] [history] [edit] [rdf]
labels
attachments
(2020)

Problem

I have a lvm partition that's full. I'm pretty sure I have physical disk available.

Solution

I've done this live.

  • Check your available disk:
    # vgdisplay
  • If you need more physical disk, go look at this instead: Adding Disk To A LVM Partition
  • Grow the logical volume:
    # lvextend -l +100%FREE /dev/fedora/root
  • Grow the file system on the drive:
    # xfs_growfs /
    or
    # resize2fs /
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt