× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Rob
if you are not sure if the port is connected, run the fc statistics
command

$ fcstat fcs0
and
$ fcstat fcs1

check for link status and or errors

Shaun

   
Shaun Ryan
Systems Administrator Unix/Linux
[1][USEMAP] [2]P: +64 3 363 6939
[3]M: +64 21 974 587
[4]E: Shaun.Ryan@xxxxxxxxxxxxxxxxxxx
[5]167 Main North Road, Christchurch 8140

-----Original Message-----
From: Shaun Ryan
Sent: Thursday, 28 July 2022 10:36 am
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: RE: VIOS fiber channel: Why only one port showing on lsnports?

Rob
check the attributes for the fibre adapter on both vios servers Are they
both switch connected with dynamic tracking and fast fail on?
$ lsdev -dev fscsi1 -attr
attribute value description user_settable

attach switch How this adapter is CONNECTED False
autoconfig available Configuration State True
dyntrk yes Dynamic Tracking of FC Devices True+
fc_err_recov fast_fail FC Fabric Event Error RECOVERY Policy True+
io_thrshld_tmr no FC special error recovery threshold timer enable True+
scsi_id 0x20500 Adapter SCSI ID False
sw_fc_class 3 FC Class for Fabric True

Shaun
-----Original Message-----
From: Marc Rauzier <marc.rauzier@xxxxxxxxx>
Sent: Thursday, 28 July 2022 7:49 am
To: midrange-l@xxxxxxxxxxxxxxxxxx
Subject: Re: VIOS fiber channel: Why only one port showing on lsnports?

Le 27/07/2022 à 21:32, Rob Berendt a écrit :
> Both VIOS lpars have the same dual port FC card.
> Why would one lpar only show one port?
>
> On lpar VIOS21 I can run this:
> $ lsnports
> name physloc fabric tports aports swwpns awwpns
> fcs0 U78D2.001.WZS01HD-P1-C6-T1 1 64 64 3088 3083
> fcs1 U78D2.001.WZS01HD-P1-C6-T2 1 64 64 3088 3083
>
> However on lpar VIOS22 I only see one port:
> $ lsnports
> name physloc fabric tports aports swwpns awwpns
> fcs0 U78D2.001.WZS01HD-P1-C5-T1 1 64 59 3088 3058

Assuming T2 port is connected to a switch, you may want to check NPIV
enablement on that switch port.

------------------------------------------------------------------------------------------------------------------------
Note:
This e-mail message has been inspected for malicious content.

Attention:
The information contained in this message and or attachments is intended
only for the person
or entity to which it is addressed and may contain confidential and/or
privileged material. Any
review, retransmission, dissemination or other use of, or taking of any
action in reliance upon,
this information by persons or entities other than the intended recipient
is prohibited. If you
received this in error, please contact the sender and delete the material
from any system and
destroy any copies.
Please note that the views and opinions expressed in this message may be
those of the
individual and not necessarily those of Foodstuffs South Island Ltd.

Thank you.
------------------------------------------------------------------------------------------------------------------------

References

Visible links
1. file:///tmp/tmpuDlaSu.html#fssilink
2. file:///tmp/tel:+64 3 363 6939
3. file:///tmp/tel:+64 21 974 587
4. mailto:Shaun.Ryan@xxxxxxxxxxxxxxxxxxx
5. https://www.google.co.nz/maps/place/Foodstuffs+South+Island+Limited/@-43.4860111,172.6155373,15.45z/data=!4m5!3m4!1s0x0:0x83f21f1bdb963e47!8m2!3d-43.4863573!4d172.6152563

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.