-1

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 を初めて使用します。誰かがそれを修正する方法または私が見逃したものを教えてください。

どうもありがとう!

4

1 に答える 1

1

私自身の質問に答えさせてください。別の仮想で手順を繰り返して成功しました。したがって、tgt と LIO は同じマシンで実行できないようです。これは理解できます。おそらく、両方とも同じカーネル iscsi モジュールにアクセスしようとしているか、変更しようとしています。

これが他の人に役立つことを願っています。

誰かアイデアはありますか?

于 2014-12-03T09:54:15.633 に答える