This commit is contained in:
2025-10-03 12:02:54 +02:00
parent d9af5542ee
commit b55ad1050c
13 changed files with 112 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
# Ubuntu Server
## Expand partition using LVM
To expand a partition using LVM on Ubuntu Server, first check for free space in your volume group with
`` sudo vgdisplay ``
Then, extend the logical volume with
`` sudo lvextend -l +100%FREE /dev/ubuntu-vg/ubuntu-lv ``
and resize the filesystem using
`` sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv ``
to apply the changes.