Map SAN LUN to VM in "passthrough" mode

acid27

New Member
Jul 10, 2024
1
0
1
I`m tring to setup a Hitachi Storage Management Environment with Proxmox.
For that we need "command devices". This are small SAN LUNs mapped via FC which accept commands for configure the Storage system.

in VMWare environment we can map a RDM to this VM and the VM has to recognize the LUN as follows:

[root@pm-esx01 ~]# ls /dev/sd* |/HORCM/usr/bin/inqraid -CLI
DEVICE_FILE PORT SERIAL LDEV CTG H/M/12 SSID R:Group PRODUCT_ID
sdb CL1-A 745563 64768 - - 0101 A:00000 OPEN-V-CM


At Proxmox server we mapped the discoverd LUN with:

qm set 102 -scsi1 /dev/mapper/360060e8023b1d2005070b1d20000fd01



At the Proxmox VM we see this sdb:

[root@pm-vm102 ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 100G 0 disk
├─sda1 8:1 0 1G 0 part /boot
└─sda2 8:2 0 98G 0 part
├─ol-root 252:0 0 88G 0 lvm /var/lib/containers/storage/overlay
│ /
└─ol-home 252:1 0 10G 0 lvm /home
sdb 8:16 0 50M 0 disk


[root@pm-vm102 ~]# sg_inq /dev/sdb -v
inquiry cdb: [12 00 00 00 24 00]
inquiry cdb: [12 01 00 00 fc 00]
standard INQUIRY:
PQual=0 PDT=0 RMB=0 LU_CONG=0 hot_pluggable=0 version=0x05 [SPC-3]
[AERC=0] [TrmTsk=0] NormACA=0 HiSUP=1 Resp_data_format=2
SCCS=0 ACC=0 TPGS=0 3PC=0 Protect=0 [BQue=0]
EncServ=0 MultiP=0 [MChngr=0] [ACKREQQ=0] Addr16=0
[RelAdr=0] WBus16=0 Sync=1 [Linked=0] [TranDis=0] CmdQue=1
length=36 (0x24) Peripheral device type: disk
Vendor identification: QEMU
Product identification: QEMU HARDDISK
Product revision level: 2.5+
[root@pm-vm102 ~]#


[root@pm-vm102 ~]# ls /dev/sd* |/HORCM/usr/bin/inqraid -CLI
DEVICE_FILE PORT SERIAL LDEV CTG H/M/12 SSID R:Group PRODUCT_ID
sdb - - - - - - - QEMU HARDDISK


How can we map the Hitachi LUN 1:1 to the VM?


Thanks for help
 

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!