Answer the question
In order to leave comments, you need to log in
Why can't iSCSI+LVM2 build on Proxmox?
Good day, colleagues.
Given:
# iscsiadm -m discovery -t st -p 127.0.0.1 -t st
127.0.0.1:3260,1 iqn.2018-06.pz:fast
127.0.0.1:3260,1 iqn.2018-06.pz:slow
# iscsiadm -m node -R
Rescanning session [sid: 1, target: iqn.2018-06.pz:fast, portal: 127.0.0.1,3260]
Rescanning session [sid: 2, target: iqn.2018-06.pz:slow, portal: 127.0.0.1,3260]
# vgs
VG #PV #LV #SN Attr VSize VFree
vg_slow 1 0 0 wz--n- 803,75g 803,75g
# vgscan
Reading all physical volumes. This may take a while...
Found volume group "vg_slow" using metadata type lvm2
## Вырезал все лишние NFS и SMB хранилки, с ними все ОК
# pvesm status
Name Type Status Total Used Available %
Fast lvm inactive 0 0 0 0.00%
Slow lvm active 842792960 0 842792960 0.00%
iFast iscsi active 0 0 0 0.00%
iSlow iscsi active 0 0 0 0.00%
# vgs
VG #PV #LV #SN Attr VSize VFree
vg_fast 1 22 0 wz--n- <1,82t <1,17t
vg_slow 1 0 0 wz--n- 803,75g 803,75g
## Выхлоп ниже сокращен, суть - диски виртуалок видит.
# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
vm-101-disk-1 vg_fast -wi-a----- 5,00g
vm-101-disk-2 vg_fast -wi-a----- 30,00g
vm-1200-disk-1 vg_fast -wi-a----- 30,00g
vm-1200-disk-2 vg_fast -wi-a----- 5,00g
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question