FindPage
View Source:
iSCSI
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> Node list <verbatim> $ sudo iscsiadm -m node [chini]:3260,-1 iqn.2008-11.net.cyberleo.chini:mapajani.bak 10.224.24.221:3260,1 iqn.2008-11.net.cyberleo.chini:mapajani.bak </verbatim> Login <verbatim> $ sudo iscsiadm -m node -T iqn.2008-11.net.cyberleo.chini:mapajani -l -p chini Logging in to [iface: default, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: chini,3260] Login to [iface: default, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: chini,3260]: successful </verbatim> Logout: <verbatim> $ sudo iscsiadm -m node -T iqn.2008-11.net.cyberleo.chini:mapajani -u [-p chini] Logging out of session [sid: 1, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: chini,3260] Logout of [sid: 1, target: iqn.2008-11.net.cyberleo.chini:mapajani, portal: chini,3260]: successful </verbatim>