현재 HBA 포트 리스트 및 연결 되어 있는 정보 보기 

- luxadm -e port

---------------------------------------------------------------------------------------

# luxadm -e port list

/devices/pci@3d,700000/SUNW,qlc@1/fp@0,0:devctl                    CONNECTED

/devices/pci@3d,600000/SUNW,qlc@1/fp@0,0:devctl                    CONNECTED

/devices/pci@7d,700000/SUNW,qlc@1/fp@0,0:devctl                    CONNECTED

/devices/pci@7d,600000/SUNW,qlc@1/fp@0,0:devctl                    CONNECTED

 

# ls -l /dev/fc | grep /devices/pci@3d,700000/SUNW,qlc@1/fp@0,0:devctl

   lrwxrwxrwx 1 root root 52 May 15 12:25 fp0 -> ../../devices/pci@3d,700000/SUNW,qlc@1/fp@0,0:devctl

# # ls -l /dev/fc | grep /devices/pci@3d,600000/SUNW,qlc@1/fp@0,0:devctl

   lrwxrwxrwx 1 root root 52 May 15 12:25 fp1 -> ../../devices/pci@3d,600000/SUNW,qlc@1/fp@0,0:devctl

# luxadm -e dump_map /devices/pci@7d,600000/SUNW,qlc@1/fp@0,0:devctl 

   Pos  Port_ID Hard_Addr Port WWN         Node WWN         Type

   0    11500   0         50060e8003a9a821 50060e8003a9a821 0x0  (Disk device)

   1    10c00   0         210000e08b0cba13 200000e08b0cba13 0x1f (Unknown Type,Host Bus Adapter)

 

---------------------------------------------------------------------------------------

  - mpathadm list initiator-port

---------------------------------------------------------------------------------------

 # mpathadm list initiator-port

Initiator Port:  210000e08b08237d

Initiator Port:  210000e08b0bd80f

Initiator Port:  210000e08b0bdc0f

Initiator Port:  210000e08b0cba13

Initiator Port:  iqn.1986-03.com.sun:01:0000bea956c1.482bae18,4000002a00ff

 

# mpathadm show initiator-port 210000e08b08237d

Initiator Port:  210000e08b08237d

        Transport Type:  Fibre Channel

        OS Device File:  /devices/pci@3d,700000/SUNW,qlc@1/fp@0,0

---------------------------------------------------------------------------------------

  - fcinfo hba-port -l(Solaris10) or prtpicl -v -c scsi-fcp(Solaris9)

---------------------------------------------------------------------------------------

# fcinfo hba-port -l | grep "HBA Port WWN"

HBA Port WWN: 210000e08b08237d

HBA Port WWN: 210000e08b0bd80f

HBA Port WWN: 210000e08b0bdc0f

HBA Port WWN: 210000e08b0cba13

 

# fcinfo remote-port -p 210000e08b0cba13

Remote Port WWN: 50060e8003a9a821

        Active FC4 Types: SCSI

        SCSI Target: yes

        Node WWN: 50060e8003a9a821

 

# fcinfo remote-port -p 210000e08b0cba13 -s

Remote Port WWN: 50060e8003a9a821

        Active FC4 Types: SCSI

        SCSI Target: yes

        Node WWN: 50060e8003a9a821

        LUN: 0

          Vendor: HITACHI 

          Product: OPEN-V      -SUN

          OS Device Name: /dev/rdsk/c6t50060E80000000000000A9A800000100d0s2

        LUN: 1

          Vendor: HITACHI 

          Product: OPEN-V      -SUN

          OS Device Name: /dev/rdsk/c6t50060E80000000000000A9A800000101d0s2

        LUN: 2

          Vendor: HITACHI 

          Product: OPEN-V      -SUN

          OS Device Name: /dev/rdsk/c6t50060E80000000000000A9A800000102d0s2

         .

         .

         .

 

---------------------------------------------------------------------------------------

 - luxadm -e forcelip /devices/pci@7d,600000/SUNW,qlc@1/fp@0,0:devctl

   (강제적으로 Fabric에 re-login 한다).

'IT > Unix' 카테고리의 다른 글

특수 기호 명칭  (0) 2016.08.04
ipmp  (1) 2016.07.08
솔라리스 기본 보안 관리  (0) 2016.07.08
8진수 rwx 권한 설명  (0) 2016.07.08
Sunfire SC Setting  (0) 2012.02.02

+ Recent posts