Qubes 4.1 LVM2 Changes

Hey Guys,

I’ve been having some weird issues with LVM2 on 4.1 lately.

By default only 20GB is assigned to the ‘root’ LV, I’ve extended this to 60GB however it appears to be related to where appVM data is stored, I would have assumed the vm-pool would be used to store the actual appVM data.

This is what lvs looks like on dom0

  LV        VG         Attr       LSize   Pool      Origin Data%  Meta%  Move Log Cpy%Sync Convert
  root      qubes_dom0 Vwi-aotz--  60.00g root-pool        64.79                                  
  root-pool qubes_dom0 twi-aotz--  60.00g                  64.80  5.05                            
  swap      qubes_dom0 -wi-ao----   3.94g                                                         
  vm-pool   qubes_dom0 twi-a-tz-- 826.66g                  0.00   2.29                            

Should I simply expand the root LV?

I’m not 100% sure but it looks like appVM data is being stored in the root LV, each appVM used to have it’s own private & root LV however I’m not sure if this is a 4.1 change?

Yeah it appears all appVM storage is now under /var/lib/qubes/appvms, is this normal for 4.1?


Huh, never mind, it appears Qubes didn’t register the vm-pool LVM2 pool when I installed, so it was defaulting to use file based storage for the VM Pool.

I fixed this by running

qvm-pool --add vm-pool lvm_thin -o volume_group=qubes_dom0,thin_pool=vm-pool,revisions_to_keep=2

Not sure why this isn’t default?