udev 1.9G 0 1.9G 0% /dev
tmpfs 393M 1.1M 392M 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 24G 23G 0 100% /
tmpfs 2.0G 8.0K 2.0G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda2 976M 297M 612M 33% /boot
/dev/loop1 56M 56M 0 100% /snap/core18/2074
/dev/loop0 56M 56M 0 100% /snap/core18/2128
/dev/loop2 62M 62M 0 100% /snap/core20/1169
/dev/loop3 68M 68M 0 100% /snap/lxd/21545
/dev/loop5 62M 62M 0 100% /snap/core20/1081
/dev/loop4 71M 71M 0 100% /snap/lxd/21029
/dev/loop6 33M 33M 0 100% /snap/snapd/13270
/dev/loop7 33M 33M 0 100% /snap/snapd/13170
tmpfs 393M 0 393M 0% /run/user/1000
Создать резервную копию!!!
sudo lvextend --extents +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
sudo df -h /
sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv
sudo df -h /
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 393M 1.1M 392M 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 49G 23G 23G 50% /
tmpfs 2.0G 8.0K 2.0G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda2 976M 297M 612M 33% /boot
/dev/loop1 56M 56M 0 100% /snap/core18/2128
/dev/loop2 62M 62M 0 100% /snap/core20/1081
/dev/loop0 56M 56M 0 100% /snap/core18/2074
/dev/loop3 71M 71M 0 100% /snap/lxd/21029
/dev/loop5 68M 68M 0 100% /snap/lxd/21545
/dev/loop4 62M 62M 0 100% /snap/core20/1169
/dev/loop6 33M 33M 0 100% /snap/snapd/13270
/dev/loop7 33M 33M 0 100% /snap/snapd/13170
tmpfs 393M 0 393M 0% /run/user/1000