Hi Alex...
Yes, I thought just that, but I couldn't get any information from CuVPD (for example, from the fcs0 adapter).
# odmget -q name=fcs0 CuVPD
CuVPD:
name = "fcs0"
vpd_type = 2
vpd = "*YLU9040.MR9.78F327X-V48-C2-T1"
CuVPD:
name = "fcs0"
vpd_type = 0
vpd = "*NA▒Pv
f▒"
But these is the info we can get from ODM high level commands:
# lsdev -Cc adapter | grep fcs
fcs0 Available C2-T1 Virtual Fibre Channel Client Adapter
fcs1 Available C3-T1 Virtual Fibre Channel Client Adapter
# lscfg -vpsl fcs0
fcs0 U9040.MR9.78F327X-V48-C2-T1
Virtual Fibre Channel Client Adapter
Network Address.............C050760B66B70008
Device Specific.(Z0)........
Device Specific.(Z1)........
Device Specific.(Z2)........
Device Specific.(Z3)........
Device Specific.(Z4)........
Device Specific.(Z5)........
Device Specific.(Z6)........
Device Specific.(Z7)........
Device Specific.(Z8)........C050760B66B70008
Device Specific.(Z9)........
Hardware Location Code......U9040.MR9.78F327X-V48-C2-T1
PLATFORM SPECIFIC
Name: vfc-client
Node: vfc-client@30000002
Device Type: fcp
Physical Location: U9040.MR9.78F327X-V48-C2-T1
Other data like that from lsattr command is also not found in Cu* files..
# lsattr -EHl fcs0
attribute value description user_settable
bus_mem_addr 0x01000000 Bus memory address False
intr_priority 3 Interrupt priority False
io_dma 256 I/O DMA size in Mega Bytes False
label User defined label True
lg_term_dma 0x1000000 Long term DMA True
max_xfer_size 0x100000 Maximum Transfer Size True
num_cmd_elems 1024 Maximum Number of COMMAND Elements True
num_io_queues 8 Desired number of I/O queues True
num_sp_cmd_elem 512 Maximum number of special command elements True
sw_fc_class 2 FC Class for Fabric False
/etc/objrepos # for FILE in $(ls Cu*)
do
odmget -q name=fcs0 $FILE
done
0518-506 odmget: Cannot open object class CuAt.vc
Check path name and permissions.
0518-507 odmget: Could not retrieve object for CuAtDef, ODM error number 5904
0518-506 odmget: Cannot open object class CuAtDef.vc
Check path name and permissions.
0518-506 odmget: Cannot open object class CuAtSav.vc
Check path name and permissions.
0518-506 odmget: Cannot open object class CuData.vc
Check path name and permissions.
CuDv:
name = "fcs0"
status = 1
chgstatus = 2
ddins = "vfcdd"
location = "C2-T1"
parent = "vio0"
connwhere = "30000002"
PdDvLn = "adapter/vdevice/IBM,vfc-client"
0518-507 odmget: Could not retrieve object for CuDvDr, ODM error number 5904
0518-506 odmget: Cannot open object class CuLk.vc
Check path name and permissions.
0518-506 odmget: Cannot open object class CuPath.vc
Check path name and permissions.
0518-506 odmget: Cannot open object class CuPathAt.vc
Check path name and permissions.
CuVPD:
name = "fcs0"
vpd_type = 2
vpd = "*YLU9040.MR9.78F327X-V48-C2-T1"
CuVPD:
name = "fcs0"
vpd_type = 0
vpd = "*NA▒Pv
f▒"
Regards
Luis Rojas