默认情况下,windows自带iscsi组件没有启动,具体启动和配置方法如下:
1,打开控制面板\所有控制面板项\管理工具\iSCSI 发起程序
![](https://danteng.org/wp-content/uploads/2020/04/1585979753862.png)
系统会询问是否启动iSCSI服务,点击是启动。
![](https://danteng.org/wp-content/uploads/2020/04/1585979753867.png)
2,发现标签下点击发现门户,在新窗口中输入iscsi存储IP和端口。默认端口是3260。
![](https://danteng.org/wp-content/uploads/2020/04/1585979753870.png)
![](https://danteng.org/wp-content/uploads/2020/04/1585979753874.png)
3,到目标标签中,看到一个不活动的目标。选中它,点击连接。
![](https://danteng.org/wp-content/uploads/2020/04/1585979753879.png)
连接后可看到状态变为已连接,属性中出现会话信息。
![](https://danteng.org/wp-content/uploads/2020/04/1585979753881.png)
![](https://danteng.org/wp-content/uploads/2020/04/1585979753885.png)
4,磁盘管理中出现未初始化的磁盘,初始化并分区格式化之后即可使用。
![](https://danteng.org/wp-content/uploads/2020/04/1585979753887.png)
如需卸载iscsi存储,需进行如下操作:
5,iscsi发起程序中断开连接。
![](https://danteng.org/wp-content/uploads/2020/04/1585979753889.png)
6,发现标签下删除门户。
![](https://danteng.org/wp-content/uploads/2020/04/1585979753891.png)
![](https://danteng.org/wp-content/uploads/2020/04/1585979753894.png)
7,收藏的目标中删除收藏的目标。
![](https://danteng.org/wp-content/uploads/2020/04/1585979753896.png)
全部配置完成。