Solaris OS having issue accessing LUN from Qlogic swich


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris OS having issue accessing LUN from Qlogic swich
# 8  
Old 03-20-2015
HI

thanks all SAN issue got it seems .after patch update

but still having issue with 10 G network card. if i reset the port from san switch , it will ping the IP and after sometime it's going offline and on Switch side this interface is not learning MAC address.

---------- Post updated 03-20-15 at 01:17 AM ---------- Previous update was 03-19-15 at 03:43 PM ----------

Quote:
Originally Posted by achenle
Did you try known-to-be good FC cables?

Run this under sh/bash:
Code:
for hba in `fcinfo hba-port | grep WWN | awk '{ print $4 }'`; do fcinfo remote-port -ls -p $hba; done

Post the results.
Code:
bash-3.2# for hba in `fcinfo hba-port | grep WWN | awk '{ print $4 }'`; do fcinfo remote-port -ls -p $hba; done
Remote Port WWN: 5006016808603b42
        Active FC4 Types: SCSI
        SCSI Target: yes
        Node WWN: 5006016088603b42
        Link Error Statistics:
                Link Failure Count: 3
                Loss of Sync Count: 256
                Loss of Signal Count: 2
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 510
                Invalid CRC Count: 1
        LUN: 0
          Vendor: DGC
          Product: LUNZ
          OS Device Name: /dev/rdsk/c20t5006016808603B42d0s2
        LUN: 1
          Vendor: DGC
          Product: VRAID
          OS Device Name: /dev/rdsk/c1t6006016053C0380015CD88A372B7E411d0s2
        LUN: 2
          Vendor: DGC
          Product: VRAID
          OS Device Name: /dev/rdsk/c1t6006016053C03800A680673729CEE411d0s2
Remote Port WWN: 5006016108603b42
        Active FC4 Types: SCSI
        SCSI Target: yes
        Node WWN: 5006016088603b42
        Link Error Statistics:
                Link Failure Count: 1
                Loss of Sync Count: 1
                Loss of Signal Count: 1
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 255
                Invalid CRC Count: 0
        LUN: 0
          Vendor: DGC
          Product: LUNZ
          OS Device Name: /dev/rdsk/c20t5006016108603B42d0s2
        LUN: 1
          Vendor: DGC
          Product: VRAID
          OS Device Name: /dev/rdsk/c1t6006016053C0380015CD88A372B7E411d0s2
        LUN: 2
          Vendor: DGC
          Product: VRAID
          OS Device Name: /dev/rdsk/c1t6006016053C03800A680673729CEE411d0s2
Remote Port WWN: 5006016408643b42
        Active FC4 Types: SCSI
        SCSI Target: yes
        Node WWN: 5006016088603b42
        Link Error Statistics:
                Link Failure Count: 0
                Loss of Sync Count: 0
                Loss of Signal Count: 2
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 255
                Invalid CRC Count: 0
        LUN: 0
          Vendor: DGC
          Product: LUNZ
          OS Device Name: /dev/rdsk/c12t5006016408643B42d0s2
        LUN: 3
          Vendor: DGC
          Product: VRAID
          OS Device Name: /dev/rdsk/c1t6006016053C0380006E0535A33CEE411d0s2
Remote Port WWN: 5006016d08643b42
        Active FC4 Types: SCSI
        SCSI Target: yes
        Node WWN: 5006016088603b42
        Link Error Statistics:
                Link Failure Count: 0
                Loss of Sync Count: 0
                Loss of Signal Count: 1
                Primitive Seq Protocol Error Count: 0
                Invalid Tx Word Count: 255
                Invalid CRC Count: 0
        LUN: 0
          Vendor: DGC
          Product: LUNZ
          OS Device Name: /dev/rdsk/c12t5006016D08643B42d0s2
        LUN: 3
          Vendor: DGC
          Product: VRAID
          OS Device Name: /dev/rdsk/c1t6006016053C0380006E0535A33CEE411d0s2


and moreover fro yesterday onwords i am watching the logs, from another script i did some mount->touch files -> delete files -> unmount is doing. till now no isues for SAN connectivity

But still have issue with network card

---------- Post updated at 01:17 AM ---------- Previous update was at 01:17 AM ----------

Code:
bash-3.2# dladm show-dev
bge0            link: up        speed: 1000  Mbps       duplex: full
bge1            link: unknown   speed: 0     Mbps       duplex: unknown
qlge2           link: up        speed: 10000 Mbps       duplex: full
qlge3           link: unknown   speed: 10000 Mbps       duplex: half
 
bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 172.16.200.52 netmask ffffff00 broadcast 172.16.200.255
        ether 0:21:28:d6:41:10
qlge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 172.16.200.51 netmask ffffff00 broadcast 172.16.200.255
        ether 0:c0:dd:29:7f:68
 
port is showing as UP
 
what is the steps to diaganose this issue.
 
Network also same physical layer.
card : Qlogic
Switch : Brocade

---------- Post updated at 05:00 PM ---------- Previous update was at 01:17 AM ----------

HI

any helps please

regards,
Ben

Last edited by Don Cragun; 03-20-2015 at 09:58 PM.. Reason: Fix CODE tags again.
# 9  
Old 03-20-2015
What's the output from netstat -rn? What's the contents of /etc/defaultrouter?
# 10  
Old 03-21-2015
Hi please find below o/p's


Code:
bash-3.2# netstat -nr

Routing Table: IPv4
  Destination           Gateway           Flags  Ref     Use     Interface
-------------------- -------------------- ----- ----- ---------- ---------
default              172.16.200.10        UG        1        163
172.16.200.0         172.16.200.52        U         1         52 bge0
172.16.200.0         172.16.200.51        U         1          0 qlge2
192.168.254.1        192.168.254.2        UH        1          0 sppp0
224.0.0.0            172.16.200.52        U         1          0 bge0
127.0.0.1            127.0.0.1            UH        1          0 lo0


bash-3.2# cat /etc/defaultrouter
172.16.200.10

---------- Post updated at 12:18 PM ---------- Previous update was at 01:17 AM ----------

we noticed that wen we reset the port from the switch side, it's working for at-least 2 hours, after that ip is not pining

Last edited by bentech4u; 03-21-2015 at 01:46 PM..
# 11  
Old 03-22-2015
What's not responding to pings? From where?

Can you ping 172.16.200.10 from the server?
# 12  
Old 03-23-2015
Hi
i tried to ping from outside.

if i ping the gateway, it's pining because the server already has one another 1 G interface.
# 13  
Old 03-24-2015
Swap the network cables and see which one works.
# 14  
Old 03-24-2015
Hi thanks for the replay.

we already changed the cables and card too.

we have opened once case with brocade (switch vendor).and what they find out from server is:

Code:
Type: unknown 
State: offline 
Current Speed: Not Established 
Note:- This implies that the speed not auto negotiable 
Type: unknown 
Note:- This implies that the Server is not even detecting the Card installed. 

