I have a 2TB logical drive on openSuSE I am trying to export as a LUN with iSCSI LIO. I’ve created a partition on it with a “Linux” device type, but not formatted it or given it a mount point. In the YaST iSCSI LIO server config, I point the LUN configuration to the device partition - /dev/sdc1 - and the LIO config does not seem to have an issue with this. However, after completing the configuration and exiting the tool in YaST, the client can only see the target IQN. It cannot see any LUNs beneath that. I am not sure where to look for further information beyond the client’s message of “No LUNs were found on <hostname/IP>.”
I haven’t looked implemented iSCSI recently, but I do know over the past couple years there have been substantial changes.
I didn’t have problems before…
By default only the iSCSI client is installed.
From your post, I assume you installed the YaST iSCSI LIO Server module, and made changes there.
Are you saying that after setting up using the Server module, the LUNs don’t show in the YaST iSCSI initiator module?
Obviously I’m not trying to mount the device on the same host as the iSCSI server, but I have used both the YaST module and the targetcli tool to configure the device as an iSCSI LUN attached to the configured IQN, and none of the iSCSI clients on my network can see that LUN. After configuration of the target IQN and LUN, the service is restarted to export that LUN. The hosts almost immediately discover the IQN when they scan the host IP, but they never see the LUN behind that.