Open-E Knowledgebase
Search:     Advanced search

Problems mounting iSCSI LUN

Article ID: 152
Last updated: 25 Feb, 2009
Views: 6257
Problems mounting iSCSI LUN Rating: 1.0000 / 10
Votes: 1
Posted: 25 Feb, 2009
by:
Updated: 25 Feb, 2009
by:

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:

This article was:   Excellent | Very Good | Good | Fair | Poor
Also listed in
folder Information -> General info -> iSCSI

Prev   Next
Multiple iSCSI connections     How can I fix "Check_segment_length(1587) data too long" error...

The Knowledge base is managed by Open-E data storage software company.
RSS