External storage is attached to the pve via open-iscsi + multipath.
Incorrectly displayed volume was 3TB LUN size, pve showed 3.3 TB. Stretched to 5TB LAN after pvresize shows 5.5 TB in pve.
At the same time, pvdisplay shows correctly:
before magnification
--- Physical volume ---
PV Name /dev/mapper/naspve
VG Name nas
PV Size 3.00 Tb / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 Min
Total PE 786431
Free PE 123391
Allocated PE 663040
after the increase
--- Physical volume ---
PV Name /dev/mapper/naspve
VG Name nas
PV Size <5.00 TiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 Min
Total PE 1310719
Free PE 647679
Allocated PE 663040
How to understand the incorrect mapping?
Will over provisioning (the storage type is just LVM) fail?
Incorrectly displayed volume was 3TB LUN size, pve showed 3.3 TB. Stretched to 5TB LAN after pvresize shows 5.5 TB in pve.
At the same time, pvdisplay shows correctly:
before magnification
--- Physical volume ---
PV Name /dev/mapper/naspve
VG Name nas
PV Size 3.00 Tb / not usable 4.00 MiB
Allocatable yes
PE Size 4.00 Min
Total PE 786431
Free PE 123391
Allocated PE 663040
after the increase
--- Physical volume ---
PV Name /dev/mapper/naspve
VG Name nas
PV Size <5.00 TiB / not usable 3.00 MiB
Allocatable yes
PE Size 4.00 Min
Total PE 1310719
Free PE 647679
Allocated PE 663040
How to understand the incorrect mapping?
Will over provisioning (the storage type is just LVM) fail?