Sponsored Content
Full Discussion: FC disk and ioinfo
Operating Systems AIX FC disk and ioinfo Post 303044236 by Phat on Monday 17th of February 2020 06:12:48 AM
Old 02-17-2020
FC disk and ioinfo

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!
 

6 More Discussions You Might Find Interesting

1. Solaris

( VxVM ) How to add the removed disk back to previous disk group

Previously , i remove the disk by #vxdg -g testdg -k rmdisk testdg02 But i got error when i -k adddisk bash-2.03# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t1d0s2 auto:none ... (1 Reply)
Discussion started by: waibabe
1 Replies

2. Linux

How to Calculate Disk Queue length and Disk Busy Time

Hi, Am doing an enhancements related to monitoring a Linux disk I/O statistics. The /proc/diskstats file is used to get the each disk I/O statistics. But, It returns the raw value. How to calculate the Disk Queue Length and Disk Busy time from the raw values. Guide me. (1 Reply)
Discussion started by: maruthu
1 Replies

3. Solaris

Convert from raw disk to solaris volume manager disk

I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below: root@moneta # df -h Filesystem size used avail capacity Mounted on /dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
Discussion started by: fretagi
4 Replies

4. AIX

Clone or mirror your AIX OS larger disk to smaller disk ?

hello folks, I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies

5. Filesystems, Disks and Memory

DISK ARRAY PROTECTION SUSPENDED message displayed following disk replacement

Hello, On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active. We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED. ... (1 Reply)
Discussion started by: terrya
1 Replies

6. AIX

DISK ARRAY PROTECTION SUSPENDED message following disk replacement

Hello, On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active. We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED. ... (3 Replies)
Discussion started by: terrya
3 Replies
All times are GMT -4. The time now is 08:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy