Ben Stienstra

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

User Tools

Site Tools



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.txt · Last modified: 2014/06/10 14:57 by admin