Ben Stienstra

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

User Tools

Site Tools


iscsiadm

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 iqn.2000-01.com.synology:rackstation.LUN --portal <ip-address> --login

Set portal to manual

iscsiadm -m node --targetname iqn.2000-01.com.synology:rackstation.LUN -p <ip-address>:3260 -o update -n node.startup -v manual

Session log out

iscsiadm -m session --logout iqn.2000-01.com.synology:rackstation.LUN

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