Unable to create LVM from iscsi connection?

farfy

New Member
Apr 3, 2024
24
4
3
I've created the LUN and connected Proxmox to my Dell PowerVault MD3200i, but when I try to create the LVM, it won't populate the LUN in the Base Volume section. What am I doing wrong that it won't pass the LUN through as a volume? I'm brand new to Proxmox, so little bit lost. Have been trying to follow the guide on setting up multipath, but it want's me to add the volume so I can get the wwid but the volume never shows up?
 
What do you mean you connected LUN to Proxmox? Can you actually see this LUN, or did you mean that you finished the expected SAN configuration?

What is the context of your "/etc/pve/storage.cfg" ?
What is the output of "pvesm status" ?
What is the output of "pvesm list [iscsi-storage-name]" ?
What about "lsscsi" ? (may need to be installed)



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
What do you mean you connected LUN to Proxmox? Can you actually see this LUN, or did you mean that you finished the expected SAN configuration?

What is the context of your "/etc/pve/storage.cfg" ?
What is the output of "pvesm status" ?
What is the output of "pvesm list [iscsi-storage-name]" ?
What about "lsscsi" ? (may need to be installed)



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Sorry, what I meant by connected LUN to proxmox, is I've connected the PowerVault to Prox and they're both able to see each other, but the LUN isn't visible

Here is the output requested:

/etc/pve/storage.cfg:
Code:
dir: local
        path /var/lib/vz
        content backup,iso,vztmpl

lvmthin: local-lvm
        thinpool data
        vgname pve
        content rootdir,images

lvmthin: storage
        thinpool storage
        vgname storage
        content images,rootdir
        nodes pve

iscsi: PowerVault-01
        portal 10.10.1.10
        target iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020
        content none

pvesm status:

Code:
iscsiadm: default: 1 session requested, but 1 already present.
iscsiadm: Could not login to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.11.1.10,3260].
iscsiadm: initiator reported error (15 - session exists)
iscsiadm: Could not login to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.13.1.10,3260].
iscsiadm: initiator reported error (15 - session exists)
iscsiadm: Could not login to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.12.1.10,3260].
iscsiadm: initiator reported error (15 - session exists)
iscsiadm: Could not log into all portals
Logging in to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.11.1.10,3260]
Logging in to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.13.1.10,3260]
Logging in to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.12.1.10,3260]
command '/usr/bin/iscsiadm --mode node --targetname iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020 --login' failed: exit code 15
Name                 Type     Status           Total            Used       Available        %
PowerVault-01       iscsi     active               0               0               0    0.00%
local                 dir     active        98497780        12180816        81267416   12.37%
local-lvm         lvmthin     active      5698478080      1888475635      3810002444   33.14%
storage           lvmthin     active     17546211328     12452546179      5093665148   70.97%

pvesm list PowerVault-01:

Code:
iscsiadm: default: 1 session requested, but 1 already present.
iscsiadm: Could not login to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.11.1.10,3260].
iscsiadm: initiator reported error (15 - session exists)
iscsiadm: Could not login to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.13.1.10,3260].
iscsiadm: initiator reported error (15 - session exists)
iscsiadm: Could not login to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.12.1.10,3260].
iscsiadm: initiator reported error (15 - session exists)
iscsiadm: Could not log into all portals
Logging in to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.11.1.10,3260]
Logging in to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.13.1.10,3260]
Logging in to [iface: default, target: iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020, portal: 10.12.1.10,3260]
command '/usr/bin/iscsiadm --mode node --targetname iqn.1984-05.com.dell:powervault.md3200i.644a8420001619be00000000552f1020 --login' failed: exit code 15
Volid Format  Type      Size VMID

lsscsi:

Code:
[0:2:0:0]    disk    DELL     PERC H730 Mini   4.30  /dev/sda
[0:2:1:0]    disk    DELL     PERC H730 Mini   4.30  /dev/sdb
[10:0:0:0]   cd/dvd  HL-DT-ST DVD-ROM DTA0N    D3B0  /dev/sr0
[11:0:0:0]   disk    DELL     MD32xxi          0784  -       
[11:0:0:31]  disk    DELL     Universal Xport  0784  -

So, from what I can tell, it's trying to connect repeatedly over the same interface? but I'm not sure why it's trying to do that...and I cant finish the multipath setup because it wants the WWID of the LUN but I can't see the LUN to continue, so I'm completely lost :/

Sorry, I'm still learning all the different terminology and Proxmox
 
I'd start by logging out and deleting all sessions and nodes that exist, then rebooting the host and seeing if a clean machine is behaving better.



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Hmm, this was after deleting all sessions and iscsi config and redoing it, but the one step I hadn't done was reboot the proxmox host, do you think that will really have any effect on it?
 
Hmm, this was after deleting all sessions and iscsi config and redoing it, but the one step I hadn't done was reboot the proxmox host, do you think that will really have any effect on it?
It's hard to properly diagnose 3rd party storage over the forum. Especially without knowing the entire history of changes. We've seen iSCSI daemon get very confused. The iSCSI login portion is standard Linux stuff and as such subject to standard Linux iSCSI troubleshooting. Perhaps Dell has some suggestions.



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Update for anyone in the future....

I solved this, 1 of the iscsi controller modules had a bad battery. Finally received the replacement battery, and was then able to update firmware on the controllers. After that, it worked first time trying to add the storage...so, was something in the firmware on the actual storage array
 

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!