Problems mounting iSCSI LUN
Symptom: I was able to previously mount an iSCSI target and get an /dev/sdb, I am trying to mount another LUN and it does not work.
Problem: Verify that you have added the LUN to the iSCSI target.
Solution:
First step.
Get an iSCSI initiator
http://www.open-iscsi.org/
Second step
create iSCSI volume:
CONFIGURATION -> volume manager -> new iSCSI volume.
go to:
CONFIGURATION -> iSCSI target manager and Create new target
after that hit "apply".
Now:
CONFIGURATION -> iSCSI target manager -> "target name" (from left menu) -> Target volume manager
Here he can set RO and WB options and click the Add button on the right side of the snapshot. A new LUN will be added to the target.
Third step is discover target under console by command:
iscsiadm --mode discovery --type sendtargets --portal ip_adrress
for example:
iscsiadm --mode discovery --type sendtargets --portal 192.168.248.2
Then he will see available target(s) and he need add this target by below command:
iscsiadm --mode node --targetname "target_name" --portal ip_address:Port --login
for example:
iscsiadm --mode node --targetname "target0" --portal 192.168.248.2:3260 --login
A great manual is available at:
http://linux.die.net/man/8/iscsiadm
Additional information:
Open-E software impacted:
Example ticket number: