[SOLVED] /dev/mapper/ubuntu--vg-ubuntu--lv at 100%

phrankme

Active Member
Sep 1, 2020
9
5
43
45
Hi!

My Proxmox-VM with docker container is obviously full. How can I solve that?

Bash:
vaultgirl@vaultgirl:/dev/mapper$ df -h /var/tmp
Filesystem                         Size  Used Avail Use% Mounted on
/dev/mapper/ubuntu--vg-ubuntu--lv   39G   39G   0G  100% /

Code:
vaultgirl@vaultgirl:/dev/mapper$ ls -la
total 0
drwxr-xr-x  2 root root      80 Jul 10 11:53 .
drwxr-xr-x 21 root root    4100 Jul 10 11:53 ..
crw-------  1 root root 10, 236 Jul 10 11:53 control
lrwxrwxrwx  1 root root       7 Jul 10 11:53 ubuntu--vg-ubuntu--lv -> ../dm-0

Any help is really appreciated. Resizing my disk space in PVE is not extending the folder.
 
Last edited:
On your VM go to: Hardware > choose hard drive > Disk action > resize

after that on your vm get to know your system with
Code:
lsblk

then replacing with your device and your lvm root
Code:
pvresize /dev/sda3
lvextend -l 100%FREE /dev/pve/root
resize2fs /ev/pve/root
 
hey guys, it seems that I am too stupid :D I have an encrypted volume:

Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf
udev 5,7G 0 5,7G 0% /dev
tmpfs 1,2G 1,3M 1,2G 1% /run
/dev/mapper/debian1234--vg-root 45G 41G 1,6G 97% /
tmpfs 5,7G 16K 5,7G 1% /dev/shm
efivarfs 256K 130K 122K 52% /sys/firmware/efi/efivars
tmpfs 5,0M 8,0K 5,0M 1% /run/lock
tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-journald.service
tmpfs 1,0M 0 1,0M 0% /run/credentials/systemd-cryptsetup@sda3_crypt.service
tmpfs 5,7G 8,0K 5,7G 1% /tmp
/dev/sda2 944M 254M 626M 29% /boot
/dev/sda1 975M 8,8M 966M 1% /boot/efi
tmpfs 1,2G 76K 1,2G 1% /run/user/110

root@debian1234:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 50G 0 disk
├─sda1 8:1 0 976M 0 part /boot/efi
├─sda2 8:2 0 977M 0 part /boot
└─sda3 8:3 0 48,1G 0 part
└─sda3_crypt 254:0 0 48,1G 0 crypt
├─debian1234--vg-root 254:1 0 45,6G 0 lvm /
└─debian1234--vg-swap_1 254:2 0 2,5G 0 lvm [SWAP]

After resizing hdd in prox gui I am struggeling with the commands in order to resize vg-root.
Could anybody please help me?
Thanks and kind Rergards
Olli
 
Last edited: