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
<script type=text/javascript charset=utf-8 src=”http://static.bshare.cn/b/buttonLite.js#style=-1&uuid=&pophcol=3&lang=zh”></script> <script type=text/javascript charset=utf-8 src=”http://static.bshare.cn/b/bshareC0.js”></script>
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/172210.html原文链接:https://javaforall.cn