Ben Stienstra

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

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
iscsiadm [2013/05/14 05:55]
iscsiadm [2014/06/10 14:57]
Line 1: Line 1:
 +{{tag>[iscsi centos]}}
 +=====iSCSI CentOS=====
 Discover targets Discover targets
-<code> +  iscsiadm --mode discoverydb --type sendtargets --portal <ip-address> --discover
-iscsiadm --mode discoverydb --type sendtargets --portal <ip-address> --discover +
 Target log in Target log in
-<code> +  iscsiadm --mode node --targetname --portal <ip-address> --login
-iscsiadm --mode node --targetname --portal <ip-address> --login +
 Set portal to manual Set portal to manual
Line 15: Line 14:
 Session log out Session log out
-<code> +  iscsiadm -m session --logout
-iscsiadm -m session --logout +
 Log out all sessions Log out all sessions
-<code> +  iscsiadm -m node --logout all 
-iscsiadm -m node --logout all +
 Rescan target for new LUNs Rescan target for new LUNs
-<code> +  iscsiadm -m session --rescan 
-iscsiadm -m session --rescan + 
-</code>+Show sessions 
 +  iscsiadm -m session
iscsiadm.txt · Last modified: 2014/06/10 14:57 by admin