我刚刚通过 tgt 创建了一个 ISCSI 目标,输入命令 tgtadm --lld iscsi --mode target --op show 我可以看到:
目标 1:iqn.2009-02.com.example:for.all
System information:
Driver: iscsi
State: ready
I_T nexus information:
LUN information:
LUN: 0
Type: controller
SCSI ID: IET 00010000
SCSI SN: beaf10
Size: 0 MB, Block size: 1
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
SWP: No
Thin-provisioning: No
Backing store type: null
Backing store path: None
Backing store flags:
LUN: 1
Type: disk
SCSI ID: IET 00010001
SCSI SN: beaf11
Size: 3223 MB, Block size: 512
Online: Yes
Removable media: No
Prevent removal: No
Readonly: No
SWP: No
Thin-provisioning: No
Backing store type: rdwr
Backing store path: /dev/vda4
Backing store flags:
Account information:
ACL information:
147.2.208.156
ALL
147.2.206.159
147.2.206.159是发起者IP,但发起者找不到。我是ISCSI新手,有人可以告诉我如何纠正它或我错过了什么吗?
非常感谢!
最佳答案
让我回答我自己的问题,我在另一个虚拟机中重复这些步骤并成功,所以看来 tgt 和 LIO 不能在同一台机器上运行,这是可以理解的,也许它们都试图访问或修改相同的内核 iscsi 模块。
希望这可以帮助其他人。
有人有什么想法吗?
关于linux - 启动器找不到由 tgt 创建的 ISCSI 目标,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27267285/