FindPage
View Source:
iSCSI
Note:
You are viewing an old version of this page.
View the current version.
Target: ietf Initiator: open-iscsi Get list of targets: <verbatim> $ sudo iscsiadm -m discovery -t sendtargets -p chini 10.224.24.221:3260,1 iqn.2008-11.net.cyberleo.chini:mapajani </verbatim> Create a node <verbatim> $ sudo iscsiadm -m node -o new -T iqn.2008-11.net.cyberleo.chini:mapajani -p chini New iSCSI node [tcp:[hw=default,ip=,net_if=default,iscsi_if=default] chini,3260,-1 iqn.2008-11.net.cyberleo.chini:mapajani] added </verbatim> Login <verbatim> $ sudo iscsiadm -m node -T iqn.2008-11.net.cyberleo.chini:mapajani -l Logging in to [iface: default, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: chini,3260] Logging in to [iface: default, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: 10.224.24.221,3260] Login to [iface: default, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: chini,3260]: successful Login to [iface: default, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: 10.224.24.221,3260]: successful </verbatim> Logout: <verbatim> $ sudo iscsiadm -m node -T iqn.2008-11.net.cyberleo.chini:mapajani -u Logging out of session [sid: 1, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: chini,3260] Logging out of session [sid: 2, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: 10.224.24.221,3260] Logout of [sid: 1, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: chini,3260]: successful Logout of [sid: 2, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: 10.224.24.221,3260]: successful </verbatim>