I've added two 500 GB SSD's to my lab system:
I've formatted the SSD's as LVM physical volumes:
I've added the two new PV's to the pve LVM volume group:
But in the UI the local-lvm repository is still shown as the original size (348.8G) even though the pve volume group has been extended from 475.9 GB to 1.37 TB:
Is it possible to use the two new SSD's to extend the existing local-lvm repository? Or will I need to create new repositories instead?
TIA,
Eric Pretorious
Reno, Nevada
Code:
root@pve-0:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 465.8G 0 disk
└─sda1 8:1 0 465.7G 0 part
sdb 8:16 0 465.8G 0 disk
└─sdb1 8:17 0 465.7G 0 part
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:1 0 1007K 0 part
├─nvme0n1p2 259:2 0 1G 0 part /boot/efi
└─nvme0n1p3 259:3 0 475.9G 0 part
├─pve-swap 252:0 0 8G 0 lvm [SWAP]
├─pve-root 252:1 0 96G 0 lvm /
├─pve-data_tmeta 252:2 0 3.6G 0 lvm
│ └─pve-data-tpool 252:4 0 348.8G 0 lvm
<<<snip>>>
I've formatted the SSD's as LVM physical volumes:
Code:
root@pve-0:~# pvcreate /dev/sda1
Physical volume "/dev/sda1" successfully created.
root@pve-0:~# pvcreate /dev/sdb1
Physical volume "/dev/sdb1" successfully created.
I've added the two new PV's to the pve LVM volume group:
Code:
root@pve-0:~# vgextend pve /dev/sda1
Volume group "pve" successfully extended
root@pve-0:~# vgextend pve /dev/sdb1
Volume group "pve" successfully extended
But in the UI the local-lvm repository is still shown as the original size (348.8G) even though the pve volume group has been extended from 475.9 GB to 1.37 TB:
Code:
root@pve-0:~# vgdisplay pve
--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 47
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 12
Open LV 2
Max PV 0
Cur PV 3
Act PV 3
VG Size 1.37 TiB
PE Size 4.00 MiB
Total PE 360286
<<<snip>>>
Is it possible to use the two new SSD's to extend the existing local-lvm repository? Or will I need to create new repositories instead?
TIA,
Eric Pretorious
Reno, Nevada
Last edited: