Quantcast
Channel: UNIX and Linux Forums - AIX
Viewing all articles
Browse latest Browse all 373

FC disk and ioinfo

$
0
0
Hello, I have an issue with detecting the san disk on the OS side. Something looks strange for me.

My environment:

1 LPAR has 2 physical FCs
1 VIO has 2 physical FCs

on VIO, I can see the hdisk5(LUN) and use it as root disk.
Code:

Enabled  hdisk5 fscsi0
Enabled  hdisk5 fscsi0
Enabled  hdisk5 fscsi4
Enabled  hdisk5 fscsi4

on LPAR, I can see the hdisk1 (LUN) and use it as root disk.
Code:

Enabled  hdisk1 fscsi0
Enabled  hdisk1 fscsi0
Enabled  hdisk1 fscsi2
Enabled  hdisk1 fscsi2

Then, I create the virtual FC on lpar and map it with my VIO physical FC, we can see the port is logged by lpar.
Code:

$ lsnports
name            physloc                        fabric tports aports swwpns  awwpns
fcs0            U5802.001.9K81000-P1-C5-T1          1    64    63  2048    2043
fcs4            U78AA.001.WZSHVFA-P1-C5-T1          1    64    64  2048    2046

$ lsmap -all -npiv
Name          Physloc                            ClntID ClntName      ClntOS
------------- ---------------------------------- ------ -------------- -------
vfchost0      U8202.E4C.06337BT-V4-C5                3 xyzT        FIRMWARE

Status:LOGGED_IN
FC name:fcs0                    FC loc code:U5802.001.9K81000-P1-C5-T1
Ports logged in:3
Flags:a<LOGGED_IN,STRIP_MERGE>
VFC client name:Virtual Fibre Channel - Firmware driverVFC client DRC:U8202.E4C.06337BT-V3-C5

But I cannot see it in the lspath command. However can see it with ioinfo command on the SMS, but marked with "Unrecognized device type: 3f"
Code:

FCINFO Main Menu
Select a FC Node from the following list:
  #  Location Code                Pathname
---------------------------------------------------------------
  1. U8202.E4C.06337BT-V3-C5-T1    /vdevice/vfc-client@30000005
  2. U5802.001.9K81000-P1-C6-T1    /pci@800000020000106/fibre-channel@0
  3. U5802.001.9K81000-P1-C6-T2    /pci@800000020000106/fibre-channel@0,1
  4. U78AA.001.WZSHVFA-P1-C6-T1    /pci@800000020000205/fibre-channel@0
  5. U78AA.001.WZSHVFA-P1-C6-T2    /pci@800000020000205/fibre-channel@0,1

  q - Quit/Exit

==> 1

FC Node Menu
FC Node String: /vdevice/vfc-client@30000005
FC Node WorldWidePortName: c0507606437b0000
-----------------------------------------------------------------
1. List Attached FC Devices
2. Select a FC Device
3. Enable/Disable FC Adapter Debug flags

q - Quit/Exit

==> 1

1. 500507680b31d7fe,0                - Unrecognized device type: 3f
2. 500507680b31d7ff,0                - Unrecognized device type: 3f

I even tried to remove 1 physical FC of lpar to check if zoning is working properly, so we can see "missing" below. This means that zoning and lun mapping is working properly.
Code:

Missing  hdisk1 fscsi0
Missing  hdisk1 fscsi0
Enabled  hdisk1 fscsi2
Enabled  hdisk1 fscsi2

I could say that nothing wrong at the storage side about zoning & lun mapping, the problem is probably at OS side.

So can someone has the idea to overcome this? I have tried to fix and search for "Unrecognized device type: 3f" but seems not much resources to look into it.

Moderator's Comments:
Mod Comment Do not use QUOTE tags for computer input, output, config files, code, etc. Use CODE tags!

Viewing all articles
Browse latest Browse all 373

Trending Articles