iscsi服务
iscsi=Internet Small Computer System Interface 小型计算机系统接口
在服务器上面划分一个区/dev/vdb1 放在内核上,在内核上下载iscsi服务,将设备共享。使客户端可以直接使用共享分区。
服务端:
fdisk /dev/vdb 分区
yum install -y targetcli
targetcli
/backstores/block create westos:sto1 /dev/vdb1 给主机的分区创建块存储(自定义)
/iscsi/ create iqn.2019-08.com.westos:sto1 命名iqn(全局限定名称)(iqn.年-月.公司域名反写:自定义&#