Overprovisioning or disk space issue

Vittorio

Active Member
Jul 24, 2019
60
3
28
59
Hi all

I'm wondering if I have an overprovisioning or disk space issue

I have two VMs, one with a 50GB disk and one with 32GB disk on an SSD of 250GB.

On the first one I have Home Assistant and trying to upgrade it I get the yellow triangle on the VM name.

This is the result of the command pvesm status

Name Type Status Total Used Available %
local dir active 57278576 4715256 49624032 8.23%
local-lvm lvmthin active 148299776 147676916 622859 99.58%


and this is the result of df -h from the Home Assistant VM that I'm trying to upgrade

Filesystem Size Used Avail Use% Mounted on
udev 1.5G 0 1.5G 0% /dev
tmpfs 301M 1.8M 299M 1% /run
/dev/sda2 49G 20G 27G 43% /
tmpfs 1.5G 0 1.5G 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.5G 0 1.5G 0% /sys/fs/cgroup
/dev/loop0 89M 89M 0 100% /snap/core/7270
/dev/loop1 89M 89M 0 100% /snap/core/7169
tmpfs 301M 0 301M 0% /run/user/1000


It seems that from within the VM there is 20GB left and from the local-lvm side it's almost full?

What does it mean and what I can do to solve it?

Thanks
Vittorio
 
it seems your local-lvm is nearly full (99.58%)

what is the output of
Code:
lvs
?
The output is

LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- 141.43g 69.02 4.09
root pve -wi-ao---- 55.75g
snap_vm-101-disk-0_autodaily190721000002 pve Vri---tz-k 32.00g data
snap_vm-101-disk-0_autodaily190722000002 pve Vri---tz-k 32.00g data
snap_vm-101-disk-0_autodaily190723000002 pve Vri---tz-k 32.00g data
snap_vm-101-disk-0_autodaily190724000002 pve Vri---tz-k 32.00g data
snap_vm-101-disk-0_autodaily190725000002 pve Vri---tz-k 32.00g data vm-101-disk-0
snap_vm-103-disk-0_autodaily190721010002 pve Vri---tz-k 50.00g data
snap_vm-103-disk-0_autodaily190722010002 pve Vri---tz-k 50.00g data
snap_vm-103-disk-0_autodaily190723010002 pve Vri---tz-k 50.00g data
snap_vm-103-disk-0_autodaily190724010002 pve Vri---tz-k 50.00g data
snap_vm-103-disk-0_autodaily190725010001 pve Vri---tz-k 50.00g data vm-103-disk-0
swap pve -wi-ao---- 7.00g
vm-101-disk-0 pve Vwi-aotz-- 32.00g data snap_vm-101-disk-0_autodaily190724000002 87.55
vm-103-disk-0 pve Vwi-aotz-- 50.00g data 93.68
vm-104-disk-0 pve Vwi-a-tz-- 2.00g data 63.41


but before this I removed a test VM that I recreate.

So now the local-lvm space is around 69%

My question, I'm not expert about virtualized storage and volume manager, is why happened this while I have free space within the VM where Home Assistant was going to be upgraded?

I also see that my local storage (root) is bigger (55GB) than what I really need (probably 25GB would be enough).
Is there a way to resize local from 55gb to 25gb and resize local-lvm from 141gb adding the 30gb removed from local?

Thanks
 
My question, I'm not expert about virtualized storage and volume manager, is why happened this while I have free space within the VM where Home Assistant was going to be upgraded?
it happened because lvmthin is a thin provisioned storage, where you can overcommit

you did make a bunch of snapshots and those are not free (in terms of disk space)

Is there a way to resize local from 55gb to 25gb and resize local-lvm from 141gb adding the 30gb removed from local?
not easy no,...
 

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!