Hello all.
I have a cluster ( 3 nodes ) for testing purpose, connected to a TrueNas, experimenting several storage backend.
One of those storage is an iscsi lun where I have created an LVM.
The lun ( FWIW ) is seen from nodes as /dev/sdc and has not been partitioned ( I'm quite sure I did everything from the GUI... )
Now I have expanded the LUN from 20G to 40G and this can be seen from vgs:
and as you can see, the free space has been "seen" from the sdc side but not from the vg side.
Being that there is not a ( real ) lvm over it, I cannot do an lvextend -l100%FREE as I would in a normal lvm.
I've tried to move over this lvm a disk from a virtual machine sligltly bigger than the actual size, but smaller than the "extended" size and I got a
"Volume group "vg-iscsi" has insufficient free space (5118 extents): 6656 required"
How am I supposed to use this new space ?
I rather not delete and create the lvm as I think it'ìs not the right way to do this...
Thanks in advance.
Pigi_102
I have a cluster ( 3 nodes ) for testing purpose, connected to a TrueNas, experimenting several storage backend.
One of those storage is an iscsi lun where I have created an LVM.
The lun ( FWIW ) is seen from nodes as /dev/sdc and has not been partitioned ( I'm quite sure I did everything from the GUI... )
Now I have expanded the LUN from 20G to 40G and this can be seen from vgs:
Code:
root@pve1:~# vgdisplay vg-iscsi
--- Volume group ---
VG Name vg-iscsi
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 8
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 19.99 GiB
PE Size 4.00 MiB
Total PE 5118
Alloc PE / Size 0 / 0
Free PE / Size 5118 / 19.99 GiB
VG UUID nvaG5c-pyq1-YRJC-n9H4-Yasl-QQvy-hMwsVP
and as you can see, the free space has been "seen" from the sdc side but not from the vg side.
Being that there is not a ( real ) lvm over it, I cannot do an lvextend -l100%FREE as I would in a normal lvm.
I've tried to move over this lvm a disk from a virtual machine sligltly bigger than the actual size, but smaller than the "extended" size and I got a
"Volume group "vg-iscsi" has insufficient free space (5118 extents): 6656 required"
How am I supposed to use this new space ?
I rather not delete and create the lvm as I think it'ìs not the right way to do this...
Thanks in advance.
Pigi_102