On Tue, Feb 26, 2008 at 4:22 PM, Robert Milkowski <[EMAIL PROTECTED]> wrote:
> Hello storage-discuss,
>
>   Once one enabled MPxIO and did devfsadm -C so stmsboot -L won't work
>   - how can one get LUN number for a given MPxIO device?
>
>   fcinfo doesn't work, mpathadm doesn't provide LUN and/or TARGET
>   numbers, ... ?

Robert,


fcinfo works for me :

qus12:/root# fcinfo remote-port -sl -p 210000e08b873d15
Remote Port WWN: 5000402002ec06fa
        Active FC4 Types: SCSI
        SCSI Target: yes
        Node WWN: 2002000402ec06fa
        Link Error Statistics:
                Link Failure Count: 0
                Loss of Sync Count: 2
                Loss of Signal Count: 2
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 5
                Invalid CRC Count: 0
        LUN: 0
          Vendor: NEXSAN
          Product: SATABl(0A0100F1)
          OS Device Name: /dev/rdsk/c4t6000402002EC06FA6D37B58E00000000d0s2
        LUN: 1
          Vendor: NEXSAN
          Product: SATABl(0A0100F1)
          OS Device Name: /dev/rdsk/c4t6000402002EC06FA6D37B59F00000000d0s2
        LUN: 2
          Vendor: NEXSAN
          Product: SATABl(0A0100F1)
          OS Device Name: /dev/rdsk/c4t6000402002EC06FA6D37B5ED00000000d0s2
        LUN: 3
          Vendor: NEXSAN
          Product: SATABl(0A0100F1)
          OS Device Name: /dev/rdsk/c4t6000402002EC06FA6D37B5FB00000000d0s2
Remote Port WWN: 5000402102ec06fa
        Active FC4 Types: SCSI
        SCSI Target: yes
        Node WWN: 2002000402ec06fa
        Link Error Statistics:
                Link Failure Count: 0
                Loss of Sync Count: 3
                Loss of Signal Count: 3
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 4
                Invalid CRC Count: 0
        LUN: 0
          Vendor: NEXSAN
          Product: SATABl(0A0100F1)
          OS Device Name: /dev/rdsk/c4t6000402002EC06FA6D37B58E00000000d0s2
        LUN: 1
          Vendor: NEXSAN
          Product: SATABl(0A0100F1)
          OS Device Name: /dev/rdsk/c4t6000402002EC06FA6D37B59F00000000d0s2
        LUN: 2
          Vendor: NEXSAN
          Product: SATABl(0A0100F1)
          OS Device Name: /dev/rdsk/c4t6000402002EC06FA6D37B5ED00000000d0s2
        LUN: 3
          Vendor: NEXSAN
          Product: SATABl(0A0100F1)
          OS Device Name: /dev/rdsk/c4t6000402002EC06FA6D37B5FB00000000d0s2

-- 
Regards,
        Cyril
_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to