Open-E Knowledgebase

How can I connect to iSCSI target from Linux console?

Article ID: 962
Last updated: 29 Jun, 2010

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:   Helpful | Not helpful Report an issue


Article ID: 962
Last updated: 29 Jun, 2010
Revision: 1
Views: 15585
Posted: 29 Jun, 2010 by --
Updated: 29 Jun, 2010 by
print  Print email  Subscribe email  Email to friend share  Share pool  Add to pool
External links
https://kb.open-e.com/client/images/icons/article_out.svg 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...

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