PVE version 8.3.5
tl;dr - I migrated my base PVE install media from a 256gb nvme onto a 2tb nvme and I need assistance with expanding local & local-lvm
I have migrated my PVE disk (via clonezilla) from a 256gb nvme onto a larger 2tb nvme. I have found several forum posts regarding how to expand the local & local-lvm, but have received various errors regarding "extents needed"
Insufficient free space: 51200 extents needed, but only 0 available
According to lsblk, the relevant partition (nvme0n1p3) does have 1.8tb allocated, but I'm having trouble expanding the relevant pools. I am currently stuck on how to extend the relevant local & local-lvm pools. I think I would like to extend local to a total of 500gb (to hold backups and such) and local-lvm I would like to use up the rest of the space, which should be about 1.3tb.
Ideally I would like to do this without wiping local-lvm and re-creating, as this is where I currently have running VM's.
Error example:
Relevant data:
tl;dr - I migrated my base PVE install media from a 256gb nvme onto a 2tb nvme and I need assistance with expanding local & local-lvm
I have migrated my PVE disk (via clonezilla) from a 256gb nvme onto a larger 2tb nvme. I have found several forum posts regarding how to expand the local & local-lvm, but have received various errors regarding "extents needed"
Insufficient free space: 51200 extents needed, but only 0 available
According to lsblk, the relevant partition (nvme0n1p3) does have 1.8tb allocated, but I'm having trouble expanding the relevant pools. I am currently stuck on how to extend the relevant local & local-lvm pools. I think I would like to extend local to a total of 500gb (to hold backups and such) and local-lvm I would like to use up the rest of the space, which should be about 1.3tb.
Ideally I would like to do this without wiping local-lvm and re-creating, as this is where I currently have running VM's.
Error example:
root@proxmox:~# lvextend -L +200G /dev/mapper/pve-root Insufficient free space: 51200 extents needed, but only 0 availableRelevant data:
root@proxmox:~# lsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSsda 8:0 0 5.5T 0 disk├─sda1 8:1 0 2G 0 part└─sda2 8:2 0 5.5T 0 partsdb 8:16 0 5.5T 0 disk├─sdb1 8:17 0 2G 0 part└─sdb2 8:18 0 5.5T 0 partsdc 8:32 0 18.2T 0 disk├─sdc1 8:33 0 2G 0 part└─sdc2 8:34 0 18.2T 0 partsdd 8:48 0 18.2T 0 disk├─sdd1 8:49 0 2G 0 part└─sdd2 8:50 0 18.2T 0 partnvme0n1 259:0 0 1.8T 0 disk├─nvme0n1p1 259:1 0 7.9M 0 part├─nvme0n1p2 259:2 0 1G 0 part└─nvme0n1p3 259:3 0 1.8T 0 part ├─pve-swap 252:0 0 8G 0 lvm [SWAP] ├─pve-root 252:1 0 68G 0 lvm / ├─pve-data_tmeta 252:2 0 2.4G 0 lvm │ └─pve-data-tpool 252:4 0 151.1G 0 lvm │ ├─pve-data 252:5 0 151.1G 1 lvm │ ├─pve-vm--100--disk--0 252:6 0 32G 0 lvm │ ├─pve-vm--100--disk--1 252:7 0 4M 0 lvm │ ├─pve-vm--101--disk--0 252:8 0 32G 0 lvm │ ├─pve-vm--102--disk--0 252:9 0 32G 0 lvm │ ├─pve-vm--101--disk--1 252:10 0 4M 0 lvm │ ├─pve-vm--103--disk--1 252:11 0 15G 0 lvm │ ├─pve-vm--105--disk--0 252:12 0 16G 0 lvm │ ├─pve-vm--106--disk--0 252:13 0 3G 0 lvm │ ├─pve-vm--107--disk--0 252:14 0 8G 0 lvm │ └─pve-vm--108--disk--0 252:15 0 4G 0 lvm └─pve-data_tdata 252:3 0 151.1G 0 lvm └─pve-data-tpool 252:4 0 151.1G 0 lvm ├─pve-data 252:5 0 151.1G 1 lvm ├─pve-vm--100--disk--0 252:6 0 32G 0 lvm ├─pve-vm--100--disk--1 252:7 0 4M 0 lvm ├─pve-vm--101--disk--0 252:8 0 32G 0 lvm ├─pve-vm--102--disk--0 252:9 0 32G 0 lvm ├─pve-vm--101--disk--1 252:10 0 4M 0 lvm ├─pve-vm--103--disk--1 252:11 0 15G 0 lvm ├─pve-vm--105--disk--0 252:12 0 16G 0 lvm ├─pve-vm--106--disk--0 252:13 0 3G 0 lvm ├─pve-vm--107--disk--0 252:14 0 8G 0 lvm └─pve-vm--108--disk--0 252:15 0 4G 0 lvmroot@proxmox:~# df -hFilesystem Size Used Avail Use% Mounted onudev 16G 0 16G 0% /devtmpfs 3.2G 3.3M 3.2G 1% /run/dev/mapper/pve-root 67G 20G 44G 31% /tmpfs 16G 46M 16G 1% /dev/shmtmpfs 5.0M 0 5.0M 0% /run/lockefivarfs 128K 35K 89K 29% /sys/firmware/efi/efivars/dev/fuse 128M 24K 128M 1% /etc/pvetmpfs 3.2G 0 3.2G 0% /run/user/0root@proxmox:~# pvs PV VG Fmt Attr PSize PFree /dev/nvme0n1p3 pve lvm2 a-- <1.82t 1.59troot@proxmox:~# vgs VG #PV #LV #SN Attr VSize VFree pve 1 13 0 wz--n- <1.82t 1.59troot@proxmox:~# lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert data pve twi-aotz-- <151.12g 75.41 2.27 root pve -wi-ao---- <67.97g swap pve -wi-ao---- 8.00g vm-100-disk-0 pve Vwi-aotz-- 32.00g data 96.93 vm-100-disk-1 pve Vwi-aotz-- 4.00m data 14.06 vm-101-disk-0 pve Vwi-a-tz-- 32.00g data 98.23 vm-101-disk-1 pve Vwi-a-tz-- 4.00m data 14.06 vm-102-disk-0 pve Vwi-a-tz-- 32.00g data 55.85 vm-103-disk-1 pve Vwi-aotz-- 15.00g data 82.00 vm-105-disk-0 pve Vwi-a-tz-- 16.00g data 72.69 vm-106-disk-0 pve Vwi-aotz-- 3.00g data 68.45 vm-107-disk-0 pve Vwi-aotz-- 8.00g data 47.75 vm-108-disk-0 pve Vwi-aotz-- 4.00g data 95.57