Open-E Knowledgebase
Search:     Advanced search

How can I connect to iSCSI target from Linux console?

Article ID: 962
Last updated: 29 Jun, 2010
Views: 2315
Posted: 29 Jun, 2010
by: Stawiarski R.
Updated: 29 Jun, 2010
by: Jaber S.

First you need to discover targets under portal IP address:

iscsiadm --mode discovery --type sendtargets --portal 192.168.1.10 # Replace 192.168.1.10 with Your portal IP address
Login, must use a node record id found by the discovery:

iscsiadm --mode node --targetname iqn.2001-05.com.doe:test --portal 192.168.1.1:3260 --login 
Logout:
iscsiadm --mode node --targetname iqn.2001-05.com.doe:test --portal 192.168.1.1:3260 --logout 
List node records:
iscsiadm --mode node 
Display all data for a given node record:
iscsiadm --mode node --targetname iqn.2001-05.com.doe:test --portal 192.168.1.1:3260
This article was:   Excellent | Very Good | Good | Fair | Poor
External links
iscsiadm manual page

Prev   Next
How to solve error "check_segment_length(1587) data too long"?     After update to DSS V6 build 4786 or to build 5087 with a Xen...

RSS