Probably, the Drivers/Firmware has to be updated to get this resolved from the Server. There is no issue from the VDX reason being the Connectivity, Link and Protocol status is UP (TenGigabitEthernet 4/0/42 is up, line protocol is up (connected).


and the hba info is showing card as online and is giving the speed as 10 GB

Regards,
Ben

---------- Post updated at 08:46 AM ---------- Previous update was at 06:17 AM ----------

hi

the card is showing as offline always

Code:
HBA Port WWN: 210000c0dd297f69
        OS Device Name: /dev/cfg/c16
        Manufacturer: QLogic Corp.
        Model: 7053422
        Firmware Version: 5.08.00
        FCode/BIOS Version:  BIOS: 3.00; fcode: 3.15; EFI: 3.20;
        Serial Number: 463916R+1404161944
        Driver Name: qlc
        Driver Version: 20140422-5.01
        Type: unknown
        State: offline
        Supported Speeds: 10Gb
        Current Speed: not established
        Node WWN: 200000c0dd297f69
HBA Port WWN: 210000c0dd297f6b
        OS Device Name: /dev/cfg/c17
        Manufacturer: QLogic Corp.
        Model: 7053422
        Firmware Version: 5.08.00
        FCode/BIOS Version:  BIOS: 3.00; fcode: 3.15; EFI: 3.20;
        Serial Number: 463916R+1404161944
        Driver Name: qlc
        Driver Version: 20140422-5.01
        Type: unknown
        State: offline
        Supported Speeds: 10Gb
        Current Speed: not established
        Node WWN: 200000c0dd297f6b

but wen we reset the port from switch, it will start ping . that time also card status is offline

Code:
bash-3.2# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
lo0:1: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
        zone archibus
        inet 127.0.0.1 netmask ff000000
bge0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        inet 172.16.200.52 netmask ffffff00 broadcast 172.16.200.255
        ether 0:21:28:d6:41:10
bge0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2
        zone archibus
        inet 172.16.200.53 netmask ffffff00 broadcast 172.16.200.255
qlge2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 3
        inet 172.16.200.51 netmask ffff0000 broadcast 172.16.255.255
        ether 0:c0:dd:29:7f:68
sppp0: flags=10010008d1<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST,IPv4,FIXEDMTU> mtu 1500 index 4
        inet 192.168.254.2 --> 192.168.254.1 netmask ffffff00

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How to get LUN WWN in Solaris?

How to get LUN WWN (i.e LUN mapped from a storage box say Symmetrix or clariion) in Solaris. fcinfo command does give the Target port wwn but what i'm looking for is the LUN WWN. Any help is appreciated. (2 Replies)
Discussion started by: Manish00712
2 Replies

2. Shell Programming and Scripting

Issue with accessing value inside while loop, outside it

Hi, GetName() { if then echo " Please enter the name: " read Name tempvar=0 while read line do if then tempvar=`expr $tempvar + 1` echo $tempvar ... (10 Replies)
Discussion started by: rituparna_gupta
10 Replies

3. Solaris

Problem with Solaris LUN and New FS

Hi All, I'm using Solaris server, SunOS 5.10 Generic_144488-08 sun4u sparc SUNW, SPARC-Enterprise. There is a newly created LUN of 250GB (EMC). I've scanned the system and able to see the new LUN. For example: 103. emcpower19a <DGC-VRAID-0430 cyl 48638 alt 2 hd 256 sec 16>... (4 Replies)
Discussion started by: superHonda123
4 Replies

4. Red Hat

lun masking at qlogic HBA level

need to do LUN masking at qlogic HBA level..at RHEL 5.x I am using qla* module at part of the Unix kernel, it is not OEM drivers that come with the HBA card, so I can't use Sansurfer to do this.. Is there a way to do this at all ?? :wall: (0 Replies)
Discussion started by: ppchu99
0 Replies

5. Linux

EMC, PowerPath and issue on using LUN

Hello guys, I'm going crazy over here with a problem with a LUN created on a EMC CX3. I did sucessfully managed to create the LUN on the Storage (the LUN is named DBLNX25EC_TST), after doing the following process: echo "1" > /sys/class/fc_host/host<n>/issue_lip and echo "- - -" >... (10 Replies)
Discussion started by: Zarnick
10 Replies

6. Solaris

new attached lun in solaris 10

hi, what are the steps to detect and configure a new attached lun in Solaris 10. Is there any difference between cfgadm and luxadm command ? rgds, snjksh (5 Replies)
Discussion started by: snjksh
5 Replies

7. Solaris

Solaris 10 - QLogic 4060C iSCSI adapter - multipathed (MPxIO)

System: Sun M3000 and M4000 OS: Solaris 10 (fully up to date with latest patches) iSCSI HBA: 2x QLE4060C (QLogic) In each system are 2 QLE4060C iSCSI adapters. I manage to set up both HBA's to connect to the LUNs on the SAN However I don't manage to enable multi-pathing. Made the... (4 Replies)
Discussion started by: sb008
4 Replies

8. Shell Programming and Scripting

Swich statement based on a grep?

I'm piping the results of a tcpdump into a shell script and want certain commands executed (specifically the firing of an SNMP alert) based on a grep for certain contents in the output of tcpdump. For example, I have #!/bin/bash while read str; do grep 'ttl 64' -q && sudo snmptrap -v 1... (2 Replies)
Discussion started by: paulobrad
2 Replies

9. Solaris

Solaris 9 or 10 LUN Limitations

Is there a limit to the number of LUNS that can be concatenated using Solaris Volume manager with Soft partitions? I have worked with some AIX admins in the past and there was such a limitation therefore limiting the size the filesystem could grow to. Is there such a limitation in Solaris 9... (6 Replies)
Discussion started by: BG_JrAdmin
6 Replies

10. Programming

Structure element accessing issue...

Hi all, Can someone advice, why I'm getting a segmentation fault on a Linux system for a program which looks like the below one--: typedef struct idev{ int p, char q; } Idev; typedef struct abc{ int i; Idev *idev_ptr; } ABC; int main(){ ABC a_var; char str; int... (4 Replies)
Discussion started by: Praveen_218
4 Replies
Login or Register to Ask a Question