Operating System - HP-UX
1829306 Members
1754 Online
109989 Solutions
New Discussion

Weird Error while mapping SAN disks through NPIV

 
srayfay
Valued Contributor

Weird Error while mapping SAN disks through NPIV

Hello,

While adding new Luns by using NPIV interfaces, I have errors on dmesg and syslogs
I can see clearly my new disks, the error repeats at everytime I run ioscan/insf, is this normal ?

Info :
hpvmGuest:/root#ioscan -kfNd gvsd
Class I H/W Path Driver S/W State H/W Type Description
=================================================================
ext_bus 0 0/0/0/0 gvsd CLAIMED INTERFACE HPVM AVIO Stor Adapter
ext_bus 2 0/0/6/0 gvsd CLAIMED INTERFACE HPVM VMSAN Stor Adapter
ext_bus 3 0/0/7/0 gvsd CLAIMED INTERFACE HPVM VMSAN Stor Adapter

 

hpvmGuest:/root#gvsdmgr get_info -D /dev/gvsd2
PCI Vendor ID : 0x103c
PCI Device ID : 0x1403
State of HBA : ONLINE
Hardware Path : 0/0/6/0
Max. IO size : 0
Virtual Port WWN : 0x0
Virtual Node WWN : 0x0

 

hpvmGuest:/root#gvsdmgr get_info -D /dev/gvsd3
PCI Vendor ID : 0x103c
PCI Device ID : 0x1403
State of HBA : ONLINE
Hardware Path : 0/0/7/0
Max. IO size : 0
Virtual Port WWN : 0x0
Virtual Node WWN : 0x0

 


Jan 25 16:58:30 hpvmGuest vmunix: class : esvroot, instance 0
Jan 25 16:58:30 hpvmGuest vmunix: The interface driver attempted to register a legacy lun path under legacy target path (b 3 - t 8), using legacy lun path instance (152) that is out of (0 - 7) range.
Jan 25 16:58:30 hpvmGuest vmunix:
Jan 25 16:58:30 hpvmGuest vmunix: The interface driver attempted to register a legacy lun path under legacy target path (b 3 - t 12), using legacy lun path instance (183) that is out of (0 - 7) range.
Jan 25 16:58:30 hpvmGuest vmunix: The interface driver attempted to register a legacy lun path under legacy target path (b 2 - t 12), using legacy lun path instance (183) that is out of (0 - 7) range.
Jan 25 16:58:30 hpvmGuest vmunix: The interface driver attempted to register a legacy lun path under legacy target path (b 2 - t 8), using legacy lun path instance (152) that is out of (0 - 7) range.
Jan 25 16:58:30 hpvmGuest vmunix: class : esvroot, instance 0
Jan 25 16:59:00 hpvmGuest above message repeats 3 times

 

Regards
1 REPLY 1

Re: Weird Error while mapping SAN disks through NPIV

>> I can see clearly my new disks, the error repeats at everytime I run ioscan/insf, is this normal

 

Presumably you mean you can see your disks using the new agile DSF mechanism (i.e. under /dev/disk and /dev/rdisk) - can you see them corerctly under the legacy DSF mechanism (i.e. under /dev/dsk and /dev/rdsk) - it would be interesting to see what "ioscan -m dsf" reported (i.e. do you see all the legacy DSFs for each agile DSF?)

 

>> The interface driver attempted to register a legacy lun path under legacy target path (b 2 - t 8), using legacy lun path instance (152) that is out of (0 - 7) range.

 

Never seen this error message before, but it almost suggests that the disk array isn't set up to use HP-UX's addressing scheme (i.e. for cXtYdZ -  X must be <255, Y must be <14 and Z must be <8). So what sort of disk array are you using, and have you checked it is set up correctly to serve LUNs to HP-UX?

 

If you don't use legacy DSFs at all, you could disable them using "rmsf -L" and see if that fixes your problem (although I suspect you are just masking an issue there rather than fixing it), you can always turn legacy DSFs back on later using "insf -L".


I am an HPE Employee
Accept or Kudo