iscsi datastore incorrect size

leksand

Active Member
Aug 28, 2020
77
1
28
38
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?
 

Attachments

  • datastore incorrect size.png
    datastore incorrect size.png
    2.2 KB · Views: 2
You know the difference between Terabyte and Tebibyte? This is what you see here.

I know about byte = 8 bits, but what does bits have to do with it.
Also the size is specified in TB.

Terabyte (TB), a unit of information (often measuring storage capacity)
Terabit (Tb), a unit of information (often measuring data transfer).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!