Why does Qubes OS 4.1 not use full disk space (LVM)?


I am currently switching to Qubes OS 4.1.

On fresh installation Qubes Disk Space Monitor shows, that vm-pool data has a size of 160GB instead of 250GB. And pvs reports, that ~ 50GB out of 250GB are free space:

[user@dom0 ~]$ sudo pvs
  PV                                VG                Fmt   Attr PSize   PFree 
  /dev/mapper/luks-xxx              qubes_dom0        lvm2 a--   250.28g 46.25g

Is there any reason to leave space at all or is this a bug? And how might I reclaim available space?

What I would try to do - extend logical volume root-pool:

[user@dom0 ~]$ sudo lvs
  LV                                                VG         Attr       LSize    Pool      Origin                                            Data%  Meta%  Move Log Cpy%Sync Convert
  root                                              qubes_dom0 Vwi-aotz--   20.00g root-pool                                                   22.79                                  
  root-pool                                         qubes_dom0 twi-aotz--   20.00g                                                             22.79  19.60                 

with a command found here :

lvextend -l +100%FREE /dev/mapper/qubes_dom0-root--pool

But I am really no LVM expert, so any help is appreciated.

Kind regards

Answered here: Why doesn't Qubes 4.1 use full disk space (LVM)?


1 Like