Add ubnt-extend-logicalvol.md

This commit is contained in:
2025-05-18 16:19:05 +00:00
commit ac358f6b06

11
ubnt-extend-logicalvol.md Normal file
View File

@@ -0,0 +1,11 @@
see current lv:
sudo vgdisplay
extend to 100% free space:
sudo lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
resize filesystem to full amount (not for xfs)
sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv