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

phrankme

Member
Sep 1, 2020
9
0
6
43
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
 
  • Like
Reactions: mrbyte and phrankme
That worked! Thank you!

Also this worked pretty well:
Bash:
sudo pvs
sudo pvresize /dev/sda3
df -h

# expand logical volume
sudo lvextend -r -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv

# resize partition
sudo growpart /dev/sda 3
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!