iscsi setup issue

kazi

Member
Jan 18, 2024
48
1
8
Hello.

I did setup an iSCSI target on a Dell Storage system. I configured /etc/iscsi/iscsi.conf with CHAP. I can see

# iscsiadm -m session -o show
tcp: [1] 172.16.52.202:3260,3 iqn.1988-11.com.dell:01.array.bc305b5e96aa (non-flash)
tcp: [2] 172.16.52.204:3260,4 iqn.1988-11.com.dell:01.array.bc305b5e96aa (non-flash)
tcp: [3] 172.16.52.203:3260,2 iqn.1988-11.com.dell:01.array.bc305b5e96aa (non-flash)
tcp: [4] 172.16.52.201:3260,1 iqn.1988-11.com.dell:01.array.bc305b5e96aa (non-flash)

# lsscsi
[0:2:0:0] disk DELL PERC H710 3.13 /dev/sda
[1:0:0:0] disk Dell Internal Dual SD 1.: /dev/sdb
[2:0:0:0] enclosu DellEMC ME5 I200 -
[3:0:0:0] enclosu DellEMC ME5 I200 -
[4:0:0:0] enclosu DellEMC ME5 I200 -
[5:0:0:0] enclosu DellEMC ME5 I200 -

# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 278.9G 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 1G 0 part
└─sda3 8:3 0 277.9G 0 part
├─pve-swap 253:0 0 8G 0 lvm [SWAP]
├─pve-root 253:1 0 79.5G 0 lvm /
├─pve-data_tmeta 253:2 0 1.7G 0 lvm
│ └─pve-data 253:4 0 170.9G 0 lvm
└─pve-data_tdata 253:3 0 170.9G 0 lvm
└─pve-data 253:4 0 170.9G 0 lvm
sdb 8:16 0 972M 0 disk
└─sdb1 8:17 0 971.9M 0 part

But I can not see the device when I use lsblk. How do I add sdc?

Any help is appreciated!

Thank you.
 
# lsscsi
[0:2:0:0] disk DELL PERC H710 3.13 /dev/sda
[1:0:0:0] disk Dell Internal Dual SD 1.: /dev/sdb
[2:0:0:0] enclosu DellEMC ME5 I200 -
[3:0:0:0] enclosu DellEMC ME5 I200 -
[4:0:0:0] enclosu DellEMC ME5 I200 -
[5:0:0:0] enclosu DellEMC ME5 I200 -
The "enclosu" portion signifies that these are top level Enclosure connections. So you have 4 paths to your SPs, ie 4 SCSI adapters with good connections. However, the fact that no LUNs are listed under "enclosu" means that there is none. Its very likely that you did not fully assigned the LUN to a portal group or whatever your vendor calls it (to iSCSI target).
You could run iscsiadm -m session -P 3 to get more information. I would also go over the vendor documentation again to make sure that you followed all the steps.

Good luck


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

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!