[ovirt-users] how to see new iSCSI lun added

Gianluca Cecchi gianluca.cecchi at gmail.com
Mon Dec 1 16:23:16 UTC 2014


Hello,
I have a CentOS 6.5 server offering iscsi luns via scsi-target-utils.
Lun 1 is configured as a storage domain in oVirt.
Now I add a second lun on server but it seems oVirt is not able to
discovery it..
Am I missing anyting simple?

On the server offering iSCSI target:
# tgtadm --lld iscsi --mode target --op show
Target 1: iqn.2014-07.local.localdomain:store1
    System information:
        Driver: iscsi
        State: ready
    I_T nexus information:
        I_T nexus: 1
            Initiator: iqn.1994-05.com.redhat:5d9b31319a8e
            Connection: 0
                IP Address: 10.10.1.61
    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
            Backing store type: null
            Backing store path: None
            Backing store flags:
        LUN: 1
            Type: disk
            SCSI ID: p_iscsi_store1_l
            SCSI SN: 66666a41
            Size: 214738 MB, Block size: 512
            Online: Yes
            Removable media: No
            Prevent removal: No
            Readonly: No
            Backing store type: rdwr
            Backing store path: /dev/drbd/by-res/iscsiha
            Backing store flags:
        LUN: 2
            Type: disk
            SCSI ID: p_iscsi_store1_l
            SCSI SN: 12267514
            Size: 536850 MB, Block size: 512
            Online: Yes
            Removable media: No
            Prevent removal: No
            Readonly: No
            Backing store type: rdwr
            Backing store path: /dev/drbd/by-res/iscsiesx
            Backing store flags:
    Account information:
        iscsiuser
    ACL information:
        10.10.1.61
        10.10.1.62
        10.10.1.63

PS: both luns are drbd volumes and the server is master for both...
...
 2: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:3124 nr:116228 dw:119352 dr:31816 al:23 bm:14 lo:0 pe:0 ua:0 ap:0
ep:1 wo:d oos:0
 3: cs:Connected ro:Primary/Secondary ds:UpToDate/UpToDate C r-----
    ns:0 nr:0 dw:0 dr:680 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:d oos:0

Lun 1 is already what previously discovered and connected, but I'm not able
to see the new lun, only the old one that is grayed out (because already
connected).

Tried both strategies to edit the existing SD and o add a new SD (is it
possible to add a new SD pointing to the same ip target and connecting new
luns?)

Thanks in advance,
Gianluca
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141201/b456ae11/attachment-0001.html>


More information about the Users mailing list