Maybe this is obvious, but I can't figure it out:

Which Logical Unit is attached to which iscsi target?

# stmfadm list-lu -v
LU Name: 600144F00800273EE2934C31D74C0001
    Operational Status: Online
    Provider Name     : sbd
    Alias             : /dev/zvol/rdsk/tank/st
    View Entry Count  : 1
    Data File         : /dev/zvol/rdsk/tank/st
    Meta File         : not set
    Size              : 34359738368
    Block Size        : 512
    Management URL    : not set
    Vendor ID         : SUN     
    Product ID        : COMSTAR         
    Serial Num        : not set
    Write Protect     : Disabled
    Writeback Cache   : Enabled
    Access State      : Active
LU Name: 600144F00800273EE2934C31F1040002
    Operational Status: Online
    Provider Name     : sbd
    Alias             : /dev/zvol/rdsk/tank/onegig
    View Entry Count  : 1
    Data File         : /dev/zvol/rdsk/tank/onegig
    Meta File         : not set
    Size              : 1073741824
    Block Size        : 512
    Management URL    : not set
    Vendor ID         : SUN     
    Product ID        : COMSTAR         
    Serial Num        : not set
    Write Protect     : Disabled
    Writeback Cache   : Enabled
    Access State      : Active
LU Name: 600144F00800273EE2934C31F1090003
    Operational Status: Online
    Provider Name     : sbd
    Alias             : /dev/zvol/rdsk/tank/twogig
    View Entry Count  : 0
    Data File         : /dev/zvol/rdsk/tank/twogig
    Meta File         : not set
    Size              : 2147483648
    Block Size        : 512
    Management URL    : not set
    Vendor ID         : SUN     
    Product ID        : COMSTAR         
    Serial Num        : not set
    Write Protect     : Disabled
    Writeback Cache   : Enabled
    Access State      : Active
# itadm list-target -v
TARGET NAME                                                  STATE    SESSIONS 
iqn.1986-03.com.sun:02:05af5c13-a1a9-6e57-e71d-d318e4719ac8  online   0        
        alias:                  -
        auth:                   none (defaults)
        targetchapuser:         -
        targetchapsecret:       unset
        tpg-tags:               default
iqn.1986-03.com.sun:02:17dc7aa2-1d77-cc9d-b3e0-f7052838a7ad  online   0        
        alias:                  -
        auth:                   none (defaults)
        targetchapuser:         -
        targetchapsecret:       unset
        tpg-tags:               default
iqn.1986-03.com.sun:02:045a54b5-0143-4c50-c907-e40284228dd8  online   0        
        alias:                  -
        auth:                   none (defaults)
        targetchapuser:         -
        targetchapsecret:       unset
        tpg-tags:               default
iqn.1986-03.com.sun:02:acca0994-fff7-ed6a-a4e2-e7e762d4a1ae  online   0        
        alias:                  -
        auth:                   none (defaults)
        targetchapuser:         -
        targetchapsecret:       unset
        tpg-tags:               default
iqn.1986-03.com.sun:02:df479de4-9264-ed43-88ed-fc83fc49d1d5  online   0        
        alias:                  -
        auth:                   none (defaults)
        targetchapuser:         -
        targetchapsecret:       unset
        tpg-tags:               default
iqn.1986-03.com.sun:02:95d52a9c-d2df-470f-b5ba-98e034af4e26  online   0        
        alias:                  -
        auth:                   none (defaults)
        targetchapuser:         -
        targetchapsecret:       unset
        tpg-tags:               default
-- 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to