Skip to content

Instantly share code, notes, and snippets.

@riblo
Last active January 13, 2023 19:53
Show Gist options
  • Save riblo/06e361aa54c2403a665dd378f8636e9f to your computer and use it in GitHub Desktop.
Save riblo/06e361aa54c2403a665dd378f8636e9f to your computer and use it in GitHub Desktop.
resize fedora root (/) LVM
lsblk
fdisk /dev/sdb
lsblk
pvcreate /dev/sdb1
vgextend fedora /dev/sdb1
lvextend -l +100%FREE /dev/fedora/root
#lvextend -l +100%FREE /dev/rhel/root
resize2fs /dev/fedora/root
#xfs_growfs /dev/rhel/root
lsblk
df -Th
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment