Hi I recently upgraded to a new primary HD and these are the steps I’ve taken:
-
plug the new HD in via USB
-
boot from debian live
-
use dd to copy my entire old HD to new HD
-
use gdisk to convert from MBR to GPT
-
use gparted to move the swap partition to the end of the drive, and resize the primary partition to use the remaining space
-
swap in the new HD
I read I need to resize the LVM thin pool but, I’m not seeing the right output from lvs.
Existing threads:
https://groups.google.com/g/qubes-users/c/D-on-hSX1Dc/m/Q3rbYGyvAAAJ
https://groups.google.com/g/qubes-users/c/w9CIDaZ3Cc4/m/0xvtMUrIAgAJ
I also have a second 2TB drive with a second pool.
lsblk output:
nvme0n1 259:0 0 7.3T 0 disk
├─nvme0n1p3 259:3 0 15.4G 0 part
│ └─luks-[…] 253:1 0 15.4G 0 crypt [SWAP]
├─nvme0n1p1 259:1 0 1G 0 part /boot
└─nvme0n1p2 259:2 0 7.3T 0 part
└─luks-[…] 253:0 0 7.3T 0 crypt /
[…]
sda 8:0 0 1.8T 0 disk
└─luks-[…] 253:2 0 1.8T 0 crypt
├─qubes-poolhd0_tdata 253:4 0 1.8T 0 lvm
│ └─qubes-poolhd0-tpool 253:5 0 1.8T 0 lvm
[… my qubes on second HD]
└─qubes-poolhd0_tmeta 253:3 0 120M 0 lvm
└─qubes-poolhd0-tpool 253:5 0 1.8T 0 lvm
[… my qubes on second HD]
[…]
$ qvm-pool -l
NAME DRIVER
varlibqubes file-reflink
linux-kernel linux-kernel
poolhd0_qubes lvm_thin
$ sudo lvs -a
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
[lvol0_pmspare] qubes ewi------- 120.00m
poolhd0 qubes twi-aotz-- 1.82t 69.41 43.01
[poolhd0_tdata] qubes Twi-ao---- 1.82t
[poolhd0_tmeta] qubes ewi-ao---- 120.00m
[… my qubes on second HD]
Where have my Qubes on the first HD gone? They still work, but I don’t see them in the output of these commands.