Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


This is an old revision of the document!

Discover targets

iscsiadm --mode discoverydb --type sendtargets --portal <ip-address> --discover

Target log in

iscsiadm --mode node --targetname --portal <ip-address> --login

Set portal to manual

iscsiadm -m node --targetname -p <ip-address>:3260 -o update -n node.startup -v manual

Session log out

iscsiadm -m session --logout

Log out all sessions

iscsiadm -m node --logout all

Rescan target for new LUNs

iscsiadm -m session --rescan

Show sessions

iscsiadm -m session
iscsiadm.1368515638.txt.gz · Last modified: 2013/05/14 09:13 by admin