Somewhere along my journey I messed up my lvm usage and didn't realize I was putting mv vm disks in the wrong volume group.
I have proxmox 8.3.0 installed on a Dell R710 with 2 VGs (pve and vmdata)
But I see I have lots of LVs in "pve" that are disks from my VMs
I have proxmox 8.3.0 installed on a Dell R710 with 2 VGs (pve and vmdata)
- pve (1.8TB) should only be for the OS
- vmdata (7.3 TB) is where I intended to store all my VM data
- shutdown the VM,
- migrate the disks using lvm commamnds,
- correct the paths in /etc/pve/nodes/proxmox/qemu-server/<vmid>.conf
- startup the VM
Code:
root@proxmox ~ # vgs
VG #PV #LV #SN Attr VSize VFree
pve 1 37 0 wz--n- <1.82t 16.00g
vmdata 1 7 0 wz--n- <7.28t 5.92t
But I see I have lots of LVs in "pve" that are disks from my VMs
Code:
root@proxmox ~ # lvs pve
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
base-902-disk-0 pve Vri---tz-k <2.20g data
base-903-disk-0 pve Vri---tz-k 32.00g data
data pve twi-aotz-- <1.67t 23.80 1.07
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
vm-100-cloudinit pve Vwi-a-tz-- 4.00m data 9.38
vm-100-disk-0 pve Vwi-a-tz-- 32.00g data 19.57
vm-100-disk-1 pve Vwi-a-tz-- 10.00g data 0.00
vm-101-disk-0 pve Vwi-aotz-- 100.00g data 17.99
vm-102-disk-0 pve Vwi-a-tz-- 100.00g data 63.29
vm-102-disk-1 pve Vwi-a-tz-- 32.00g data 22.50
.......