1 TB SSD NVME - only 800 GiB used

Hi,

I would like to know if I should file a bug report.
I have a new notebook with a 1 TB NVME SSD. I installed Qubes and restored the backup from my old notebook. My old notebook has a 1 TB SSD Micro Sata. On there 7,7 GiB are swap and 907 GiB is for the dom0-pool logical volume.
On my new notebook the dom0 logical volume only uses about 800 GiB. The swap is 30 GiB as can bee seen from the output of lsblk:

lsblk
NAME                                       MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
nvme0n1                                    259:0    0 931.5G  0 disk  
├─nvme0n1p1                                259:1    0     1G  0 part  /boot
└─nvme0n1p2                                259:2    0 930.5G  0 part  
  └─luks-e27da347-bd2e-4e9a-b1d4-f48d145ee9b9
    253:0    0 930.5G  0 crypt 
    ├─qubes_dom0-pool00_tmeta              253:1    0   816M  0 lvm   
    │ └─qubes_dom0-pool00-tpool            253:3    0 798.1G  0 lvm
....
    └─qubes_dom0-swap                      253:5    0  30.8G  0 lvm   [SWAP]
loop0                                        7:0    0     1G  0 loop  

I know that there is a conversion reduction from GB to GiB.
Can somone explain to me why Qubes is not using the full space? Could it have something to do with restoring the backup? Should I file a bug report?

This issue may be related to your problem.

Thanks augsch. It definitely sounds like it. Any possibility to extend the size manually?

Yes check what we do in %post: Enable LVM autoextend and set default value to 90 for thin_pool · fepitre/qubes-core-admin-linux@605cb47 · GitHub

1 Like

So I would need to do a full reinstall when 4.1 is released?

  1. You need to know how much space you have.
  2. Extend the vm–pool

example :

[root@dom0 51lieal]# vgs
  VG  #PV  #LV  #sn Attr  VSize  VFree
  qubes_dom0  2  60  0  wz--n- 1.37t  99.97g

[root@dom0 51lieal]# lvextend -L +99.97GiB /dev/mapper/qubes_dom0-vm--pool -r

Wait for some time, and then your vm-pool wlll extend.

1 Like

Thanks for your reply. I am not comfortable with using lvextend. I once did break my install with it. Right now I don’t need the extra space but thanks anyway :wink:

I have tested it, just take a note about your vg and data-pool.
Just to make sure, if you can provide full lsblk i can give you a hint.
And you can always train qubes in vm.

1 Like