Add ubnt-extend-logicalvol.md
This commit is contained in:
11
ubnt-extend-logicalvol.md
Normal file
11
ubnt-extend-logicalvol.md
Normal 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
|
Reference in New Issue
Block a user