启动程序无法找到由tgt创建的ISCSI目标

时间:2014-12-03 08:53:06

标签: linux storage iscsi

我刚刚通过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的新手,有人请告诉我如何更正或错过了什么?

非常感谢!

1 个答案:

答案 0 :(得分:1)

让我回答我自己的问题,我重复另一个虚拟的步骤并成功,所以看来tgt和LIO不能在同一台机器上运行,这是可以理解的,也许他们都试图访问或修改相同的内核iscsi模块

希望这可以帮助他人。

有没有人有一些想法?