Jul 5, 2022
Resizing a logical volume on Ubuntu.
sudo lsblk
sudo lvresize -t -v -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
sudo lvresize -v -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
sudo resize2fs -p /dev/mapper/ubuntu--vg-ubuntu--lv
df -h
Related tags: