No free space

Many services doesn’t want to start
I see 0 of 19G Available for /

root@librenms:/home/john# df -hT
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 796M 80M 717M 10% /run
/dev/mapper/ubuntu–vg-ubuntu–lv ext4 19G 19G 0 100% /
tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda2 ext4 974M 298M 609M 33% /boot
/dev/loop1 squashfs 56M 56M 0 100% /snap/core18/2620
/dev/loop2 squashfs 64M 64M 0 100% /snap/core20/1634
/dev/loop0 squashfs 56M 56M 0 100% /snap/core18/2632
/dev/loop3 squashfs 64M 64M 0 100% /snap/core20/1695
/dev/loop4 squashfs 92M 92M 0 100% /snap/lxd/23991
/dev/loop5 squashfs 68M 68M 0 100% /snap/lxd/22753
/dev/loop6 squashfs 50M 50M 0 100% /snap/snapd/17883
overlay overlay 19G 19G 0 100% /var/lib/docker/overlay2/420b8f5c4b4c07968ac89b6f990c5debe5 80058d9037066f0f101018b9854e06/merged
overlay overlay 19G 19G 0 100% /var/lib/docker/overlay2/9fc24c44be6bedc523d86cf926e882facd 11358103465e15ed1c76529107d17d/merged
overlay overlay 19G 19G 0 100% /var/lib/docker/overlay2/4a6e557513b022961ba8ee05a1ea0c6642 9553de259fd16abc6de209c8b473f5/merged
overlay overlay 19G 19G 0 100% /var/lib/docker/overlay2/8f4e44a357468f8b44462c271495f3fefb 8214e37009cc0f5da8596f7c517b2d/merged
overlay overlay 19G 19G 0 100% /var/lib/docker/overlay2/7dab85c42cef5cd9719b7a8238c25b5b9d c708545684f6931f57116dac50226d/merged
shm tmpfs 64M 0 64M 0% /var/lib/docker/containers/c2d6437300bea71fc674e51c2944cd3a 65b90f5e158e47dea4f4f8e14b623700/mounts/shm
shm tmpfs 64M 0 64M 0% /var/lib/docker/containers/10dff86c1767635bd33cc860407d0929 ade61bfff01aab2e510a6eb74c274ce2/mounts/shm
shm tmpfs 64M 0 64M 0% /var/lib/docker/containers/029a06febaad1de446a8721097828864 7f9dab5e8fd060240651862e5eace0a8/mounts/shm
shm tmpfs 64M 0 64M 0% /var/lib/docker/containers/5a9c598be3403768a0d22195b5fb7b97 6255873862fd73a698bdf0c93a91019d/mounts/shm
overlay overlay 19G 19G 0 100% /var/lib/docker/overlay2/afc91f437d2d711b3059543974bad3e860 709499af7cdb82ad609cb7fdec057f/merged
shm tmpfs 64M 0 64M 0% /var/lib/docker/containers/93fa6f219b90e414cf8fe1eb85f6aec4 ca0198c5f9fe1f406e78730723fba36e/mounts/shm
tmpfs tmpfs 796M 0 796M 0% /run/user/1000

I added 10Gb extra from VM host control panel

fdisk -l
Disk /dev/loop0: 55.6 MiB, 58281984 bytes, 113832 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop1: 55.6 MiB, 58281984 bytes, 113832 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop2: 63.2 MiB, 66265088 bytes, 129424 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop3: 91.83 MiB, 96272384 bytes, 188032 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop4: 63.25 MiB, 66314240 bytes, 129520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop5: 49.64 MiB, 52031488 bytes, 101624 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/loop6: 67.83 MiB, 71106560 bytes, 138880 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk /dev/sda: 30 GiB, 32212254720 bytes, 62914560 sectors
Disk model: Virtual disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 2554DA21-8FB8-4333-A4F5-C9BC3DAC4721

Device Start End Sectors Size Type
/dev/sda1 2048 4095 2048 1M BIOS boot
/dev/sda2 4096 2101247 2097152 1G Linux filesystem
/dev/sda3 2101248 62914526 60813279 29G Linux filesystem

Disk /dev/mapper/ubuntu–vg-ubuntu–lv: 18.102 GiB, 20396900352 bytes, 39837696 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

How can I extend that partition size?

/dev/mapper/ubuntu–vg-ubuntu–lv ext4 19G 19G 0 100% /

Disk /dev/sda: 30 GiB, 32212254720 bytes, 62914560 sectors
Disk model: Virtual disk

Hi @maxsaf
You should probably check a Linux (ubuntu in that case) forum and doc to find how LVM partition should be extended.

Easiest way I found was Webmin install. That interface already has all i need to adjust a size.
“Edit Physical Volume” tab has “Resize To Match Device” button.
Now I see “Disk size 29 GiB” instead of 19GB

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.