metal-stack/csi-driver-lvm

Resize failing despite free VG space

superxor opened this issue · 2 comments

Hi,
I set this up on multiple identical nodes which all have 6TB VGs. I had some PVCs at 512GB and wanted to resize them all to 1TB but I always end up with this error:

csi-driver-lvm-plugin-6l8pq csi-driver-lvm-plugin E0510 12:41:07.171962 1 server.go:114] GRPC error: rpc error: code = OutOfRange desc = Requested capacity 1099511627776 exceeds maximum allowed 1099511627776

The same number appears no matter what size I choose.

My VGs are all half empty:
VG #PV #LV #SN Attr VSize VFree
csi-lvm 3 5 0 wz--n- <5.24t <3.49t

Any ideas where this is coming from?

It's currently hard-coded:
https://github.com/metal-stack/csi-driver-lvm/blob/master/pkg/lvm/controllerserver.go#L35

True, this should better be at least a helm variable.

But it only says 'tib'...so its 1 by default or how does that work?
So nobody tested LVs > 1TB so far? Or what am I missing