分类: LINUX
2011-07-21 17:26:42
discovery targets:
# iscsiadm --mode discovery --type sendtargets --portal 192.168.1.10
view more information about your iSCSI Target with the following command:
# iscsiadm -m node -T iqn.2011-07.com.example.server1:trial -p 192.168.1.10
log into the iSCSI target:
# iscsiadm -m node -T iqn.2011-07.com.example.server1:trial -p 192.168.1.10 -l
disconnect the iSCSI Target, you will need to log out:
# iscsiadm -m node -T iqn.2011-07.com.example.server1:trial -p 192.168.1.10 -u
log out of all attached targets by using this command:
# iscsiadm -m node -U all