Infortrend iSCSI and proxmox

hartred

New Member
Nov 2, 2023
1
0
1
Hello,

We are trying to connect the infortrend ds3012 SAN storage to the proxmox version:

Code:
pveversion
pve-manager/7.4-16/0f39f621 (running kernel: 5.15.108-1-pve)

The storage has a network interface on the same subnet as the proxmox cluster.
Several partitions have been created and LUN mapping has been configured.
On the proxmox side:
datacenter > storage > add > iscsi
We fill in the id, the portal - the storage IP and the target is filled in automatically.

use LUN directly turned on or off has no effect.
Distribution is added to the cluster, but no storage volume is visible, and when creating a VM on it we get an error:

Code:
qemu-img: Could not open '/dev/disk/by-id/scsi-3600d0231000d54ba40f382067e924f36': Could not open '/dev/disk/by-id/scsi-3600d0231000d54ba40f382067e924f36': No such device or address
could not parse qemu-img info command output for '/dev/disk/by-id/scsi-3600d0231000d54ba40f382067e924f36' - malformed JSON string, neither tag, array, object, number, string or atom, at character offset 0 (before "(end of string)") at /usr/share/perl5/PVE/Storage/Plugin.pm line 946.

TASK ERROR: unable to create VM 126 - volume test:0.0.0.scsi-3600d0231000d54ba40f382067e924f36 does not exis


And when we try to create LVM we get:

Code:
create storage failed: pvcreate '/dev/disk/by-id/scsi-3600d0231000d54ba40f382067e924f36' error: Cannot use /dev/disk/by-id/scsi-3600d0231000d54ba40f382067e924f36: device is too small (pv_min_size) (500)
 

Attachments

  • Screenshot_61.png
    Screenshot_61.png
    10.1 KB · Views: 3
  • Screenshot_62.png
    Screenshot_62.png
    24.8 KB · Views: 3
  • Screenshot_63.png
    Screenshot_63.png
    10.2 KB · Views: 3
You have two options to use raw iSCSI devices:
a) use LUN directly is supposed to attach the lun as is to the VM, as raw device. I havent used this method in a while, based on your report there may be a change in output that trips PVE. But you would need to perform more tests and provide more logs.
b) Once the iSCSI connection is established you will need to manually LVM it, ie create a PV/VG and then use the LVM layer as your storage.
https://pve.proxmox.com/wiki/Logical_Volume_Manager_(LVM)

Keep in mind that if you have multiple paths to storage, you will need to use Multipath first, ie prior to LVM. I also dont believe that you can use Direct LUN and Multipath.

good luck

PS just noticed that the "too small" is from pvcreate. Check the output of:
lsscsi (may need to install it)
lsblk
Do the devices have expected size? I also vaguely remember that Infotrend may be using fancy block sizes that may need special handling, but may be not the case in your situation.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:

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!