LVM Autoextend Help

Hi everyone,

I saw here: Why doesn't Qubes 4.1 use full disk space (LVM)? and here: Enable LVM autoextend · Issue #5826 · QubesOS/qubes-issues · GitHub that with 4.1 the whole hard drive isn’t allocated as free space, but once 90% is reached, more free space is allocated.

Using:
sudo sfdisk /dev/sda --list

I see my hard drive is 231gb.

Using:
df -h

I see 20gb is used for dom0-root and 1gb for boot.

Using:
swapon

I see 4gb is used for swap.

So 231-5-20=206.

Yet when I click the disk utility icon in the upper right hand corner of qubes, it shows only 161GiB available for vm-pool data (and 19.5GiB for varlibqubes data).

Shouldn’t I have more space available?

According to the posts I linked to above, this is to stop an error with qubes where there isn’t enough space, and now it should be autoextended.

My vm-pool data is now 95% full because I was downloading something, but it hasn’t autoextended, and I can no longer open any vms (dom0 still loads fine).

I checked etc/lvm/lvm.conf and my thin_pool_autoextend_threshold =90, and thin_pool_autoextend_percent = 20.

What can I do to fix this issue?

Thanks for the help!

I don’t know if this helps, but
sudo vgs
shows: VSize as 231g and VFree as 24g.

and:

sudo pvs
shows the same with PSize and PFree.

Thanks!